MLEvolver: one-line digests beat rolling summaries
An HKUST and NVIDIA paper finds per-attempt digests and pruning unused skills work best for long-running research agents; MLEvolver combines both.
For an agent that retries one scored task dozens of times, a one-line digest of every past attempt beat a rolling summary in a controlled test. It improved on plain recency truncation in all six model and benchmark settings, by up to 19.2%. The paper (arXiv, Nov 20, 2026), from researchers at The Hong Kong University of Science and Technology (HKUST), NVIDIA and others, changes one memory component at a time inside the same agent loop. It runs on MLE-Bench Kaggle tasks and KernelBench CUDA kernels with gpt-oss-120b, gpt-6-luna and gpt-6-sol.
"Folding" writes a 2–4 sentence digest of each attempt and lets the agent unfold a few in full. It averaged 8.6% over the baseline, while compaction into one running summary averaged 0.3%. The authors trace the gap to coverage. Folding kept records of 42.0 attempts in about 12.1k tokens. Truncation kept 6.2 attempts in 18.4k, and compaction used similar tokens but couldn't reopen any single attempt. For the library of written lessons, deleting a skill after five consecutive rounds unpicked gave the largest average gain (4.1%), ahead of promoting skills to standing rules (3.0%) and merging near-duplicates (2.2%). The paper's case studies show merging stripping an FP32 requirement and a promoted rule outliving the code it described.
Combined as MLEvolver on gpt-6-sol with a 32K window and 100 iterations, the harness medalled in 16 of 22 MLE-Bench Lite contests (72.7%), against 59.1% for AIDE and 63.6% for OpenEvolve. @omarsar0 called it "very practical" for anyone building research agents.
Our reading: the digest-plus-unfold pattern is cheap to copy anywhere an agent loops against a score, such as an eval suite, a prompt-tuning run or a benchmark script. The evidence has gaps, though. The authors say Claude Code and Codex weren't evaluated, and only linear, single-chain loops were tested. AGI Hunt points out that the paper reports no variance, and that the ablation and head-to-head used different task sets, so folding plus deletion was never measured against either piece alone.
Try it: Give your agent an instruction like this when it iterates against a test or metric (our example, modelled on the paper's digest prompt): "After each attempt, append 2–4 sentences to ATTEMPTS.md covering action, outcome, root error and what changed, read that file before choosing the next attempt, and reopen full logs only when you need exact code or errors." It worked if later choices cite earlier attempts by name; the paper didn't test this setup, so treat it as an experiment.