Dual Path Attribution: Efficient Attribution for SwiGLU-Transformers through Layer-Wise Target Propagation

arXiv cs.LG / 3/23/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • Dual Path Attribution (DPA) enables faithful attribution for SwiGLU-transformers using only one forward and one backward pass, without requiring counterfactuals.
  • It analytically decomposes and linearizes the transformer’s computation into distinct propagation pathways for a targeted unembedding vector, yielding effective representations at each residual position.
  • DPA achieves O(1) time complexity with respect to the number of model components, enabling efficient attribution on long input sequences and dense component analyses.
  • Experiments on standard interpretability benchmarks show state-of-the-art faithfulness and substantially improved efficiency compared with existing baselines.
  • The method focuses on the frozen transformer setting and advances understanding of information flow in LLMs, potentially informing the development of interpretable tooling.

Abstract

Understanding the internal mechanisms of transformer-based large language models (LLMs) is crucial for their reliable deployment and effective operation. While recent efforts have yielded a plethora of attribution methods attempting to balance faithfulness and computational efficiency, dense component attribution remains prohibitively expensive. In this work, we introduce Dual Path Attribution (DPA), a novel framework that faithfully traces information flow on the frozen transformer in one forward and one backward pass without requiring counterfactual examples. DPA analytically decomposes and linearizes the computational structure of the SwiGLU Transformers into distinct pathways along which it propagates a targeted unembedding vector to receive the effective representation at each residual position. This target-centric propagation achieves O(1) time complexity with respect to the number of model components, scaling to long input sequences and dense component attribution. Extensive experiments on standard interpretability benchmarks demonstrate that DPA achieves state-of-the-art faithfulness and unprecedented efficiency compared to existing baselines.