Skip to main content
QUICK REVIEW

[논문 리뷰] Prompting Frameworks for Large Language Models: A Survey

Xiaoxia Liu, Jingyi Wang|arXiv (Cornell University)|2023. 11. 21.
Topic ModelingComputer Science인용 수 15
한 줄 요약

이 논문은 대형 언어 모델용 프롬프트 프레임워크를 조사하고, 네 계층 수명 주기를 갖는 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.

연구 동기 및 목표

  • 프롬프트 프레임워크(PF)의 개념과 표준 용어를 소개한다.
  • 기존 PF를 구조적 분류 체계(LLM-SH, LLM-LNG, LLM-RSTR)로 분류한다.
  • PF의 강점, 한계 및 도메인 간 적용 가능성을 분석한다.
  • 현재 도구를 요약하고 실무 사용에 대한 실용적 권고를 제공한다.
  • PF의 개발 동향을 추적하기 위한 커뮤니티 자원 허브(GitHub)를 홍보한다.

제안 방법

  • 프롬프트 프레임워크와 관련 도구에 대한 체계적 문헌 및 저장소 조사를 수행한다.
  • PF 생명주기를 Data Level, Base Level, Execute Level, Service Level에 걸쳐 정의하고 상세히 설명한다.
  • PF를 세 가지 주요 유형(LLM-SH, LLM-LNG, LLM-RSTR)으로 분류하고 상호 운용성에 대해 논의한다.
  • 대표적인 연구와 아키텍처를 평가하여 설계 원칙과 트레이드오프를 추출한다.
  • PF 관련 연구와 도구를 포함하는 GitHub 저장소를 구성하고 지속적으로 관리한다.

실험 결과

연구 질문

  • RQ1What is a Prompting Framework and what are its core properties and lifecycle levels?
  • RQ2How can prompting frameworks be categorized to capture their design goals and use cases?
  • RQ3What are the strengths, limitations, and domain applicability of major PF types (LLM-SH, LLM-LNG, LLM-RSTR)?
  • RQ4What practical recommendations emerge for deploying PFs in real-world LLM-enabled tasks?
  • RQ5What resources and tooling exist, and how can they be organized to support research and industry adoption?

주요 결과

  • PFs enable LLMs to interact with the external world, addressing data lag and external tool access.
  • PFs can be organized into a four-layer lifecycle (Data, Base, Execute, Service) guiding interaction and scheduling.
  • Three PF categories (LLM-SH, LLM-LNG, LLM-RSTR) capture different interaction philosophies and are often combinable in practice.
  • A substantial landscape exists with numerous open-source projects and tools, necessitating standardized terminology and a central repository.
  • The authors identified and analyzed about 49 open-source projects and selected around 30 representative works for in-depth discussion.
  • A GitHub repository is maintained to facilitate ongoing tracking and collaboration in PF research.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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