The Softmax Inundation Bound and Generational Context in Autoregressive Agent Systems
Autonomous AI agents usually treat the transformer context window as an append-only transcript of every action, tool output, and reasoning trace. Over long multi-step tasks, non-essential tokens accumulate and dilute the attention given to core instructions and safety invariants. In this paper, we establish upper and lower bounds on how much softmax attention remains on core invariant tokens as distractor volume grows (the Softmax Inundation Bound). While unbounded interaction logs steadily reduce invariant attention mass, keeping non-invariant context size bounded guarantees a strictly positive minimum level of attention on core goals across any number of turns. To achieve this bound in practice, we introduce Generational Context, a three-tier memory architecture: - Gen-2 Tenured: Permanently pins core objectives and safety invariants.- Gen-1 Evaporative: Manages working hypotheses and state updates using Attention-Weighted Eviction (AWE), a token-budgeted cache policy.- Gen-0 Ephemeral: Compresses raw tool outputs into compact signatures and evicts them after one turn. In our deterministic CCB-001 proxy simulation, Generational Context reduces active context size from 5,099 tokens to 129 tokens (a 97.5% reduction) and increases the context signal ratio by 33.9x. All theoretical results are proved under bounded projection norm assumptions, and all simulation numbers are deterministically reproducible. Code & Reproducibility- GitHub Repository: https://github.com/ShauryaSanyal/aci-generational-context (commit: rev3-bounds-sharp)- Included Files: ccb_bench.py, ccb_results.csv, and verification tests (tests/test_fools_theorem_bound.py)- Series Reference: ACI-SPEC-MATH-GC-002 / ACI-MATH-2026-FT-REV3
Authors
- Shaurya Sanyal (ORCID: https://orcid.org/0009-0004-9180-0245)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24654410
- Primary Topic
- AI-based Problem Solving and Planning
- Type
- preprint