Skip to main content
QUICK REVIEW

[논문 리뷰] A Survey on Knowledge Distillation of Large Language Models

Xiaohan Xu, Ming Li|arXiv (Cornell University)|2024. 02. 20.
Topic ModelingComputer Science인용 수 51
한 줄 요약

이 설문은 지식 증류(KD)가 독점형 LLM에서 오픈 소스 LLM으로 능력을 전달하는 방식에 대해 데이터 증강, 기술 향상, 수직적 응용에 중점을 두고 분석합니다.

ABSTRACT

In the era of Large Language Models (LLMs), Knowledge Distillation (KD) emerges as a pivotal methodology for transferring advanced capabilities from leading proprietary LLMs, such as GPT-4, to their open-source counterparts like LLaMA and Mistral. Additionally, as open-source LLMs flourish, KD plays a crucial role in both compressing these models, and facilitating their self-improvement by employing themselves as teachers. This paper presents a comprehensive survey of KD's role within the realm of LLM, highlighting its critical function in imparting advanced knowledge to smaller models and its utility in model compression and self-improvement. Our survey is meticulously structured around three foundational pillars: extit{algorithm}, extit{skill}, and extit{verticalization} -- providing a comprehensive examination of KD mechanisms, the enhancement of specific cognitive abilities, and their practical implications across diverse fields. Crucially, the survey navigates the intricate interplay between data augmentation (DA) and KD, illustrating how DA emerges as a powerful paradigm within the KD framework to bolster LLMs' performance. By leveraging DA to generate context-rich, skill-specific training data, KD transcends traditional boundaries, enabling open-source models to approximate the contextual adeptness, ethical alignment, and deep semantic insights characteristic of their proprietary counterparts. This work aims to provide an insightful guide for researchers and practitioners, offering a detailed overview of current methodologies in KD and proposing future research directions. Importantly, we firmly advocate for compliance with the legal terms that regulate the use of LLMs, ensuring ethical and lawful application of KD of LLMs. An associated Github repository is available at https://github.com/Tebmer/Awesome-Knowledge-Distillation-of-LLMs.

연구 동기 및 목표

  • LLM 시대에서 KD의 역할을 설명합니다. 여기에는 모델 압축, 능력 전달, 자기 개선이 포함됩니다.
  • 데이터 증강이 KD를 어떻게 보강하고 기술 중심의 증류를 가능하게 하는지 설명합니다.
  • KD 방법의 구조화된 분류를 제공합니다: 알고리즘, 기술 증류, 그리고 수직화.
  • 도메인 전반에 걸친 실용적 함의를 논의하고 향후 연구 방향을 제시합니다.

제안 방법

  • 세 가지 기둥: 알고리즘, 기술 증류, 그리고 수직화를 기반으로 LLM용 KD의 분류를 제시합니다.
  • 교사를 조정하는 단계, 시드 지식 입력, 증류 지식 생성, 학생 학습의 네 단계로 구성된 일반적 증류 파이프라인을 소개합니다.
  • 입력 융합 및 학습 손실을 정의하는 방정식으로 지식 유도와 증류를 두 가지 핵심 목표로 정식화합니다.
  • 목표 기술에 대한 맥락이 풍부한 학습 데이터를 생성하는 핵심 패러다임으로 데이터 증강을 강조합니다.
  • 지식 유도 방법(레이블링, 확장, 데이터 큐레이션, 특징, 피드백, 자기 지식)을 설명합니다.
  • 감독 미세조정, 발산/최소화, 강화 학습, 순위 최적화를 포함한 증류 전략을 검토합니다.

실험 결과

연구 질문

  • RQ1KD가 독점형과 오픈 소스 LLM 간의 성능 격차를 어떻게 해소할 수 있나요?
  • RQ2데이터 증강과 프롬프트가 LLM용 효과적인 KD에서 어떤 역할을 하나요?
  • RQ3KD 방법, 기술, 도메인별 응용을 가장 잘 포착하는 분류 체계는 무엇인가요?
  • RQ4수직 도메인 전반에 걸쳐 KD를 적용할 때의 실용적 함의와 과제는 무엇인가요?

주요 결과

  • KD는 세 가지 핵심 역할을 수행합니다: 능력 강화, 효율성을 위한 모델 압축, 그리고 자기 생성 지식을 통한 자기 개선.
  • 데이터 증강은 LLMs의 KD에 필수적이며, 전통적 확장을 넘어 고품질의 도메인 특화 학습 데이터를 생성할 수 있게 합니다.
  • 구조화된 분류체계(알고리즘, 기술 증류, 수직화)가 KD 접근법을 체계화하고 향후 연구를 안내합니다.
  • 증류는 지시 따르기, 추론, 정합성, 다중 모달 통합 등 다양한 기술을 발전시킵니다.
  • 수직화는 LLM을 법률, 의료, 금융, 과학 등 도메인 특화 요구에 맞춰 증류하여 실제 적용성을 향상시킵니다.
  • 본 고찰은 KD의 윤리적이고 합법적인 사용을 강조하며 향후 연구를 위한 개방 문제와 방향을 제시합니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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