arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.21756cs.CLcs.CE
收藏

拆解账本:在金融大型语言模型中定位并抑制‘骗子电路’

Dissecting the Ledger: Locating and Suppressing "Liar Circuits" in Financial Large Language Models

Soham Mirajkar ( November 24, 2025 )(Soham Mirajkar)

Soham Mirajkar

AI总结:

本研究提出通过因果追溯在金融LLM中定位并抑制导致算术幻觉的'骗子电路',通过实验验证了中间层和晚期层的双阶段机制,并展示了抑制特定层可显著降低幻觉输出的置信度。

摘要:

大型语言模型(LLMs)正在越来越多地应用于高风险的金融领域,但它们在执行算术运算时会出现特定且可重复的幻觉。当前的缓解策略往往将模型视为黑箱。在本工作中,我们提出了一种机械方法来检测内在幻觉。通过在ConvFinQA基准上应用因果追溯到GPT-2 XL架构,我们识别出一个双阶段机制用于算术推理:中间层中的分布式计算草稿纸(L12-L30)和晚期层中的决定性聚合电路(特别是第46层)。我们通过消融研究验证了这一机制,证明抑制第46层可使模型对幻觉输出的置信度降低81.8%。此外,我们还证明了一个在该层上训练的线性探测器在未见过的金融主题上具有98%的准确率,表明了算术欺骗的普遍几何结构。

英文摘要:

Large Language Models (LLMs) are increasingly deployed in high-stakes financial domains, yet they suffer from specific, reproducible hallucinations when performing arithmetic operations. Current mitigation strategies often treat the model as a black box. In this work, we propose a mechanistic approach to intrinsic hallucination detection. By applying Causal Tracing to the GPT-2 XL architecture on the ConvFinQA benchmark, we identify a dual-stage mechanism for arithmetic reasoning: a distributed computational scratchpad in middle layers (L12-L30) and a decisive aggregation circuit in late layers (specifically Layer 46). We verify this mechanism via an ablation study, demonstrating that suppressing Layer 46 reduces the model's confidence in hallucinatory outputs by 81.8%. Furthermore, we demonstrate that a linear probe trained on this layer generalizes to unseen financial topics with 98% accuracy, suggesting a universal geometry of arithmetic deception.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