Source-linked AI summary

Trend Filtering on Graphs

Yu-Xiang Wang, James Sharpnack, Alex Smola, Ryan J. Tibshirani

arXiv:1410.7690v5stat.MLcs.AIcs.LGstat.ME

TL;DR

The paper addresses the challenge of extending locally adaptive trend filtering from univariate regression to arbitrary graphs. It defines graph trend filtering with ℓ1 penalties on graph differences and finds strong local adaptivity, competitive performance across graph settings, and efficient computation. The theoretical analysis provides estimation insight but leaves sharper entropy characterizations and broader rate comparisons for future work.

  • Problem

    Univariate trend filtering offers local adaptivity, but the paper seeks to port this idea to estimation on graphs.

  • Method

    Graph trend filtering solves a convex regularized least-squares problem using ℓ1 penalties on suitably defined graph differences, with computational approaches including ADMM and projected Newton methods.

  • Results

    Graph trend filtering shows superior local adaptivity to Laplacian smoothing, robustness over wavelet smoothing in high-noise scenarios, and competitive performance across simulated Facebook-graph settings.

  • Takeaways & Limitations

    Graph trend filtering is a useful alternative to Laplacian and wavelet smoothers when signals have locally varying smoothness or observations are noisy.

  • Takeaways & Limitations

    Sharper entropy-based theoretical characterizations and comparisons with error rates of other common estimators remain future work.

Abstract

from arXiv · show

We introduce a family of adaptive estimators on graphs, based on penalizing the $\ell_1$ norm of discrete graph differences. This generalizes the idea of trend filtering [Kim et al. (2009), Tibshirani (2014)], used for univariate nonparametric regression, to graphs. Analogous to the univariate case, graph trend filtering exhibits a level of local adaptivity unmatched by the usual $\ell_2$-based graph smoothers. It is also defined by a convex minimization problem that is readily solved (e.g., by fast ADMM or Newton algorithms). We demonstrate the merits of graph trend filtering through examples and theory.

1 Introduction

Graph trend filtering adapts to spatially varying smoothness by penalizing graph differences with an efficient convex estimator. In the Allegheny County example, it captured sharp peaks while smoothing neighboring regions more effectively than Laplacian and wavelet alternatives.

  • Graph trend filtering adapts to inhomogeneous smoothness across graph nodes, unlike global ℓ2-based smoothers that tend to be smooth or wiggly throughout.
  • The estimator is a convex regularized least-squares problem with a nonsmooth but structured penalty that supports efficient large-scale computation.
  • In the 402-tract Allegheny County graph, the synthetic signal combines inhomogeneous smoothness with two sharp central peaks.
  • At 68 df, graph trend filtering fits the central peaks while appropriately smoothing surrounding regions; Laplacian smoothing at 68 df oversmooths peaks and at 132 df undersmooths neighbors.
  • At smaller df values, trend filtering has much lower mean squared error than Laplacian smoothing, while matching it once both methods enter the overfitting regime.

2 Trend Filtering on Graphs

Graph trend filtering extends univariate trend filtering to graphs by penalizing the ℓ1 norm of recursively defined graph differences. Its ℓ1 penalty permits estimates that are smooth in some regions and wiggly in others, unlike ℓ2 Laplacian smoothing.

  • Graph trend filtering is a generalized lasso whose novelty lies in the definition of the order-(k + 1) graph difference operator.
  • For k = 0, the oriented incidence matrix makes the penalty sum absolute differences across connected nodes, yielding graph total variation or fused-lasso regularization.
  • Higher-order graph difference operators are recursively constructed by alternating multiplication by the incidence matrix and its transpose.
  • On a chain graph, the operators reduce to the usual univariate difference operators after removing boundary rows.
  • Figure 3 visualizes orders k = 0, 1, 2 on a 20 × 20 grid and displays the corresponding first-, second-, and third-order penalties.
  • ℓ1 versus ℓ2 Regularization: The ℓ1 penalty can set many graph differences exactly to zero while leaving others large, enabling simultaneous local smoothness and local variation; ℓ2 smoothing cannot do this.

3 Properties and Extensions

