paper-with-me

Papers

Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Pass

2024-11-08 · Tong Chen, Hao Fang, Patrick Xia, Xiaodong Liu, Benjamin Van Durme, Luke Zettlemoyer, Jianfeng Gao, Hao Cheng

Large language models (LMs) are typically adapted to improve performance on new contexts (\eg text prompts that define new tasks or domains) through fine-tuning or prompting. However, there is an accuracy compute tradeoff -- fine-tuning incurs significant training cost and prompting increases inference overhead. We introduce $GenerativeAdapter$, an effective and efficient adaptation method that directly maps new contexts to low-rank LM adapters, thereby significantly reducing inference overhead with no need for finetuning. The adapter generator is trained via self-supervised learning, and can be used to adapt a single frozen LM for any new task simply by mapping the associated task or domain context to a new adapter. We apply $GenerativeAdapter$ to two pretrained LMs (Mistral-7B-Instruct and Llama2-7B-Chat) and evaluate the adapted models in three adaption scenarios: knowledge acquisition from documents, learning from demonstrations, and personalization for users. In StreamingQA, our approach is effective in injecting knowledge into the LM's parameters, achieving a 63.5% improvement in F1 score over the model with supervised fine-tuning (from $19.5$ to $31.5$) for contexts as long as 32K tokens. In the MetaICL in-context learning evaluation, our method achieves an average accuracy of $44.9$ across 26 tasks, outperforming the base model. On MSC, our method proves to be highly competitive in memorizing user information from conversations with a 4x reduction in computation and memory costs compared to prompting with full conversation history. Together, these results suggest that $GenerativeAdapter$ should allow for general adaption to a wide range of different contexts.

📄 PDF Abstract BibTeX arXiv:2411.05877

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningSelf-Supervised Learning

Methods 이 논문이 사용한 방법론

BASE 설명 없음
Adapter 설명 없음

Similar Papers 제목 키워드 기반

MerA: Merging Pretrained Adapters For Few-Shot Learning

2023-08-30 · Shwai He, Run-Ze Fan, Liang Ding, Li Shen 외

Adapter tuning, which updates only a few parameters, has become a mainstream method for fine-tuning pretrained language models to downstream tasks. However, it often yields subpar results in few-shot learning. AdapterFus…

Few-Shot LearningMRPC

VMT-Adapter: Parameter-Efficient Transfer Learning for Multi-Task Dense Scene Understanding

2023-12-14 · Yi Xin, Junlong Du, Qiang Wang, Zhiwen Lin 외

Large-scale pre-trained models have achieved remarkable success in various computer vision tasks. A standard approach to leverage these models is to fine-tune all model parameters for downstream tasks, which poses challe…

Scene UnderstandingTransfer Learning

End-to-End Speech Recognition Contextualization with Large Language Models

2023-09-19 · Egor Lakomkin, Chunyang Wu, Yassir Fathullah, Ozlem Kalinli 외

In recent years, Large Language Models (LLMs) have garnered significant attention from the research community due to their exceptional performance and generalization capabilities. In this paper, we introduce a novel meth…

DecoderLanguage ModelingLanguage Modellingspeech-recognition+1

LoRA-Contextualizing Adaptation of Large Multimodal Models for Long Document Understanding

2024-11-02 · Jian Chen, Ruiyi Zhang, Yufan Zhou, Tong Yu 외

Large multimodal models (LMMs) have recently shown great progress in text-rich image understanding, yet they still struggle with complex, multi-page, visually-rich documents. Traditional methods using document parsers fo…

document understandingQuestion AnsweringRetrievalRetrieval-augmented Generation

Hierarchical Recurrent Adapters for Efficient Multi-Task Adaptation of Large Speech Models

2024-03-25 · Tsendsuren Munkhdalai, Youzheng Chen, Khe Chai Sim, Fadi Biadsy 외

Parameter efficient adaptation methods have become a key mechanism to train large pre-trained models for downstream tasks. However, their per-task parameter overhead is considered still high when the number of downstream…

Automatic Speech Recognitionspeech-recognitionSpeech Recognition