More: Mode-Optimized Reasoning with Self-Adaptive Effort for Self-Evolving Agents
Organizations: Beihang University · Huazhong University of Technology
Abstract
Self-evolving training improves the performance of agents on difficult tasks through verifiable feedback, but it often applies costly deliberation uniformly across tasks. To address this problem, we propose Mode-Optimized Reasoning with Self-Adaptive Effort (MORE), a self-evolving training framework that adaptively selects both reasoning form and computational effort for each task. Specifically, MORE follows a two-stage training paradigm: (i) Stage 1 establishes a compact prior over direct answering, short and long chain-of-thought, and code-based reasoning, and (ii) Stage 2 self-evolves this prior with Mode-Adaptive and Test-time Effort PPO (MATE-PPO) on generated, verifiable task streams without curated data. By learning mode selection and token expenditure jointly, MORE allocates concise reasoning to tasks that permit it while retaining extended deliberation where it is useful. Across coding, mathematics, and general-reasoning benchmarks, MORE achieves consistent performance gains on Base and Coder backbones at model scales from 3B to 14B. During inference, MORE demonstrates higher accuracy and better efficiency, with markedly shorter response lengths and reduced inference time.
Figures & tables
| Model | HE + | MBPP + | LCB | CAvg | A24 | A25 | AMC | M500 | Min. | Oly. | MAvg | GSM8K | M-Pro | AVG |
| Base Models | ||||||||||||||
| Qwen2.5-7B-Base [ 19 ] | 73.2 | 65.3 | 17.5 | 52.0 | 6.7 | 3.3 | 37.5 | 64.8 | 25.0 | 27.7 | 27.5 | 80.4 | 47.6 | 51.9 |
| Qwen2.5-Coder-7B [ 9 ] | 80.5 | 69.3 | 19.9 | 56.6 | 6.7 | 3.3 | 40.0 | 54.0 | 17.3 | 21.9 | 23.9 | 72.2 | 42.5 | 48.8 |
| Qwen2.5-Math-7B [ 28 ] | 61.0 | 57.9 | 16.2 | 45.0 | 10.0 | 16.7 | 42.5 | 64.2 | 15.4 | 28.0 | 29.5 | 73.5 | 39.8 | 47.0 |
| Zero-Style Reasoners: Curated Coding Data | ||||||||||||||
| AceCoder-RM [ 29 ] | 78.0 | 66.4 | 27.5 | 57.3 | 13.3 | 3.3 | 27.5 | 62.6 | 29.4 | 29.0 | 27.5 | 83.7 | 43.2 | 52.9 |
| Metric | Model | Code Avg | Math Avg | GSM8K | MMLU-Pro |
|---|---|---|---|---|---|
| Response Length Avg | Qwen2.5-7B-Base | 394.2 | 3975.7 | 499.2 | 553.3 |
| AZR-7B | 603.7 | 4468.2 | 412.6 | 485.4 | |
| MORE -7B | 291.5 | 3173 | 195.9 | 351.7 | |
| Qwen2.5-7B-Coder | 366.7 | 4225.1 | 418.5 | 501.0 | |
| AZR-Coder-7B | 537.4 | 5769.3 | 322.5 | 537.9 | |
| MORE -Coder-7B | 191.73 | 3015.9 | 105.1 | 303.4 |
| Method | HE + | MBPP + | LCB | CAvg | A24 | A25 | AMC | M500 | Min. | Oly. | MAvg | GSM8K | M-Pro | AVG |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Qwen2.5-Coder-7B (Base) | 80.5 | 69.3 | 19.9 | 56.6 | 6.7 | 3.3 | 40.0 | 54.0 | 17.3 | 21.9 | 23.9 | 72.2 | 42.5 | 48.8 |
| Base +10K | 80.9 | 69.7 | 21.4 | 57.3 | 6.7 | 3.3 | 42.4 | 55.2 | 17.1 | 22.2 | 24.5 | 71.9 | 42.8 | 49.1 |
| Base + Stage 1 | 77.3 | 65.7 | 13.7 | 52.2 | 3.3 | 0.0 | 34.8 | 50.1 | 11.5 | 19.6 | 19.9 | 70.0 | 39.1 | 45.3 |
| Base + Stage 2 | 81.1 | 67.4 | 20.4 | 56.3 | 3.3 | 3.3 | 39.4 | 52.7 | 17.8 | 19.5 | 22.7 | 71.6 | 40.7 | 47.8 |
| AZR-Coder-7B | 83.5 | 69.6 | 31.7 | 61.6 | 20.0 | 10.0 | 57.5 | 72.6 | 36.4 | 38.2 | 39.1 | 72.5 | 44.6 | 54.4 |
| AZR +10K | 84.0 | 68.3 | 32.6 | 61.6 | 20.0 | 13.3 | 58.0 | 72.9 | 36.8 | 38.3 | 39.9 | 72.7 | 44.5 | 54.7 |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
|---|---|
| Shared runtime | |
| Accelerators | NVIDIA A100 (80 GB) |
| Numerical precision | BF16 mixed precision |
| Stage-2 rollout tensor parallelism | TP |
| Stage 1: mode-format SFT | |
| SFT method | All-target LoRA |
| Model | Data Curation | Base Model |
|---|---|---|
| Qwen2.5-7B-Base [ 19 ] | N/A (off-the-shelf base checkpoint) | Qwen2.5-7B-Base |
| Qwen2.5-Coder-7B [ 9 ] | N/A (off-the-shelf base checkpoint) | Qwen2.5-Coder-7B |
| Qwen2.5-Math-7B [ 28 ] | N/A (off-the-shelf base checkpoint) | Qwen2.5-Math-7B |
| Qwen2.5-Coder-3B [ 9 ] | N/A (off-the-shelf base checkpoint) | Qwen2.5-Coder-3B |
| Qwen2.5-14B-Base [ 19 ] | N/A (off-the-shelf base checkpoint) | Qwen2.5-14B-Base |
| Qwen2.5-Coder-14B [ 9 ] | N/A (off-the-shelf base checkpoint) | Qwen2.5-Coder-14B |
| Family | Proposed task state | Solver target | Execution check |
|---|---|---|---|
| Input recovery (abduction) | Executable function and an input ; execution supplies | Recover from | Check |
| Output prediction (deduction) | Executable function paired with input | Predict from | Compare with |
| Function induction | Inputs for a latent executable function; execution supplies visible and hidden I/O pairs | Synthesize from visible pairs | Run on every hidden pair |
| Group | Implemented coordinates |
|---|---|
| Code structure | Python AST depth; branch, loop, nested-loop, call, and function counts; recursion flag; expression depth; and list/dict/set/tuple counts. Non-Python tasks are represented by the remaining structural and semantic coordinates. |
| Prompt artifacts | Code-block, test/assert, stub, I/O-example, bug, and constraint cues; word and nonempty-line counts; input, output, and pattern cues. |
| Task semantics | One-hot family and subtype; family-specific deduction-path, abduction-cause, or induction-pattern indicators; input-contract or output-state indicators; reference-text presence. |
| Verifier shape | One-hot input, output, error, and function targets together with the corresponding contract, trace, error-surface, and function-check burden indicators. |
| General/behavior | General semantic coordinates: text length, code presence, and constraint count. For every UID: rolling success mean, success variance, response-length mean, and a scalar structural score complementing the supplied coordinates. |
| Difficulty | direct | short | long | code |
|---|---|---|---|---|
| easy | ||||
| medium | ||||
| hard |
| Difficulty | direct | short | long | code |
|---|---|---|---|---|
| easy | 16–128 | 96–384 | 384–1536 | 128–768 |
| medium | 32–256 | 160–768 | 768–3072 | 256–1536 |
| hard | 64–512 | 256–1024 | 1024–4096 | 512–3072 |
| Model | Variant | HE + | MBPP + | LCB | CAvg | A24 | A25 | AMC | M500 | Min. | Oly. | MAvg | GSM8K | M-Pro | AVG |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Qwen2.5-Coder-3B [ 9 ] | – | 67.1 | 65.9 | 20.0 | 51.0 | 3.3 | 3.3 | 20.0 | 51.0 | 18.4 | 16.6 | 18.8 | 69.4 | 38.3 | 44.4 |
| AZR-Coder-3B [ 31 ] | +AZR | 71.3 | 69.0 | 24.4 | 54.9 | 3.3 | 3.3 | 37.5 | 62.0 | 26.1 | 27.0 | 26.5 | 71.3 | 40.3 | 48.3 |
| MORE -Coder-3B | +MORE (Ours) | 72.9 | 68.8 | 25.1 | 55.6 | 3.3 | 6.7 | 38.6 | 63.1 | 27.6 | 28.7 | 28.0 | 73.3 | 42.5 | 49.9 |
| Qwen2.5-14B-Base [ 19 ] | – | 78.0 | 66.7 | 21.7 | 55.5 | 6.7 | 3.3 | 35.0 | 66.2 | 28.3 | 32.4 | 28.7 | 84.0 | 40.1 | 52.1 |
| AZR-14B [ 31 ] | +AZR | 70.7 | 68.8 | 35.2 | 58.2 | 10.0 | 20.0 | 62.5 | 76.2 | 40.4 | 42.5 | 41.9 | 85.2 | 41.9 | 56.8 |
| MORE -14B | +MORE (Ours) | 75.4 | 68.5 | 37.3 | 60.4 | 10.0 | 16.7 | 65.7 | 75.1 | 42.8 | 42.9 | 42.2 | 87.6 | 42.3 | 58.1 |
| Policy | Code Avg | Math Avg | GSM8K | MMLU-Pro | ||||
|---|---|---|---|---|---|---|---|---|
| Acc. | RLA | Acc. | RLA | Acc. | RLA | Acc. | RLA | |
| Fixed direct | 49.4 | 77.4 | 33.7 | 537.5 | 60.7 | 43.8 | 37.5 | 153.3 |
| Fixed short_cot | 51.2 | 103.7 | 37.4 | 1,216.8 | 67.4 | 87.7 | 43.2 | 254.6 |
| Fixed long_cot | 61.6 | 405.8 | 43.1 | 4,762.3 | 79.1 | 122.4 | 46.9 | 435.7 |
| Fixed code | 55.3 | 156.5 | 39.2 | 2,066.1 | 70.9 | 91.6 | 41.3 | 269.0 |
| Adaptive MORE -Coder-7B | 62.8 | 191.7 | 42.8 | 3,015.9 | 77.8 | 105.1 | 46.0 | 303.4 |