arXiv · 2605.19778
B-cos GNNs: Faithful Explanations through Dynamic Linearity
Abstract
We introduce B-cos GNNs, an inherently explainable class of graph neural networks whose predictions decompose exactly into per-node, per-feature contributions via a single input-dependent linear map. B-cos GNNs use linear (sum-based) aggregation and replace non-linear message and update functions with B-cos transforms. This induces meaningful, task-specific weight-input alignment that is directly accessible through the model's dynamic linearity. Instance-level explanations follow from a single forward and backward pass, requiring no auxiliary explainer, modified learning objective, or perturbation procedure. Instantiated as a GIN, our approach trades small losses in predictive accuracy for state-of-the-art explainability across diverse synthetic and real-world benchmarks, producing explanations orders of magnitude faster than post-hoc baselines.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Joschka Groß, Mohammad Shaique Solanki, Verena Wolf. 2026-05-19. B-cos GNNs: Faithful Explanations through Dynamic Linearity. https://arxiv.org/abs/2605.19778
Cite the original work for its findings. Save a collection to share your selection of sources.