LADM: Long-context Training Data Selection with Attention-based Dependency Measurement for 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.
Authors
- Yangyifan Xu
- Jiajun Zhang (ORCID: https://orcid.org/0000-0002-3574-8401)
- Junhong Wu (ORCID: https://orcid.org/0000-0002-2679-1627)
- Jianghao Chen (ORCID: https://orcid.org/0000-0001-7280-9149)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.acl-long.154
- Citations
- 1
- Primary Topic
- Online Learning and Analytics
- Type
- article
- Field-Weighted Citation Impact
- 1.69
Funders
- Chinese Academy of Sciences