paper-with-me

홈 › Papers

Efficient NLP Model Finetuning via Multistage Data Filtering

2022-07-28 · Xu Ouyang, Shahina Mohd Azam Ansari, Felix Xiaozhu Lin, Yangfeng Ji

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: https://github.com/xo28/efficient- NLP-multistage-training

📄 PDF Abstract BibTeX arXiv:2207.14386

Code (1)

xo28/efficient-nlp-multistage-training 공식 구현 pytorch

Tasks

Classificationmodeltext-classificationText Classification

Similar Papers 제목 키워드 기반

Enhancing GANs with Contrastive Learning-Based Multistage Progressive Finetuning SNN and RL-Based External Optimization

2024-09-30 · Osama Mustafa

Generative Adversarial Networks (GANs) have been at the forefront of image synthesis, especially in medical fields like histopathology, where they help address challenges such as data scarcity, patient privacy, and class…

Binary ClassificationContrastive LearningDenoisingImage Generation

Coursera Corpus Mining and Multistage Fine-Tuning for Improving Lectures Translation

2019-12-26 · LREC 2020 5 · Haiyue Song, Raj Dabre, Atsushi Fujita, Sadao Kurohashi

Lectures translation is a case of spoken language translation and there is a lack of publicly available parallel corpora for this purpose. To address this, we examine a language independent framework for parallel corpus …

BenchmarkingDomain AdaptationMachine TranslationParallel Corpus Mining+2

Guardrail Baselines for Unlearning in LLMs

2024-03-05 · Pratiksha Thaker, Yash Maurya, Shengyuan Hu, Zhiwei Steven Wu 외

Recent work has demonstrated that finetuning is a promising approach to 'unlearn' concepts from large language models. However, finetuning can be expensive, as it requires both generating a set of examples and running it…

Refusal-Feature-guided Teacher for Safe Finetuning via Data Filtering and Alignment Distillation

2025-06-09 · Seokil Ham, Yubin Choi, Seungju Cho, YuJin Yang 외

Recently, major AI service providers such as Google and OpenAI have introduced Finetuning-as-a-Service, which enables users to customize Large Language Models (LLMs) for specific downstream tasks using their own data. Ho…

Safety Alignment

Multistage Collaborative Knowledge Distillation from a Large Language Model for Semi-Supervised Sequence Generation

2023-11-15 · Jiachen Zhao, Wenlong Zhao, Andrew Drozdov, Benjamin Rozonoyer 외

We study semi-supervised sequence generation tasks, where the few labeled examples are too scarce to finetune a model, and meanwhile, few-shot prompted large language models (LLMs) exhibit room for improvement. In this p…

Constituency ParsingKnowledge DistillationLanguage ModelingLanguage Modelling+2