arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.14050cs.CLcs.AIcs.LG
收藏

通过稀疏自编码器实现面向语言模型微调的多样性驱动数据选择

Diversity-driven Data Selection for Language Model Tuning through Sparse Autoencoder

Meta GenAI

Xianjun Yang, Shaoliang Nie, Lijuan Liu, Suchin Gururangan, Ujjwal Karn, Rui Hou, Madian Khabsa, Yuning Mao

AI总结:

针对指令微调数据数量饱和且现有方法忽略多样性的问题,本研究创新性地提出利用稀疏自编码器(SAEs)度量数据多样性,设计了一种可扩展的多样性感知数据选择策略,有效提升了模型能力、降低了训练成本并增强了模型行为的可解释性。

摘要:

由于数据收集量大和模型迭代快,指令微调数据通常处于数量饱和状态,这使得数据选择十分重要但尚未得到充分探索。现有的质量驱动数据选择方法,如LIMA(NeurIPS 2023)和AlpaGasus(ICLR 2024),普遍忽略了数据多样性与复杂性的同等重要性。在本研究中,我们旨在设计一种多样性感知的数据选择策略,并创新性地提出使用稀疏自编码器(SAEs)来解决数据多样性度量的挑战。此外,SAEs还能为模型行为提供更强的可解释性,例如解释选择最长响应所带来的惊人有效性(ICML 2024)。通过有效的数据选择,我们在实验中证明,基于所选数据训练的模型在模型能力方面优于其他方法,降低了训练成本,并可能获得对模型行为的更多控制。我们证明SAEs可以作为多样性度量的良好替代方案,并将我们的方法设计为可扩展的,以适用于潜在的工业级大规模剪枝,我们还将发布训练好的SAEs供更广泛的社区使用。

英文摘要:

Instruction tuning data are often quantity-saturated due to the large volume of data collection and fast model iteration, leaving data selection important but underexplored. Existing quality-driven data selection methods, such as LIMA (NeurIPS 2023 \citep{zhou2024lima}) and AlpaGasus (ICLR 2024 \citep{chenalpagasus}) generally ignore the equal importance of data diversity and complexity. In this work, we aim to design a diversity-aware data selection strategy and creatively propose using sparse autoencoders (SAEs) to tackle the challenge of data diversity measure. In addition, SAEs can also provide more interpretability of model behavior and explain, e.g., the surprising effectiveness of selecting the longest response (ICML 2024 \citep{zhaolong}). Using effective data selection, we experimentally prove that models trained on our selected data can outperform other methods in terms of model capabilities, reduce training cost, and potentially gain more control over model behaviors. We prove that SAEs can serve as a good alternative to diversity measure and design our method to be scalable for potential industrial large-scale pruning, and we will also release our trained SAEs for use by the broader community.

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

↑