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

LADM:面向LLM的基于注意力依赖度量的长上下文训练数据选择

LADM: Long-context Training Data Selection with Attention-based Dependency Measurement for LLMs

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Zhongguancun Academy, Beijing, China(中关村学院,北京,中国);Wuhan AI Research(武汉人工智能研究所)

Jianghao Chen, Junhong Wu, Yangyifan Xu, Jiajun Zhang

AI总结:

针对LLM长上下文训练数据质量难以衡量的问题,提出基于注意力依赖度量的数据选择框架LADM,利用注意力机制捕捉上下文依赖以高效筛选高质量数据,仅用1B tokens持续训练即显著提升多任务性能。

摘要:

长上下文建模在大型语言模型(LLMs)领域日益受到关注。使用长上下文数据进行持续训练已成为赋予LLMs处理长输入能力的实际方法。然而,如何衡量长上下文训练数据的质量仍是一个开放挑战。为解决此问题,我们提出了一种基于注意力依赖度量的长上下文数据选择框架(LADM),能够从大规模、多领域的预训练语料库中高效识别高质量长上下文数据。LADM利用注意力机制的检索能力来捕捉上下文依赖关系,确保对长上下文数据进行全面的质量衡量。实验结果表明,我们的LADM框架仅使用1B tokens进行持续训练,便显著提升了LLMs在多个长上下文任务上的性能。

英文摘要:

Long-context modeling has drawn more and more attention in the area of Large Language Models (LLMs). Continual training with long-context data becomes the de-facto method to equip LLMs with the ability to process long inputs. However, it still remains an open challenge to measure the quality of long-context training data. To address this issue, we propose a Long-context data selection framework with Attention-based Dependency Measurement (LADM), which can efficiently identify high-quality long-context data from a large-scale, multi-domain pre-training corpus. LADM leverages the retrieval capabilities of the attention mechanism to capture contextual dependencies, ensuring a comprehensive quality measurement of long-context data. Experimental results show that our LADM framework significantly boosts the performance of LLMs on multiple long-context tasks with only 1B tokens for continual training.

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

↑