INGENIOUS: Using Informative Data Subsets for Efficient Pre-Training of Language Models

H. S. V. N. S. Kowndinya Renduchintala, Krishnateja Killamsetty, Sumit Bhatia, Milan Aggarwal, Ganesh Ramakrishnan, Rishabh K. Iyer, Balaji Krishnamurthy

Introduction

Training state-of-the-art language models has evolved into a resource-intensive "arms race." With models like GPT-3 requiring upwards of $12 million in compute and generating significant carbon footprints, the barrier to entry for smaller organizations and academic institutions has become nearly insurmountable. This paper introduces INGENIOUS, a framework designed to democratize high-performance model training by identifying and utilizing only the most "informative" data subsets.

The Challenge of Data Utility

The prevailing paradigm for Pre-trained Language Models (PTLMs) is that "bigger is better"—more parameters and larger datasets lead to superior performance. However, this approach incurs prohibitive financial costs, substantial environmental impact, and systemic inequality in AI research.

Most massive pre-training corpora, such as Wikipedia or Common Crawl, exhibit high levels of redundancy. Training on repetitive data yields diminishing returns. INGENIOUS addresses this by asking a fundamental question: Can we achieve near-peak performance by training on a diverse, representative fraction of the data?

The INGENIOUS Framework

The core of INGENIOUS is Submodular Optimization, specifically leveraging a Facility Location function. This mathematical approach rewards the selection of a subset that effectively "covers" the diversity of the entire dataset, ensuring that each selected sample provides maximum new information relative to what has already been seen.

The INGENIOUS framework pipeline, illustrating the transition from warm-up training to submodular subset selection and iterative sampling.

Scaling to Billion-Token Corpora

Standard subset selection is computationally expensive. INGENIOUS overcomes these hurdles through three key innovations:

  1. Partitioning: The corpus is divided into random blocks (e.g., 1500 partitions) to make submodular selection tractable across massive datasets.
  2. Warm-starting: The model undergoes a brief initial training phase on the full dataset (Step A). This allows it to learn meaningful feature representations necessary for the submodular selection process.
  3. Taylor-Softmax Sampling: To avoid overfitting on a static "best" subset, submodular gains are converted into a probability distribution, enabling the model to explore less certain but potentially valuable data during the iterative training process.

Feature extraction is performed using the model's intermediate layers; empirical results suggest that Layer 9 of BERT provides an optimal balance of syntactic and semantic information for data selection.

Experimental Setup

The researchers evaluated INGENIOUS across several architectures and domains:

  • Models: BERT-Base, GPT2-Small, and BioBERT.
  • Datasets: English Wikipedia, BooksCorpus, OpenWebText, and PubMed abstracts.
  • Benchmarks: GLUE (general understanding), LAMA (knowledge retention), BBQ Lite (generative performance), and domain-specific tasks like BC2GM and ChemProt.

Key Results and Discussion

INGENIOUS demonstrates that diversity is often more critical than difficulty. Unlike loss-based sampling, which can overfit to noise or outliers, INGENIOUS focuses on representativeness.

Cost savings versus performance degradation for INGENIOUS at various pre-training stages, highlighting the efficiency gains.

The results indicate a "sweet spot" at approximately 25% data usage. As shown in the performance analysis, the framework achieved a 4.35x cost saving with only a 2.1% drop in GLUE score. By increasing the subset size slightly, savings of 2.33x were achieved with a negligible 0.67% performance degradation.

Furthermore, knowledge retention remained high. Despite seeing 75% less data, the INGENIOUS-trained BERT retained factual knowledge comparable to models trained on the full corpus. In domain-specific applications like BioBERT, the framework significantly accelerated convergence on specialized medical text compared to standard vanilla training.

Limitations and Future Directions

While effective, INGENIOUS requires significant CPU RAM for similarity kernel calculations during the selection phase. Future work will explore scaling the framework to "Large" and "XL" models with hundreds of billions of parameters. Additionally, the authors note the importance of monitoring subset selection to ensure it does not inadvertently amplify data biases. Potential expansions include applying these techniques to multi-modal training environments where redundant information is spread across different media.

Conclusion

INGENIOUS proves that "smart training" can replace "hard training." By prioritizing data utility through submodular optimization, the framework offers a viable path toward more sustainable and accessible large-scale language modeling.

Summary updated

BibTeX
@inproceedings{renduchintala2023ingenious,
  author = {H. S. V. N. S. Kowndinya Renduchintala and Krishnateja Killamsetty and Sumit Bhatia and Milan Aggarwal and Ganesh Ramakrishnan and Rishabh K. Iyer and Balaji Krishnamurthy},
  title = {{INGENIOUS: Using Informative Data Subsets for Efficient Pre-Training of Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.445},
}
Figure