跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.40792 · v1

Depth-Wise Inference Dynamics in Transformers: An Intervention-Based Decomposition of Self-Attention and MLP Contributions

首次提交 2026-11-30 17:42
版本更新 2026-11-30 17:42
雷达观测 2026-12-01 14:28
arXiv ↗PDF ↗

摘要

Transformer inference across depth remains insufficiently characterized in terms of the distinct components of residual updates. We formulate inference as a discrete-time state-update process on the full token sequence and decompose each residual update into additive self-attention and MLP contributions. This decomposition enables component-wise interventions and systematic measurement of their effects. We introduce operational, output-based notions of an invariance region and basin-like selection, and examine how prediction diagnostics change when attention-output contributions are suppressed from a selected layer onward. Experiments on Pythia-410M reveal two complementary findings. First, suppressing context-side attention from later onset layers generally produces smaller changes in position-wise prediction diagnostics, although the response trajectories remain token dependent and non-uniform. Second, component-wise comparisons between attention and MLP suppression reveal distinct effects on the output. Together, these findings support a functional distinction in which self-attention primarily contributes to sequence-level reorganization and context integration, whereas the MLP primarily supports position-wise representational refinement and output stabilization. The proposed framework provides a measurable, intervention-based dynamical description of Transformer inference while accounting for token-dependent and non-uniform stabilization across depth.

作者备注:45 pages, 5 figures, 5 tables. Experiments are conducted using Pythia-410M

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-30 17:42 · 最新观测版本

Depth-Wise Inference Dynamics in Transformers: An Intervention-Based Decomposition of Self-Attention and MLP Contributions

Transformer inference across depth remains insufficiently characterized in terms of the distinct components of residual updates. We formulate inference as a discrete-time state-update process on the full token sequence and decompose each residual update into additive self-attention and MLP contributions. This decomposition enables component-wise interventions and systematic measurement of their effects. We introduce operational, output-based notions of an invariance region and basin-like selection, and examine how prediction diagnostics change when attention-output contributions are suppressed from a selected layer onward. Experiments on Pythia-410M reveal two complementary findings. First, suppressing context-side attention from later onset layers generally produces smaller changes in position-wise prediction diagnostics, although the response trajectories remain token dependent and non-uniform. Second, component-wise comparisons between attention and MLP suppression reveal distinct effects on the output. Together, these findings support a functional distinction in which self-attention primarily contributes to sequence-level reorganization and context integration, whereas the MLP primarily supports position-wise representational refinement and output stabilization. The proposed framework provides a measurable, intervention-based dynamical description of Transformer inference while accounting for token-dependent and non-uniform stabilization across depth.

查看此版本解读 →查看此版本原文 ↗