betaFeedback

WorksComputer Science

Staleness Deadlines for Motion Plans during Onboard Reasoning

Abstract

Language models may enable general autonomy in robot planning, but onboard their reasoning can run for most of a minute while the robot and nearby pedestrians keep moving. The robot must then decide how long to follow a plan that the pending answer may overturn. Here we present staleness deadlines, which hand that decision to the robot's clock. Calibrated prediction regions for pedestrians and deviation tubes for the robot set the deadline. When the language model answers, a graph planner rebuilds the route, which the robot adopts only after it passes the same clearance check against walls and predicted pedestrians. Exact binomial tests determine which prespecified budget-selection policies keep close calls, wrong decisions and late arrivals below their targets at each inference profile. Candidate policies either fix one budget or set each query's budget from how long the robot can continue its plan before it must brake. We study corridor signs that close routes and delivery requests whose destination the language model must infer. In 81,000 simulated missions with recorded Qwen3-4B answers, full reasoning cuts wrong decisions about twentyfold, and tracking until the deadline cuts late arrivals by up to 64%. The robot never collides while it moves, although pedestrians who never yield still walk into the stopped robot in 23% of offline and 32% of live missions. On a Jetson AGX Orin under perception load, short budgets fail the wrong-decision target, and full reasoning the lateness target. Between these extremes, a fixed-budget policy passes for corridor signs and per-query policies pass for deliveries. Live Orin runs match offline replay on all three losses in 24 of the 32 missions where either run records a loss. The deadline turns slower reasoning into measurable mission outcomes, which let designers test how much reasoning each inference profile can support.

Introduction

Mobile robots increasingly use natural-language information such as route restrictions and delivery requests to decide where to go and what to do (Figure 1a,Figure 1b). Language models supply the open-world knowledge needed to interpret such messages [1, 2], yet accurate interpretation and capable motion control do not automatically compose into safe, timely missions [3]. When Qwen3-4B [4] answers immediately, it sends our robot into a closed corridor in about one run in four. Full reasoning cuts this to about one run in a hundred, yet the answer can take most of a minute on a Jetson AGX Orin. During that minute the people around the robot keep walking, so how long it may keep following a plan that the answer may overturn becomes a control decision in its own right.

Corridor sign, delivery request, checked switch, and robot planning timeline

Figure 1. (a,b) A corridor sign and a delivery request. (c) The latest checked switch TsafeT_{\mathrm{safe}} from tracking to braking. (d) The robot tracks its current plan during reasoning, brakes at the deadline, and adopts a revised plan after a timed clearance check.

Existing systems allocate reasoning effort [5, 6, 7, 8, 9], accelerate inference [10, 11], or overlap inference and execution [12]. In the closest work [13], a vehicle falls back on a verified emergency maneuver whenever a new plan fails a check that finishes within milliseconds and covers every position other road users could legally reach. Onboard reasoning allows neither luxury as the language model’s answer may arrive after most of a minute or never, and over such a wait the reach of a walking pedestrian spans the whole corridor. We therefore bound pedestrians with calibrated prediction regions instead.

We present staleness deadlines for motion plans, which move the boundary between reasoning and control from the language model’s answer to the robot’s clock. A plan grows stale as the people it was checked against move on, and the deadline marks the last moment at which the robot can still switch from the stale plan to braking without coming too close to anyone. A clock monitor brakes at the deadline unless a plan built from the answer passes the same check in time (Figure 1c,Figure 1d). Our contributions are as follows.

  1. Staleness deadlines (§ 3) that carry fail-safe planning [14, 15, 13] over to reasoning with no time bound. The deadline plays the role of the time-to-react in [13], with conformal pedestrian regions and robot tubes in place of set-based reachability.

  1. Mission-level reasoning-budget qualification that determines which prespecified fixed-budget and per-query policies keep close calls, wrong decisions and late arrivals below their targets with at least 95% family-level confidence within each task and inference profile.

  1. Onboard evaluation showing inexpensive offline replay anticipates losses of live Orin missions.

Problem setting

A planar robot with state x∈R4x \in\mathbb{R}^{4} (position, heading and speed) follows routes through a building while simulated pedestrians walk past. In each mission, a language model interprets one message, either a corridor sign or a delivery request. A graph planner turns that interpretation into a connected route, and a tracking controller drives the robot along it.

