Agentic Entropic Collapse: Why it feels like models degrade over time A 60-GPU-run study on a 16-step multi-file Python benchmark called LedgerFlow-Mod found that replacing human-written history with smoke-tested autonomous commits (without rollback) caused Qwen2.5-Coder-14B's repository cross-entropy to contract from 0.5853 to 0.4566 nats/token and raw pre-processor predictive token entropy to fall 21.0% pooled (−21.8% on the 7B model, −19.7% on 14B), while unlatched full-repository task accuracy dropped 12.5 percentage points across 8/8 pooled trajectories (post-hoc Holm correction, p = 0.0078). In the same runs, the model's isolated single-file accuracy rose to 68.8% (Suite 1) and 65.6% (Suite 2) versus 50.0% on human history, and injecting six subtle human bugs instead pushed cross-entropy up by 0.013–0.014 nats rather than contracting it. The authors describe the effect as confidence–correctness decoupling: self-authored commits hide compounding defects behind rising local token confidence in stateful coding agents whose weights stay frozen. Agentic Entropic Collapse: Confidence–Correctness Decoupling in Stateful Coding Agents Why a freshly released coding model feels like a hot knife through butter on day one, yet after weeks of autonomously extending the same repository begins to feel 'nerfed'—growing more confident in its tokens even as systemic correctness erodes. Across 60 GPU runs on a 16-step multi-file Python benchmark LedgerFlow-Mod , replacing human history with smoke-tested autonomous commits without rollback contracts repository cross-entropy nats on Qwen-14B and drops raw pre-processor predictive token entropy by −21.0% pooled −21.8% on 7B, −19.7% on 14B; −20.6% in Suite 1 , yet unlatched task accuracy falls −12.5 pp 8/8 trajectories, , post-hoc 3-outcome Holm even as Qwen-14B’s isolated single-file accuracy rises 65.6%–68.8% vs. 50.0% . Four controlled Authorship × Correctness regimes disentangle bugs from self-authorship: injecting six subtle human bugs lowers correctness without triggering contraction modestly raising by +0.013–0.014 nats and ticking predictive entropy slightly upward , whereas self-authored commits contract both—hiding compounding defects behind rising local token confidence. - 01Raw Predictive Entropy - -21.0% - 02Local vs. Systemic Split - 68.8% vs 42.2% - 03Human Bugs vs. Self Bugs - Opposite Sign Pooled raw T=0 drop -21.8% 7B, -19.7% 14B; -20.6% Suite 1, 8/8 runs, p = 0.0078 Qwen-14B isolated single-file pass rises 65.6% v4 / 68.8% v3 while full-repo pass drops Human bugs nudge ΔNLL up +0.013–0.014 ; self-authored commits contract ΔNLL -0.125 Why a Model That Cuts Like a Hot Knife on Day One Can Feel 'Nerfed' Three Weeks Later Spend a month shipping code with autonomous coding agents and you will hear the same complaint across many engineering teams: a newly released model feels like a hot knife through butter on day one inside a clean human codebase—yet two or three weeks later, after the agent has authored a large share of the repo itself, that exact same checkpoint starts feeling ‘nerfed,’ brittle, and stuck in repetitive failure loops. While a controlled 16-task study cannot prove what causes every multi-week frontier production failure, our experiments isolate a concrete weight-frozen mechanism that offers a sharp hypothesis for how this happens. In traditional training-time model collapse, recursive synthetic data rewrites the model’s weights. In stateful software engineering, model weights stay strictly frozen—yet the context window evolves into a self-authored environment. On LedgerFlow-Mod 16 coupled Python ledger modules , replacing human reference files with smoke-tested autonomous commits without rollback causes Qwen2.5-Coder-14B to contract repository cross-entropy from 0.5853 to 0.4566 nats/token and drop raw pre-processor predictive token entropy by -19.7% 0.0921 - 0.0739 ; -21.0% pooled across 7B and 14B . The deepest twist is the local-versus-systemic split . Evaluated in isolation swapping clean human upstream files back beneath the model’s exact late-step patches , Qwen2.5-Coder-14B actually becomes more accurate at late single-file edits 68.8% in Suite 1 / 65.6% in Suite 2 vs. 50.0% on human history . Yet evaluated against the full accumulated repository, unlatched task accuracy drops -12.5 percentage points across 8/8 pooled trajectories 2 models, 1 benchmark; exact two-sided , primary-family Holm . The model grows comfortable inside its own idioms while silently losing grip on cross-file invariants. Five Ordered Trajectories Across 16 Sequential Commits Tracking repository cross-entropy step-by-step on Qwen2.5-Coder-14B raw pre-processor logits reveals five cleanly ordered strata. Clean human history stays flat near 0.57–0.59 nats/token across all 16 tasks. Injecting six subtle human bugs human defective nudges cross-entropy upward above clean human code at every step 0.6045 by step 16 . By contrast, every AI-authored regime drops sharply over steps 2–5 and stays persistently contracted through step 16—descending from oracle model correct 0.5275 , through cross-family DeepSeek-6.7B history 0.5161 , down to smoke-tested self defective 0.4566 . 16-Step Repository Cross-Entropy Trajectory Qwen2.5-Coder-14B, Raw Logits Mean corpus negative log-likelihood H Q t, P θ across steps 1–16. Human defects raise NLL slightly above clean human code; every AI-authored history drops sharply at steps 2–5. Human Bugs Do Not Trigger Contraction; Self-Authored Commits Hide Rot Behind Low Entropy A natural skepticism toward sequential coding collapse is whether entropy drops simply because prior code is buggy. Our Suite 2 controlled Authorship × Correctness regimes test this directly using raw pre-processor logits output logits=True : - Human defects do not reproduce self-authored contraction. Injecting six subtle edge-case bugs into human commits human defective , each passing smoke tests while failing hidden integration tests cuts unlatched task pass rate on both 7B 31.2% - 25.0% and 14B 56.2% - 43.8% and collapses cumulative late pass to 0% —yet nudges repository cross-entropy upward +0.0140 nats on 7B , +0.0126 nats on 14B above clean human history with a slight upward tick in raw predictive entropy +2.6% / +0.9% . Even flawed human edits remain out-of-distribution relative to and keep model surprisal elevated. - Clean self-authorship contracts cross-entropy on 14B with honest 7B caveats . When an omniscient hidden-test oracle commits only verified model patches model correct , 14B reaches 68% mean self-authorship 75% seed 1, 12%–38% human fallback , contracts to -0.0550 -0.0919 seed 1 , and preserves 50.0% late and cumulative correctness. On the weaker 7B model, 50%–56% fallback caps self-authorship at 43% and yields noisier outcomes H probe = 0.1417 , cum l = 20.8% , making 14B our cleaner diagnostic. - Why cumulative pass latches at 0%. Both 7B and 14B fail Step 1 s01 allocate even on clean starter context. In human history , Step 1 is reset to the clean human reference before Step 2 31.2% / 56.2% overall pass ; in smoke-tested autonomous runs without rollback, Step 1’s broken module persists and latches cumulative pass at 0% . That is why unlatched task all and iso late vs. task all are our primary correctness metrics. Why Neither Model Swaps Nor Entropy-Seeking Decoding Substitute for Strong Tests We tested two natural mitigations: swapping to a different model family and entropy-restoring Best-of-K decoding . First, in a symmetric cross-family handoff between Qwen2.5-Coder-14B and DeepSeek-Coder-6.7B 3 paired seeds each , self-authorship remained the lowest-entropy regime on both models—yet reading the other LLM family’s code still contracted cross-entropy and predictive entropy sharply relative to human history DeepSeek on Qwen-14B : , vs. human 0.1566 ; Qwen-14B on DeepSeek : , vs. human 0.0921 . Distinct coding LLMs appear to share a convergent low-entropy synthetic-code manifold. Second, selecting smoke-passing candidates that maximize corpus-divergence novelty max ent corpus div , reliably restores greedy predictive entropy +0.0261 nats over compute-matched greedy bok at , 8/8 runs, ; +58.9% on 14B , yet does not rescue hidden-suite accuracy—and in fact trails plain self generated on late-task correctness 15.6% vs. 25.0% on 7B ; 28.1% vs. 46.9% on 14B due to lower smoke-pass rates 20%–48% . Inference-time diversity counters predictive narrowing, but durable long-horizon reliability requires strong exogenous specification tests and human-in-the-loop diversity. Together with our companion Zerg AI study on Cross-Architecture Activation Delta Alignment https://zergscholar.com/site/platos-key-zero-label-projection , this work probes how model geometry interacts with its operating distribution—both across long agent horizons and across distinct model families. Raw Pre-Processor Predictive Token Entropy Across Regimes Suite 2, Qwen-14B & 7B Mean greedy probe Shannon entropy nats/token, raw output logits=True . Human defects do not contract entropy; self-authorship contracts it ~20%. Read the full technical report for derivations, ablations, and complete tables, or explore datasets, models, runs, and raw downloads on Zerg Platform. References 1. 1 I. Shumailov, Z. Shumaylov, Y. Zhao, N. Papernot, R. Anderson, Y. Gal 2024 . AI Models Collapse When Trained on Recursively Generated Data ↗ https://www.nature.com/articles/s41586-024-07566-y Nature, 631:755–759. 2. 2 G. Orlanski, D. Roy, A. Yun, C. Shin, A. Gu, A. Ge, D. Adila, N. Roberts, F. Sala, A. Albarghouthi 2026 . SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks ↗ https://arxiv.org/abs/2603.24755 arXiv:2603.24755 March 2026 . 3. 3 J. Chen, X. Xu, H. Wei, C. Chen, B. Zhao 2026 . SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via Continuous Integration ↗ https://arxiv.org/abs/2603.03823 arXiv:2603.03823 March 2026 . 4. 4 K. N. A. Shastry, G. Senrayan, S. Satapara, P. Panda, C. Devaguptapu 2026 . Beyond Isolated Tasks: A Framework for Evaluating Coding Agents on Sequential Software Evolution SWE-STEPS ↗ https://arxiv.org/abs/2604.03035 arXiv:2604.03035 April 2026 . 5. 5 S. Patel, B. L. Hou, A. Purohit, K. Xu, J. Pan, H. He, V. Chen 2026 . Is Agent Code Less Maintainable Than Human Code? CodeThread ↗ https://arxiv.org/abs/2606.21804 arXiv:2606.21804 June 2026 . 6. 6 Q. Jin, L. Tung, K. Li, Q. Shi et al. 2026 . ChainSWE: Benchmarking Coding Agents on Multi-Bug Software Maintenance ↗ https://arxiv.org/abs/2607.02606 EMNLP 2026 · arXiv:2607.02606. 7. 7 R. Pan, J. Zhang, L. Wu, Y. Zhang, H. Zhang, L. Zhang 2026 . Do Modifications Made by Coding Agents Make Subsequent Software Maintenance Harder? SWE-Maintain ↗ https://arxiv.org/abs/2610.14768 arXiv:2610.14768 October 2026 . 8. 8 X. Zeng, Z. Liu, Z. Lin 2026 . Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? ↗ https://arxiv.org/abs/2611.07166 arXiv:2611.07166 November 2026 . 9. 9 A. Aspuru-Guzik, V. Bernales 2026 . Where the Tokens Go: Heat, Entropy and Error in Agentic Coding ↗ https://arxiv.org/abs/2611.23375 arXiv:2611.23375 November 2026 . 10. 10 A. Panickssery, S. R. Bowman, S. Feng 2024 . LLM Evaluators Recognize and Favor Their Own Generations ↗ https://arxiv.org/abs/2404.13076 NeurIPS 2024. 11. 11 S. Alemohammad, J. Casco-Rodriguez, L. Luzi et al. 2024 . Self-Consuming Generative Models Go MAD ↗ https://arxiv.org/abs/2307.01850 ICLR 2024. 12. 12 E. Dohmatob, Y. Feng, P. Yang, F. Charton, J. Kempe 2024 . A Tale of Tails: Model Collapse as a Change of Scaling Laws ↗ https://arxiv.org/abs/2402.07043 ICML 2024. 13. 13 C. E. Jimenez, J. Yang, A. Wettig, S. Yao et al. 2024 . SWE-bench: Can Language Models Resolve Real-World GitHub Issues? ↗ https://arxiv.org/abs/2310.06770 ICLR 2024. 14. 14 Zerg AI 2026 . Agentic Entropic Collapse — Open Datasets, 60 L40S Runs & Downloadable CSV/JSON Bundles Suite 1 + Suite 2 ↗ https://zergplatform.com/research/agentic-entropic-collapse-v4 Zerg Platform Research Archive. Citation @techreport{zergai2026aec, title={Agentic Entropic Collapse: Confidence--Correctness Decoupling and In-Context Self-Conditioning in Stateful Coding Agents}, author={{Zerg AI}}, year={2026}, institution={Zerg AI Research}, url={https://zergscholar.com/site/agentic-entropic-collapse} }