Papers
Topics
Authors
Recent
Search
2000 character limit reached

JacobiConv: Spectral GNN with Jacobi Polynomials

Updated 4 March 2026
  • JacobiConv is a spectral GNN architecture that uses orthogonal Jacobi polynomial bases to achieve universal expressive power and fast convergence.
  • It adapts the filter representation to the empirical graph Laplacian spectrum via parameters α and β, improving Hessian conditioning and optimization stability.
  • The framework also enables fast Chebyshev–Jacobi transforms through stabilized recurrences and asymptotic formulas, ensuring numerical efficiency across diverse datasets.

JacobiConv is a spectral graph neural network (GNN) architecture that leverages Jacobi polynomial bases to parameterize graph filters. Originally proposed in the context of analyzing the expressive power and optimization landscape of spectral GNNs, JacobiConv abandons pointwise nonlinearities and instead focuses on orthogonal polynomial parameterizations, yielding models with provably universal expressive power under mild conditions and superior empirical performance on both synthetic and real-world datasets (Wang et al., 2022). The Jacobi polynomial basis is chosen for its ability to be adapted to the empirical distribution of graph Laplacian eigenvalues via parameters α and β, enabling accelerated convergence through improved Hessian conditioning in training. Separately, JacobiConv also refers to fast transforms between Chebyshev and Jacobi polynomials, realized through Hahn’s asymptotic formula and stabilized recurrences for numeric stability across the spectrum (Slevinsky, 2016).

1. Spectral GNNs and the Motivation for JacobiConv

In a spectral GNN framework, each node feature matrix XRn×dX\in\mathbb R^{n\times d} is interpreted as a graph signal to be filtered in the eigenspace of the graph’s normalized Laplacian L~\widetilde L. The action of a filter g()g(\cdot) on XX is formulated as Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X, where UU is the eigenvector matrix and Λ\Lambda the diagonal matrix of eigenvalues (L~=UΛU\widetilde L = U\Lambda U^{\top}). To circumvent runtime eigendecomposition, gg is typically chosen polynomial in L~\widetilde L—classically L~\widetilde L0—and polynomial bases such as Chebyshev or Bernstein have been standard.

The choice of polynomial basis affects optimization: if L~\widetilde L1 is represented in a basis orthogonal with respect to the empirical spectral density of the graph signal, the Hessian in squared loss for filter coefficients is (nearly) diagonal, leading to better-conditioned gradients and faster convergence. Jacobi polynomials, parameterized by L~\widetilde L2, provide a flexible family of orthogonal polynomials adjustable to the distribution of Laplacian eigenvalues encountered in real graphs (Wang et al., 2022).

2. Jacobi Polynomial Basis: Definitions and Properties

For L~\widetilde L3, Jacobi polynomials L~\widetilde L4 are defined on L~\widetilde L5 via the three-term recurrence

L~\widetilde L6

L~\widetilde L7

with explicit L~\widetilde L8 depending on L~\widetilde L9 (see He et al. 2021; also (Slevinsky, 2016)). Jacobi polynomials are orthogonal with respect to the weight g()g(\cdot)0: g()g(\cdot)1 In spectral GNNs, the normalized Laplacian spectrum g()g(\cdot)2 is shifted to g()g(\cdot)3 via g()g(\cdot)4, and the Jacobi polynomial basis g()g(\cdot)5 is used as the functional basis for g()g(\cdot)6.

3. JacobiConv Architecture and Spectral Filter Parameterization

JacobiConv parameterizes the spectral filter g()g(\cdot)7 as a g()g(\cdot)8th-order Jacobi polynomial expansion: g()g(\cdot)9 where the XX0 are learned coefficients, and each output channel XX1 may use its own XX2. In the forward computation, the input XX3 is linearly projected by XX4 to XX5, followed by spectral filtering to produce XX6.

Filter learning is cast as minimizing Frobenius loss XX7 with XX8 weight decay on both XX9 and the filter coefficients. Optimization is performed via Adam with grid/random search for learning rates and polynomial order Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X0.

To further stabilize coefficient learning, JacobiConv employs Polynomial-Coefficient-Decomposition (PCD), expressing Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X1 as bounded linear combinations Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X2 with Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X3 bounded by Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X4 nonlinearity.

