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

MoRFI: 基于单调性的稀疏自编码器特征识别

MoRFI: Monotonic Sparse Autoencoder Feature Identification

University of Edinburgh, UK(爱丁堡大学);Heriot-Watt University, UK(赫瑞斯泰德大学)

Dimitris Dimakopoulos, Shay B. Cohen, Ioannis Konstas

AI总结:

本文通过控制微调实验发现,逐步引入新知识会增加幻觉,提出MoRFI方法利用稀疏自编码器分析残差流激活,识别因果相关的潜在特征。

摘要:

大型语言模型(LLMs)在预训练阶段通过下一个令牌预测获取大部分事实知识,后续微调阶段引入新事实可能导致幻觉。本文通过控制微调实验发现,逐步引入新知识会增加幻觉,提出MoRFI方法利用稀疏自编码器分析残差流激活,识别因果相关的潜在特征。

英文摘要:

Large language models (LLMs) acquire most of their factual knowledge during the pre-training stage, through next token prediction. Subsequent stages of post-training often introduce new facts outwith the parametric knowledge, giving rise to hallucinations. While it has been demonstrated that supervised fine-tuning (SFT) on new knowledge may exacerbate the problem, the underlying mechanisms are still poorly understood. We conduct a controlled fine-tuning experiment, focusing on closed-book QA, and identify latent directions causally implicated in this degradation. Specifically, we fine-tune Llama 3.1 8B, Gemma 2 9B and Mistral 7B v03 on seven controlled mixtures of a single QA dataset, controlling for the percentage of new knowledge and number of training epochs. By measuring performance on the test set, we validate that incrementally introducing new knowledge increases hallucinations, with the effect being more pronounced with prolonged training. We leverage pre-trained sparse autoencoders (SAEs) to analyze residual stream activations across various checkpoints for each model and propose Monotonic Relationship Feature Identification (MoRFI) for capturing causally relevant latents. MoRFI filters SAE features that respond monotonically to controlled fine-tuning data mixtures of a target property. Our findings are consistent with exposure to unknown facts disrupting the model's ability to retrieve stored knowledge along a set of directions in the residual stream. Our pipeline reliably discovers them across distinct models, partially recovering lost knowledge through single-latent interventions.

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

↑