English

On Meta-Prompting

Computation and Language 2026-03-17 v4 Artificial Intelligence Machine Learning Category Theory

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). 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.

Keywords

Cite

@article{arxiv.2312.06562,
  title  = {On Meta-Prompting},
  author = {Adrian de Wynter and Xun Wang and Qilong Gu and Si-Qing Chen},
  journal= {arXiv preprint arXiv:2312.06562},
  year   = {2026}
}

Comments

Preprint. Under review

R2 v1 2026-06-28T13:47:23.005Z