Learning to Generate Task-Specific Adapters from Task Description

Qinyuan Ye, Xiang Ren
1/2/2021
cs.CLcs.LG
transformer-attention

Official code: INK-USC/hypter (14 stars, MIT, last commit 2021-04-02).

Abstract

Pre-trained text-to-text transformers such as BART have achieved impressive performance across a range of NLP tasks. Recent study further shows that they can learn to generalize to novel tasks, by including task descriptions as part of the source sequence and training the model with (source, target) examples.

Show full abstract

At test time, these fine-tuned models can make inferences on new tasks using the new task descriptions as part of the input. However, this approach has potential limitations, as the model learns to solve individual (source, target) examples (i.e., at the instance level), instead of learning to solve tasks by taking all examples within a task as a whole (i.e., at the task level). To this end, we introduce Hypter, a framework that improves text-to-text transformer's generalization ability to unseen tasks by training a hypernetwork to generate task-specific, light-weight adapters from task descriptions. Experiments on ZEST dataset and a synthetic SQuAD dataset demonstrate that Hypter improves upon fine-tuning baselines. Notably, when using BART-Large as the main network, Hypter brings 11.3% comparative improvement on ZEST dataset.

View on arXivView PDF

Code Implementations(1)

INK-USC/hypterOfficial100%
MIT

Zero-shot Learning by Generating Task-specific Adapters

142Dec 4, 20205 years agoMIT

Similar Papers

Cite this paper

@article{ye2021learning,
  title  = {Learning to Generate Task-Specific Adapters from Task Description},
  author = {Qinyuan Ye and Xiang Ren},
  year   = {2021},
  eprint = {2101.00420},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.00420}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.00420.svg)](https://codeofpaper.com/paper/2101.00420)

Discussion