DiagEvo: Diagnosis-Guided Self-Evolution via Hierarchical Error Memory

Xincheng Wei, Yifan Ding, Yoshua Li, Dongsheng Ma, Rongxiang Weng, Xunliang Cai, Wenjian Ding, Yao Zhang

The Chinese University of Hong Kong, Shenzhen · Meituan, LongCat Team · Peking University · Juntendo University · Nankai University

Published September 1, 2026 · on the feed September 2, 2026 · ▲ 18 · arXiv 2609.00768

Science & medicineReasoning & mathLLM training & RL No code arXiv ↗Hugging Face ↗

The abstract

Self-play is an effective paradigm for language-model self-evolution, but without guidance, solver performance can plateau or decline across rounds. Unguided methods steer question generation with signals such as difficulty, learnability, or diversity. These signals keep questions challenging and varied but do not specify which unresolved reasoning weaknesses later rounds should target. Guided methods obtain direction from external task resources, including human examples, document corpora, or specified difficulty targets, and therefore rely on task information supplied outside the self-play loop. We show that the needed direction can instead be derived from the solver's own failure history. We introduce DiagEvo, whose diagnostician extracts recurring error causes from this history and stores them in a hierarchical error-cause memory. The memory groups related causes under skill nodes and tracks each as Active or Mastered according to self-consistency on targeted questions. The challenger uses these states and recurrence counts to balance cause-targeted generation with free exploration. Double-confidence filtering retains intermediate-difficulty questions only when the most common solver answer has a clear vote lead. DiagEvo derives its curriculum from information produced during self-play, without external task resources. With the default 4B diagnostician, DiagEvo outperforms every baseline in mean accuracy across all nine benchmarks for each of the three solvers: Qwen3-4B, Qwen3-8B, and OctoThinker-8B. On Qwen3-8B, it reaches 72.3% mean accuracy across five mathematical reasoning benchmarks, 4.5 percentage points above R-Zero. Its mean accuracy across all nine benchmarks is 57.4%, 1.1 percentage points above DARC. Ablations show that the hierarchical error-cause memory and double-confidence filtering both contribute to these gains.

The Brief

3:10

A short podcast summary of the paper. Written and voiced by AI.

Transcript

DiagEvo. Diagnosis-Guided Self-Evolution via Hierarchical Error Memory. By Xincheng Wei and seven others, from the Chinese University of Hong Kong, Shenzhen, the LongCat Team at Meituan, and three other institutions. Published on the first of September. No code repository is linked to it.

Self-play is an effective way for a language model to evolve itself, but left unguided, the solver's performance can stall or even decline from round to round. Existing approaches split into two camps. Unguided methods steer question generation with signals like difficulty, learnability or diversity. Those keep the questions hard and varied, yet they never say which unresolved reasoning weaknesses the later rounds ought to aim at. Guided methods get their direction from outside: human examples, document corpora, or set difficulty targets. That makes them depend on task information supplied from beyond the self-play loop. One camp has no aim. The other has an aim, but borrows it. The gap between them is a source of direction that is both specific and internal.

DiagEvo takes direction from a third place: the solver's own history of failures. A diagnostician reads that history, pulls out the causes of error that keep recurring, and files them in a hierarchical memory of error causes. The curriculum is then built from information self-play produces anyway, with no external task resources. The claim being tested is that the direction guided methods import from outside can be recovered from inside, simply by paying attention to where the solver has already gone wrong.

The memory groups related causes under skill nodes. Each cause is tracked as either Active or Mastered, depending on how self-consistent the solver is on questions targeted at it. The challenger reads those states, along with how often each cause recurs, and balances generating questions aimed at specific causes against free exploration. Targeting keeps pressure on known weaknesses. Exploration keeps the challenger from asking only about problems it already knows of.

One more filter shapes what gets kept. Double-confidence filtering retains questions of intermediate difficulty, but only when the solver's most common answer has a clear lead in the vote. Two conditions, then, must both hold: the question is neither trivial nor hopeless, and the solver's majority answer is decisive rather than a near tie.

With its default 4B diagnostician, DiagEvo beats every baseline on mean accuracy across all nine benchmarks, and it does so for each of three solvers: Qwen3-4B, Qwen3-8B and OctoThinker-8B.

Taking Qwen3-8B as the example, mean accuracy over five mathematical reasoning benchmarks reaches seventy-two point three percent, four point five percentage points above R-Zero. Over all nine benchmarks it is fifty-seven point four percent, one point one points above DARC. Ablations credit both the hierarchical error-cause memory and double-confidence filtering with part of the gain.

The move is to treat failure as the curriculum. Instead of asking an outside source what to practise next, the loop asks what it keeps getting wrong, and keeps asking until those causes are marked Mastered. Nothing new enters from outside; the solver's mistakes, sorted and remembered, do the steering that a human example or a document corpus would otherwise have done.

Paper Quest · 7 chapters · about 40 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

A model teaching itself hits a plateau. Every quest starts with a wall like this.

You improve a maths model by pairing it with a second model that writes questions for it, round after round, with no human labels. Answers are checked by majority vote.

The road ahead

  1. 1 · The problem ~7 min Two models can teach each other maths without labels, but after a few rounds the question writer has no aim and progress stalls.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~8 min Aim new questions at the causes of the solver's own recurring mistakes, kept in a memory that tracks which ones are still unsolved.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Each round: write questions, filter them, train the solver, then turn its failures into causes that update the memory.
  6. 6 · The experiment ~6 min You’ll guess: On Qwen3-8B, by how many percentage points did DiagEvo's mean accuracy on mathematical reasoning benchmarks exceed R-Zero's?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.