Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Coding
Score
76首次提出灾难性记忆概念并大规模验证提示词无限增长现象,填补了提示词生命周期研究空白。
方法严谨,包含大规模数据集、理论分析和实验验证,但部分结论依赖反演构造环境。
提出了可操作的注释方案,可直接用于改善 Agent 提示词维护和指令遵循效果。
对应 CLAUDE.md 等 Agentic 编码 README 的快速普及与失控问题,具有强现实紧迫性。
来自 arXiv 预印本,尚未正式发表,但数据量和实验设计具有一定可信度。
Base 84.5 × T2 Source weight ×0.9 = 76
Curation line 70Selected
Why selected
It offers a large-scale empirical study, a mechanism explanation, and an intervention, forming a complete loop that informs both prompt engineering and agent design.
AI commentary
「What makes this paper worth watching is that it turns the widely felt problem of prompt bloat into a quantifiable, verifiable, and solvable scientific question. For engineering teams building long-memory agents, the trick of using comments as explicit reasoning traces is elegantly simple and may be easier to adopt than more complex memory-compression mechanisms.」
Quick overview
This paper finds that agentic coding prompts like CLAUDE.md grow without bound in real repositories, expanding by 226% on average and gaining 4.9 net instructions per commit. The cause is the prohibitive cost of deleting an instruction—it requires evaluating interactions with all other instructions—so older instructions become almost impossible to remove, termed catastrophic remembering (the inverse of catastrophic forgetting). Adding comments that encode latent reasoning reduces excess growth from 211.3% to 1.4% and improves real-world instruction-following by up to 23.1% on WildIFEval.
- Analyzing 247,694 instruction lifetimes across 1,867 repositories confirms unbounded prompt growth: +226% on average, with +4.9 net instructions per commit, and older instructions become less likely to be deleted (log-hazard -0.032 per commit).
- Inverting IFEval to produce verifiable worlds with known optimal prompts, they show comments encoding latent reasoning remove 99.3% of excess instructions (+211.3% to +1.4%).
- Applying the same inversion to WildIFEval, comments improve real-world agentic instruction-following by up to 23.1%.
Full text
This is an AI-generated Chinese digest; use "View original" for the source text.
Related items
85
FeaturedSetoka: A Benchmark for Hierarchical User Understanding in Personalized Agents over Heterogeneous Data
Setoka:面向异构数据个性化Agent的层级用户理解基准
This paper is well worth attention, especially for researchers and engineers working on personalized agents, dialogue systems, and memory-augmented AI. It not only provides a benchmark but defines levels of user understanding from psychology, revealing systematic failures of current systems at higher levels. If you are designing memory-based agents, this paper reminds you that memory systems need to support cross-temporal, cross-source abstract reasoning, not just retrieval.
85
FeaturedBAND: Bayesian Network Distribution Regression for High-Dimensional Distribution Estimation – Breaking the Curse
BAND:高维分布估计的贝叶斯网络回归方法——打破维度诅咒
This paper is a must-read for anyone working on high-dimensional statistics, probabilistic modeling, and generative AI. It provides a simple yet powerful theoretical answer: sparsity can break the curse of dimensionality, and Bayesian networks offer a natural framework. Compared to black-box methods like VAEs and GANs, BAND is interpretable and provably convergent, especially valuable for industry needs like reliable confidence intervals. If you research time series forecasting or risk management, this paper may change how you approach high-dimensional density estimation.
84
FeaturedCycle-Consistent and Uncertainty-Aware Neural Surrogates for Tokamak Edge Plasmas
循环一致与不确定性感知的托卡马克边缘等离子体神经代理模型
This paper is worth attention because it demonstrates how advanced AI techniques (cycle consistency, uncertainty quantification) directly address a core computational bottleneck in nuclear fusion. For fusion researchers and engineers, it offers a practical tool to speed up simulations by orders of magnitude without sacrificing accuracy; for AI practitioners, it provides an excellent case of self-supervised learning and inverse problem solving in scientific applications.
83
FeaturedEquivariant Learning of a Transferable Three-Dimensional Classical Density Functional
等变学习可迁移的三维经典密度泛函
The most striking aspect of this paper is its direct coupling of machine learning to a core problem in statistical mechanics, using equivariant networks to learn a transferable density functional without any labels. For researchers in liquid physics or soft matter, this could be a new paradigm: do we need to run separate simulations for every new system anymore? For AI researchers, it also shows how to embed physical symmetries and variational principles into models rather than just fitting data. I recommend focusing on the methods, especially how equivariance and variational consistency are implemented—that's the real essence.
83
FeaturedComputational and Statistical Guarantees of the c-Rectified Flow
c-Rectified Flow 的计算与统计保证
This paper moves rectified flow from 'works in practice' to 'theoretically controllable,' which is especially important for those working on the underlying algorithms of generative models. If you are tuning pipelines like FLUX or SD3, understanding that ordinary rectified flow can fail when covariances do not commute may help you avoid hidden training pitfalls.
83
FeaturedLearning Deployable Manipulation Policies from High-Fidelity UMI Data Alone
从高保真UMI数据学习可部署操作策略
The most striking point of this paper is proving that pure robot-free data can match real teleoperation performance, breaking the convention of needing a small real-robot anchor for post-training. For research groups looking to reduce hardware costs and industrial robot application developers, HiFi-UMI's data production system and open-source dataset are directly usable resources. Pay attention to the engineering details of head-mounted SLAM and microsecond synchronization—they are key to achieving the reported accuracy.
83
FeaturedCapital Markets LLM Reliability Score: From Plausible to Bankable
资本市场LLM可靠性评分:从“看似合理”到“可银行化”
This paper is valuable for both finance and AI communities: it provides an actionable, workflow-oriented evaluation framework that's closer to real needs than generic benchmarks. If you're deploying LLMs in fintech or responsible for explainability/auditability, this is a must-read. The finding on decision usefulness is particularly striking—judges agree it's critical, yet models vary the most on it.
83
FeaturedWhere Should Optimizer State Live? Tiered State Allocation for Memory-Efficient Mixture-of-Experts Training
优化器状态应放在哪里?面向内存高效MoE训练的分层状态分配
This paper is highly valuable for teams training MoE models: it demonstrates that with careful optimizer state allocation, one can dramatically reduce memory without sacrificing accuracy—and even improve performance. It is especially relevant for labs or enterprises constrained by 40 GB or 80 GB GPU memory. The tiered strategy and ablation on momentum retention are worth studying for optimizing training frameworks like DeepSpeed or Megatron.