TL;DR
Researchers have developed BIDS (Balanced and Influential Data Selection), a new algorithm that fixes a major flaw in how we select training data for Large Language Models (LLMs). By correcting a "scale bias" where certain tasks naturally dominate influence scores, BIDS selects a 15% subset of data that actually outperforms training on the entire dataset, leading to more balanced and capable models.
What Problem Does This Paper Address?
Instruction tuning—the process of fine-tuning a pre-trained LLM to follow human instructions—is the "secret sauce" that makes models like GPT-4 or Llama useful. However, training on massive, unfiltered datasets is inefficient and often leads to "forgetting" or imbalanced performance across different skills (e.g., being great at coding but mediocre at math).
Recent "influence-based" methods (like LESS) try to solve this by selecting training examples that have the highest estimated impact on a model's performance. The authors of this paper discovered a critical failure in this approach: Influence scores are not created equal. Some tasks, such as general knowledge, naturally produce influence scores that are magnitudes larger than others, like logical reasoning.
If you simply pick the "most influential" data, you end up over-sampling for tasks with naturally high scores. This creates a highly skewed training set that paradoxically hurts the model's performance on all tasks—including the ones you over-sampled.
Methods
To remedy this inherent bias, the authors propose BIDS, which introduces two key innovations to the influence-based selection pipeline:
- Instance-level Normalization: Instead of comparing raw influence scores across different tasks, BIDS applies column-wise normalization to the Attribution Matrix (a map of how every training example affects every validation example). This ensures that every task's influence is measured on the same scale, preventing "loud" tasks from drowning out "quiet" ones.
- Iterative Greedy Selection: Rather than just picking the top-K examples in one go, BIDS uses an iterative algorithm. In each step, it identifies which task is currently "underrepresented" in the selected subset and picks the training example that provides the largest marginal improvement for that specific task.
This approach shifts the goal from simply finding the most influential data overall to finding the most influential data that fills the specific capability gaps in the current subset.
Datasets
- Training Pool: The authors used UltraInteract, a large-scale dataset (approx. 288K examples) designed for complex reasoning, coding, and math.
- Evaluation Benchmarks: To test "diverse capabilities," they evaluated models on seven distinct benchmarks spanning five categories:
- Coding: HumanEval, MBPP
- Logic: BigBench-Hard (BBH)
- Knowledge: MMLU
- Math: GSM-Plus, MATH
- Instruction Following: IFEval
Key Insights and Ideas
- The "Scale Bias" Discovery: The researchers found that MMLU (knowledge) receives substantially higher average influence than BBH (logic), even when the training data is more similar to BBH. This suggests influence scores are biased by intrinsic task properties rather than just data quality.
- Completion Length Matters: A surprising finding was that shorter completion lengths in validation data often lead to higher influence scores. This creates a "spurious influence" where models might prioritize data that helps with short, simple answers over complex, long-form reasoning.
- More is Not Always Better: The paper demonstrates that training on a carefully curated 15% subset can yield a higher macro-average score than training on 100% of the data. This suggests that "noisy" or redundant data in large sets can actually act as a drag on model performance.
Key Results
- Outperforming Baselines: BIDS consistently beat state-of-the-art selection methods like LESS, DEITA, and S2L across Llama-3 and Mistral model families.
- The 15% Milestone: On Llama-3-8B, a 15% subset selected by BIDS achieved a macro-average score of 47.1, outperforming the full-dataset training score of 46.7 (when trained for the same number of steps).
- Balanced Gains: Unlike other methods that improved coding at the expense of math, BIDS showed the most stable performance across all five capability categories.
- Generalizability: The authors successfully applied BIDS's balancing logic to non-influence methods (like representation-based selection), proving that the "normalization + iterative selection" framework is a general-purpose tool for data curation.
Limitations and Future Work
- Influence Estimation Bottleneck: BIDS relies on first-order gradient similarity (via LoRA) to estimate influence. The authors note that this linear assumption might not perfectly capture how data points interact during the actual non-linear training process.
- Hidden Factors: While they identified "completion length" as a factor for bias, they acknowledge that other task-specific factors (like style or complexity) likely contribute to influence bias and require further study.
- Computational Cost: While the BIDS algorithm itself is fast (running in under a minute on a single GPU), the initial step of calculating the full Attribution Matrix for hundreds of thousands of examples remains a significant computational hurdle for very large datasets.
Summary updated