We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

Title: Efficient NLP Model Finetuning via Multistage Data Filtering

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 process. On a diverse set of benchmarks, our method reduces the required training examples by up to 5.3$\times$ and training time by up to 6.8$\times$, while only seeing minor accuracy degradation. Our method is effective even when 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: this https URL NLP-multistage-training
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2207.14386 [cs.CL]
  (or arXiv:2207.14386v2 [cs.CL] for this version)

Submission history

From: Xu Ouyang [view email]
[v1] Thu, 28 Jul 2022 21:43:31 GMT (7652kb,D)
[v2] Fri, 19 May 2023 02:40:55 GMT (15097kb,D)

Link back to: arXiv, form interface, contact.