Skip to main content
QUICK REVIEW

[논문 리뷰] Exploring the Benefits of Training Expert Language Models over Instruction Tuning

Joel Jang, Seungone Kim|arXiv (Cornell University)|2023. 02. 07.
Topic ModelingComputer Science인용 수 20
한 줄 요약

논문은 단일 작업에 대해 학습된 전문가 언어 모델이 unseen 작업에서 지시된 다중 작업 LM보다 더 우수한 성능을 보일 수 있으며, 작업별 전문가를 검색(RoE)하거나 합치는 방식이 전통적인 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.

연구 동기 및 목표

  • 단일 작업에 대해 학습된 전문가 LM이 여러 작업으로 학습된 MT LM보다 unseen 작업에서 더 일반화할 수 있는지 평가.
  • 추론 시점에 RoE를 사용하여 다수의 작업별 전문가를 불러오는 이점이 단일 MT LM과 비교하여 어떤지 평가.
  • 작업별 전문가를 합쳐 합성 능력을 만드는 것이 feasibility 및 이점을 제공하는지 탐구.

제안 방법

  • 각 학습 작업에 대해 기본 LM을 고정하고 어댑터를 학습시켜 Prompt Experts(PEs)를 만들거나 Dataset Experts(DE)로 전체 LM을 학습시키는 방법.
  • Dense retriever(Sentence Transformer)를 사용하여 Training-instance 임베딩을 해당하는 전문가 ID에 매핑하는 Expert Library를 구성.
  • Unseen task별로 가장 관련된 전문가를 Expert Library에서의 MIPS를 통해 검색하여 제로샷 추론 수행.
  • 11개의 unseen 데이터셋 및 13개의 BIG-bench 작업, 그리고 8개의 unseen 생성 작업에서 seen/unseen 태스크 일반화를 평가.
  • τ를 이용해 전문가를 합치는 방법을 탐구: 동일한 가중치 또는 학습된 가중치를 갖도록 하여 새로운 모델을 구성.

실험 결과

연구 질문

  • RQ1단일 작업 전문가 LM이 unseen 작업에서 다작업 지시 학습 LM보다 우수한가?
  • RQ2각 unseen 작업에 대해 가장 관련된 전문가를 검색하는 RoE가 baseline MT LM의 성능과 같거나 더 나은가?
  • RQ3태스크-전문가 합치가 개별 전문가에 비해 이점을 제공하는가 혹은 부정적 전달을 유발하는가?
  • RQ4작업별 전문가 앙상블을 사용할 때 지속 학습 및 구성 가능한 지시문에 대한 실용적 함의가 있는가?

주요 결과

  • 단일 Prompt Expert가 Cosmos-qa ('no_prompt_text')에서 MT LM T0-3B보다 unseen 평가 데이터셋 11개 중 8개에서 우수하며 평균 정확도 +3.20% 차이를 보임.
  • RoE 오라클(태스크별 최적 전문가를 선택)이 unseen 작업의 평균 정확도에서 T0-3B보다 +11.94% 우수했고, RoE(Orc.)를 사용할 때 8개의 unseen 생성 작업에서 평균 정확도는 +13.69에 이점을 보였다.
  • RoE를 통해 각 unseen task에 대해 관련 전문가를 검색하는 방법은 분류 태스크에서 일반적으로 단일 MT LM(T0-3B)보다 더 나은 성능을 야기하며 일부 설정에서 평균 정확도 약 +2.05%를 달성하지만 모든 생성 작업에서 항상 그런 건 아니다.
  • 전문가 LM은 새로운 작업이 추가되어도 망각되지 않으며( catastrophic forgetting 없음) seen 태스크 성능을 보존하면서 Expert Library를 확장할 수 있다.
  • 어댑터(PE) 병합은 일부 태스크에서 긍정적 전이를 보이는 반면, 전체 미세조정 LM(DE)를 병합하면 더 명확한 개선을 제공해 합성 가능성을 시사하지만 트레이드오프가 있다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.