A Generalized Tikhonov Layer for Interpretable-by-design Graph Neural Networks

Nicolas Tremblay, Filippo Maria Bianchi, Benjamin Ricaud

TL;DR

Graph Neural Networks (GNNs) are notoriously opaque because they tangle together node data and network connections at every step. This paper introduces the Tikhonov layer, a drop-in GNN architecture that forces the network to cleanly reveal where it relies on individual node features versus graph structure—and how that structure shapes the signal—without sacrificing deep-learning expressivity. Better yet, it naturally tames classic GNN headaches like oversmoothing and oversquashing in a single layer.

What Problem Does This Paper Address?

Understanding why a standard neural network makes a prediction is hard; understanding a GNN is arguably doubly so. In graph machine learning, information comes from two places: node features (data living on each vertex) and topology (how vertices are wired together). When a GNN makes a prediction, did it just look at the features and ignore the wiring? Did it rely purely on the graph's shape? Or did it use features as anchors in one neighborhood and let the topology smooth things out elsewhere?

Existing interpretability tools fall short. Post-hoc explainers try to guess what an opaque model did after the fact, offering no guarantees of faithfulness. Meanwhile, existing "self-explainable" GNNs usually chain two modules together—an extractor that picks a subgraph and a classifier that predicts from it—which suffers from a known loophole where the classifier secretly uses the subgraph as an arbitrary code, rendering the explanation meaningless. The authors ask: can we build a GNN where the explanation is the mathematical computation itself?

Methods

Instead of stacking many opaque message-passing layers, the authors route the entire prediction through a single Tikhonov layer defined by the propagation matrix $R = (p(L) + Q)^{-1}Q$, where $L$ is the normalized graph Laplacian (a standard matrix encoding graph connectivity).

Multiplying node features $x$ by $R$ isn't just a random matrix operation—it computes the exact mathematical optimum of a classic physics-style tug-of-war (generalized Tikhonov regularization) between two learnable components:

  1. Node-importance scores $Q = \text{diag}(q_1, \dots, q_n)$: Each positive scalar $q_i$ acts like a dial for node $i$. Turn $q_i$ way up, and node $i$ stubbornly keeps its own original features. Turn $q_i$ close to zero, and node $i$ forgets its own data, letting neighboring nodes dictate its value via the graph topology.
  2. A spectral polynomial $p(\lambda)$: Constrained between $0$ and $1$ using Bernstein polynomials, the shape of $p$ dictates how topology influences low-$q_i$ nodes—for instance, an upward slope penalizes jagged changes across edges (encouraging smooth, homophilic neighborhoods), while a downward slope favors contrasting neighbors (heterophily).
Figure 1: The explanation {{qi}i∈V, p(·)}. (a) After training, the learned q values provide a node-level explanation that can be plotted as a heatmap over G: warm nodes (large qi) rely on their own features, cool nodes (small qi) are governed by graph topology. (b) The shape of the learned polynomial p(λ) reveals how the graph topology influences the nodes with small qi. For instance, an increasing profile penalizes high frequencies (favors homophily), a decreasing one penalizes low frequencies (favors heterophily). Together, {{qi}i∈V, p(·)} is the explanation.

How do you keep a single-layer model expressive? Separation of concerns. Rather than learning $q_i$ as static parameters, they are generated dynamically from the input graph by a dedicated, arbitrarily deep GNN called the Q-network. All the messy nonlinear complexity lives inside the Q-network, while the feature propagation through the Tikhonov layer remains crystal clear.

Finally, because inverting a matrix directly is slow on large graphs, the authors compute $Rx$ iteratively using Preconditioned Conjugate Gradient (PCG) paired with implicit differentiation during backpropagation—requiring just one extra linear solve instead of unrolling the solver in memory.

Datasets

The authors test their layer on synthetic benchmarks with known ground truth (plus two real-world molecular datasets in the appendix):

  • Colors-3: Counting green nodes (purely feature-driven).
  • Clique distance & Triangles: Measuring path lengths between cliques and detecting single triangles using all-ones features (purely topology-driven).
  • ECHO-diam: Predicting graph diameter, a global property designed to test long-range communication.
  • CSBM classification (Newly Introduced): Built on Contextual Stochastic Block Models, this new benchmark asks models to distinguish connected community graphs (with tunable feature signal $\mu/\sqrt{\gamma}$ and topological signal $\lambda$) from degree-preserving rewired null graphs. Because CSBM has an exact theoretical recovery boundary, it serves as a controlled dial to test whether $q_i$ tracks the true signal source.
  • ZINC & OGBG-MolHIV: Real-world molecular benchmarks (evaluated in Appendix F).

