On Meta-Prompting

Adrian de Wynter, Xun Wang, Qilong Gu, Si-Qing Chen
12/11/2023
7 citations
cs.CLcs.AIcs.LG

Official code: adewynter/metaprompting (7 stars, Jupyter Notebook, MIT, last commit 2024-11-23).

Abstract

Modern large language models (LLMs) are capable of interpreting input strings as instructions, or prompts, and carry out tasks based on them. Unlike traditional learners, LLMs cannot use back-propagation to obtain feedback, and condition their output in situ in a phenomenon known as in-context learning (ICL).

Show full abstract

Many approaches to prompting and pre-training these models involve the automated generation of these prompts, also known as meta-prompting, or prompting to obtain prompts. However, they do not formally describe the properties and behavior of the LLMs themselves. We propose a theoretical framework based on category theory to generalize and describe ICL and LLM behavior when interacting with users. Our framework allows us to obtain formal results around task agnosticity and equivalence of various meta-prompting approaches. Using our framework and experimental results we argue that meta-prompting is more effective than basic prompting at generating desirable outputs.

View on arXivView PDF

Code Implementations(1)

MIT

For the paper "On Meta-Prompting"

70Jupyter NotebookDec 11, 20232 years agoMIT

Similar Papers

Cite this paper

@article{wynter2023metaprompting,
  title  = {On Meta-Prompting},
  author = {Adrian de Wynter and Xun Wang and Qilong Gu and Si-Qing Chen},
  year   = {2023},
  eprint = {2312.06562},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.06562v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.06562.svg)](https://codeofpaper.com/paper/2312.06562)

Discussion