vix.ing · top · new · best · stats

MATES: Model-Aware Data Selection for Efficient Pretraining with Data Influence Models

2024/06/10 by Zichun Yu, Spandan Das, Yu, Zichun +3 · 34 citations
Computer Science · #Advanced Database Systems and Queries #Artificial intelligence #Computer science #Data Mining Algorithms and Applications #Machine learning #Model selection #Selection (genetic algorithm) #Time Series Analysis and Forecasting

paper · pdf · doi:10.48550/arxiv.2406.06046

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2024/06/10 · openalex created_date 2024/06/12 · openalex updated_date 2026/07/28

Abstract

Pretraining data selection has the potential to improve language model pretraining efficiency by utilizing higher-quality data from massive web data corpora. Current data selection methods, which rely on either hand-crafted rules or larger reference models, are conducted statically and do not capture the evolving data preferences during pretraining. In this paper, we introduce model-aware data selection with data influence models (MATES), where a data influence model continuously adapts to the evolving data preferences of the pretraining model and then selects the data most effective for the current pretraining progress. Specifically, we collect oracle data influence by locally probing the pretraining model and fine-tune a small data influence model to approximate it accurately. The data influence model then predicts data influence over the whole pretraining corpus and selects the most influential data for the next pretraining stage. Experiments of pretraining 410M and 1B models on the C4 dataset demonstrate that MATES significantly outperforms random data selection on extensive downstream tasks. It doubles the gains achieved by the state-of-the-art data selection approach that leverages larger reference models and reduces the total FLOPs required to reach certain performances by half. Further analyses validate the effectiveness of the locally probed oracle data influence and the approximation with data influence models. Our code is open-sourced at https://github.com/cxcscmu/MATES.

Cited by

Related