Skip to main content
QUICK REVIEW

[논문 리뷰] An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuning

Luo Yun, Zhen Yang|arXiv (Cornell University)|2023. 08. 17.
Topic ModelingComputer Science인용 수 56
한 줄 요약

이 논문은 지속적 지시 튜닝 동안 LLM에서 발생하는 재앙적 망각(CF)을 실험적으로 분석하고, 도메인 지식, 추론, 읽기 이해에서 CF가 나타나며, 모델 아키텍처와 일반 지시 튜닝으로 다소 완화된다는 점을 발견했습니다.

ABSTRACT

Catastrophic forgetting (CF) is a phenomenon that occurs in machine learning when a model forgets previously learned information while acquiring new knowledge for achieving a satisfactory performance in downstream tasks. As large language models (LLMs) have demonstrated remarkable performance, it is intriguing to investigate whether CF exists during the continual instruction tuning of LLMs. This study empirically evaluates the forgetting phenomenon in LLMs' knowledge during continual instruction tuning from the perspectives of domain knowledge, reasoning, and reading comprehension. The experiments reveal that catastrophic forgetting is generally observed in LLMs ranging from 1b to 7b parameters. Surprisingly, as the model scale increases, the severity of forgetting intensifies in such a model sale range which may result from the much significant initial performance in the larger LLM. Comparing the decoder-only model BLOOMZ with the encoder-decoder model mT0, BLOOMZ exhibits less forgetting and retains more knowledge. Interestingly, we also observe that LLMs can mitigate language biases, such as gender bias, during continual fine-tuning. Furthermore, our findings indicate that general instruction tuning can help alleviate the forgetting phenomenon in LLMs during subsequent fine-tuning.

연구 동기 및 목표

  • LLM에 저장된 일반 지식이 지속적 지시 튜닝 중에 잊혀지는지 조사한다.
  • 어떤 지식 유형(도메인 지식, 추론, 읽기 이해)이 더 많이 잊혀지는지 혹은 덜 잊혀지는지 식별한다.
  • 모델 규모와 아키텍처가 망각에 어떤 영향을 주는지 살펴본다.
  • 일반 지시 튜닝이 망각을 완화하는지 평가한다.
  • 지속적 미세 조정 중 편향을 평가하여 그것이 완화되거나 증폭되는지 여부를 확인한다.

제안 방법

  • 지속적 지시 튜닝을 시뮬레이션하기 위해 일련의 생성 작업(Simp, Emdg, InqQG, Exp, HGen)을 정의한다.
  • 다양한 지식 작업에 걸친 FLOSS 평가를 사용한다: 도메인 지식(MMLU), 추론(BoolQ, PIQA, Hellaswag 등), 읽기 이해(RACE), 편향(CrowSPairs).
  • FG를 초기 성능 R_o와 m개 작업 후 성능 R_m의 차이를 R_o로 나눈 값의 평가 세트 평균으로 망각을 측정한다.
  • 망각에 대한 아키텍처 효과를 평가하기 위해 디코더-전용 BLOOMZ와 인코더-디코더 mT0를 비교한다.
  • 일반 지시 튜닝이 망각에 미치는 영향을 연구하기 위해 LLAMA와 ALPACA를 포함한다.
  • 1.1B, 1.7B, 3B, 7.1B 규모의 BLOOMZ 변형을 학습하고 mT0-1.2B/3.7B 및 LLAMA-7B/ALPACA-7B와 비교한다.
Figure 1: The evaluation of detailed performance in BLOOMZ-7.1b during continual instruction tuning. (a) refers to domain knowledge, (b) reasoning capacity, and (c) reading comprehension capacity.
Figure 1: The evaluation of detailed performance in BLOOMZ-7.1b during continual instruction tuning. (a) refers to domain knowledge, (b) reasoning capacity, and (c) reading comprehension capacity.

실험 결과

연구 질문

  • RQ1계속적 지시 튜닝 중에 생성형 LLM에서 재앙적 망각이 발생합니까?
  • RQ2일반 지식의 어떤 유형(도메인 지식, 추론, 읽기 이해)이 망각에 가장 큰 영향을 받습니까?
  • RQ3모델 규모가 망각의 심각도에 어떻게 영향을 줍니까?
  • RQ4모델 아키텍처(디코더-전용 vs 인코더-디코더)가 망각에 어떻게 영향을 줍니까?
  • RQ5추가 미세 조정 기간에 일반 지시 튜닝이 망각을 완화할 수 있습니까?
  • RQ6지속적 미세 조정 동안 편향은 어떻게 영향을 받습니까?

주요 결과

  • CF exists across tested models and tasks during continual instruction tuning.
  • Forgetting generally increases with model scale, especially in domain knowledge and reading comprehension.
  • 디코더-전용 BLOOMZ는 비슷한 규모에서 인코더-디코더 mT0보다 덜 망각하는 경향이 있다.
  • 일반 지시 튜닝(ALPACA, LLAMA+ALPACA)은 초기 성능에 따라 이후 미세 조정에서 망각을 완화하는 데 도움이 될 수 있다.
  • 편향 측정은 지속적 튜닝 중 일부 편향이 완화되는 것을 보여 주며 편향 감소 효과를 시사한다.
  • 읽기 이해는 평가된 영역 중 가장 큰 망각을 보이며(예: 높은 규모에서 큰 FG 값).
Figure 2: FG values of domain knowledge, reasoning, and reading comprehension in BLOOMZ with respect to different scales.
Figure 2: FG values of domain knowledge, reasoning, and reading comprehension in BLOOMZ with respect to different scales.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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