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

追踪语言模型如何将时间锚点整合到事实回忆中

Tracing How Language Models Integrate Temporal Anchors into Factual Recall

Ayana Niwa, Masahiro Kaneko, Kentaro Inui

AI总结:

该研究针对语言模型的事实回忆问题,通过对4个开放权重模型的因果干预,识别出时间锚点整合的两条并行路径,重新定义了事实回忆的机制。

摘要:

语言模型中的事实回忆通常被视为检索事实关联:主体-关系对映射到单个客体。但许多事实依赖上下文:同一对会根据时间等条件映射到不同客体。我们引入锚定事实回忆,即模型接收显式条件表达式(锚点),需选择在该锚点下有效的客体。这提出了单客体回忆未涉及的问题:锚点何时进入计算、改变了什么、该改变如何选择答案。聚焦时间锚点,我们通过对4个开放权重模型的因果干预(基于英文提示)回答这些问题,识别出两条路径:1. 主体介导路径:锚点将最终主体 token 表示解析为查询年份,关系则跨注意力头重新分配该状态的读出;2. 直接路径:最终位置关注锚点,上层 MLP 将该信号转化为对时间适配客体的偏好。两条路径为并行通道,贡献相加,多数查询同时使用两者,其平衡取决于查询(如关系),且在模型间一致。这将事实回忆的机制解释从检索单个存储客体,重新定义为在上下文依赖的备选方案中进行选择。

英文摘要:

Factual recall in language models is typically framed as retrieving a factual association: a subject--relation pair maps to a single object. However, many facts are context-dependent: the same pair maps to different objects depending on a condition such as time. We introduce anchored factual recall, in which the model receives an explicit conditioning expression, an anchor, and must select the object valid under it. This raises questions that single-object recall does not: where the anchor enters the computation, what it changes, and how that change selects the answer. Focusing on temporal anchors, we answer them with causal interventions on four open-weight models on English prompts and identify two routes. In a subject-mediated route, the anchor resolves the final subject-token representation to the queried year, and the relation redistributes the readout of this state across attention heads. In a direct route] the final position attends to the anchor, and upper-layer MLPs turn this signal into a preference for the time-appropriate object. The two routes are parallel channels: their contributions add up, most queries use both, and their balance depends on the query, e.g., on the relation, consistently across models. This reframes mechanistic accounts of factual recall from retrieving a single stored object to selecting among context-dependent alternatives.

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

↑