Skip to main content
QUICK REVIEW

[Paper Review] Exploring the Benefits of Training Expert Language Models over Instruction Tuning

Joel Jang, Seungone Kim|arXiv (Cornell University)|Feb 7, 2023
Topic ModelingComputer Science20 citations
TL;DR

The paper shows that an expert language model trained on a single task can outperform an instruction-tuned multitask LM on unseen tasks, and that retrieving or merging task-specific experts offers practical advantages over traditional MT-LMs.

ABSTRACT

Recently, Language Models (LMs) instruction-tuned on multiple tasks, also known as multitask-prompted fine-tuning (MT), have shown the capability to generalize to unseen tasks. Previous work has shown that scaling the number of training tasks is the key component in making stronger MT LMs. In this work, we report an unexpected finding that an expert LM fine-tuned on just a single task can outperform an MT LM trained with 300+ different tasks on 11 different unseen datasets and on 13 datasets of the BIG-bench benchmark by a mean accuracy of 3.20% and 1.29%, respectively. This finding casts doubt on the previously held belief that simply scaling the number of tasks makes stronger MT LMs. Leveraging this finding, we further show that this distributed approach of training a separate expert LM per training task instead of a single MT LM for zero-shot inference possesses many benefits including (1) avoiding negative task transfer that often occurs during instruction tuning, (2) being able to continually learn new tasks without having to re-train on previous tasks to avoid catastrophic forgetting, and (3) showing compositional capabilities when merging individual experts together. The code is available at https://github.com/joeljang/ELM.

Motivation & Objective

  • Assess whether an expert LM trained on one task can generalize to unseen tasks better than MT LMs trained on many tasks.
  • Evaluate the benefits of using multiple task-specific experts with retrieval at inference time (RoE) compared to a single MT LM.
  • Explore the feasibility and benefits of merging experts to create composite capabilities.

Proposed method

  • Train per-task experts by freezing the base LM and training adapters for each training task (Prompt Experts, PE) or full LM for Dataset Experts (DE).
  • Construct an Expert Library mapping training-instance embeddings to corresponding expert IDs using a dense retriever (Sentence Transformer).
  • Perform zero-shot inference by retrieving the most relevant expert for each unseen task via MIPS on the Expert Library.
  • Evaluate both seen and unseen task generalization across 11 unseen datasets and 13 BIG-bench tasks, plus 8 unseen generative tasks.
  • Explore merging of experts by combining their fine-tuning deltas (τ) with equal or learned weights to form a new model.

Experimental results

Research questions

  • RQ1Can a single-task expert LM outperform a multitask instruction-tuned LM on unseen tasks?
  • RQ2Does retrieving the most relevant expert for each unseen task (RoE) match or exceed the performance of a baseline MT LM?
  • RQ3Do task-expert merges offer benefits or incur negative transfer compared to individual experts?
  • RQ4What are the practical implications for continual learning and compositional instructions when using an ensemble of task-specific experts?

Key findings

  • A single Prompt Expert trained on Cosmos-qa ('no_prompt_text') outperforms the MT LM T0-3B on 8 of 11 unseen evaluation datasets and by +3.20% mean accuracy.
  • The RoE oracle (selecting the best expert per task) outperforms T0-3B by +11.94% on mean accuracy for unseen tasks and +13.69 on 8 unseen generative tasks when using RoE (Orc.).
  • Retrieving a relevant expert for each unseen task (RoE) generally yields better performance than a single MT LM (T0-3B) on classification tasks, with ~+2.05% mean accuracy in some settings, though not always on all generative tasks.
  • Expert LMs show no forgetting when new tasks are added (no catastrophic forgetting) and can preserve seen task performance while expanding the Expert Library.
  • Merging adapters (PEs) can yield mixed results (positive transfers for some tasks) whereas merging full fine-tuned LMs (DEs) can provide clearer improvements, indicating composition potential but with trade-offs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.