On Meta-Prompting

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: de Wynter, Adrian, Wang, Xun, Gu, Qilong, Chen, Si-Qing
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912965185241088
author de Wynter, Adrian
Wang, Xun
Gu, Qilong
Chen, Si-Qing
author_facet de Wynter, Adrian
Wang, Xun
Gu, Qilong
Chen, Si-Qing
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2312_06562
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle On Meta-Prompting
de Wynter, Adrian
Wang, Xun
Gu, Qilong
Chen, Si-Qing
Computation and Language
Artificial Intelligence
Machine Learning
Category Theory
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.
title On Meta-Prompting
topic Computation and Language
Artificial Intelligence
Machine Learning
Category Theory
url https://arxiv.org/abs/2312.06562