Influence Functions for Efficient Data Selection in Reasoning
Prateek Humane, Paolo Cudrano, Daniel Z. Kaplan, Matteo Matteucci, Supriyo Chakraborty, Irina Rish
TL;DR
Quality, not merely quantity, of chain-of-thought data is critical for fine-tuning reasoning in LLMs. The authors extend influence functions to measure the causal impact of individual reasoning examples on downstream accuracy and propose influence-based pruning to select high-signal data. Experiments show that this approach outperforms perplexity and embedding baselines within a model family, particularly on GSM8k and OlympiadBench, though cross-model transfer remains inconsistent. The work highlights a principled, though computationally demanding, path to efficient data curation for reasoning tasks and suggests future directions to broaden applicability across models and datasets.
Abstract
Fine-tuning large language models (LLMs) on chain-of-thought (CoT) data shows that a small amount of high-quality data can outperform massive datasets. Yet, what constitutes "quality" remains ill-defined. Existing reasoning methods rely on indirect heuristics such as problem difficulty or trace length, while instruction-tuning has explored a broader range of automated selection strategies, but rarely in the context of reasoning. We propose to define reasoning data quality using influence functions, which measure the causal effect of individual CoT examples on downstream accuracy, and introduce influence-based pruning, which consistently outperforms perplexity and embedding-based baselines on math reasoning within a model family.
