大语言模型有时会生成纯负强化文本
Large Language Models Sometimes Generate Purely Negatively-Reinforced Text
AI总结:
该研究发现大语言模型会从仅含最低奖励的负强化敏感示例中学习,通过特定训练设置使Pythia-160M猜密码概率比随机高13%,打破了相关假设。
摘要:
在使用对抗训练时,通常的做法是针对最严重的失败案例进行训练。然而,这可能意味着要将包含敏感信息(例如泄露的密码或安全漏洞)的示例用作训练数据。人们可能会认为,经梯度下降训练的语言模型永远不会生成仅出现在与最低可能奖励相关的示例中的文本片段。在本文中,我们证明这一假设是错误的:在某些情况下,大语言模型确实会从此类负强化示例中学习。我们提出了一种特定的训练设置,该设置能让Pythia-160M猜测密码的概率比随机猜测高出13%,尽管我们仅在激励模型不输出这些密码的示例中向其展示这些密码。我们的代码可在www.github.com/FabienRoger/Learning-From-Negative-Examples获取。
英文摘要:
When using adversarial training, it is common practice to train against the most egregious failures. However, this might imply using examples with sensitive information (such as leaked passwords or security vulnerabilities) as training data. One might assume that language models trained with gradient descent never generate text snippets which were only present in examples associated with the lowest possible reward. In this paper, we show that this assumption is wrong: in some situations, large language models do learn from such negatively-reinforced examples. We present a specific training setup that enables Pythia-160M to guess passwords 13% more often than it would by guessing randomly, despite only showing it these passwords on examples where the model is incentivized to not output these passwords. Our code is available at www.github.com/FabienRoger/Learning-From-Negative-Examples
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。