Making Small Language Models Better Multi-task Learners with Mixture-of-Task-Adapters

Yukang Xie, Chengyu Wang, Junbing Yan, Jiyong Zhou, Feiqi Deng +1 more
9/20/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Recently, Large Language Models (LLMs) have achieved amazing zero-shot learning performance over a variety of Natural Language Processing (NLP) tasks, especially for text generative tasks. Yet, the large size of LLMs often leads to the high computational cost of model training and online deployment. In our work, we present ALTER, a system that effectively builds the multi-tAsk Learners with mixTure-of-task-adaptERs upon small language models (with <1B parameters) to address multiple NLP tasks simultaneously, capturing the commonalities and differences between tasks, in order to support domain-specific applications. Specifically, in ALTER, we propose the Mixture-of-Task-Adapters (MTA) module as an extension to the transformer architecture for the underlying model to capture the intra-task and inter-task knowledge. A two-stage training method is further proposed to optimize the collaboration between adapters at a small computational cost. Experimental results over a mixture of NLP tasks show that our proposed MTA architecture and the two-stage training method achieve good performance. Based on ALTER, we have also produced MTA-equipped language models for various domains.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xie2023making,
  title  = {Making Small Language Models Better Multi-task Learners with Mixture-of-Task-Adapters},
  author = {Yukang Xie and Chengyu Wang and Junbing Yan and Jiyong Zhou and Feiqi Deng and Jun Huang},
  year   = {2023},
  eprint = {2309.11042},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.11042v1}
}

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/2309.11042.svg)](https://codeofpaper.com/paper/2309.11042)

Discussion