OrthoFormer:通过神经控制函数在Transformer隐藏状态中进行工具变量估计
OrthoFormer: Instrumental Variable Estimation in Transformer Hidden States via Neural Control Functions
AI总结:
OrthoFormer通过神经控制函数将工具变量估计嵌入Transformer块,解决相关学习导致的灾难性分布外失败问题,实现从相关到因果序列建模的转变。
摘要:
Transformer架构在序列建模方面表现出色,但受限于相关学习,只能捕捉由潜在混杂因素诱导的虚假关联而非不变因果机制。我们将其视为一个认识论挑战:标准Transformer将静态背景因素(内在身份、风格、上下文)与动态因果流(状态演变、机制)混淆,导致灾难性分布外失败。我们提出OrthoFormer,一种基于因果的架构,通过神经控制函数将工具变量估计直接嵌入Transformer块。我们的框架基于四个理论支柱:结构性方向性(时间箭头强制)、表示正交性(潜在噪声分离)、因果稀疏性(马尔可夫毯近似)和端到端一致性(梯度分离阶段分离)。我们证明OrthoFormer在任何有效的工具滞后下,偏差严格小于OLS,残差偏差随O(ρ^k)几何衰减。我们刻画了自工具化固有的偏差-方差-外生性三重困境,并识别出神经禁止回归——移除梯度分离会提高预测损失但破坏因果有效性。实验验证了所有理论预测。OrthoFormer代表从相关到因果序列建模的范式转变,对鲁棒性、可解释性和分布偏移下的可靠决策具有启示。
英文摘要:
Transformer architectures excel at sequential modeling yet remain fundamentally limited by correlational learning - they capture spurious associations induced by latent confounders rather than invariant causal mechanisms. We identify this as an epistemological challenge: standard Transformers conflate static background factors (intrinsic identity, style, context) with dynamic causal flows (state evolution, mechanism), leading to catastrophic out-of-distribution failure. We propose OrthoFormer, a causally grounded architecture that embeds instrumental variable estimation directly into Transformer blocks via neural control functions. Our framework rests on four theoretical pillars: Structural Directionality (time-arrow enforcement), Representation Orthogonality (latent-noise separation), Causal Sparsity (Markov Blanket approximation), and End-to-End Consistency (gradient- detached stage separation). We prove that OrthoFormer achieves bias strictly less than OLS for any valid instrument lag, with residual bias decaying geometrically as O(\r{ho}k ). We characterize the bias-variance-exogeneity trilemma inherent in self-instrumenting and identify the neural forbidden regression - where removing gradient detachment improves prediction loss while destroying causal validity. Experiments confirm all theoretical predictions. OrthoFormer represents a paradigm shift from correlational to causal sequence modeling, with implications for robustness, interpretability, and reliable decision-making under distribution shift.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。