When Should a Robot Think? Resource-Aware Reasoning via Reinforcement Learning for Embodied Robotic Decision-Making

Jun Liu, Pu Zhao, Zhenglun Kong, Xuan Shen, Peiyan Dong, Fan Yang, Lin Cui, Hao Tang, Geng Yuan, Wei Niu, Wenbin Zhang, Xue Lin, Gaowen Liu, Yanzhi Wang, Dong Huang · DOI

TL;DR

Large Language Models (LLMs) give robots high-level "brains," but they are slow and expensive to invoke. This paper introduces RARRL, a reinforcement learning framework that teaches a robot to decide in real-time whether it needs to stop and "think" (invoke an LLM) or simply "act" (execute a low-level command), optimizing for both task success and computational efficiency.

What Problem Does This Paper Address?

The integration of LLMs into embodied robotics has created a "thinking vs. doing" dilemma. While LLMs excel at complex planning and error recovery, they introduce significant latency and resource costs (tokens/money).

Current robotic systems usually handle this in one of two ways: they either "think" at every single step (which is slow and expensive) or use rigid heuristics (e.g., "re-plan every 5 steps"). Neither approach is ideal. A robot shouldn't need a 175-billion-parameter model to decide to continue walking down an empty hallway, but it should probably stop and think if it hits a dead end. The challenge is creating an agent that can adaptively manage its "cognitive budget" based on the complexity of the environment and its own history of success or failure.

Methods

The authors propose RARRL (Resource-Aware Reasoning via Reinforcement Learning). Key components include:

  • The Orchestrator: A high-level RL policy (trained via PPO) that sits above the robot's physical controller. At each step, it looks at the task state, the execution history, and the remaining computational budget.
  • Action Space: Instead of moving joints, the orchestrator chooses between:
  • ACT: Directly execute a pre-defined high-level action (like Navigate or Pick).
  • THINK: Invoke an LLM. The agent also chooses a role (e.g., Planner vs. Verifier) and a budget (how many tokens the LLM is allowed to generate).
  • Reward Function: The agent is rewarded for task completion but penalized for "wall-clock" latency and failures. This forces the RL policy to find the "sweet spot" where it only thinks when the potential for success outweighs the cost of time.
  • Hierarchical Decoupling: RARRL manages the decision to reason without needing to modify the underlying LLM or the low-level motor controllers, making it modular and easy to plug into existing systems.

Datasets

The researchers evaluated RARRL using two main avenues:

  1. ALFRED Benchmark: A challenging dataset for "Long-horizon Instruction Following" in the AI2-THOR simulator (e.g., "Put a chilled slice of tomato on the table"). They used empirical latency profiles from GPT-4o-mini to make the simulation realistic.
  2. Abstract Task Scenarios: Custom-designed MDPs for Navigation, Inspection, and Delivery used to stress-test the agent’s logic under controlled uncertainty and "budget shocks."

Key Insights and Ideas

  • Reasoning as a Costly Action: The core "aha" moment is treating LLM inference not as a default state, but as a high-cost tool. By assigning a mathematical penalty to latency, the robot naturally learns "common sense" behaviors—like acting autonomously during routine stages and only calling for help when things get complicated.
  • Budget Awareness: The agent is explicitly aware of its remaining resources. If the budget is slashed mid-task (a "budget shock"), the agent shifts to an "action-heavy" strategy to try and finish the task before it runs out of "thought" capacity.
  • History Matters: By including execution history in the RL state, the robot learns that if it has failed the same action three times in a row, it’s time to stop and invoke the "Verifier" role to figure out why.

Key Results

  • Efficiency Gains: On the ALFRED benchmark, RARRL reduced LLM inference time by over 60% compared to "always-on" reasoning while maintaining similar or better success rates.
  • Token Savings: In structured navigation tasks, RARRL achieved high success using only 580 tokens per episode, compared to 4,100 tokens for full reasoning—an 85% reduction in cost.
  • Robustness: When faced with "latency uncertainty" (simulating a laggy internet connection to the LLM API), RARRL’s performance degraded much more gracefully than fixed heuristic strategies. It simply learned to rely more on its internal "ACT" policy.

Limitations and Future Work

  • Abstract Training: The orchestrator is currently trained on abstract representations of tasks. While it transfers well to simulators like AI2-THOR, training directly on raw sensor data (pixels-to-orchestration) remains a future challenge.
  • Fixed LLM Roles: The "roles" (Planner/Verifier) are currently pre-defined. Future iterations could allow the RL agent to dynamically prompt the LLM in more creative, unstructured ways.
  • Hard Constraints: The current model uses "soft" penalties for exceeding budgets. In safety-critical real-world applications, the authors suggest moving toward "hard" constraints using Lagrangian MDP methods to ensure the robot never exceeds a specific time or energy limit.

Summary updated

BibTeX
@misc{liu2026when,
  author = {Jun Liu and Pu Zhao and Zhenglun Kong and Xuan Shen and Peiyan Dong and Fan Yang and Lin Cui and Hao Tang and Geng Yuan and Wei Niu and Wenbin Zhang and Xue Lin and Gaowen Liu and Yanzhi Wang and Dong Huang},
  title = {{When Should a Robot Think? Resource-Aware Reasoning via Reinforcement Learning for Embodied Robotic Decision-Making}},
  year = {2026},
  eprint = {2603.16673},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.16673},
}

Loading related content...

Figure