The paper characterizes graph trend filtering solutions through active graph differences, null spaces, and electrical-network interpretations. These results yield degrees-of-freedom formulas and motivate extensions to weighted graphs, other likelihoods, imputation, and sparsity.

  • Basic Structure and Degrees of Freedom: The active set of graph differences determines the coarse structure of a fitted signal through the null space of a restricted difference operator.
  • Basic Structure and Degrees of Freedom: For even orders, fitted signals are built from constants on connected components after active edges are removed; for odd orders, sparse active nodes are smoothed through powers of the Laplacian pseudoinverse.
  • Basic Structure and Degrees of Freedom: The unbiased degrees of freedom estimate is max{|A|, 1} for odd k and the number of connected components of G−A for even k.
  • Electrical-Network Interpretation: For odd orders, the electrical-network view repeatedly maps sparse node voltages to induced currents through the Laplacian pseudoinverse.
  • Electrical-Network Interpretation: A second-order estimate is smoother than a third-order estimate because sparse input voltages need not induce piecewise-constant currents.
  • Extensions: Proposed extensions include weighted-graph operators, likelihoods for other data types, graph-based imputation, and sparse variants with an additional ℓ1 penalty on β.

4 Computation

Graph trend filtering is convex and can be solved with specialized ADMM or projected Newton methods that exploit graph-operator structure. Their relative convergence depends on the trend-filtering order k.

  • Computation: Graph trend filtering is a convex optimization problem, enabling reliable computation with standard algorithms for small or moderately sized problems.Specialized methods exploit the structure of the higher-order graph difference operator for larger problems.
  • ADMM: ADMM reparametrizes the problem with auxiliary variables and alternates updates over the fitted signal, auxiliary variables, and dual variables.For even k, a special transformation improves computation; for odd k, ADMM uses soft-thresholding.
  • ADMM: ADMM’s signal update requires a sparse, well-conditioned linear system solvable efficiently with preconditioned conjugate gradients.For sufficiently small ρ, the system can also be handled by nearly linear-time Laplacian or SDD solvers.
  • Projected Newton: Projected Newton solves the dual problem and recovers the primal estimate from the optimized dual variables.Its reduced-Hessian iterations require sparse linear-system solves, but conditioning worsens as k grows.
  • Practical orders: Orders k = 0, 1, and 2 are most practically relevant, while orders k ≥3 are less likely to be sought in practice.The corresponding fits are piecewise constant, piecewise linear, and piecewise smooth, respectively.
  • Algorithm comparison: For k = 1, projected Newton converges faster than ADMM, whereas for k = 2, projected Newton stagnates and ADMM converges better.The comparison uses a 2d grid graph with 262,144 nodes and 523,264 edges; projected Newton has superlinear versus ADMM’s at-best-linear convergence for k = 1.

5 Examples

The examples evaluate graph trend filtering across Facebook denoising, UCI graph-based label imputation, and sparse event detection on NYC taxi data. Across these settings, GTF is competitive with or improves upon Laplacian-based alternatives, especially when signals have heterogeneous smoothness or localized structure.

  • Trend Filtering over the Facebook Graph: Facebook experiments compare GTF, Laplacian smoothing, and wavelet smoothing on synthetic signals generated from dense and sparse Poisson equations and inhomogeneous random walks.The three models are designed to favor Laplacian smoothing, GTF, and adaptive methods, respectively.
  • Trend Filtering over the Facebook Graph: GTF achieves its strongest advantage on the sparse-Poisson model while remaining highly competitive in the dense and inhomogeneous random-walk settings.Performance is measured by each method’s best tuned mean squared error across noise levels.
  • Graph-Based Transductive Learning over UCI Data: MAD-GTF imputes labels by fitting class scores over a graph and assigning each unobserved node the class with the largest fitted score.A small positive prior term makes the criterion strictly convex and gives a unique solution, while fitted entries are interpreted as relative probabilities.
  • Graph-Based Transductive Learning over UCI Data: Across the 11 UCI classification data sets, MAD-GTF with k = 1 and k = 2 performs at least as well as, and sometimes better than, MAD-Laplacian.Rates are averaged over 10 repetitions with randomly selected seed labels; k = 0 performs worse than the smoother alternatives.
  • Event Detection with NYC Taxi Trips Data: Sparse graph trend filtering produces estimates that are zero at many nodes while remaining smooth elsewhere, supporting localized detection of anomalous taxi activity.Applied to differences between parade-period counts and seasonal averages, sparse GTF better localizes estimates around the hand-labeled parade route than sparse Laplacian smoothing.

6 Estimation Error Bounds

