Papers › AdaCtrl: Towards Adaptive and Controllable Reasoning via Difficulty-Aware Budgeting

AdaCtrl: Towards Adaptive and Controllable Reasoning via Difficulty-Aware Budgeting

24 May 2025arXiv:2505.18822archive 2025-07-28

Shijue Huang, Hongru Wang, Wanjun Zhong, Zhaochen Su, Jiazhan Feng, Bowen Cao, Yi R. Fung

Modern large reasoning models demonstrate impressive problem-solving capabilities by employing sophisticated reasoning strategies. However, they often struggle to balance efficiency and effectiveness, frequently generating unnecessarily lengthy reasoning chains for simple problems. In this work, we propose AdaCtrl, a novel framework to support both difficulty-aware adaptive reasoning budget allocation and explicit user control over reasoning depth. AdaCtrl dynamically adjusts its reasoning length based on self-assessed problem difficulty, while also allowing users to manually control the budget to prioritize either efficiency or effectiveness. This is achieved through a two-stage training pipeline: an initial cold-start fine-tuning phase to instill the ability to self-aware difficulty and adjust reasoning budget, followed by a difficulty-aware reinforcement learning (RL) stage that refines the model's adaptive reasoning strategies and calibrates its difficulty assessments based on its evolving capabilities during online training. To enable intuitive user interaction, we design explicit length-triggered tags that function as a natural interface for budget control. Empirical results show that AdaCtrl adapts reasoning length based on estimated difficulty, compared to the standard training baseline that also incorporates fine-tuning and RL, it yields performance improvements and simultaneously reduces response length by 10.06% and 12.14% on the more challenging AIME2024 and AIME2025 datasets, which require elaborate reasoning, and by 62.05% and 91.04% on the MATH500 and GSM8K datasets, where more concise responses are sufficient. Furthermore, AdaCtrl enables precise user control over the reasoning budget, allowing for tailored responses to meet specific needs.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.18822")

Code

Syntology Ran 2 of 15 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 15 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

joeying1019/adactrl officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 2 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
13unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from joeying1019/adactrl. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

union_tensor_dict joeying1019/adactrl/verl/protocol.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 21331a58f93375e4 · report
unpad_dataproto joeying1019/adactrl/verl/protocol.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 25f0ea3f460f6ce1 · report
check_conversation_format joeying1019/adactrl/utils/data_utils.py official repository unverified Apache-2.0 (permissive) · 875194b0e06d05e1 · report
compute_ce_dpo_loss_rm joeying1019/adactrl/recipe/prime/prime_core_algos.py official repository unverified Apache-2.0 (permissive) · de3d16d0873508ea · report
compute_detach_dpo_loss_rm joeying1019/adactrl/recipe/prime/prime_core_algos.py official repository unverified Apache-2.0 (permissive) · b0af30a76b102578 · report
get_generation_config joeying1019/adactrl/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · 660713a8fa047736 · report
get_huggingface_actor_config joeying1019/adactrl/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · fe79c459a3e4cc64 · report
get_weight_loader joeying1019/adactrl/verl/models/weight_loader_registry.py official repository unverified Apache-2.0 (permissive) · af005d03c2088909 · report
get_weight_saver joeying1019/adactrl/verl/models/weight_loader_registry.py official repository unverified Apache-2.0 (permissive) · 914227ac881d05be · report
is_digit joeying1019/adactrl/utils/openmathinst_utils.py official repository unverified Apache-2.0 (permissive) · 2a180d3156997924 · report
normalize joeying1019/adactrl/utils/openmathinst_utils.py official repository unverified Apache-2.0 (permissive) · 6b11d915b45fae0d · report
normalize_answer_string joeying1019/adactrl/utils/openmathinst_utils.py official repository unverified Apache-2.0 (permissive) · 11d097e9be003804 · report
read_json joeying1019/adactrl/utils/data_utils.py official repository unverified Apache-2.0 (permissive) · dd9ca8cdc6aa690d · report
read_jsonl joeying1019/adactrl/utils/data_utils.py official repository unverified Apache-2.0 (permissive) · 82f198e67affc0bb · report
squeeze joeying1019/adactrl/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · 3b15e2ac7497c441 · report

Tasks

GSM8KReinforcement Learning (RL)

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections