cs.LGNov 19, 2026

Revealing Pathway Interactions in Network Computations with Complete Path Contribution

Authors: Shenghua Liu, Youssef Faragalla, Surya Ganguli, Stephen A. Baccus

Organizations: Department of Physics, Stanford University · Neurosciences Interdepartmental Program, Stanford University · Department of Applied Physics, Stanford University · Department of Neurobiology, Stanford University

Abstract

Networks pass signals through many layers of interconnected units, so explaining what they compute means tracing how information travels from input to output and how pathways interact. Most existing approaches analyze only pairwise interactions between components such as units, layers or attention heads. Even when these measurements are combined post hoc into a circuit, they do not capture higher-order interactions along full causal chains (paths) from input to output, and so cannot address how exponentially many paths interact to construct network computation. This leaves a large set of mechanistic questions unanswerable, for example whether inhibitory pathways veto excitatory ones, and how the two combine to yield network decisions. To address this gap, we introduce Complete Path Contribution, a method to decompose the network output into mathematically complete contributions of individual paths to study path-level interactions directly and at scale. Partial summation then induces definitions of contributions for any circuit at any granularity level, with completeness guaranteed at every level. We further present an efficient algorithm that identifies the kk strongest paths without examining all of them, with runtime empirically linear in kk rather than exponential in depth. By applying Path Contribution to benchmark image classification networks, we quantify excitatory-inhibitory interactions and show how they collectively construct network decisions at a level of detail previously unmeasurable. Furthermore, in an interpretable model of the mouse retina, it reveals how dynamic receptive fields emerge from excitatory-inhibitory interaction motifs among pathways between different cell types in response to time-varying natural stimuli. Overall, Path Contribution reveals how a network's causal pathways interact at scale to transform input to output.

Figures & tables

Appendix figures & tables21 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Causal Interpretation of Neural Network Computations with Contribution Decomposition

    Mar 6, 2026Joshua Brendan Melander, Zaki Alaoui, Shenghua Liu +2Neural Network InterpretabilityMechanistic Interpretability

  2. Attribution via Distributional Paths for Information Revelation

    Jun 2, 2026Kieran A. Murphy, Shameen ShresthaGradient-Based AttributionFeature Attribution

  3. Do ResNets Route? Sparse Interaction Experts in Residual Networks

    Oct 2, 2026Liang Yan, Siying Chen, Kaijie Chen +3Residual LearningSparse Neural Networks