What’s the Magic Word? A Control Theory of LLM Prompting - podcast episode cover

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

May 28, 202514 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

This paper investigates the mathematical basis of large language model (LLM) prompting by framing LLMs as discrete stochastic dynamical systems and employing control theory. The authors formalize LLM systems and introduce concepts of controllability and reachability in this context. They present a Self-Attention Control Theorem that provides a theoretical limit on controlling self-attention outputs based on singular values of parameter matrices. Empirical results demonstrate that short prompts can significantly alter LLM output likelihood, even making low-probability tokens highly probable. The work highlights the significant and often poorly understood role of input sequences in steering LLM behavior and offers a foundation for improving LLM system capabilities.

For the best experience, listen in Metacast app for iOS or Android