Skip to main content
QUICK REVIEW

[論文レビュー] Prompting Frameworks for Large Language Models: A Survey

Xiaoxia Liu, Jingyi Wang|arXiv (Cornell University)|Nov 21, 2023
Topic ModelingComputer Science被引用数 15
ひとこと要約

この論文は大規模言語モデルの prompting フレームワークを調査し、4層ライフサイクルを持つ Prompting Framework (PF) を定義し、PF アプローチの分類と現状分析を提供します。

ABSTRACT

Since the launch of ChatGPT, a powerful AI Chatbot developed by OpenAI, large language models (LLMs) have made significant advancements in both academia and industry, bringing about a fundamental engineering paradigm shift in many areas. While LLMs are powerful, it is also crucial to best use their power where "prompt'' plays a core role. However, the booming LLMs themselves, including excellent APIs like ChatGPT, have several inherent limitations: 1) temporal lag of training data, and 2) the lack of physical capabilities to perform external actions. Recently, we have observed the trend of utilizing prompt-based tools to better utilize the power of LLMs for downstream tasks, but a lack of systematic literature and standardized terminology, partly due to the rapid evolution of this field. Therefore, in this work, we survey related prompting tools and promote the concept of the "Prompting Framework" (PF), i.e. the framework for managing, simplifying, and facilitating interaction with large language models. We define the lifecycle of the PF as a hierarchical structure, from bottom to top, namely: Data Level, Base Level, Execute Level, and Service Level. We also systematically depict the overall landscape of the emerging PF field and discuss potential future research and challenges. To continuously track the developments in this area, we maintain a repository at https://github.com/lxx0628/Prompting-Framework-Survey, which can be a useful resource sharing platform for both academic and industry in this field.

研究の動機と目的

  • Prompting Frameworks (PF) の概念と標準用語を導入する。
  • 既存のPFsを構造化された分類(LLM-SH、LLM-LNG、LLM-RSTR)に分類する。
  • PFの長所、制限、およびドメイン横断での適用可能性を分析する。
  • 現在のツールを要約し、実世界での実用的な推奨を提供する。
  • PFの発展を追跡するコミュニティリソースハブ(GitHub)を促進する。

提案手法

  • prompting frameworks and related toolsの体系的な文献とリポジトリ調査を実施する。
  • PFライフサイクルをデータレベル、ベースレベル、実行レベル、サービスレベルの各段階で定義・詳述する。
  • PFを3つの主要タイプ(LLM-SH、LLM-LNG、LLM-RSTR)に分類し、それらの相互運用性を論じる。
  • 代表的な研究やアーキテクチャを評価し、設計原理とトレードオフを抽出する。
  • PF関連の研究とツールを含むGitHubリポジトリを作成・維持し、継続的な追跡を行う。

実験結果

リサーチクエスチョン

  • RQ1Prompting Frameworkとは何か、その核心的性質とライフサイクルレベルとは何か?
  • RQ2Prompting frameworksを、設計目標と使用ケースを捉えるためにどう分類できるか?
  • RQ3主要なPFタイプ(LLM-SH、LLM-LNG、LLM-RSTR)の長所、制限、ドメイン適用性は何か?
  • RQ4実世界のLLM有効化タスクへのPFの導入について、どのような実用的推奨が生まれるか?
  • RQ5どのような資源とツールが存在し、それらを研究と産業導入を支援するためにどう整理できるか?

主な発見

  • PFはLLMsが外部世界と相互作用できるようにし、データ遅延と外部ツールアクセスの問題を解決する。
  • PFは4層ライフサイクル(Data、Base、Execute、Service)に整理でき、相互作用とスケジューリングを指針とする。
  • 3カテゴリ(LLM-SH、LLM-LNG、LLM-RSTR)は異なる相互作用哲学を捉え、実務では組み合わせ可能であることが多い。
  • 多数のオープンソースプロジェクトとツールからなる実質的な景観が存在し、標準化された用語と中央リポジトリが必要である。
  • 著者らは約49のオープンソースプロジェクトを特定・分析し、約30件の代表的な論文・作品を詳細に議論するために選定した。
  • PF研究の継続的な追跡と協力を促進するためのGitHubリポジトリを維持している。

この論文を読む

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

Nubintでこの論文を読む

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