Each mission records three binary losses. A close call is contact with a wall or a pedestrian while the robot moves, or a separation below 10 cm. A wrong decision is entry into a closed corridor or a failed delivery. A late arrival exceeds the time limit TlateT_{\mathrm{late}} or never finishes. Contact at rest counts separately as a stopped contact. A reasoning budget kk caps the tokens the language model may spend thinking before it answers. A reasoning policy qq either fixes one budget for every query or uses a prespecified rule to choose a budget for each query. The risk Ri(q)R_i(q) is the probability of loss i∈{close,wrong,late}i \in\{\mathrm{close},\mathrm{wrong},\mathrm{late}\} under that policy. Let Q\mathcal{Q} denote the family of reasoning policies fixed before certification.

While the language model thinks, a tracking controller πp0\pi_{p_0} follows the current plan p0p_0 until a switch time ss, after which a braking controller πb\pi_b brings the robot to rest within TbT_b. We seek the latest safe switch TsafeT_{\mathrm{safe}}, together with a certified subset Q^⊆Q\widehat{\mathcal{Q}} \subseteq\mathcal{Q} for each task and inference profile such that

Pcal[Ri(q)≤γi for every loss i and every q∈Q^]≥1−ξ,(1)\mathbb{P}_{\mathrm{cal}}\left[R_i(q) \leq\gamma_i\ \text{for every loss }i\text{ and every }q \in\widehat{\mathcal{Q}}\right] \geq1-\xi, \tag*{(1)}

where γi\gamma_i is the target risk of loss ii, ξ\xi is the tolerated error of the selection, and Pcal\mathbb{P}_{\mathrm{cal}} runs over missions drawn independently from a distribution D\mathcal{D}.

Method

The robot’s clock sets the deadline. We identify the robot’s dynamics x˙=Φ(x,u)θ+d(x,u)\dot{x} = \Phi(x,u)\theta+ d(x,u) from the transitions {(xk,uk,xk+1)}k=120\{(x_k,u_k,x_{k+1})\}_{k=1}^{20}, with learned basis functions Φ\Phi [16], a parameter estimate θ^\hat{\theta} and a misfit dd. Rolling out a switch from tracking to braking at time ss gives a nominal trajectory xˉs(τ)\bar{x}_s(\tau). A deviation tube of radius Δs(τ)\Delta_s(\tau) around it bounds how far the executed trajectory may stray because of parameter error and misfit. Each predicted pedestrian path carries a disc whose radius grows with the prediction horizon τ\tau [17]. The deadline is the latest candidate switch whose widened trajectory stays clear of walls and pedestrian discs.

Tsafe=max⁡{s∈S:hw(xˉs(τ))−Δs(τ)≥φ, hp(xˉs(τ))−Δs(τ)≥0 at checked moving τ}.(2)T_{\mathrm{safe}} = \max\left\{s \in S : h^{w}\left(\bar{x}_s(\tau)\right) - \Delta_s(\tau) \geq\varphi,\ h^{p}\left(\bar{x}_s(\tau)\right) - \Delta_s(\tau) \geq0 \text{ at checked moving } \tau\right\}. \tag*{(2)}

Here S={0,0.2,…,10}S = \{0, 0.2, \ldots, 10\} s holds the candidate switches, and hwh^{w} and hph^{p} measure clearance to walls and pedestrians after body radii. The wall floor φ=min⁡(0,m0)\varphi= \min(0,m_0) depends on the initial wall margin m0m_0, the widened wall clearance at the start of the check. A robot that starts too close to a wall, with m0<0m_0 < 0, then only has to avoid getting closer, so it can still move away. Following [15], the check skips steps at which the robot is fully at rest. A clock monitor brakes at TsafeT_{\mathrm{safe}} whether or not the language model has answered, and at once when no switch passes.

Calibration sizes both margins. Both margins come from simulated data through split conformal prediction. For the pedestrian discs, we record how far each predicted path strays from the true one in npn_p calibration scenes. Each scene contributes its worst error, scaled by the growth of the disc over the horizon. The disc radius is the quantile of these scores that leaves out a fraction δ\delta of the scenes. The tube follows the same recipe. Its scores are the worst deviations of the robot during tracking and braking in nrn_r simulated deliberations, and its quantile leaves out a fraction ζ\zeta. A new segment drawn from the same distribution as the calibration data therefore stays inside both margins with probability at least 1−δ−ζ1-\delta-\zeta, by a union bound over the two events. Because the deadline alone triggers braking, this argument needs no bound on the language model’s response time.

A new plan must pass the same check in time. The language model’s answer marks corridors on the map as open or closed, and the planner rebuilds the route from the edited map. The robot cannot switch to that route at once, because checking it takes time while the robot keeps moving. The controller therefore schedules the switch for a fixed delay Δa\Delta_a after the answer arrives. It bounds where the robot may be at that moment by a box of states, calibrated on replay missions, and checks the new route from each corner of the box against the same walls, discs and tube. The robot adopts the route only if this check finishes before the scheduled switch. Otherwise the old deadline stays in force. Whenever a check outlasts a control period, the controller repeats its last command.

