Accelerating Language Model Workflows with <scp>Prompt Choreography</scp>

Abstract Large language models are increasingly deployed in multi-agent workflows. We introduce Prompt Choreography, a framework that efficiently executes LLM workflows by maintaining a dynamic, global KV cache. Each LLM call can attend to an arbitrary, reordered subset of previously encoded messages. Parallel calls are supported. Though caching messages’ encodings sometimes gives different results from re-encoding them in a new context, we show in diverse settings that fine-tuning the LLM to work with the cache can help it mimic the original results. Prompt Choreography significantly reduces per-message latency (2.0–6.2× faster time-to-first-token) and achieves substantial end-to-end speedups (&amp;gt;2.2×) in some workflows dominated by redundant computation.

Authors

Institutions

Publication Details

Journal
Transactions of the Association for Computational Linguistics
Published
2026-03-16
DOI
https://doi.org/10.1162/tacl.a.643
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Accelerating Language Model Workflows with Prompt Choreography

Jason Eisner, TJ Bai
Transactions of the Association for Computational Linguistics
Natural Language Processing Techniques
article

Accelerating Language Model Workflows with Prompt Choreography

Jason Eisner, TJ Bai
article en

Abstract

Abstract Large language models are increasingly deployed in multi-agent workflows. We introduce Prompt Choreography, a framework that efficiently executes LLM workflows by maintaining a dynamic, global KV cache. Each LLM call can attend to an arbitrary, reordered subset of previously encoded messages. Parallel calls are supported. Though caching messages’ encodings sometimes gives different results from re-encoding them in a new context, we show in diverse settings that fine-tuning the LLM to work with the cache can help it mimic the original results. Prompt Choreography significantly reduces per-message latency (2.0–6.2× faster time-to-first-token) and achieves substantial end-to-end speedups (&amp;gt;2.2×) in some workflows dominated by redundant computation.

Transactions of the Association for Computational LinguisticsVol. 14
Johns Hopkins University (US), Johns Hopkins Medicine (US)
Openalex Percentile: Top 22%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.