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 +2 more
5/11/2023
cs.CLcs.AIcs.LG

Official code: Efficient-AI/ingenious (1 star, MIT, last commit 2025-01-03).

Abstract

A salient characteristic of pre-trained language models (PTLMs) is a remarkable improvement in their generalization capability and emergence of new capabilities with increasing model capacity and pre-training dataset size. Consequently, we are witnessing the development of enormous models pushing the state-of-the-art. It is, however, imperative to realize that this inevitably leads to prohibitively long training times, extortionate computing costs, and a detrimental environmental impact. Significant efforts are underway to make PTLM training more efficient through innovations in model architectures, training pipelines, and loss function design, with scant attention being paid to optimizing the utility of training data. The key question that we ask is whether it is possible to train PTLMs by employing only highly informative subsets of the training data while maintaining downstream performance? Building upon the recent progress in informative data subset selection, we show how we can employ submodular optimization to select highly representative subsets of the training corpora and demonstrate that the proposed framework can be applied to efficiently train multiple PTLMs (BERT, BioBERT, GPT-2) using only a fraction of data. Further, we perform a rigorous empirical evaluation to show that the resulting models achieve up to $\sim99\%$ of the performance of the fully-trained models. We made our framework publicly available at https://github.com/Efficient-AI/ingenious.

View on arXivView PDF

Code Implementations(1)

MIT

Efficient Pretraining of Language Models

10Python, Jupyter NotebookFeb 4, 20221 years agoMIT

Similar Papers

Cite this paper

@article{renduchintala2023ingenious,
  title  = {INGENIOUS: Using Informative Data Subsets for Efficient Pre-Training of Language Models},
  author = {H S V N S Kowndinya Renduchintala and Krishnateja Killamsetty and Sumit Bhatia and Milan Aggarwal and Ganesh Ramakrishnan and Rishabh Iyer and Balaji Krishnamurthy},
  year   = {2023},
  eprint = {2305.06677},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.06677v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.06677.svg)](https://codeofpaper.com/paper/2305.06677)

Discussion