FIRE: Flexible Integration of Data Quality Ratings for Effective Pre-Training

Liangyu Xu, Xuemiao Zhang, Feiyu Duan, Sirui Wang, Jingang Wang, Xunliang Cai

Introduction

As Large Language Models (LLMs) approach the limits of available web data, the focus of pre-training has shifted from sheer volume to data quality. However, defining "quality" is notoriously difficult, as it encompasses multiple dimensions like educational value, factual density, and stylistic polish. Existing methods often rely on single signals or simple heuristics, while powerful models like GPT-4 struggle to follow complex, multi-rule prompts for data evaluation.

The FIRE (Flexible Integration of Data Quality Ratings) framework addresses this gap by mathematically integrating multiple, often redundant or differently-scaled quality ratings into a single, reliable "gold standard" score for data selection.

The FIRE Framework

The FIRE framework consists of three main stages designed to unify disparate quality signals into a cohesive selection strategy:

  1. Rating Alignment: Different "raters" (models that score text quality) use different scales. FIRE maps these scores into a unified space by calculating a "win rate." By comparing a subset of data to a random reference set using GPT-4o as a judge, FIRE fits a "win-rate-percentile" curve to transform any rater's raw score into a probability that the text is better than average.
  2. Rater Integration: Simple averaging fails when raters are redundant. FIRE treats raters as nodes in an orthogonality graph and uses a PageRank-inspired algorithm to weight them based on their intrinsic reliability (how well they identify quality) and their orthogonality (how independent they are from other raters). Highly redundant raters are penalized to ensure the final score is truly comprehensive.
  3. Progressive Data Selection: Quality requirements evolve as the dataset becomes more concentrated. FIRE uses an iterative scheme that refines the selection in stages, recalculating the importance of different quality dimensions as the "trash" is filtered out.
The FIRE framework: (a) Rating Alignment and (b) Rater Integration.

Experimental Evaluation

The authors evaluated FIRE using the SlimPajama dataset (627 billion tokens) as the source pool. They utilized four specific dimensions from the QuRating system: Writing Style, Facts and Trivia, Educational Value, and Required Expertise. Models were tested on a suite of eight downstream benchmarks, including ARC-E/C, SciQ, LogiQA, BoolQ, HellaSwag, PIQA, and WinoGrande.

Results and Efficiency

FIRE achieved significant performance gains and efficiency improvements over traditional random sampling and other sophisticated selection methods like DSIR and ASK-LLM.

Performance Boost

Across all evaluated tasks, FIRE (using 4 raters) outperformed the random baseline by an average of 2.9%. These benefits held true as the authors scaled from 1.3B parameter models to 3B parameter models, and from 20B tokens to 200B tokens.

Data Efficiency

FIRE demonstrated exceptional data efficiency, reaching the performance level of a random baseline 2.5x faster. To reach a target performance level, FIRE required less than 37.5% of the tokens needed by the random baseline, significantly reducing the computational cost and carbon footprint of pre-training.

Average downstream accuracy across tokens, highlighting FIRE's 2.9% performance boost and 2.5x efficiency gain.

Key Insights and Ablation

  • Alignment is Non-Negotiable: Ablation studies show that without the "win rate" alignment step, the integrated score performs 3.3% worse—even lower than a simple average. Standardization is the foundation of the framework.
  • Diversity through Orthogonality: By penalizing redundant raters, FIRE selects a more semantically diverse set of high-quality data. t-SNE visualizations confirm that FIRE-selected data is more broadly distributed in semantic space compared to data selected by a single rater.
  • The Multi-Rule Bottleneck: The research confirms that mathematical integration is more robust than "prompt-based" integration, as asking an LLM to evaluate text against many rules simultaneously leads to degraded results.

Conclusion

FIRE provides a robust, mathematical approach to data curation that moves beyond simple heuristics. By aligning and integrating diverse quality signals, it enables more effective and efficient LLM pre-training, proving that "better data" is indeed more valuable than "more data."

Summary updated

BibTeX
@inproceedings{xu2025fire,
  author = {Liangyu Xu and Xuemiao Zhang and Feiyu Duan and Sirui Wang and Jingang Wang and Xunliang Cai},
  title = {{FIRE: Flexible Integration of Data Quality Ratings for Effective Pre-Training}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}

Loading related content...

Figure