Skip to main content
QUICK REVIEW

[논문 리뷰] A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and Trustworthiness

Fali Wang, Zhiwei Zhang|arXiv (Cornell University)|2024. 11. 04.
Topic ModelingComputer Science인용 수 16
한 줄 요약

이 논문은 Large Language Models (LLMs) 시대의 Small Language Models (SLMs)을 대상으로 표준화된 정의, 분류 체계, 프레임워크를 제안하고, training, enhancement, deployment, collaboration with LLMs, applications, 그리고 trustworthiness를 다룬다.

ABSTRACT

Large language models (LLMs) have demonstrated emergent abilities in text generation, question answering, and reasoning, facilitating various tasks and domains. Despite their proficiency in various tasks, LLMs like PaLM 540B and Llama-3.1 405B face limitations due to large parameter sizes and computational demands, often requiring cloud API use which raises privacy concerns, limits real-time applications on edge devices, and increases fine-tuning costs. Additionally, LLMs often underperform in specialized domains such as healthcare and law due to insufficient domain-specific knowledge, necessitating specialized models. Therefore, Small Language Models (SLMs) are increasingly favored for their low inference latency, cost-effectiveness, efficient development, and easy customization and adaptability. These models are particularly well-suited for resource-limited environments and domain knowledge acquisition, addressing LLMs' challenges and proving ideal for applications that require localized data handling for privacy, minimal inference latency for efficiency, and domain knowledge acquisition through lightweight fine-tuning. The rising demand for SLMs has spurred extensive research and development. However, a comprehensive survey investigating issues related to the definition, acquisition, application, enhancement, and reliability of SLM remains lacking, prompting us to conduct a detailed survey on these topics. The definition of SLMs varies widely, thus to standardize, we propose defining SLMs by their capability to perform specialized tasks and suitability for resource-constrained settings, setting boundaries based on the minimal size for emergent abilities and the maximum size sustainable under resource constraints. For other aspects, we provide a taxonomy of relevant models/methods and develop general frameworks for each category to enhance and utilize SLMs effectively.

연구 동기 및 목표

  • 자원 제약 맥락과 전문화된 작업에서의 Small Language Models (SLMs)의 정의를 표준화한다.
  • 개발과 활용을 안내하기 위한 SLMs의 분류 체계, 방법 및 프레임워크를 제공한다.
  • 효율성과 도메인 지식을 극대화하기 위한 SLMs의 훈련, 향상 및 배포 기술을 조사한다.
  • 성능 향상과 비용 절감을 위해 SLMs가 LLMs와 협력하는 방법을 탐구하고, 신뢰성과 프라이버시 문제를 다룬다.

제안 방법

  • SLMs에 대한 훈련 기법을 검토하고 종합하며, training from scratch, fine-tuning, distillation, quantization를 포함한다.
  • 작은 모델에 최적화된 디코딩 전략과 아키텍처 선택을 요약한다.
  • Pruning, knowledge distillation, quantization 등을 통해 LLM에서 SLMs를 얻는 방법을 설명한다.
  • 에지 및 자원 제약 환경 전반에서 효율성, 정확도, 배포 가능성 측면에서 SLMs를 평가하기 위한 프레임워크를 제시한다.
  • 일반 용도와 도메인 특정 응용 분야에 따른 SLMs의 분류 체계를 정리하고, 지원되는 아키텍처 및 훈련 선택을 제시한다.

실험 결과

연구 질문

  • RQ1자원 제약 및 출현하는 능력의 맥락에서 Small Language Models를 가장 잘 포착하는 정의와 경계는 무엇인가?
  • RQ2SLMs의 훈련, 향상, 배포를 가장 잘 설명하는 분류 체계와 프레임워크는 무엇인가?
  • RQ3제한된 자원에서 강한 성능을 달성하게 하는 기술들(훈련, 증류, 양자화, 가지치기)은 무엇인가?
  • RQ4지연, 프라이버시, 도메인 특화 지식 문제를 해결하기 위해 SLMs가 LLMs와 어떻게 협력할 수 있는가?
  • RQ5SLMs에 영향을 미치는 신뢰성 이슈는 무엇이며, 어떻게 평가하고 완화하는가?

주요 결과

  • SLMs는 자원 제약 환경과 도메인 특정 작업에서 효율성과 커스터마이징의 이점을 제공합니다.
  • 표준화된, 작업 및 자원 중심의 정의가 이종 문헌 전반에서 SLM 개념의 통합을 돕습니다.
  • 다양한 훈련 및 향상 기법(양자화, 증류, LoRA, 어댑터, 프롬프트 전략)이 경쟁력 있는 성능을 가능하게 합니다.
  • SLMs는 LLMs를 향상시키는 프롬시나 모듈로 작용하여 비용을 줄이고 프라이버시 및 지연을 개선할 수 있습니다.
  • SLMs의 신뢰성 문제(허구 출력, 프라이버시 위험 등)는 평가 및 완화 전략의 중심입니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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