Skip to main content
QUICK REVIEW

[논문 리뷰] When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Tasks

Hao Peng, Xiaozhi Wang|arXiv (Cornell University)|2023. 11. 15.
Topic Modeling인용 수 5
한 줄 요약

이 논문은 특정 지침이 많은 작업—즉, 광범위하고 상세한 지침이 필요한 복잡한 NLP 작업—에서 입문 학습(in-context learning, ICL)이 실패하는 이유를 조사한다. 강력한 일반화 능력을 지닌 LLMs가 이러한 작업에서 성능이 떨어지는 이유를 입증한다. 저자들은 세 가지 핵심 실패 원인을 규명한다: 부적절한 컨텍스트 기반 이해, 작업 스키마 이해의 불일치, 장기 컨텍스트 추론 능력의 제한. 피지컬 테이닝은 성능을 크게 향상시키며, 이는 LLM 자체의 한계가 아니라 ICL가 복잡한 지침과 일치하지 못하는 데 기인함을 보여준다.

ABSTRACT

In-context learning (ICL) has become the default method for using large language models (LLMs), making the exploration of its limitations and understanding the underlying causes crucial. In this paper, we find that ICL falls short of handling specification-heavy tasks, which are tasks with complicated and extensive task specifications, requiring several hours for ordinary humans to master, such as traditional information extraction tasks. The performance of ICL on these tasks mostly cannot reach half of the state-of-the-art results. To explore the reasons behind this failure, we conduct comprehensive experiments on 18 specification-heavy tasks with various LLMs and identify three primary reasons: inability to specifically understand context, misalignment in task schema comprehension with humans, and inadequate long-text understanding ability. Furthermore, we demonstrate that through fine-tuning, LLMs can achieve decent performance on these tasks, indicating that the failure of ICL is not an inherent flaw of LLMs, but rather a drawback of existing alignment methods that renders LLMs incapable of handling complicated specification-heavy tasks via ICL. To substantiate this, we perform dedicated instruction tuning on LLMs for these tasks and observe a notable improvement. We hope the analyses in this paper could facilitate advancements in alignment methods enabling LLMs to meet more sophisticated human demands.

연구 동기 및 목표

  • 특정 지침이 많은 작업—즉, 광범위하고 상세한 지침이 필요한 복잡한 NLP 작업—에서 입문 학습(in-context learning, ICL)의 한계를 조사한다.
  • 이러한 작업에서 ICL의 성능 저하가 발생하는 근본 원인을 규명하며, 특히 피지컬 테이닝된 모델과의 비교를 중심으로 분석한다.
  • 실패 원인이 LLM의 본질적 한계인지, 또는 현재의 정렬 기법의 결함 때문인지 판단한다.
  • 피지컬 테이닝이 이러한 복잡한 작업에서 ICL와 최신 기술 수준 간의 성능 격차를 메울 수 있는지 평가한다.

제안 방법

  • 6개의 대규모 언어 모델을 18개의 특정 지침이 많은 작업(예: 사건 탐지 및 관계 추출)에 대해 입문 학습을 사용하여 평가하였으며, 소수의 예시를 제공하는 방식으로 진행되었다.
  • 실패 유형을 진단하기 위해 광범위한 오류 분석을 수행하였으며, 컨텍스트 이해, 스키마 불일치, 장기 컨텍스트 이해 능력에 초점을 맞췄다.
  • FLAN-UL2(20B 파라미터)에 대해 각 작업에 대해 지시어 테이닝을 수행하여, 피지컬 테이닝 하에서 LLM 성능의 상한선을 평가하였다.
  • 다양한 모델 규모를 대비하여 ICL 성능과 피지컬 테이닝된 모델 성능을 체계적으로 비교하여 규모 증가 효과를 분석하였다.
  • 작업 지침이 모호하거나 불완전한 조건에서 모델 행동을 분석하여, 인간 정의와의 스키마 이해 일치 여부를 평가하였다.
  • 제어된 프롬프트 변형(예: 'was arrested'를 'arrived'로 변경)을 사용하여 컨텍스트 세부 정보에 대한 민감도를 테스트하였다.
Figure 1: An example specification-heavy task: ACE 2005 event detection. This task involves heavy specifications which would take ordinary humans substantial time to learn. Therefore, solving the task using LLMs with in-context learning is challenging.
Figure 1: An example specification-heavy task: ACE 2005 event detection. This task involves heavy specifications which would take ordinary humans substantial time to learn. Therefore, solving the task using LLMs with in-context learning is challenging.

실험 결과

연구 질문

  • RQ1일반화 능력이 뛰어난 다른 설정에서는 성능이 우수한 데도 불구하고, 특정 지침이 많은 작업에서 입문 학습이 왜 성능이 떨어지는가?
  • RQ2복잡하고 긴 지침을 가진 작업에 ICL를 적용할 때 LLM이 겪는 주요 실패 유형은 무엇인가?
  • RQ3피지컬 테이닝이 이러한 작업에서 ICL와 최신 기술 수준 간의 성능 격차를 어느 정도 메울 수 있는가?
  • RQ4낮은 ICL 성능은 LLM의 본질적 한계 때문인가, 아니면 현재 정렬 기법의 결함 때문인가?
  • RQ5모델 규모가 특정 지침이 많은 작업에서 피지컬 테이닝 성능에 어떤 영향을 미치는가?

주요 결과

  • 18개의 특정 지침이 많은 작업에서 ICL 성능은 피지컬 테이닝된 소형 모델이 달성한 최신 기술 수준 결과의 50% 미만에 머물렀다.
  • LLM은 종종 특정 컨텍스트 세부 정보를 이해하지 못하고, 제공된 컨텍스트 대신 내부 지식에 의존하는 경우가 빈번히 발생했다.
  • 많은 오류는 작업 스키마 이해의 불일치에서 기인했는데, 예를 들어 'BUSINESS'를 'TRANSACTION'으로 잘못 분류하는 식이었다.
  • LLM은 장기 컨텍스트 이해 능력이 부족하여 긴 작업 지침을 처리하고 활용하는 데 어려움을 겪었으며, 이는 지침의 불완전성 문제를 악화시켰다.
  • 각 작업에 대해 FLAN-UL2를 피지컬 테이닝하면 기존 최신 기술 수준 결과와 유사한 성능 향상을 이룰 수 있었으며, 이는 LLM이 적절히 정렬되면 이러한 작업을 완벽히 습득할 수 있음을 보여주었다.
  • 명확한 양의 규모 증가 효과가 관찰되었으며, 더 큰 모델일수록 특정 지침이 많은 작업에서 피지컬 테이닝 성능이 향상되었으며, 이는 능력 자체는 존재하지만 ICL만으로는 이를 해제하지 못한다는 점을 확인시켰다.
Figure 2: Error types with proportions from GPT-4. “ Unspecific Context Understanding ” means the lack of specific context understanding. “ Misaligned Schema Understanding ” represents LLMs’ understanding of task schema is not fully aligned with humans. “ Instruction Following ” represents LLMs do n
Figure 2: Error types with proportions from GPT-4. “ Unspecific Context Understanding ” means the lack of specific context understanding. “ Misaligned Schema Understanding ” represents LLMs’ understanding of task schema is not fully aligned with humans. “ Instruction Following ” represents LLMs do n

더 나은 연구,지금 바로 시작하세요

논문 읽기부터 검토까지, 연구 시간을 획기적으로 줄여보세요.

카드 등록 없음 · 무료 플랜 제공

이 리뷰는 AI가 만들고, 인간 에디터가 검토했습니다.