paper-with-me

홈 › Papers

Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworks

2021-06-08 · ACL 2021 5 · Rabeeh Karimi Mahabadi, Sebastian Ruder, Mostafa Dehghani, James Henderson

State-of-the-art parameter-efficient fine-tuning methods rely on introducing adapter modules between the layers of a pretrained language model. However, such modules are trained separately for each task and thus do not enable sharing information across tasks. In this paper, we show that we can learn adapter parameters for all layers and tasks by generating them using shared hypernetworks, which condition on task, adapter position, and layer id in a transformer model. This parameter-efficient multi-task learning framework allows us to achieve the best of both worlds by sharing knowledge across tasks via hypernetworks while enabling the model to adapt to each individual task through task-specific adapters. Experiments on the well-known GLUE benchmark show improved performance in multi-task learning while adding only 0.29% parameters per task. We additionally demonstrate substantial performance improvements in few-shot domain generalization across a variety of tasks. Our code is publicly available in https://github.com/rabeehk/hyperformer.

📄 PDF Abstract BibTeX arXiv:2106.04489

Code (1)

rabeehk/hyperformer 공식 구현 pytorch

Tasks

Domain GeneralizationLanguage ModelingLanguage ModellingMulti-Task Learningparameter-efficient fine-tuning

Methods 이 논문이 사용한 방법론

Adapter 설명 없음

Similar Papers 제목 키워드 기반

Polyhistor: Parameter-Efficient Multi-Task Adaptation for Dense Vision Tasks

2022-10-07 · Yen-Cheng Liu, Chih-Yao Ma, Junjiao Tian, Zijian He 외

Adapting large-scale pretrained models to various downstream tasks via fine-tuning is a standard method in machine learning. Recently, parameter-efficient fine-tuning methods show promise in adapting a pretrained model t…

parameter-efficient fine-tuning

Deep Prompt Tuning for Graph Transformers

2023-09-18 · Reza Shirkavand, Heng Huang

Graph transformers have gained popularity in various graph-based tasks by addressing challenges faced by traditional Graph Neural Networks. However, the quadratic complexity of self-attention operations and the extensive…

Graph Representation LearningRepresentation Learning

ADAPT to Robustify Prompt Tuning Vision Transformers

2024-03-19 · Masih Eskandar, Tooba Imtiaz, Zifeng Wang, Jennifer Dy

The performance of deep models, including Vision Transformers, is known to be vulnerable to adversarial attacks. Many existing defenses against these attacks, such as adversarial training, rely on full-model fine-tuning …

Adversarial Defense

Parameter-Efficient Finetuning of Transformers for Source Code

2022-12-12 · Shamil Ayupov, Nadezhda Chirkova

Pretrained Transformers achieve state-of-the-art performance in various code-processing tasks but may be too large to be deployed. As software development tools often incorporate modules for various purposes which may po…

parameter-efficient fine-tuning

Meta-Adapters: Parameter Efficient Few-shot Fine-tuning through Meta-Learning

2022-09-19 · Proceedings of the First International Conference on Automated Machine Learning 2022 9 · Trapit Bansal, Salaheddin Alzubi, Tong Wang, Jay-Yoon Lee 외

Consistent improvements in the representational capacity of large pre-trained transformers has made it increasingly viable to serve these models as shared priors that can be fine-tuned on a large number of downstream tas…

Few-Shot LearningMeta-Learningparameter-efficient fine-tuningTransfer Learning