Key Insights and Ideas

  • Guaranteed structural faithfulness: The authors prove that for a fixed filter $p$, the mapping from node importances $Q$ to the propagation operator $R$ is injective. Unlike two-part self-explaining GNNs, the model mathematically cannot change its explanation $Q$ without changing how features propagate.
  • Controllable oversquashing (Global reach in one hop): Standard GNNs lose long-range signals exponentially fast with hop distance at a fixed architectural rate. Here, the single-layer inverse gives $R$ a global receptive field immediately. Better yet, the spatial decay rate scales with the condition number controlled by $Q$: by driving certain $q_i$ values down, the network actively learns to open long-range communication channels end-to-end!
  • Anchors and relays: When $q_i$ values are mixed, high-$q_i$ nodes act like fixed boundary conditions ("anchors") in graph inpainting, while low-$q_i$ nodes act as topological relays interpolating between them.

Key Results

  • Pinpointing features vs. structure: On Colors-3, the model hits 100% test accuracy and cranks $q_i \gg 1$ everywhere (effectively turning itself into an MLP that ignores distracting edges), even assigning higher $q_i$ to the target green nodes. On Clique distance, it hits 100% accuracy (beating GIN's 97%), setting high $q_i$ on the cliques as anchors and tiny $q_i$ along the connecting path to measure distance via diffusion. On Triangles, a best run reaches 99.4% accuracy (95% median, beating a 94% GAT baseline) while highlighting triangle vertices with higher $q_i$ completely unsupervised.
  • Tracking theoretical phase transitions: Across the CSBM parameter grid, classification accuracy cleanly hugs the theoretical recovery curve ($\lambda^2 + \mu^2/\gamma = 1$). Crucially, the median learned $q_i$ transitions smoothly from high values when features dominate to low values when topology dominates.
  • Long-range performance & speed: On ECHO-diam, the layer achieves a test MAE of 1.17 (median 1.20)—outperforming the best deep GNN (~1.6) and approaching graph transformers (1.05)—by anchoring leaf endpoints (high $q_i$) against a smoothed interior (low $q_i$). Computationally, the PCG + implicit differentiation trick keeps memory comparable to ChebNet while running only 2–4$\times$ slower.

Limitations and Future Work

  • Human legibility & non-uniqueness: Faithful math doesn't always equal easy human intuition. Some tasks admit multiple valid algorithmic strategies (e.g., alternative valid explanations emerged across runs on Triangles and ECHO-diam that are harder for humans to parse). Adding auxiliary losses could nudge the network toward human-preferred explanations.
  • Long-range solver cost: While the exact operator is global, running $T$ iterations of PCG limits the effective reach to $(T-1)K$ hops. Tasks requiring graph-wide diameter reach need larger $T$, increasing runtime. Future work points toward randomized numerical linear algebra—specifically Monte-Carlo random-walk estimators—to approximate $Rx$ in $O(n)$ linear time without building or solving the full system.
  • Q-network bottlenecks: Because the Q-network is still a standard GNN, it remains vulnerable to oversmoothing, oversquashing, or shortcut learning internally if standard mitigations aren't applied.

Summary updated

Abstract

We propose the Tikhonov layer, a graph neural network layer that is interpretable by design: once trained, its learned parameters reveal which node features and which aspects of the graph topology were leveraged for prediction. In practice, the layer's propagation matrix takes the closed-form $R = (p(L)+Q)^{-1}Q$, where $L$ is the normalized graph Laplacian, $Q = diag(q_1,\ldots,q_n)$ a learnable diagonal matrix of positive node-importance scores, and $p(\cdot)$ a learnable polynomial. For any input feature $x$, the layer output $Rx$ is the exact minimizer of a generalized graph Tikhonov problem that trades off node-level data fidelity against a topology-driven regularization penalty. The learned pair {{$q_i$},$p$} constitutes a built-in explanation: large $q_i$ indicates that node $i$'s own features drive the prediction, while small $q_i$ signals reliance on the local graph topology; the shape of $p$ reveals whether homophily, heterophily, or a band-pass response is exploited. Expressivity is preserved by routing complexity through a dedicated, arbitrarily deep $Q$-network that produces the importance scores, while the Tikhonov layer itself remains transparent. We prove that distinct node-importance matrices yield distinct propagation operators, structurally coupling the explanation to the computation. Additionally, the Tikhonov layer provides, in a single layer, a global receptive field, mitigating both oversmoothing and oversquashing. Experiments on standard graph classification benchmarks confirm that the model matches (and sometimes outperforms) opaque baselines while producing interpretable and faithful explanations.
BibTeX
@inproceedings{tremblay2026generalized,
  author = {Nicolas Tremblay and Filippo Maria Bianchi and Benjamin Ricaud},
  title = {{A Generalized Tikhonov Layer for Interpretable-by-design Graph Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=tr3vYV6oRS},
}
Figure