arXiv cs.CL论文
语言模型具有可解释的叙事机制
该研究探究语言模型内部是否存在表征文本叙事性的组件。通过对 GPT-2-Small、Gemma-2-2B 和 Llama-3.1-8B 的分析,研究人员识别出与叙事性激活相关的注意力头、MLP 神经元及稀疏自编码器特征。消融实验表明,移除这些组件对高叙事性文本的损失增加更显著,证实了模型内部存在特定的叙事处理机制。
这篇是正式发表的长论文,站内提供中文解读,全文请到原文阅读 PDF。
Abstract:We investigate whether language models contain internal components that contribute to representing narrativity, the degree to which a text exhibits narrative properties. Across GPT-2-Small, Gemma-2-2B, and Llama-3.1-8B, we identify attention heads, MLP neurons, and sparse autoencoder features whose activations correlate with narrativity. Ablating selected neuron and feature sets increases next-token prediction loss more for high-narrativity than for low-narrativity texts, and reduces the narrativity of open-ended generations. On downstream benchmarks, the largest effects occur in story completion and narrative question answering, although they vary across models and languages; results on confabulation and hallucination benchmarks are mixed. These findings provide causal evidence that selected sets of narrative-associated components contribute to model behaviour, while their internal organisation, relation to narrative theory, and broader functions remain open questions.