SERA: Self-Evaluating Recursive AgentSelf-Evaluating Recursive Agents
SERA trains a recursive agent with self-written rubrics, averaging 65.07% on TextWorld-Sync, higher than RAO.
- The recursive agent delegates subtasks to sub-instances of the same policy. Final results are verifiable, but self-created intermediate subtasks have no ground truth; a per-node verifier or critic is both expensive and unable to evaluate decomposition quality.
- In SERA, before delegation the parent node writes weighted criteria and freezes them. Generation is trained with a ranking loss against verified success and failure, and solving uses the policy's own rubric scores; decomposition is scored by the proportion of leaf nodes in the whole tree. At inference time, this rubric is used to select candidate solutions.
- SERA averages 74.31% on TextCraft-Synth and 65.07% on TextWorld-Sync (Table 1). The authors say it is 5.38 and 13.14 points higher than RAO; on TextWorld-Sync, N=2 policy selection reaches 67.50%.
- The authors say they evaluated only Qwen3-4B and two synthetic benchmarks; larger models and real tasks were not tested; self-evaluation may deviate from real success, sparser or noisier verification remains open, and leaf nodes are equally weighted. Experimental recursion depth is at most 3, and root success is verified by the environment; the paper does not report the name of the external reviewer used for TextWorld training.
- Evaluated models
- Qwen3-4B-Instruct-2507
- Benchmarks
- TextCraft-SynthTextWorld-Sync
- Metrics
- 根任务成功率外部监督调用次数
The SERA framework jointly trains a single policy to perform subtask decomposition, execution, and self-evaluation, and has the agent generate a task-specific evaluation rubric before delegation; learning to evaluate also improves solving. On TextCraft-Synth and TextWorld-Sync, it exceeds strong recursive agent baselines by 5.38 and 13.14 percentage points, respectively; the learned rubric can guide inference-time tree search, yielding a further 2.43 percentage point improvement on TextWorld-Sync.
Paper analysis
What problem does this paper attempt to solve?
A recursive agent must learn decomposition, solving and self-evaluation in the same weights, yet intermediate subtasks have no ground truth.
A recursive language model agent must use the same set of weights to complete decomposition, solving and evaluation, but self-made intermediate subtasks have no ground truth; existing per-node verifiers or reviewers are coarse, expensive, and do not evaluate decomposition quality.
- Scenario: Multi-hop research requires coordinating evidence across retrieval steps, and repository-level code modification involves interdependent edits. Delegating subproblems to sub-instances of the same policy forms a work tree. The authors cite Gandhi et al. (2026) to say that a policy trained shallowly can generalize to deeper trees at inference time, and argue that recursion is a test-time scaling axis alongside longer chain of thought and wider sampling.
- Existing shortcomings: Final results are usually verifiable, but intermediate subtasks made by the agent itself rarely have ground truth. Using a verifier or LLM reviewer to assign success labels to each node can keep credit local, but the authors point out that this signal is binary, cannot separate clean solutions from barely passing ones, and cannot mark weak work in a successful tree; the whole tree must be called, and whether a subtask is solved does not indicate whether the decomposition is appropriate.
- Observation: The same shared weights must simultaneously decompose, solve and evaluate. Criteria written by an untrained policy are not aligned with subtask success, using its scores as rewards helps little, and it is inconsistent across tasks. If the rubric is trained with task rewards, generation and solving co-adapt, and scores rise but quality does not necessarily improve.
- Method: The authors propose SERA. Before delegation, the parent node writes a weighted natural language success criterion for each subtask and freezes it; criterion generation is trained with a ranking objective against verified results; decomposition credit is given by the leaf coverage ratio; the learned rubric is also used at inference time to select candidate solutions in tree search.
What related research exists?
The authors use RAO as the main baseline and place rubric learning on the policy's self-generated recursive trees.
Section 2 of the paper discusses three groups, and experimental baselines are listed separately.
Recursive and Multi-Agent Training
- Inference-time scaffolding: Prasad et al. (2024) and Schroeder et al. (2025) decompose tasks and route them to sub-agents. The authors say most of these treat recursion as fixed scaffolding outside a frozen model.
- Depth-1 delegation training: Team et al. (2026b) use reinforcement learning for parallel delegation; Sun et al. (2025) and Chi et al. (2025) jointly train organizer–worker. The authors say these works mainly stop at depth 1, with workers fixed or constrained.
- RAO: Recursive Agent Optimization by Gandhi et al. (2026) is called by the authors the closest prior work: recursion beyond depth 1, sub-agents execute asynchronously, and the root and sub-agents are trained end-to-end. The authors use it as the main baseline and point out that it scores nodes with binary success labels from a verifier or reviewer, and does not evaluate decomposition quality.
Dense Rewards and Process Supervision
- Process and action credit: The process reward model of Lightman et al. (2024), and the agent variants of Zhang et al. (2026) and Li et al. (2026b), give credit to intermediate steps on flat linear trajectories; the intermediate signal comes from an independent critic, or an additive decomposition of returns.
- Classical hierarchical RL: Options by Dietterich (2000) and goal-conditioned hierarchies by Nachum et al. (2018) assign credit across levels, but assume a fixed set of subtask types or a fixed hierarchy depth. By contrast, the authors say SERA's hierarchy, subtasks and evaluator are all dynamically produced by the same policy in each rollout.
Rubric-Based Reinforcement Learning
- Criterion scoring: Liu et al. (2026) use generated criteria to score outputs, extending reinforcement learning to domains that are not fully exactly verifiable. The authors mention that static rubrics saturate as the policy becomes stronger.
- Co-training the generator: Tian et al. (2026) co-train the generator with stepwise return decomposition; Xu et al. (2026) alternately optimize the generator and the reviewer; Ding et al. (2026) do adversarial co-evolution. The authors say the closest in domain is RubricEM (Li et al., 2026a). These works all assume flat or fixed-stage computation, and the rubric model is separate from the policy.
- Anchoring: The authors say the previously preferred label-free discrimination signal degrades performance in trees, because score spread reflects differences in subtask difficulty more than criterion quality (§4.2). The authors say Gao et al. (2025), Wang et al. (2026) and Yang et al. (2026) document reward hacking under learned rewards, and on this basis they anchor rubric training to verified results.
Baselines and Benchmarks
- Baselines: Qwen3-4B-Instruct under prompting (single-agent, and multi-agent with recursive delegation enabled), GRPO and CISPO without delegation, RAO, and RAO + Decomposition, RAO + Rubric Training, and SERA variants without decomposition or rubric training.
- Benchmarks: TextCraft-Synth; TextWorld-Sync, built by the authors, extended from TextWorldExpress (Jansen and Côté, 2023).
The authors place this paper in RAO's recursive setting: each node gets a trained continuous rubric, decomposition is directly scored; the evaluator is the policy itself, trained with a ranking objective against verified results, rather than a separate rubric model.
How does the paper address this problem?
Freeze the weighted rubric before delegation, train generation with a ranking loss against verified success and failure, and solve using its own scores.
SERA uses the same policy πθ to decompose the root task, execute subtasks, and evaluate results. The three signals alternate updates, avoiding mutual interference between objectives on shared parameters and differing scales.
Problem setting
- Tree: Given a root task x, the policy can solve it directly, or issue a delegation and create sub-agents for self-created subtasks. Recursion yields a tree T. Nodes have subtasks, trajectories, outputs, final environment states, child node sets, and depths.
- Supervision scope: The root task is given R by the environment, with values from 0 to 1; intermediate subtasks use self-evaluated rewards during the execution phase. Each root task samples K independent trees; in experiments K is 8.
- Ex ante commitment: After the parent node generates the rubric, it is frozen and cannot be changed before seeing child node trajectories and final states, so that evaluation does not accommodate the results about to be scored.
Execution reward
- Criteria: At delegation, the parent node generates a frozen weighted rubric, with non-negative weights summing to 1. Generation is conditioned only on information available at the moment of delegation, and does not look at child nodes' future trajectories or outputs.
- Scoring: After the child node finishes, another call of the same policy (without backpropagating gradients) scores against the frozen criteria, giving a binary success gate and a score for each criterion (0 to 1). When a subtask is not completed (for example, steps are exhausted or there is no usable output), the gate is 0 and the score is exactly 0.
- Node score: The root node's execution reward is that tree's environment result; other nodes use the rubric score. The execution phase only updates execution trajectories, not generation and scoring.
- The continuous score is sv=gv∑j=1Jvwv,jcv,j. The meaning is that if not completed the score is 0, and if completed it is the weighted score of the criteria.
Leaf coverage decomposition reward
- What is recorded: Execution credit does not directly evaluate "whether to delegate." The authors use leaves with no child nodes to measure coverage, because leaves solve atomic subproblems and directly contribute to the final answer, while internal nodes only orchestrate. All leaves are equally weighted; the authors state that adding subtask importance weights is a natural extension.
- How it is computed: The leaf coverage of a delegation event equals the number of its subtree leaves divided by the number of leaves in the whole tree, and the reward equals the root result multiplied by this ratio. When the root task fails, all delegation rewards for that tree are 0.
- Where it is applied: It is applied only to the tokens that write the delegation objective; execution tokens and rubric tokens do not receive this reward. The authors state that it helps little on shallow, nearly independent subtasks, and is more useful when there are dependency chains, shared state, or coordination.
Training the rubric with verified results
- Reason for not using task reward: The generator and solver share πθ. Optimizing the rubric with root task reward would make the two co-adapt, raising scores without improving actual quality.
- Counterfactual group: Only during rubric generation training, at each delegation point the environment state is cloned, and B rollouts are sampled for the same subtask. One continues the original recursive execution; the rest serve only as counterfactual data. In experiments B is 8. This extra sampling is not done in the execution and decomposition phases.
- Ranking: Each rollout is given a verified result by the environment verifier or external critic; the frozen rubric gives a score. Only ordered pairs where the verified result is strictly higher are kept, and groups that are all success or all failure are skipped. Verified results are used only for this objective; during ordinary execution the policy scores with its own frozen rubric. On both benchmarks the verified results are binary.
- The loss is Lrank=1/(|P|)∑(i,j)∈ Pmax(0,δ−si+sj), where P is the set of pairs with strictly higher verified results, and δ greater than 0 is the margin. The reward is the negative of this loss. The paper does not give the numerical value of δ.
Advantages, objectives, and inference reuse
- Three advantages: Each uses a leave-one-out baseline. The execution advantage uses the root results of other independent trees as the baseline, so an intermediate node with a high rubric score can receive positive credit even if the whole tree fails. The authors state that when depth is at least 1 there is no matched same-subtask control, and the root-group baseline is a usable compromise. The decomposition advantage first averages leaf rewards by tree and then leaves one out, avoiding trees with many delegations dominating the baseline. The rubric advantage leaves one out only on events that contain both success and failure.
- Loss: All three advantages use CISPO (Chen et al., 2025), that is, clipped importance sampling policy gradient, with the advantage term stop-gradient. Tokens are inverse-frequency weighted by depth, so that each recursion depth contributes equally to the gradient.
- Alternation: Each step activates only one objective, cycling through execution, decomposition, and rubric generation. The experimental ratio is 16 to 2 to 2. The authors state that in preliminary experiments execution training is the main driver of performance, and covers most tokens in the tree. The ratio can be adjusted by domain.
- Inference: The same rubric scores candidate node parses, keeping the higher one bottom-up; child node results are fixed first, then the parent node is selected. Section 4.3 takes N equal to 2, that is, one additional candidate is branched at each choice point. The introduction writes depth-first search and propagating the better parse upward.
What experiments did the paper conduct?
TextCraft averages 74.31%, TextWorld averages 65.07%, both for SERA (Table 1).
Experimental Setup
- Models: The reinforcement learning base is Qwen3-4B-Instruct-2507 for all, with Adam full-parameter fine-tuning. The prompt baseline is written as Qwen3-4B-Instruct. The external frontier model in Table 3 is written as Kimi; the external reviewer in Section 4.3 is written as Kimi-K3. The paper does not give the name of the LLM that assigns binary labels to counterfactual rollouts on TextWorld-Sync.
- Benchmarks: TextCraft-Synth is a procedurally generated environment, and subtasks have deterministic programmatic verifiers; it is divided into Easy, Medium, Hard, Extreme by recipe depth. Training uses a fixed 852 Medium, and evaluation uses 632 (147 / 213 / 136 / 136). TextWorld-Sync extends CookingWorld from TextWorldExpress, with a shared world and each agent having its own location and history; the seven types of coordination structures are in Table 8. Training uses 1500 (Medium 900, Hard 150, Extreme 450), validation uses 50 per tier, and testing uses 350 per tier, 1400 in total. The verified results for both benchmarks are binary.
- Baselines: Prompt single-agent and multi-agent; GRPO, CISPO without delegation; RAO. Ablations are RAO + D, RAO + RT, SERA w/o D & RT, SERA w/o D. D is the leaf coverage reward, and RT is rubric generation training. The composition is in Appendix Table 6.
- Metrics: Root task success rate (%), all determined by the environment's deterministic verification of the root task, not rubric scores. Avg. is the average of the four tiers weighted by task count. Table 1 is the mean plus or minus standard deviation of 3 seeds; Table 4 is three runs.
- Protocol: The recursive methods share the advantage estimation and CISPO of Section 3.5, and differ in reward and credit assignment. Each step has 8 root tasks, and each task has 8 trees; the root and each sub-agent have at most 20 steps, and recursion depth is at most 3; training temperature is 1.0; learning rate is 3×10−6. TextCraft-Synth reports 250 updates, and TextWorld-Sync reports 400. Within the same benchmark, the recursive methods have the same total update budget. Hardware is 2×8 H200s.
- Update ratio: SERA is 16 to 2 to 2. SERA w/o D is 16 to 0 to 2; RAO + D is 12 to 4 to 0; RAO + RT is 16 to 0 to 2; the execution-only variant is 1 to 0 to 0.
Main Results
According to Table 1, success rates are percentages.
Method TextCraft Avg. TextWorld Avg. Qwen3-4B-Instruct single-agent 23.10±0.42 13.00±0.29 GRPO 28.96±0.35 39.29±0.67 CISPO 33.07±0.22 38.86±0.35 Qwen3-4B-Instruct multi-agent 26.37±0.64 16.79±0.21 RAO 68.93±0.78 51.93±1.42 SERA w/o D 74.84±1.41 60.26±1.16 SERA 74.31±0.90 65.07±3.48 The table omits RAO + D, RAO + RT, SERA w/o D & RT. The single-agent is 0.00 on Hard and Extreme for both benchmarks.
- Average: The authors say SERA is the highest or second-highest average success rate on the two benchmarks. On TextCraft-Synth, the authors say SERA is 0.53 points lower than SERA w/o D; the abstract writes 5.38 and 13.14 points higher than the strong recursive baseline, and the main text compares against RAO.
- Delegation must be trained: The authors say the prompt multi-agent is only 3.27 and 3.79 points higher than the single-agent. RAO is 39.97 and 12.64 points higher than GRPO, and 35.86 and 13.07 points higher than CISPO.
- Training and execution rewards must be used together: SERA w/o D & RT is 72.26±0.18 and 51.10±0.15. The authors say it is only 3.33 points higher than RAO on TextCraft, and 0.83 points lower on TextWorld. After adding rubric training, the authors say SERA w/o D is 2.58 and 9.16 points higher than this variant, and 6.62 and 7.60 points higher on TextCraft's Hard and Extreme. RAO + RT still uses binary execution rewards, with TextCraft average 72.47% and TextWorld 45.62%, lower than RAO. The authors say that without rubric execution rewards, the trained criteria do not feed back into solving.
External Supervision Cost
Table 2 is cumulative to the end of training. TextCraft's subtask results come from programmatic verifiers; TextWorld's come from an external LLM.
- Calls: RAO's verifier calls are 550.94K, and SERA's are 257.96K, which the authors say is about 2.1 times. TextWorld reviewer calls go from 147.80K to 35.79K, which the authors say is 4.1 times; input tokens go from 633.80M to 125.32M, which the authors say is 5.1 times. SERA's output tokens are 4.27M, and RAO's are 16.13M.
- Where it is used: The authors say the labels are concentrated in rubric generation training, after which execution rewards are given locally by the learned evaluator. After removing rubric training, TextWorld external LLM calls are 0, but the average is only 51.10%. RAO + RT's reviewer calls rise to 251.46K, with input 847.18M.
Rubric Design Ablation
Table 3 changes only the generator, scorer and training method on TextCraft-Synth, and the execution rewards are all rubric scores, 3 seeds.
- Untrained: The policy both generates and scores, average 72.26%; Kimi generates and the policy scores, 71.41%; Kimi both generates and scores, 73.10%. The authors say self-generated rubrics differ from the external reviewer by within 0.84 points, and within seed noise. A single global policy rubric is 67.77%, which the authors say is 4.49 points lower, and they argue that rewriting criteria per delegated task is more useful than reusing one global criterion.
- Ranking training: Rank raises the average from 72.26% to 74.84%, and is 1.74 points higher than Kimi both generating and scoring at 73.10%, the authors say; Hard is 79.90 vs. 77.45, and Extreme is 11.52 vs. 4.17. The authors say the trained 4B policy scores its own rubrics and provides better execution rewards than this frontier external reviewer.
- Discrimination term: Adding the label-free discrimination reward of Ding et al. (2026) lowers the average to 65.77%, which the authors say is a drop of 9.07 points. The authors argue that score variance itself does not indicate that high scores correspond to successful execution.
Inference-Time Rubric Selection
Table 4 compares Qwen3-4B-Instruct without SERA training and the SERA policy on TextWorld-Sync. When N equals 2, each selection point splits off one more candidate, and the policy or Kimi-K3 applies the rubric; bottom-up, sub-results are fixed first. N equals 1 is a single rollout.
- SERA: Policy selection raises the average from 65.07% to 67.50%, which the authors say is an increase of 2.43 points; Extreme goes from 22.86% to 28.95%. Policy review 67.50% is close to Kimi-K3's 67.29%; Hard is 55.71% vs. 55.52%, and Extreme is 28.95% vs. 27.62%. The authors say the learned evaluator can be used for this selection without the external reviewer.
- Untrained: Policy review changes the average by −0.22 points (16.57%), Kimi review by +1.21 points (18.00%), and Hard and Extreme remain 0.00. The authors say that when there are no good enough candidates, selection cannot help the hardest tasks. After training, the gains of policy review and Kimi review are 2.43 and 2.22 points, and extend to the two harder tiers.
Other Ablations and Analyses
- RAO + D relative to RAO, the average change on the two benchmarks is 0.00 and −0.60 points (68.93% and 51.33%, Table 1).
- The authors say that when the decomposition reward and the rubric execution reward are used together, SERA is 4.81 points higher than SERA w/o D on TextWorld, Hard +8.58, Extreme +17.43; on TextCraft it is 0.53 points lower.
- TextCraft Extreme: SERA 6.13±0.85, SERA w/o D 11.52±2.25. TextWorld Medium: SERA 84.95±2.86, SERA w/o D 92.57±1.48, RAO 85.62±2.29 (Table 1).
- Rank+Disc. Hard is 52.45±5.00, Extreme is 2.94±0.74 (Table 3).
- Wall clock to the evaluated checkpoint: SERA is 24h06m (TextCraft) and 24h14m (TextWorld); RAO is 29h36m and 13h08m (Table 7). The authors say that on TextWorld, SERA trades longer training time for the 13.14-point average gain in the abstract.
- Prompt multi-agent on TextCraft Hard is 0.49±0.85, Extreme is 0.00; on TextWorld Hard and Extreme are both 0.00 (Table 1).
What are some points that can be further explored?
The authors state that only Qwen3-4B and two synthetic benchmarks were evaluated, and robustness under sparser verification remains open.
Limitations and future directions noted by the authors
- Models and tasks: Only Qwen3-4B and two synthetic benchmarks were evaluated; generalization to larger models and real-world agent tasks remains untested (Conclusion).
- Self-evaluation being gamed: The policy both writes and uses its own rubric, so self-evaluation may be gamed by scores that deviate from true task success. The authors mitigate this with training only against verified results; unlabeled scattered rewards would reduce performance (Conclusion, pointing to Section 4.2).
- Sparser or noisier verification: Robustness under such settings remains open (Conclusion).
- Still depends on verified results: The remaining dependence of anchored rubric training on verified results remains open (Conclusion, pointing to Table 2).
- Equal leaf weighting: The leaf coverage reward treats all leaf nodes equally; subtask-level importance weights might improve decomposition training (Conclusion; Section 3.3 also states this is a natural extension).
- Future directions: Learning rubrics that generalize across tasks; using rubrics to guide exploration during training; extending self-evaluation to settings where root results also cannot be precisely verified (Conclusion).
Experimental coverage
- The policy trained and reported per method is Qwen3-4B-Instruct-2507; prompts and the untrained control are written as Qwen3-4B-Instruct. External rubric controls are Kimi (Table 3) and Kimi-K3 (Table 4).
- The benchmarks are TextCraft-Synth and TextWorld-Sync. The former trains on 852 Medium and evaluates on 632 across four tiers; the latter trains on 1500 (Medium 900, Hard 150, Extreme 450), and tests on 1400 with 350 per tier (Appendix C, Table 5).
- Recursion depth is at most 3, and each agent has at most 20 steps; each update has 8 root tasks and 8 trees per task. The success rates in Table 1 are from 3 seeds, given by deterministic environment verification of the root task (Section 4).
- TextCraft's subtask labels come from a program verifier; TextWorld's rubric training labels come from an external LLM's binary success or failure. The paper does not report the name of this LLM, nor the numerical value of the ranking margin δ.
- The rubric design ablation in Table 3 is written on TextCraft-Synth; the inference-time selection in Table 4 is written on TextWorld-Sync, with N of 1 and 2. The paper also reports cumulative external calls and tokens (Table 2) and wall-clock time to checkpoint (Table 7).
Summarize the main content of the paper
SERA trains a recursive agent with a self-written rubric and a leaf coverage reward, and then selects at inference.
SERA trains a recursive language model agent, letting the same set of weights simultaneously decompose tasks, solve subtasks, and evaluate results.
- Problem: Final results are verifiable, but self-created intermediate subtasks have no ground truth. The binary signal given by a per-node verifier or critic is both coarse and expensive, and does not evaluate whether the decomposition is appropriate. Untrained criteria are not aligned with success; training the rubric with task reward would co-adapt with solving.
- Approach: Before delegation, the parent node writes weighted success criteria and freezes them. Solving uses the policy's own rubric score; criterion generation uses only a ranking loss against verified success or failure, and external checks do not directly give execution rewards to nodes. Decomposition is scored by the ratio of subtree leaf nodes to the whole tree's leaf nodes, and is 0 if the root task fails. The three signals alternate updates at 16 to 2 to 2. At inference, the rubric is used to select candidate parses bottom-up.
- Results: The base is Qwen3-4B-Instruct-2507. In Table 1, SERA's weighted average success rate is 74.31% on TextCraft-Synth and 65.07% on TextWorld-Sync; the authors state it is 5.38 and 13.14 points higher than RAO. On TextCraft, SERA w/o D is 74.84%, higher than full SERA. RAO + RT averages 45.62% on TextWorld, lower than RAO's 51.93%. In Table 4, policy critique with N equal to 2 raises the TextWorld average from 65.07% to 67.50%.
- Authors' conclusion: The authors state that training the policy to generate rubrics aligned with verified results is the main source of gains; the same set of weights both evaluates and executes, and learning to judge subtasks changes how solving is done. This rubric confines external checks to criterion training and can continue to select branches at inference. The authors also list larger models, real tasks, sparser or noisier verification, and the remaining dependence on verified results and equal weighting of leaf nodes as still open questions.