2025-10-22 · 专家 · 自然语言处理 · 机器学习

Extracting alignment data in open models

该论文展示了从开放权重的大型语言模型中高效提取对齐数据的方法,揭示了通过聊天模板和神经嵌入技术能够识别和利用模型记忆的训练数据。

更新于 2025-10-23。作者:Federico Barbero、Xiangming Gu、Christopher A. Choquette-Choo、Chawin Sitawarin、Matthew Jagielski、Itay Yona、Petar Veličković、Ilia Shumailov、Jamie Hayes。

中文摘要

在这项工作中,我们展示了从经过训练的模型中提取大量对齐训练数据是可能的——这对引导模型提高某些能力如长上下文推理、安全性、指令遵循和数学运算非常有用。虽然大多数关于记忆的工作都集中在通过字符串匹配来衡量训练数据提取的成功,但我们认为嵌入模型更适合我们的特定目标。通过高质量的嵌入模型测量的距离可以识别字符串之间的语义相似性,而像编辑距离这样的不同度量标准则难以捕捉到。事实上,在我们的调查中,近似字符串匹配会严重低估(保守估计为10倍)可以提取的数据量,因为一些简单的伪象会降低这个度量标准。有趣的是,我们发现模型会轻易地重复使用在训练后期阶段如SFT或RL中使用的训练数据。我们表明,这些数据可以用来训练基础模型,恢复原始性能的相当一部分。我们认为我们的工作揭示了提取对齐数据可能被忽视的风险。最后,我们的工作开启了一个有趣的讨论,关于蒸馏实践的下游影响:由于模型似乎在重复其训练集中的某些方面,因此蒸馏可以被视为间接在模型的原始数据集上进行训练。

英文摘要

In this work, we show that it is possible to extract significant amounts of alignment training data from a post-trained model -- useful to steer the model to improve certain capabilities such as long-context reasoning, safety, instruction following, and maths. While the majority of related work on memorisation has focused on measuring success of training data extraction through string matching, we argue that embedding models are better suited for our specific goals. Distances measured through a high quality embedding model can identify semantic similarities between strings that a different metric such as edit distance will struggle to capture. In fact, in our investigation, approximate string matching would have severely undercounted (by a conservative estimate of 10times) the amount of data that can be extracted due to trivial artifacts that deflate the metric. Interestingly, we find that models readily regurgitate training data that was used in post-training phases such as SFT or RL. We show that this data can be then used to train a base model, recovering a meaningful amount of the original performance. We believe our work exposes a possibly overlooked risk towards extracting alignment data. Finally, our work opens up an interesting discussion on the downstream effects of distillation practices: since models seem to be regurgitating aspects of their training set, distillation can therefore be thought of as indirectly training on the model's original dataset.

解读

一句话总结

该论文展示了从开放权重的大型语言模型中高效提取对齐数据的方法,揭示了通过聊天模板和神经嵌入技术能够识别和利用模型记忆的训练数据。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt