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

认知护目镜:通过梯度编辑诱导认知框架的预训练模块

Epistemic Goggles: A Pretrained Module that Induces an Epistemic Frame via Gradient Editing

Independent Researcher(独立研究员)

Joshua Penman

AI总结:

针对微调语言模型时出现的“否定忽视”问题,提出Goggles模块,通过编辑微调梯度而非数据来赋予模型特定的认知框架,使模型在保持能力的同时正确识别虚构内容。

摘要:

对明确标注为虚构的文档进行微调的语言模型仍然实际相信文档的核心主张,这种效应称为“否定忽视”。在我们的评估中,使用带有此类标注前缀和后缀的文档训练的模型,只有约9%的时间能正确识别相关主张为虚构。为了解决这个问题,我们引入了Goggles,一个学习模块,它干预微调梯度而非数据。在监督微调期间,Goggles模块编辑LLM LoRA接收的梯度,将选定的认知框架(模型对其阅读内容性质所采取的立场)赋予文档所教授的内容。Goggles实例针对给定的基础模型、框架和LoRA配置训练一次,然后冻结应用于从未训练过的文档。通过Goggles在这些相同文档上训练(现在不带任何虚构标注),模型大约91%的时间将内容标记为虚构,同时保持能力(GPQA和TruthfulQA匹配或超过基线)。相同的架构支持其他框架:可以训练Goggles实例将文档视为“Redwood Research的AI安全评估的一部分”,而不仅仅是虚构。在持续的微调试图将模型拉回主张时,所赋予的框架仍然存在,而先前的干预则会恢复。Goggles为在已知不匹配的数据上训练语言模型而不吸收这些数据所展示的行为提供了一条路径。

英文摘要:

Finetuning a language model on documents that are explicitly annotated as fictional results in a model that still actually believes the documents' core claims, an effect known as Negation Neglect. In our evaluations, models trained on documents prefixed and suffixed with such annotations correctly identify the relevant claims as fictional only about 9% of the time. To address this, we introduce Goggles, a learned module that intervenes on the finetuning gradient rather than the data. During supervised finetuning, a Goggles module edits the gradients an LLM LoRA receives, imparting a chosen epistemic frame (the stance the model takes toward the nature of what it reads) to whatever the documents teach. A Goggles instance is trained once for a given base model, frame, and LoRA configuration, then applied frozen to documents it was never trained on. Trained through Goggles on those same documents, now carrying no fictional annotation, the model flags the content as fictional roughly 91% of the time, while preserving capability (GPQA and TruthfulQA match or exceed baseline). The same architecture supports other frames: a Goggles instance can be trained to treat documents as "part of an AI safety evaluation by Redwood Research" rather than simply as fiction. The imparted frame persists under continued finetuning that pushes back toward the claim, where prior interventions revert. Goggles suggests a path toward training language models on known-misaligned data without absorbing the behaviors that data demonstrates.

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

↑