The paper develops general and stronger error bounds for graph trend filtering, with sharper rates available under graph-specific conditions such as incoherence or entropy control.

  • Basic Error Bounds: Theorem 3 gives average squared-error convergence at rate M√log r/n when ∥∆β0∥1 = O(1) and nullity(∆) = O(1).The result applies to any linear operator ∆ and implies consistency for graph trend filtering in suitable cases.
  • Basic Error Bounds: For graph trend filtering, Corollary 4 derives rates for univariate trend filtering and Erdős–Rényi random graphs under the tuning rule from Theorem 3.The bound depends on graph structure and the smallest nonzero Laplacian eigenvalue, which can make general bounds loose.
  • Strong Error Bounds Based on Incoherence: Under incoherence, Theorem 6 strengthens the basic bound by replacing M with a quantity related to the average reciprocal of larger singular values.This sharper result requires stronger assumptions on the singular vectors of ∆.
  • Strong Error Bounds Based on Incoherence: On a chain graph, Corollary 7 essentially recovers the univariate optimal rate n−(2k+2)/(2k+3), up to a logarithmic factor.Its proof is graph-theoretic and extends naturally to two-dimensional grids.
  • Strong Error Bounds Based on Incoherence: On a 2d grid, bounded discrete differences yield an improved rate; for k = 0, 2d fused lasso achieves n−4/5 versus n−2/3 in one dimension.The comparison is made under the corresponding boundedness conditions for the graph difference operator.
  • Strong Error Bounds Based on Entropy: Entropy-based arguments rederive the optimal univariate fused-lasso rate n−2/3 without relying on special properties of one-dimensional bounded-variation functions.The approach uses covering-number bounds and is presented as potentially extensible to other graph settings.

7 Discussion

The paper presents graph trend filtering as an alternative to Laplacian and wavelet smoothers, combining local adaptivity, robustness in high noise, and theoretical guarantees.

  • Graph trend filtering is proposed as an alternative to Laplacian and wavelet graph smoothers.
  • Empirical evidence indicates that ℓ1-based graph trend filtering has stronger local adaptivity than ℓ2-based Laplacian smoothing.
  • Graph trend filtering is reported to be more robust than wavelet smoothing in high-noise scenarios.
  • The theoretical analysis provides a basis for understanding the estimation properties of graph trend filtering.
  • More precise entropy-based characterizations and comparisons with other estimators remain future work.

A Additional Analysis from Alternative Wavelet Designs

The appendix compares additional graph-wavelet constructions on Allegheny County and Facebook simulations, finding that spanning-tree wavelets perform best or comparably across the examined settings.

  • The appendix provides detailed comparisons among several recently proposed wavelet approaches for graph smoothing.
  • Coifman–Maggioni and Irion provide alternative wavelet-packet constructions, whereas Sharpnack et al. produce a single signal-independent orthogonal basis.
  • The experiments use author-released implementations with default settings for the additional wavelet methods.
  • On the Allegheny County simulations, Sharpnack et al.’s spanning-tree wavelets are the best performer among the three candidate designs.
  • Figure 9 examines the two additional wavelet methods on the Facebook graph using the same setup as Figure 5.
  • On the Facebook simulations, Sharpnack et al.’s spanning-tree wavelets perform better or on par across essentially all scenarios.

B.2 Proof of Theorem 3

The proof develops error bounds for graph trend filtering by decomposing estimation error through the row and null spaces of the graph difference operator, then bounding the resulting terms.

  • The proof separates the estimator into components in the row space and null space of the graph difference operator.
  • A basic inequality follows from the optimality of the auxiliary estimator and is combined with Hölder’s inequality.
  • Choosing λ proportional to M√log r controls the stochastic term involving the pseudoinverse of the difference operator.
  • For univariate trend filtering, the pseudoinverse of the discrete difference operator is expressed using a projected falling-factorial basis.
  • For Ramanujan and Erdős–Rényi graphs, the proof bounds operator dimensions and null-space dimensions using graph structure.
  • The resulting bounds depend on the smallest nonzero Laplacian eigenvalue, which can be very small and thereby loosen the guarantees.
  • The discrete-difference pseudoinverse result does not depend on the particular input points used to define the difference matrix.

B.6 Proof of Theorem 6

The proof of Theorem 6 uses a singular-value decomposition and an incoherence condition to obtain a refined bound based on larger singular values rather than only the smallest one.

  • The proof begins with the singular-value decomposition of the graph difference operator and decomposes the relevant subspace using leading right singular vectors.
  • The error is split into components controlled separately through projections onto leading and remaining singular-vector subspaces.
  • An incoherence assumption enables Gaussian maximum bounds for the projected stochastic terms.
  • The proof combines the resulting terms with high probability to complete the refined error bound.