4. Orthogonality, Hessian Conditioning, and Adaptivity

Near a loss-minimizing solution, the Hessian with respect to the filter coefficients Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X5 is determined by the inner products Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X6, where Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X7 is the empirical spectral density weighted by Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X8 (Fourier coefficients of Xg(L~)X=Ug(Λ)UXX \mapsto g(\widetilde L) X = U g(\Lambda) U^{\top} X9). Orthogonalizing the basis UU0 for this UU1 minimizes the Hessian's condition number. Jacobi polynomials' orthogonality to UU2 provides the flexibility to fit the observed empirical density UU3 by grid-searching over UU4.

This adaptivity is not present in fixed bases such as Chebyshev or Bernstein, allowing JacobiConv to maintain fast convergence and stable optimization over diverse spectral densities encountered in practice (Wang et al., 2022).

5. Expressive Power and Universality without Nonlinearities

Theorem 4.1 of (Wang et al., 2022) shows that a purely linear spectral GNN of the form UU5 can realize any mapping UU6 provided:

  • UU7 has distinct eigenvalues (no repeated eigenvalues).
  • UU8 has no missing frequency components (nonzero in every eigen-direction).

Consequently, adding nonlinearities does not increase expressive power for general graphs with suitable features. Nonlinearities can assist in degenerate edge cases (repeated eigenvalues, missing frequencies), but these are empirically rare (UU9 repeated eigenvalues). Universality extends to multi-output nodes by assigning each output channel an independent Λ\Lambda0. Further, polynomial filter GNNs have at most the discriminative power of Λ\Lambda1-step 1-Weisfeiler–Leman (1-WL), which in the absence of eigenvalue multiplicity and frequency gaps already achieves full node distinction.

6. Empirical Results and Benchmark Comparisons

JacobiConv's empirical validation covers both synthetic filtering tasks and real-world graph classification:

Task/Domain Baselines JacobiConv outcome
Synthetic filtering ("image-on-graph") GPRGNN, ARMA, ChebyNet, BernNet, monomial/Chebyshev/Bernstein/Jacobi linear GNNs Up to 50× lower MSE (e.g., Λ\Lambda2 for Jacobi vs. Λ\Lambda3 for ARMA on low-pass); outperforms all linear baselines (10× lower than monomial, Bernstein)
Real-world node classification (10 datasets) GCN, APPNP, ChebyNet, GPRGNN, BernNet (with nonlinearities) Wins 9/10 datasets; up to +12% accuracy gain (e.g., Squirrel); 2–3 points better than BernNet on average, using Λ\Lambda4 as many parameters

This demonstrates that JacobiConv delivers universal spectral filtering capability and state-of-the-art empirical performance using only linear operations and no activations (Wang et al., 2022).

7. Fast Chebyshev–Jacobi Transforms and Numerical Implementation

In the context of polynomial basis transforms, JacobiConv also refers to the fast numerically stable computation of Chebyshev–Jacobi transforms (Slevinsky, 2016). This is realized using:

  • Hahn’s interior asymptotic formula for Λ\Lambda5 with rigorous error bounds, allowing reduction to a sum of diagonally scaled DCT-I and DST-I transforms for "asymptotic blocks".
  • Stable three-term recurrence and the Clenshaw–Smith algorithm, with Reinsch's endpoint modifications to maintain uniform accuracy even near Λ\Lambda6.
  • Complexity Λ\Lambda7 for the full transform, using Λ\Lambda8 for double precision and careful block partitioning of the computation domain.

Key implementation details include:

  • Pre-planning DCTs/DSTs via FFTW or equivalent libraries.
  • Explicitly handling edge cases and parameter regimes for Λ\Lambda9, including parameter shifting for half-integer cases.
  • Clenshaw–Curtis quadrature and accurate endpoint handling (Slevinsky, 2016).

This fast transform is essential for efficient evaluation and inversion of Jacobi polynomial expansions in GNN filtering and beyond.


In conclusion, JacobiConv unifies advances in spectral graph filtering, polynomial basis adaptivity, and fast, stable transforms to provide a highly expressive, optimizable, and empirically dominant spectral GNN framework without the need for nonlinearities or large overparameterization (Wang et al., 2022, Slevinsky, 2016).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to JacobiConv.