paper-with-me

홈 › Papers

Prompt-free and Efficient Language Model Fine-Tuning

2021-12-02 · Anonymous

Current methods for few-shot fine-tuning of pretrained masked language model (PLM) require carefully engineered prompts and verbalizers for each new task, to convert examples into a cloze-format that the PLM can score. In this work, we propose Perfect, a simple and efficient method for few-shot fine-tuning of PLMs without relying on any such handcrafting, which is highly effective given as few as 32 data points. Perfect makes two key design choices: First, we show that manually engineered task prompts can be replaced with task-specific adapters that enable sample-efficient fine-tuning and reduce memory and storage costs by roughly factors of 5 and 100, respectively. Second, instead of using handcrafted verbalizers, we learn a new multi-token label embedding during fine-tuning which are not tied to the model vocabulary and which allow us to avoid complex auto-regressive decoding. These embeddings are not only learnable from limited data but also enable nearly 100x faster training and inference. Experiments on a wide range of few shot NLP tasks demonstrate that Perfect, while being simple and efficient, also outperforms existing state-of-the-art few-shot learning methods. We will release our code publicly to facilitate future work.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Few-Shot LearningLanguage ModelingLanguage Modellingmodel

Similar Papers 제목 키워드 기반

STT: Soft Template Tuning for Few-Shot Learning

2022-01-16 · ACL ARR January 2022 1 · Anonymous

With the rapid expansion of large pre-trained language models, fine-tuning all the model parameters for downstream tasks is becoming computationally prohibitive. The recently developed prompt-based methods freeze the ent…

Few-Shot LearningLanguage ModelingLanguage ModellingMasked Language Modeling+2

Crosslingual Generalization through Multitask Finetuning

2022-11-03 · Niklas Muennighoff, Thomas Wang, Lintang Sutawika, Adam Roberts 외

Multitask prompted finetuning (MTF) has been shown to help large language models generalize to new tasks in a zero-shot setting, but so far explorations of MTF have focused on English data and models. We apply MTF to the…

Coreference ResolutionCross-Lingual TransferQuestion AnsweringSentence Completion+2

Making Pre-trained Language Models End-to-end Few-shot Learners with Contrastive Prompt Tuning

2022-04-01 · Ziyun Xu, Chengyu Wang, Minghui Qiu, Fuli Luo 외

Pre-trained Language Models (PLMs) have achieved remarkable performance for various language understanding tasks in IR systems, which require the fine-tuning process based on labeled training data. For low-resource scena…

Contrastive Learning

Soft-prompt tuning to predict lung cancer using primary care free-text Dutch medical notes

2023-03-28 · Auke Elfrink, Iacopo Vagliano, Ameen Abu-Hanna, Iacer Calixto

We investigate different natural language processing (NLP) approaches based on contextualised word representations for the problem of early prediction of lung cancer using free-text patient medical notes of Dutch primary…

Contextualised Word Representations

LAD-VF: LLM-Automatic Differentiation Enables Fine-Tuning-Free Robot Planning from Formal Methods Feedback

2025-09-22 · Yunhao Yang, Junyuan Hong, Gabriel Jacob Perin, Zhiwen Fan 외 arxiv

Large language models (LLMs) can translate natural language instructions into executable action plans for robotics, autonomous driving, and other domains. Yet, deploying LLM-driven planning in the physical world demands …

Prompt EngineeringAutonomous DrivingRobot Navigation