Skip to main content

Showing 1–1 of 1 results for author: Witkowski, C

Searching in archive cs. Search in all archives.
.
  1. arXiv:2310.04444  [pdf, other

    cs.CL cs.AI cs.LG cs.NE

    What's the Magic Word? A Control Theory of LLM Prompting

    Authors: Aman Bhargava, Cameron Witkowski, Shi-Zhuo Looi, Matt Thomson

    Abstract: Prompt engineering is crucial for deploying LLMs but is poorly understood mathematically. We formalize LLM systems as a class of discrete stochastic dynamical systems to explore prompt engineering through the lens of control theory. We offer a mathematical analysis of the limitations on the controllability of self-attention as a function of the singular values of the parameter matrices. We present… ▽ More

    Submitted 3 July, 2024; v1 submitted 2 October, 2023; originally announced October 2023.

    Comments: 28 pages, 10 figures