Efficient Data Selection at Scale via Influence Distillation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Nikdan, Mahdi, Cohen-Addad, Vincent, Alistarh, Dan, Mirrokni, Vahab
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915304051834880
author Nikdan, Mahdi
Cohen-Addad, Vincent
Alistarh, Dan
Mirrokni, Vahab
author_facet Nikdan, Mahdi
Cohen-Addad, Vincent
Alistarh, Dan
Mirrokni, Vahab
contents Effective data selection is critical for efficient training of modern Large Language Models (LLMs). This paper introduces Influence Distillation, a novel, mathematically-justified framework for data selection that employs second-order information to optimally weight training samples. By distilling each sample's influence on a target distribution, our method assigns model-specific weights that are used to select training data for LLM fine-tuning, guiding it toward strong performance on the target domain. We derive these optimal weights for both Gradient Descent and Adam optimizers. To ensure scalability and reduce computational cost, we propose a $\textit{landmark-based approximation}$: influence is precisely computed for a small subset of "landmark" samples and then efficiently propagated to all other samples to determine their weights. We validate Influence Distillation by applying it to instruction tuning on the Tulu V2 dataset, targeting a range of tasks including GSM8k, SQuAD, and MMLU, across several models from the Llama and Qwen families. Experiments show that Influence Distillation matches or outperforms state-of-the-art performance while achieving up to $3.5\times$ faster selection.
format Preprint
id arxiv_https___arxiv_org_abs_2505_19051
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient Data Selection at Scale via Influence Distillation
Nikdan, Mahdi
Cohen-Addad, Vincent
Alistarh, Dan
Mirrokni, Vahab
Computation and Language
Machine Learning
Effective data selection is critical for efficient training of modern Large Language Models (LLMs). This paper introduces Influence Distillation, a novel, mathematically-justified framework for data selection that employs second-order information to optimally weight training samples. By distilling each sample's influence on a target distribution, our method assigns model-specific weights that are used to select training data for LLM fine-tuning, guiding it toward strong performance on the target domain. We derive these optimal weights for both Gradient Descent and Adam optimizers. To ensure scalability and reduce computational cost, we propose a $\textit{landmark-based approximation}$: influence is precisely computed for a small subset of "landmark" samples and then efficiently propagated to all other samples to determine their weights. We validate Influence Distillation by applying it to instruction tuning on the Tulu V2 dataset, targeting a range of tasks including GSM8k, SQuAD, and MMLU, across several models from the Llama and Qwen families. Experiments show that Influence Distillation matches or outperforms state-of-the-art performance while achieving up to $3.5\times$ faster selection.
title Efficient Data Selection at Scale via Influence Distillation
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2505.19051