IJCAI 2023poster3 citations

Efficient NLP Model Finetuning via Multistage Data Filtering

Xu Ouyang, Shahina Mohd Azam Ansari, Felix Xiaozhu Lin, Yangfeng Ji

Abstract

As model finetuning is central to the modern NLP, we set to maximize its efficiency. Motivated by redundancy in training examples and the sheer sizes of pretrained models, we exploit a key opportunity: training only on important data. To this end, we set to filter training examples in a streaming fashion, in tandem with training the target model. Our key techniques are two: (1) automatically determine a training loss threshold for skipping backward training passes; (2) run a meta predictor for further skipping forward training passes. We integrate the above techniques in a holistic, three-stage training pro- cess. On a diverse set of benchmarks, our method reduces the required training examples by up to 5.3× and training time by up to 6.8×, while only seeing minor accuracy degradation. Our method is effective even for training one epoch, where each training example is encountered only once. It is simple to implement and is compatible with the existing finetuning techniques. Code is available at: https://github.com/xo28/efficient-NLP-multistage-training

Machine Learning: ML: Automated machine learningNatural Language Processing: NLP: Language modelsNatural Language Processing: NLP: Text classification
BibTeX
@inproceedings{ijcai2023p455,
  title     = {Efficient NLP Model Finetuning via Multistage Data Filtering},
  author    = {Ouyang, Xu and Ansari, Shahina Mohd Azam and Lin, Felix Xiaozhu and Ji, Yangfeng},
  booktitle = {Proceedings of the Thirty-Second International Joint Conference on
               Artificial Intelligence, {IJCAI-23}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Edith Elkind},
  pages     = {4091--4099},
  year      = {2023},
  month     = {8},
  note      = {Main Track},
  doi       = {10.24963/ijcai.2023/455},
  url       = {https://doi.org/10.24963/ijcai.2023/455},
}
Efficient NLP Model Finetuning via Multistage Data Filtering · IJCAI 2023