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

通过令牌级数据过滤塑造能力

Shaping capabilities with token-level data filtering

Neil Rathi, Alec Radford

AI总结:

通过令牌级数据过滤在预训练过程中有效减少语言模型的不期望能力,提升模型在特定领域的性能与对齐性。

摘要:

当前减少语言模型中不期望能力的方法大多是事后处理的,因此容易被对手绕过。一个自然的替代方法是在预训练过程中塑造能力。在去除医疗能力的代理任务中,我们展示了在预训练数据中过滤数据的简单干预非常有效、稳健且在大规模下成本低廉。受数据归因工作启发,我们显示过滤令牌比过滤文档更有效,以较低的成本达到对不期望能力的打击。训练覆盖两个数量级的模型,我们展示了过滤随着规模的增加而变得更加有效:对于我们的最大模型,令牌过滤导致在遗忘域上计算速度降低7000倍。我们还展示了经过令牌过滤训练的模型仍能在遗忘域上对齐。在此过程中,我们引入了一种使用稀疏自编码器标记标签的方法,并蒸馏出廉价的高质量分类器。我们还证明过滤可以对具有足够预训练计算的噪声标签具有鲁棒性。

英文摘要:

Current approaches to reducing undesired capabilities in language models are largely post hoc, and can thus be easily bypassed by adversaries. A natural alternative is to shape capabilities during pretraining itself. On the proxy task of removing medical capabilities, we show that the simple intervention of filtering pretraining data is highly effective, robust, and inexpensive at scale. Inspired by work on data attribution, we show that filtering tokens is more effective than filtering documents, achieving the same hit to undesired capabilities at a lower cost to benign ones. Training models spanning two orders of magnitude, we then demonstrate that filtering gets more effective with scale: for our largest models, token filtering leads to a 7000x compute slowdown on the forget domain. We also show that models trained with token filtering can still be aligned on the forget domain. Along the way, we introduce a methodology for labeling tokens with sparse autoencoders and distilling cheap, high-quality classifiers. We also demonstrate that filtering can be robust to noisy labels with sufficient pretraining compute.

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

↑