Exact tests decide which reasoning policies pass. For each query, a per-query policy combines measured decision-error and response-time profiles with the time the robot can continue its current plan before it must brake, then chooses among the candidate budgets. We run each policy on NN independent missions and count the number nin_i of missions that suffer loss ii. If the true risk of loss ii equals its target γi\gamma_i, the chance of observing nin_i or fewer such missions is pi=P[Binomial⁡(N,γi)≤ni]p_i = \mathbb{P}[\operatorname{Binomial}(N,\gamma_i) \leq n_i], so a small pip_i is evidence that the risk lies below its target. We use the conservative cutoff max⁡ipi≤ξ/9\max_i p_i \leq\xi/9 for every reported policy. For the seven policies in Q\mathcal{Q}, a policy that truly misses a target passes with probability at most ξ/9\xi/9, so the chance that any such policy passes is at most 7ξ/9<ξ7\xi/9 < \xi. This establishes the guarantee in Eq. (1) for the prespecified family [18]. The two fixed-budget follow-ups are exploratory and lie outside that family-level guarantee.

Experiments

One building, two tasks, three inference profiles. The simulated building has 3 m corridors, two routes to a goal 25 m away, and four non-yielding pedestrians whose motion states are observed by the robot. We record greedy FP32 Qwen3-4B answers on an RTX 5090 and replay them offline under three inference profiles, with 39 tokens/s on the desktop, 10.0 tokens/s on an idle Orin, and 5.9 tokens/s on an Orin under a 30 frame/s perception load. Task time limits are 60/120 s for signs and 120/240 s for deliveries on the desktop/Orin. A braking baseline stops while the language model reasons. For each task and inference profile, we test four fixed budgets and three prespecified per-query rules, followed by exploratory fixed budgets of 384 and 640 tokens. The rules already include both among their candidate budgets. Each policy runs 1500 missions against targets of 3% close calls, 5% wrong decisions and 10% late arrivals.

Reasoning fixes decisions, and the deadline saves time. Full reasoning reduces wrong decisions from 25% to 1% for signs and from 37% to 2% for deliveries. The robot never collides with a wall or a pedestrian while it moves, and no policy records more than two close calls in 1500 missions. Pedestrians who never yield still walk into the robot after it stops, in 23% of the 63 000 main-round missions. On the desktop at 256 tokens, tracking until the deadline cuts late sign missions by 64% against the braking baseline. Tracking during deliberation thus turns waiting into progress.

Compute load narrows the viable reasoning budgets. Immediate answers make too many wrong decisions under every inference profile (Figure 2). Full reasoning passes on the desktop and on the idle Orin, but under load it takes so long that too many missions arrive late. Under load, only the 256-token budget survives for signs. For deliveries, all three rules set in advance still pass the test, because they answer nearly every query at 640 tokens.

Figure 2. Budget screening over 1500 missions per policy. “Pass” meets all targets, and “follow” with † marks an exploratory fixed-budget follow-up.

Replay anticipates onboard losses. In live missions, the Orin runs Qwen3-4B and controls a simulated robot in real time. We run 150 fresh worlds per task and load condition, at 256 tokens for signs and 640 for deliveries, and then replay each world offline with its recorded answer (Table 1). Most missions end without any loss, so we count agreement only where either run records one. There, live and replay agree on all three losses in 24 of 32 missions, and all eight disagreements arise in signs, six from differing answers. Stopped contacts occur in 32% of live missions and agree less well. On the Orin the timed check rejects two to seven times as many new plans, so the live robot stops more often. The offline test therefore anticipates mission losses, while stopped contacts still need live measurement.

Orintask, budgetclose callswrong decisionslate arrivalsloss agreementstopped runsstopped κ\kappathinking (s)
idlesigns, 2560 / 09 / 70 / 17 / 1059 / 490.6826.4
idledeliveries, 6400 / 04 / 41 / 14 / 437 / 190.2754.4
loadedsigns, 2560 / 09 / 73 / 28 / 1353 / 490.5545.0
loadeddeliveries, 6400 / 04 / 42 / 25 / 542 / 420.4492.5

Table 1. Live / replay counts on the Orin, 150 missions per row. Loss agreement is computed only on missions where either run records a loss, and κ\kappa is Cohen’s kappa for stopped contacts.

References

