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)|Nov 4, 2024
Topic ModelingComputer Science被引用数 16
ひとこと要約

この論文は、Large Language Models (LLMs) の時代における Small Language Models (SLMs) を概観し、標準化された定義、分類法、フレームワークを提案し、トレーニング、強化、デプロイ、LLMs との協働、応用、信頼性を扱う。

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 のトレーニング技術をレビュー・統合し、ゼロからの訓練、ファインチューニング、蒸留、量子化を含む。
  • 小さなモデルに最適化されたデコード戦略とアーキテクチャ的選択を要約する。
  • LLMs から SLMs を得るためのプルーニング、知識蒸留、量子化による方法を説明する。
  • エッジやリソース制約のある環境における効率性、精度、デプロイ性の観点で SLMs を評価するためのフレームワークを提示する。
  • 一般目的とドメイン固有のアプリケーションに基づく SLMs の分類法を、対応するアーキテクチャとトレーニング選択とともに整理する。

実験結果

リサーチクエスチョン

  • RQ1リソース制約と新たな能力の出現という文脈で、どの定義と境界が Small Language Models を最も適切にとらえるか?
  • RQ2SLMs の訓練、強化、デプロイを最も適切に説明する分類法とフレームワークは何か?
  • RQ3限られたリソースで強い性能を達成するために SLMs に有効な技術は何か(トレーニング、蒸留、量子化、プルーニング)
  • RQ4遅延、プライバシー、ドメイン固有知識の課題に対処するために SLMs が LLMs と協働するにはどうすればよいか?
  • RQ5SLMs に影響を与える信頼性の課題は何であり、どのように評価・緩和されるか?

主な発見

  • SLMs はリソース制約のある環境やドメイン固有のタスクに対して、効率性とカスタマイズ性の利点を提供する。
  • 標準化された、タスクおよびリソース駆動の定義は、異種の文献にまたがる SLM の概念を統一するのに役立つ。
  • さまざまなトレーニングおよび強化技術(量子化、蒸留、LoRA、アダプター、プロンプティング戦略)が競争力のある性能を可能にする。
  • SLMs は代理モデルやモジュールとして LLMs を強化し、コストを削減し、プライバシーと遅延を改善できる。
  • SLMs の信頼性の懸念(幻覚、プライバシーリスク)は、評価と緩和戦略の焦点となっている。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。