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

解释大型语言模型中学习到的反馈模式

Interpreting Learned Feedback Patterns in Large Language Models

Luke Marks;Amir Abdullah;Clement Neo;Rauno Arike;David Krueger;Philip Torr;Fazl Barez

Luke Marks, Amir Abdullah, Clement Neo, Rauno Arike, David Krueger, Philip Torr, Fazl Barez

AI总结:

本文提出“学习到的反馈模式”(LFP)概念,通过训练探针估计LLM激活中隐含的反馈信号并与真实反馈对比,以检验RLHF后模型是否准确对齐人类偏好,从而提升LLM安全性。

摘要:

基于人类反馈的强化学习(RLHF)被广泛用于训练大型语言模型(LLMs)。然而,目前尚不清楚LLMs是否准确学习了人类反馈数据中的潜在偏好。我们创造了术语“学习到的反馈模式”(Learned Feedback Pattern,LFP),用来指在RLHF过程中学习到的、能够提升模型在微调任务上表现的LLM激活模式。我们假设,具有与微调反馈准确对齐的LFP的LLMs,会对在RLHF期间本应获得相似反馈的输出表现出一致的激活模式。为了验证这一假设,我们训练探针来估计微调后LLM激活中隐含的反馈信号。然后,我们将这些估计值与真实反馈进行比较,衡量LFP与微调反馈的准确对齐程度。我们的探针是在LLM激活的压缩、稀疏且可解释的表示上训练的,这使得将输入特征与探针预测相关联变得更加容易。我们通过将探针与正反馈输入相关联的神经特征,与GPT-4所描述并分类为与LFP相关的特征进行比较,来验证我们的探针。理解LFP有助于最小化LLM行为与训练目标之间的偏差,这对LLM的安全性至关重要。

英文摘要:

Reinforcement learning from human feedback (RLHF) is widely used to train large language models (LLMs). However, it is unclear whether LLMs accurately learn the underlying preferences in human feedback data. We coin the term \textit{Learned Feedback Pattern} (LFP) for patterns in an LLM's activations learned during RLHF that improve its performance on the fine-tuning task. We hypothesize that LLMs with LFPs accurately aligned to the fine-tuning feedback exhibit consistent activation patterns for outputs that would have received similar feedback during RLHF. To test this, we train probes to estimate the feedback signal implicit in the activations of a fine-tuned LLM. We then compare these estimates to the true feedback, measuring how accurate the LFPs are to the fine-tuning feedback. Our probes are trained on a condensed, sparse and interpretable representation of LLM activations, making it easier to correlate features of the input with our probe's predictions. We validate our probes by comparing the neural features they correlate with positive feedback inputs against the features GPT-4 describes and classifies as related to LFPs. Understanding LFPs can help minimize discrepancies between LLM behavior and training objectives, which is essential for the safety of LLMs.

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

↑