The Root Theorem of Context Engineering
Borja Odriozola Schick

TL;DR
The paper introduces the Root Theorem of Context Engineering, an information-theoretic principle for maintaining effective large language model conversations over time by maximizing signal-to-token ratio within lossy channels.
Contribution
It formalizes constraints of context windows and information degradation, deriving five key principles for sustainable long-term context management in language models.
Findings
A quality function $F(P)$ that degrades with token volume
Signal and token count are independent optimization variables
A gate mechanism triggered by fidelity thresholds
Abstract
Every system that maintains a large language model conversation beyond a single session faces two inescapable constraints: the context window is finite, and information quality degrades with accumulated volume. We formalize these constraints as axioms and derive a single governing principle -- the Root Theorem of Context Engineering: \emph{maximize signal-to-token ratio within bounded, lossy channels.} From this principle, we derive five consequences without additional assumptions: (1)~a quality function that degrades monotonically with injected token volume, independent of window size; (2)~the independence of signal and token count as optimization variables; (3)~a necessary gate mechanism triggered by fidelity thresholds, not capacity limits; (4)~the inevitability of homeostatic persistence -- accumulate, compress, rewrite, shed -- as the only architecture that sustains…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
