Learning When to Ask: Advisor-Aware Post-Training for SLM Agents
Organizations: Phi Labs, Quantiphi
Abstract
Small language models (SLMs) are increasingly attractive for cheap, high-throughput agentic deployment, but they remain weak at multi-step reasoning and tool use that long-horizon tasks demand. We study how to post-train an SLM to seek advice from a stronger model and act on that advice itself, following an advisor-executor pattern. Out of the box, this pattern fails across open- and closed-source small-model families: wiring an SLM to an advisor is a harness-design matter that is not enough on its own. A post-training recipe is needed to teach the model when to ask, in a cost-aware fashion, and how to follow advice across steps. Our method, ADAPT (ADvisor-Aware Post-Training), is a multi-stage recipe that instills this behavior, learning entirely from the policy's own rollouts supervised by the environment's outcome, with no learned reward model or human annotation. Across three domains, compared to an untrained harness baseline, ADAPT improves success rate in embodied text reasoning (TextWorld) from 24.5% to 77.3%, code generation (LiveCodeBench) from 21.8% to 56.0%, and deep web search (GAIA) from 17.5% to 49.3%, while querying the advisor sparingly (~1.0-2.1 calls per task). On the two long-horizon domains it closes 70-85% of the gap to an oracle that perfectly times when to ask for advice, and on code generation it exceeds that oracle. The gains persist when the advisor is replaced by one unseen in training, showing that the learned help-seeking policy is robust to a changing advisor rather than tied to the one it was trained with.
Figures & tables
| TextWorld | LCB-stdin | GAIA-Text | |||||||
| Model | SR% (s a) | ask/ep | Orc% | SR% (s a) | ask/ep | Orc% | SR% (s a) | ask/ep | Orc% |
| Open-weight | |||||||||
| Qwen3-8B | 0.12 \color blue | 86 | 0.88 \color blue | 52 | 0.11 \color blue | 62 | |||
| Llama-3.1-8B | 0.15 \color blue | 54 | 0.72 \color blue | 46 | 0.80 \color blue | 28 | |||
| Closed | |||||||||
| Gemini 3.5 Flash-Lite | 3.2 \color red | 89 | 2.25 \color red | 74 | 4.14 \color red | 71 | |||
| TextWorld | LiveCodeBench-stdin | GAIA-Text | |||||||
| Method | SR | Ask/ep | %Ask | SR | Ask/ep | %Ask | SR | Ask/ep | %Ask |
| Out-of-the-box (Qwen-3 8B+Advisor) | |||||||||
| Neutral | 24.5 | 0.10 | 11 | 21.8 | 0.06 | 9 | 17.5 | 0.08 | 9.6 |
| Nudged | 28.2 | 0.12 | 13.5 | 35.1 | 0.88 | 64.1 | 19.4 | 0.112 | 12.5 |
| RFT ( Yuan et al., 2023 ) (SFT) | 58.7 | 0.18 | 19.62 | 48.25 | 1.01 | 60 | 36.8 | 0.15 | 13.33 |
| Step-DPO ( Lai et al., 2024 ) (DPO) | 66.1 | 3.82 | 61.5 | 49.33 | 2.25 | 77.1 | 39.8 | 3.12 | 75.5 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Pair | Source | Selection criterion | chosen / rejected | Teaches |
|---|---|---|---|---|
| Ask | unsolved | ask / act | when to ask | |
| Abstain | solved | act / ask | when not to ask | |
| Follow | both | advice followed / drifted | how to use advice |
| Benchmark | Domain | Harness | Tools | Success | Hor. | Train / Test |
|---|---|---|---|---|---|---|
| TextWorld | embodied control | AgentBench-FC ( Liu et al., 2024 ) | take_action , ask_advisor | win flag | 20 | 600 / 109 |
| LiveCodeBench-stdin | code generation | ours, cf. R2V ( Hemadri et al., 2026 ) | write_code , run_tests , submit , ask_advisor | tests pass | 10 | 323 / 134 |
| GAIA-Text | deep web search | CK-Pro ( Fang et al., 2025 ) | search , browse , ask_advisor | Exact match | 15 | 680 / 103 |
| TextWorld | LiveCodeBench-stdin | GAIA-Text | ||||
| Advisor | SR | a/ep | SR | a/ep | SR | a/ep |
| ADAPT policy (Qwen3-8B) advisor | ||||||
| Gemini 3.7 Flash (train) | 77.3 | 1.09 | 56.0 | 1.02 | 49.3 | 2.12 |
| DeepSeek V4 Flash | 68 | 1.45 | 53 | 1.15 | 42 | 2.4 |
| Claude Opus 4.8 | 79 | 1.1 | 62 | 1.1 | 57 | 2.3 |
| Advisor only (solo) | ||||||
LLM Post-Training
Large language model post-training adapts pretrained models into more useful, reliable, and specialized assistants through supervised and preference-based learning.
See all 263 papers