← All papers  /  Oct 20, 2026
Agents

Rewards for Budget-Aware Multi-Turn Agents That Adapt to Arbitrary Test-Time Constraints

First page
Rewards for Budget-Aware Multi-Turn Agents That Adapt to Arbitrary Test-Time Constraints
The curator’s take

Tom A. Lamb (University of Oxford, work done at Apple) with Adam Golinski, Eleonora Gualdoni, Sinead Williamson and Michael Kirchhof at Apple study whether a multi-turn agent can learn to spend a user-stated budget by itself, and compare eleven reward objectives for teaching that behavior.

Ask this paper

Key points
01

Setup. Qwen3.5 models at 4B and 9B are trained on AppWorld with budgets over tokens, API calls and environment steps, and on BabyAI with turn budgets. One policy is trained per environment and resource type, across a range of budget values.

02

Overspend penalties work. Rewards that penalize overspending substantially raise within-budget success and natural compliance compared with untrained models and with training on task success alone. Agents adapt their resource use to the stated budget and to task difficulty.

03

Generalization. The gains hold for budget values not seen in training and, zero-shot, for a shifted task distribution and a new benchmark.

04

Which reward. A sigmoid overspend penalty most often gives the highest within-budget success at a single budget, a fixed negative reward gives the strongest compliance, and combining frequency and magnitude penalties has the smallest average gap to the best method at each budget.

Abstract

Large language model agents are often given an inference budget and asked to maximise success within it. A multi-turn agent has to allocate this budget across many environment interactions. An external harness can enforce the budget, but it remains unclear whether the agent itself can learn when and how much to spend. We ask whether agents can learn this allocation across dynamically specified budgets and which rewards best teach this behaviour. We adapt existing length penalties to budget constraints spanning multiple resource types, introduce new reward formulations, and compare eleven objectives in a shared training pipeline. We train Qwen3.5 models at 4B and 9B on AppWorld with budgets over tokens, API calls, and environment steps, and on the BabyAI gridworld with turn budgets. We train a separate policy for each environment and resource type, with each policy trained across budget values. Training with rewards that penalise overspending substantially improves within-budget success and natural compliance over untrained models and over training on task success alone, with agents learning to adapt their resource use to stated budgets and task difficulty. These gains extend to unseen budgets and, zero-shot, to a shifted task distribution and a new benchmark. Reward objectives trade off success within budget and natural compliance. A sigmoid penalty for overspending most often achieves the highest within-budget success at an individual budget, while a fixed negative reward for overspending generally yields the strongest natural compliance. Combining penalties for overspend frequency and magnitude gives the smallest average gap to the best method at each budget. Overall, we show that a single agent can learn to allocate resources across turns and adapt its behaviour to user-specified budgets using budget feedback without external budget-allocation controllers.

Every Monday
Get next week’s papers.
Subscribe on Substack