arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.05158cs.CL
收藏

在键值存储器中调控信息效用以用于语言模型后训练

Steering Information Utility in Key-Value Memory for Language Model Post-Training

Dept. of Computer Science Rice University(计算机科学系 瑞士大学)

Chunyuan Deng, Ruidi Chang, Hanjie Chen

AI总结:

针对语言模型后训练无法有效利用预训练知识的问题,提出轻量方法InfoSteer,通过调控FFN层的键值记忆提升多模型多任务性能,并增强信息分配的可解释性。

摘要:

语言模型(LM)的最新进展标志着后训练的重要性日益提升。然而,监督微调(SFT)等后训练方法无法保证模型能有效利用预训练期间习得的知识。为此,我们提出InfoSteer——一种轻量级方法,用于在后训练过程中促进语言模型对参数化信息的利用。具体而言,InfoSteer将前馈网络(FFN)层视为关联键值存储器,并通过前向传播干预或反向传播期间的正则化,推动模型对存储的记忆向量的使用。\n后训练阶段的这种简单引导,在Qwen、Gemma和Llama等不同模型家族中均带来了一致的性能提升,覆盖15项下游任务的分布内(ID)和分布外(OOD)评估。除性能提升外,我们还发现,经调控的语言模型能够自适应分配信息:更侧重生成语义有意义的词元,同时在简单过渡词元(如“,”或“and”)上消耗更少资源。我们的研究表明,普通后训练并未充分挖掘预训练带来的潜力,而在潜在表征空间中调控语言模型,是提升性能与可解释性的一种有前景的方法。代码可在以下链接获取:https://github.com/chili-lab/InfoSteer。

英文摘要:

Recent advancements in language models (LMs) have marked a shift toward the growing importance of post-training. Yet, post-training approaches such as supervised fine-tuning (SFT) do not guarantee the effective use of knowledge acquired during pretraining. We therefore introduce InfoSteer, a lightweight method that encourages parametric information utilization in LMs during post-training. Specifically, InfoSteer treats the feed-forward network (FFN) layer as associate key-value memory and promotes the use of stored memory vectors via forward-pass interventions or regularization during backpropagation. This simple guidance during post-training phase yields consistent performance improvements across diverse model families -- including Qwen, Gemma and Llama -- spanning 15 downstream tasks in both in-distribution (ID) and out-of-distribution (OOD) evaluations. Beyond performance gains, we also find that steered LMs can adaptively allocate information by placing more emphasis on generating semantically meaningful tokens, while using fewer resources on simple transition ones (e.g., `\texttt{,}' or `\texttt{and}'). Our work underscores that vanilla post-training does not fully exploit the potential gained during pre-training, and that steering LMs in latent representation space offers a promising approach to enhance both performance and interpretability. The code is available at: https://github.com/chili-lab/InfoSteer.

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

↑