arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.12989cs.CL
收藏

语言模型具有可解释的叙事机制

Language Models Have Interpretable Narrative Mechanisms

UNSW Sydney(新南威尔士大学悉尼分校);McGill University(麦吉尔大学)

David Yiyang Liu, Aditya Joshi, Paul Dawson, Andrew Piper

AI总结:

该研究证实GPT-2-Small等模型存在与叙事性相关的组件,消融这些组件会影响文本的叙事性,为叙事相关组件对模型行为的作用提供了因果证据。

摘要:

我们研究语言模型是否包含有助于表征叙事性(即文本表现出叙事属性的程度)的内部组件。在GPT-2-Small、Gemma-2-2B和Llama-3.1-8B模型中,我们识别出注意力头、MLP神经元和稀疏自编码器特征,其激活与叙事性相关。对选定的神经元和特征集进行消融处理,会使高叙事性文本的下一个词预测损失比低叙事性文本增加更多,且会减少开放式生成内容的叙事性。在下游基准测试中,最大效应出现在故事补全和叙事问答任务中,尽管这些效应因模型和语言而异;在虚构和幻觉基准测试中的结果则好坏参半。这些发现提供了因果证据,表明选定的叙事相关组件集对模型行为有贡献,而它们的内部组织、与叙事理论的关系以及更广泛的功能仍是未解决的问题。

英文摘要:

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.

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

↑