arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25167cs.AI
收藏

从洞察到行动:一种新的框架,用于基于可解释性指导的数据选择在大语言模型中

From Insight to Action: A Novel Framework for Interpretability-Guided Data Selection in Large Language Models

TJUNLP Lab, School of Computer Science and Technology, Tianjin University, China(天津大学计算机科学与技术学院TJUNLP实验室,中国);Alibaba Group, China(阿里巴巴集团,中国)

Ling Shi, Xinwei Wu, Xiaohu Zhao, Hao Wang, Heng Liu, Yangyang Liu, Linlong Xu, Longyue Wang, Deyi Xiong, Weihua Luo

AI总结:

本文提出IGDS框架,通过内部任务特征识别和选择共振数据来提升大语言模型性能,实验显示在数学推理任务中数据效率提升显著。

摘要:

尽管机械可解释性工具如稀疏自编码器(SAEs)能够揭示大语言模型(LLMs)中的有意义特征,但将这些洞察转化为模型优化的实用行动仍存在关键缺口。我们提出假设,通过模型内部任务特征指导的数据选择是一种有效的训练策略。受此启发,我们提出可解释性指导的数据选择(IGDS)框架,首先通过频率回忆和干预过滤识别这些因果任务特征,然后选择激活任务特征的“特征共振数据”进行微调。我们在Gemma-2、LLaMA-3.1和Qwen3模型上验证了IGDS在数学推理、摘要和翻译任务中的有效性。实验表明,IGDS在数学任务中,使用仅50%的数据在Gemma-2-2B上比全数据集微调提升了17.4%,并且优于专注于数据质量和多样性的现有基线。分析证实特征放大与任务性能提升之间存在强正相关性。IGDS因此提供了一种直接有效的框架,通过利用模型内部机制来增强LLMs,验证了我们的核心假设。

英文摘要:

While mechanistic interpretability tools like Sparse Autoencoders (SAEs) can uncover meaningful features within Large Language Models (LLMs), a critical gap remains in transforming these insights into practical actions for model optimization. We bridge this gap with the hypothesis that data selection guided by a model's internal task features is a effective training strategy. Inspired by this, we propose Interpretability-Guided Data Selection (IGDS), a framework that first identifies these causal task features through frequency recall and interventional filtering, then selects ``Feature-Resonant Data'' that maximally activates task features for fine-tuning. We validate IGDS on mathematical reasoning, summarization, and translation tasks within Gemma-2, LLaMA-3.1, and Qwen3 models. Our experiments demonstrate exceptional data efficiency: on the Math task, IGDS surpasses full-dataset fine-tuning by a remarkable 17.4% on Gemma-2-2B while using only 50% of the data, and outperforms established baselines focused on data quality and diversity. Analysis confirms a strong positive correlation between feature amplification and task performance improvement. IGDS thus provides a direct and effective framework to enhance LLMs by leveraging their internal mechanisms, validating our core hypothesis.

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

↑