arXiv:2607.17696stat.MLcs.LG2026-07

揭示因果残差注意力模型中中间信息丢失的机制与缓解方法

An Adjoint-Sensitivity Framework for Lost-in-the-Middle Phenomena in Causal Residual Transformers

  • 基于伴随敏感性框架分析位置影响,分离无条件与条件结论
  • 发现早期位置敏感性增强和终端偏差传播是关键因素,但不单独导致U型分布
  • 提出可验证的能量、相关性和局部通道约束,适合作为诊断或正则化工具

本文构建了因果残差Transformer中位置影响的伴随敏感性框架,将无条件解析结果与条件边界形状结论分离。主要无条件定理为层控制在$L^1$收敛下的残差-深度流估计,并辅以有限标记到Volterra注意力估计,明确控制靠近因果终点的首几层。定义归一化伴随能量影响密度,并推导其在全批梯度流中的精确演化。伴随算子可精确分解为残差传输、非局部Volterra及局部通道项,包含所有协方差交叉项。因果掩码会放大早期位置敏感性,残差恒等路径可传播右局部终端偏差,但二者单独均不足以引发U型影响分布。因此,在独立可验证的能量、相关性和局部通道界下给出边界优势;这些条件为充分非必要。有限标记影响平衡、位置重加权和任务对齐可观测性被作为诊断或正则化手段,附带显式微分要求、计算成本与局限性。受控模拟显示,每种干预仅控制对应代理指标,而可观测性平衡或外环重加权未必单调降低基于影响的中间丢失诊断值。

原文摘要 · Abstract (English)

We develop an adjoint-sensitivity framework for positional influence in causal residual Transformers and separate unconditional analytic results from conditional boundary-shape conclusions. The principal unconditional theorem is the residual-to-depth-flow estimate for layer controls converging in $L^1$, complemented by a finite-token-to-Volterra attention estimate that explicitly controls the first cells near the causal endpoint. We define a normalized adjoint-energy influence density and derive its exact evolution along full-batch gradient flow. The adjoint admits an exact generator-term decomposition into residual transmission, nonlocal Volterra, and local channels, including all covariance cross terms. Causal masking can amplify early-position sensitivity and residual identity paths can transmit a right-localized terminal bias, but neither mechanism alone forces a U-shaped profile. We therefore state boundary advantages under independently checkable energy, correlation, and local-channel bounds; these conditions are sufficient rather than necessary. Finite-token influence balancing, positional reweighting, and task-aligned observability are presented as diagnostics or regularizers with explicit differentiation requirements, computational costs, and limitations. Controlled simulations illustrate that each intervention controls its designated surrogate, while observability balance or outer-loop reweighting need not monotonically reduce the influence-based Lost-in-the-Middle diagnostic.

Transformer注意力机制敏感性分析模型解释

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。