References

  1. [1]M. Ahn, A. Brohan, N. Brown, Y. Chebotar, O. Cortes, B. David, C. Finn, C. Fu, K. Gopalakrishnan, K. Hausman, et al. Do as i can, not as i say: Grounding language in robotic affordances. arXiv preprint arXiv:2204.01691, 2022.
  2. [2]W. Huang, F. Xia, T. Xiao, H. Chan, J. Liang, P. Florence, A. Zeng, J. Tompson, I. Mordatch, Y. Chebotar, et al. Inner monologue: Embodied reasoning through planning with language models. arXiv preprint arXiv:2207.05608, 2022.
  3. [3]F. Pecora. The missing science of robotic systems: Capability integration in the model-centric era. White paper, Arm, 2026.
  4. [4]A. Yang, A. Li, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Gao, C. Huang, C. Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.arxiv.org/abs/2505.09388
  5. [5]Y. Huang, X. Ying, Z. Ma, X. Yuan, Z. Gao, J. Huang, R. Mao, J. Zhang, H. Ti, M. Tian, et al. Pace: Adaptive budget allocation for time-efficient embodied planning. arXiv preprint arXiv:2608.03034, 2026.arxiv.org/abs/2608.03034
  6. [6]J. Liu, P. Zhao, Z. Kong, X. Shen, P. Dong, F. Yang, L. Cui, H. Tang, G. Yuan, W. Niu, et al. When should a robot think? resource-aware reasoning via reinforcement learning for embodied robotic decision-making. arXiv preprint arXiv:2603.16673, 2026.
  7. [7]A. Elboher, A. Bensoussan, E. Karpas, W. Ruml, S. S. Shperberg, and E. Shimony. A formal metareasoning model of concurrent planning and execution. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 12427–12435, 2023.
  8. [8]S. S. Shperberg, A. Coles, E. Karpas, W. Ruml, and S. E. Shimony. Situated temporal planning using deadline-aware metareasoning. In Proceedings of the International Conference on Automated Planning and Scheduling, volume 31, pages 340–348, 2021.DOI
  9. [9]Y. Sung, S. S. Shperberg, Q. Wang, and P. Stone. Effort allocation for deadline-aware task and motion planning: A metareasoning approach. arXiv preprint arXiv:2410.05828, 2024.arxiv.org/abs/2410.05828
  10. [10]K. D. Nguyen, H. T. Ho, C. T. Nguyen, T. Q. Duong, L. D. Le, D. M. Nguyen, V. A. Ngo, and A. T. Le. vla cpp: A unified inference runtime for vision-language-action models. arXiv preprint arXiv:2606.08094, 2026.
  11. [11]Z. Yang, Q. Wang, Y. Wang, X. Guo, B. Yu, S. Liu, J. Xu, H. Dong, and M. Li. Jetson-pi: Towards onboard real-time robot control via foresight-aligned asynchronous inference. arXiv preprint arXiv:2607.12659, 2026.
  12. [12]K. Black, M. Galliker, and S. Levine. Real-time execution of action chunking flow policies. Advances in Neural Information Processing Systems, 38:33383–33407, 2026.arxiv.org/abs/2506.07339
  13. [13]C. Pek and M. Althoff. Fail-safe motion planning for online verification of autonomous vehicles using convex optimization. IEEE Transactions on Robotics, 37(3):798–814, 2020.
  14. [14]S. Kousik, S. Vaskov, F. Bu, M. Johnson-Roberson, and R. Vasudevan. Bridging the gap between safety and real-time performance in receding-horizon trajectory design for mobile robots. The International Journal of Robotics Research, 39(12):1419–1469, 2020.
  15. [15]S. Vaskov, S. Kousik, H. Larson, F. Bu, J. Ward, S. Worrall, M. Johnson-Roberson, and R. Vasudevan. Towards provably not-at-fault control of autonomous robots in arbitrary dynamic environments. arXiv preprint arXiv:1902.02851, 2019.
  16. [16]H. Iqbal, X. Li, T. Ingebrand, A. Thorpe, K. Kumar, U. Topcu, and J. Drgöhna. Zero-shot function encoder-based differentiable predictive control. arXiv preprint arXiv:2511.05757, 2025.arxiv.org/abs/2511.05757
  17. [17]L. Lindemann, M. Cleaveland, G. Shim, and G. J. Pappas. Safe planning in dynamic environments using conformal prediction. IEEE Robotics and Automation Letters, 8(8):5116–5123, 2023.arxiv.org/abs/2210.10254
  18. [18]A. N. Angelopoulos, S. Bates, E. J. Candès, M. I. Jordan, and L. Lei. Learn then test: Calibrating predictive algorithms to achieve risk control. The Annals of Applied Statistics, 19(2):1641–1662, 2025.arxiv.org/abs/2110.01052

Paper details

vlnc:W_gy9vhx66
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents