arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.21558cs.LGcs.CL
收藏

从参数到数据:一种任务参数引导的微调流水线用于高效的LLM对齐

From Parameters to Data: A Task-Parameter-Guided Fine-Tuning Pipeline for Efficient LLM Alignment

Zhejiang University(浙江大学);Eastern Institute of Technology(东部技术研究所)

Hao Chen, Qi Zhang, Liyao Li, Zhanming Shen, Wentao Ye, Lirong Gao, Ningtao Wang, Xing Fu, Xiaoyu Shen, Junbo Zhao

AI总结:

本研究提出了一种任务参数引导的微调流水线,通过任务敏感的注意力头作为双指南,实现样本挖掘和结构剪枝,从而提高LLM对齐的效率。

摘要:

适应大型语言模型(LLM)到专业领域通常会带来高数据和计算开销。尽管先前的效率努力大多将数据选择和参数高效微调视为孤立过程,我们的实证分析表明它们可能本质上是耦合的。我们提出了强映射假说:稀疏的注意力头子集在任务特定适应中起主导作用,作为解锁特定数据模式的钥匙。基于这一观察,我们提出了从参数到数据(P2D)统一框架,利用这些任务敏感的注意力头作为双指南,用于样本挖掘和结构剪枝。为了严格量化整个流程的成本,我们引入了对齐效率比率(AER)指标,用于衡量选择延迟和训练时间。机理上,P2D通过轻量级代理识别关键头,并利用它们作为功能性过滤器来精选高亲和力数据,建立协同流程。经验上,通过更新仅10%的注意力头在10%的数据上,P2D在强基线基础上实现了8.3个百分点的性能提升,并提供了7.0倍的端到端时间加速。这些结果验证了精确的参数-数据同步消除了冗余,提供了一种新的高效对齐范式。

英文摘要:

Adapting Large Language Models (LLMs) to specialized domains typically incurs high data and computational overhead. While prior efficiency efforts have largely treated data selection and parameter-efficient fine-tuning as isolated processes, our empirical analysis suggests they may be intrinsically coupled. We posit the Strong Map Hypothesis: a sparse subset of attention heads plays a dominant role in task-specific adaptation, acting as keys that unlock specific data patterns. Building on this observation, we propose From Parameters to Data (P2D), a unified framework that leverages these task-sensitive attention heads as a dual compass for both sample mining and structural pruning. To rigorously quantify the total pipeline cost, we introduce the Alignment Efficiency Ratio (AER) metric for both selection latency and training time. Mechanistically, P2D identifies critical heads via a lightweight proxy and uses them as a functional filter to curate high-affinity data, establishing a synergistic pipeline. Empirically, by updating merely 10% of attention heads on 10% of the data, P2D achieves an 8.3 pp performance gain over strong baselines and delivers a 7.0x end-to-end time speedup. These results validate that precise parameter-data synchronization eliminates redundancy, offering a new paradigm for efficient alignment.

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

↑