B.7 Proof of Corollary 7

The proof treats odd and even k separately, identifying the relevant graph trend-filtering operators with powers of one-dimensional Laplacian or incidence matrices. In both cases, incoherence and singular-value structure support applying Theorem 6.

  • Case for k odd: For odd k, the operator is Δ = L^(k+1)/2 for the Laplacian L of a one-dimensional chain.L is associated with the finite-difference operator for the one-dimensional Laplace equation under Neumann boundary conditions.
  • Case for k odd: The eigenvectors of L are incoherent, with constant μ = 2.The proof uses a Riemann-sum and integral bound to control partial sums of squared reciprocal eigenvalues.
  • Conclusion: Applying Theorem 6 completes the proof for both parity cases.The odd-k conclusion is obtained directly after the one-dimensional eigenvalue and incoherence bounds, and the even-k argument follows analogously.
  • Case for k even: For even k, the operator is Δ = D L^(k/2), where D is the edge-incidence matrix and L = DᵀD.The left singular vectors of D L^(k/2) coincide with those of D, equivalently the eigenvectors of DDᵀ.
  • Case for k even: The singular values of D L^(k/2) are the eigenvalues of L raised to the power (k + 1)/2.Thus, after establishing incoherence of the relevant singular vectors, the remainder follows as in the odd-k case.

B.8 Proof of Corollary 8

The proof analyzes graph trend-filtering operators on a two-dimensional grid by exploiting one-dimensional Kronecker structure. It establishes incoherence for the relevant eigenvectors and singular vectors, then applies the one-dimensional argument to obtain the result.

  • Case for k odd: For odd k, the operator is Δ = L^(k+1)/2, where L is the Laplacian of the two-dimensional grid graph.The two-dimensional Laplacian is the Kronecker sum of one-dimensional grid Laplacians.
  • Case for k odd: The eigenvectors of the two-dimensional Laplacian are pairwise Kronecker products ui ⊗ uj of one-dimensional eigenvectors.These products have unit norm and infinity norm at most 2/√n.
  • Case for k odd: The two-dimensional Laplacian eigenvectors satisfy the incoherence property with constant μ = 2.The eigenvalues are pairwise sums of the one-dimensional eigenvalues, and raising them to (k + 1)/2 preserves the eigenvectors.
  • Case for k even: For even k, the operator is Δ = D L^(k/2), with D the incidence matrix of the two-dimensional grid and L = DᵀD.Its left singular vectors are the left singular vectors of D, equivalently the eigenvectors of DDᵀ.
  • Conclusion: Applying Theorem 6 gives the result for odd k, completing the two-dimensional analysis.The even-k proof reduces the remaining steps to the corresponding odd-k argument after establishing singular-vector incoherence.
  • Case for k even: The constructed eigenvectors are unit norm and incoherent with constant μ = 2, while the remaining eigenvectors satisfy incoherence with μ = 4.The proof normalizes the additional eigenvectors and bounds their entrywise maxima before concluding.

B.9 Proof of Lemma 9

The proof of Lemma 9 derives an entropy bound for the graph-difference constraint set by rescaling it and applying a covering argument. It then uses this bound within a case-based argument to complete the lemma.

  • Case analysis: The proof follows the proof of Theorem 3 but replaces Hölder’s inequality with the fractional bound in (16).The argument proceeds by separating cases according to the relevant parameter conditions.
  • Case analysis: The case-based inequalities are substituted back into the preceding bounds, completing the proof.The final step explicitly states that the second case and the proof are complete.
  • Entropy bound: The constraint set is S_Δ(1) = {x ∈ row(Δ) : ‖Δx‖_1 ≤ 1} = Δ†{α ∈ col(Δ) : ‖α‖_1 ≤ 1}.Its rescaled version is defined using √n/M, where M is the maximum column norm of Δ†.
  • Entropy bound: Rescaling ensures that the relevant set has Euclidean radius at most √n, matching the local entropy metric used in van de Geer’s lemma.The scaled norm is ‖·‖_n = ‖·‖_2/√n.
  • Entropy bound: Carl’s theorem converts covering bounds for a generating set into covering bounds for its convex hull.The proof applies this conversion to obtain an entropy bound for conv(G) = S_Δ(1).
  • Entropy bound: The covering construction uses paired centers for g_i and −g_i, yielding a radius proportional to √(n/j).The construction first covers selected positive vectors and then covers their negatives with the remaining balls.
Loading 1410.7690v5…