Staleness Deadlines for Motion Plans during Onboard Reasoning
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.
From the abstract. Our summary is in progress.
Full paper
Staleness Deadlines for Motion Plans during Onboard Reasoning
Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.26858 (PDF).
Abstract
Language models may enable general autonomy in robot planning, but their reasoning on an onboard computer can run for most of a minute while the robot and nearby pedestrians keep moving. The robot must then decide how long to keep following a plan that the language model’s 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, and the robot switches to it only after the new plan passes the same clearance check against walls and predicted pedestrians. We use exact binomial tests to 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 choose a budget for each query from how long the robot can continue its current 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 robot once it has stopped, 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 fails the lateness target. Between these extremes, a fixed-budget policy passes for corridor signs and prespecified per-query policies pass for deliveries. Live Orin missions agree with offline replay on all three losses in 24 of the 32 missions where either run records any of them. The deadline turns slower reasoning into measurable mission outcomes, which let designers test how much reasoning can be supported under each inference profile.
Keywords: reasoning language models, embedded inference, deliberation under latency, fallback control, mobile robots
1 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,b). Language models supply the open-world knowledge needed to interpret such messages [1, 5], yet accurate interpretation and capable motion control do not automatically compose into safe, timely missions [12]. When Qwen3-4B [17] 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.
Existing systems allocate reasoning effort [6, 10, 4, 14, 15], accelerate inference [11, 18], or overlap inference and execution [3]. 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,d). Our contributions are as follows.
- Staleness deadlines (Section 3) that carry fail-safe planning [8, 16, 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.
- 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.
- Onboard evaluation showing inexpensive offline replay anticipates losses of live Orin missions.
T_{\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.2 Problem setting
A planar robot with state x\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 T_{\mathrm{late}} or never finishes. Contact at rest counts separately as a stopped contact. A reasoning budget k caps the tokens the language model may spend thinking before it answers. A reasoning policy q either fixes one budget for every query or uses a prespecified rule to choose a budget for each query. The risk R_{i}(q) is the probability of loss i\in\{\mathrm{close},\mathrm{wrong},\mathrm{late}\} under that policy. Let \mathcal{Q} denote the family of reasoning policies fixed before certification.
While the language model thinks, a tracking controller \pi_{p_{0}} follows the current plan p_{0} until a switch time s, after which a braking controller \pi_{\mathrm{b}} brings the robot to rest within T_{\mathrm{b}}. We seek the latest safe switch T_{\mathrm{safe}}, together with a certified subset \widehat{\mathcal{Q}}\subseteq\mathcal{Q} for each task and inference profile such that
\mathbb{P}_{\mathrm{cal}}\big[R_{i}(q)\leq\gamma_{i}\ \text{for every loss }i\text{ and every }q\in\widehat{\mathcal{Q}}\big]\geq 1-\xi,where \gamma_{i} is the target risk of loss i, \xi is the tolerated error of the selection, and \mathbb{P}_{\mathrm{cal}} runs over missions drawn independently from a distribution \mathcal{D}.
3 Method
The robot’s clock sets the deadline.
We identify the robot’s dynamics \dot{x}=\Phi(x,u)\,\theta+d(x,u) from the transitions \{(x_{k},u_{k},x_{k+1})\}_{k=1}^{20}, with learned basis functions \Phi [7], a parameter estimate \hat{\theta} and a misfit d. Rolling out a switch from tracking to braking at time s gives a nominal trajectory \bar{x}_{s}(\tau). A deviation tube of radius \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 [9]. The deadline is the latest candidate switch whose widened trajectory stays clear of walls and pedestrian discs.
T_{\mathrm{safe}}=\max\big\{s\in\mathcal{S}:\ h^{\mathrm{w}}(\bar{x}_{s}(\tau))-\Delta_{s}(\tau)\geq\varphi,\quad h^{\mathrm{p}}_{\tau}(\bar{x}_{s}(\tau))-\Delta_{s}(\tau)\geq 0\ \text{at checked moving }\tau\big\}.Here \mathcal{S}=\{0,0.2,\ldots,10\} s holds the candidate switches, and h^{\mathrm{w}} and h^{\mathrm{p}}_{\tau} measure clearance to walls and pedestrians after body radii. The wall floor \varphi=\min(0,m_{0}) depends on the initial wall margin m_{0}, the widened wall clearance at the start of the check. A robot that starts too close to a wall, with m_{0}<0, then only has to avoid getting closer, so it can still move away. Following [16], the check skips steps at which the robot is fully at rest. A clock monitor brakes at T_{\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 n_{\mathrm{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 n_{\mathrm{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-\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 \Delta_{\mathrm{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 N independent missions and count the number n_{i} of missions that suffer loss i. If the true risk of loss i equals its target \gamma_{i}, the chance of observing n_{i} or fewer such missions is p_{i}=\mathbb{P}[\mathrm{Binomial}(N,\gamma_{i})\leq n_{i}], so a small p_{i} is evidence that the risk lies below its target. We use the conservative cutoff \max_{i}p_{i}\leq\xi/9 for every reported policy. For the seven policies in \mathcal{Q}, a policy that truly misses a target passes with probability at most \xi/9, so the chance that any such policy passes is at most 7\xi/9<\xi. This establishes the guarantee in Eq. (1) for the prespecified family [2]. The two fixed-budget follow-ups are exploratory and lie outside that family-level guarantee.
4 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.
- idle
- signs, 256
- 0 / 0
- 9 / 7
- 0 / 1
- 7 / 10
- 59 / 49
- 0.68
- 26.4
- idle
- deliveries, 640
- 0 / 0
- 4 / 4
- 1 / 1
- 4 / 4
- 37 / 19
- 0.27
- 54.4
- loaded
- signs, 256
- 0 / 0
- 9 / 7
- 3 / 2
- 8 / 13
- 53 / 49
- 0.55
- 45.0
- loaded
- deliveries, 640
- 0 / 0
- 4 / 4
- 2 / 2
- 5 / 5
- 42 / 42
- 0.44
- 92.5
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.
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.