Reasoning on Call for robots: selective review and memory
Follow a tabletop robot through event-triggered control, correlated perception failures and safe goal revision. Replay deadlines and memory decisions locally.
Sources & version details
In this article
Why put reasoning on call?
Suppose a tabletop arm sorts an item into a drawer, then closes it. A vision–language model can notice that the item slipped or that the next instruction became invalid. Asking it to review every motion proposal consumes tokens and introduces waits even while the arm is making progress. Reasoning on Call (RoC) uses a learned monitor to select the moments when high-level review is useful. You should be able to trace control ownership, size a review budget, and identify what an experiment needs to isolate the trigger’s effect.
Before reading, understand closed-loop control: an actuator command changes the environment, and the next observation closes the feedback loop. An action chunk is a sequence of proposed control steps. Executing a short prefix lets new observations change the remaining plan. If a reliable rule covers the entire task, a deterministic sequence with explicit interlocks is easier to qualify. Selective reasoning is useful when recovery depends on visual context or earlier attempts.
Two loops, one decision boundary
In the paper, the low-level FastWAM policy proposes action chunks. An online monitor uses visual history and interaction memory to estimate progress, request a transition and propose a next goal. The first goal is reviewed. Later, a progress anomaly, a requested transition or a critical contact event can hold the affected actions while the agent reviews them. The agent may approve a prefix, suggest local repair, revise the next subtask, or do both. Verified outcomes and approved transitions inform memory.
In our reference design, the observation carries a timestamp and epoch, the active goal carries a version, and a review returns a decision bound to both. A result for the previous observation cannot release a held prefix. The fast control loop and physical interlocks stay independent of the model. A learned progress score is not a safety rating. In the drawer example, a slight pose error may need a new grasp, while the wrong drawer requires a revised subgoal. Repairing one does not resolve the other.
The monitor is a learned state estimator. In the paper’s notation, its inputs are the overall instruction g, the active subtask ℓₖ, verified interaction records ℳₜ and visual history ℋₜ. It outputs estimated completion pₜ, a transition score sₜ and a proposed successor ℓ̃ₜ. Those signals answer three different questions: are we making progress, is this step ready to end, and what should follow? The low-level policy uses the subtask, selected observations and joint state to propose a sequence. At an ordinary checkpoint only a prefix executes, and new frames feed the next proposal. Before grasp closure or release, the contact trigger can ask the agent to check the object and geometry.
Size the review budget
At N checkpoints, periodic review every checkpoint calls the agent N times. With K triggered reviews and equal input-plus-output token cost c and wall-clock blocking time d per call, total reasoning tokens are Kc and serialized hold time is Kd. For ten checkpoints, three reviews (start, stalled grasp, transition), 1,200 tokens and 450 ms per call, this yields 3,600 tokens and 1.35 s of holds. Reviewing all ten yields 12,000 tokens and 4.50 s. This synthetic comparison excludes policy execution, monitor compute and network queueing outside d. Parallel reviews do not generally add linearly to elapsed time.
The budget is a ceiling, not a reason to skip a required check. Reserve enough for safe completion or hold when exhausted. An increasingly sensitive monitor can catch more anomalies at the cost of needless holds. Calibrate by episode and failure family: consecutive frames are correlated and one accident can produce many alerts. Measure time to detect and false holds per hour, as well as task success.
What the paper supports
The authors report 99.6% success for RoC and 75.6% for GPT-as-Policy in the nine-task RMBench simulation comparison, with 30 trials per task. Average tokens per episode in Table 1 are 288.3 versus 830.3 in units of 10,000, a reported 65.3% reduction. RoC uses GPT-6.1 Sol at xhigh while that baseline uses GPT-6 Astra at xhigh. The result compares whole systems. Their separate policy comparison uses 100 trials per task and reports 98.1% versus MemoryWAM’s 83.0%. The authors also evaluate three SO-ARM101 tabletop tasks, ten trials each. This supports narrower claims about those setups. It does not establish a general speed, cost, or safety advantage.
In the three reported hardware tasks, full RoC succeeded in 22 of 30 trials (73.3%), the monitored variant in 17 of 30 (56.7%) and policy alone in 9 of 30 (30.0%). This is a closer architectural comparison than GPT-as-Policy, with still only ten tries per task. A production evaluation would separate initial pose, repeat runs and failure classes, and publish uncertainty for each.
| RMBench comparison | Trials per task | RoC success | Baseline success |
|---|---|---|---|
| GPT-as-Policy | 30 | 99.6% | 75.6% |
| MemoryWAM | 100 | 98.1% | 83.0% |
Production boundaries and failure handling
On timeout, maintain the hold, then refresh observations before retrying, or hand off. Cancel outstanding review when the task ends and invalidate late results. Persist the goal version and completed semantic steps for recovery, then reacquire scene state after a restart. Do not replay motor commands from storage: a gripper or object may already have moved. A detector that repeatedly misses loss of grip deserves a fresh sensor or an independent physical stop, not just a more expensive reasoning model. Contact thresholds and deadlines must be validated for the specific platform.
When a memory can stop authorizing a goal
Follow the same arm after a slip. The log says the item was beside the drawer two seconds ago. Three frames from the same camera show no item. To decide what to do, separate three objects: the historical observation, the unknown present state of the item, and eligibility of the saved location as an input to the goal planner. A miss updates the third object more readily than the second. Repeating a frame classifier after the same occlusion can repeat the same mistake.
The paper by Shrote et al. treats a confirmed location on a mobile robot as revisable. It groups nearby misses using position and heading, moves entries from active through suspect to inactive, and preserves inactive records for fresh positive verification. A local miss group uses translation within 0.15 m and heading within 7.5°. A new group requires a displacement of at least 0.50 m or heading change of at least 20° from the relevant previous group. Intermediate observations add no new group. These distances suit the authors’ Spot experiment, not action thresholds for a tabletop arm. Our reference design groups by shared view, occlusion and sensor episode instead. An unseen group is a reason to reconsider, not proof that the joint errors are independent.
Store the item ID, capture time, observation epoch, camera pose and calibration version with each verified record. The monitor ingests observations as evidence. The first distinct miss already blocks direct use and requests a fresh view under the allowed motion plan. If multiple distinct view groups still miss, remove the remembered location from direct goal selection and keep the historical record. A fresh identity match can propose a new goal. The proposal still passes the version check and command gate above. A timeout keeps affected actions on hold. A retry is bounded by the deadline and never repeats a questionable motion from storage. Deduplicate capture IDs, and cancel outstanding checks when the observation epoch changes. On restart, reload the historical record but acquire fresh observations before restoring direct eligibility.
A synthetic calculation shows what dependence changes. Let H mean the item is currently at the recorded location. Assume a prior of one half, a miss probability of 0.20 if H holds and 0.90 otherwise. For three conditionally independent misses, posterior odds equal prior odds times the likelihood ratio cubed, giving a posterior near 1.09%. If the three outcomes are copies of one occlusion, use the ratio once and obtain 18.18%. The probabilities are dimensionless teaching inputs. Real correlation can lie between these models and differ by state. Neither number is a calibrated probability for this arm. Our state machine deliberately uses evidence groups and reports action eligibility, without a probability threshold.
On Spot, the verification worker was a frozen Qwen3-VL-8B-Instruct, with CPU CLIP screening for in-motion perception. In 40 adjacent same-viewpoint revisit pairs, 36 retained the same outcome. This is descriptive: viewpoints were selected, and visibility and target identity affect detector errors. In both the paper and our reference design, suspect and suspended locations are excluded from direct use. The second state determines when to switch from focused reconfirmation to a bounded search in our arm example. A geometry-based rule is cheap and auditable. A fitted observation model can estimate uncertainty if it has independently labeled views, but can drift under new lighting or object classes.
The Spot authors report that their method chose exploration instead of the stale direct target in three matched decision contexts, and document one in-motion reconfirmation. The matched trials ended at goal publication, with long-distance traversal separated from the comparison. They do not measure full autonomous task success. The companion embodied QA paper of Pandey et al. shows why measuring only final answers can hide broken memory: in their simulated scene-graph pipeline a question-type prior beat the fixed reader over every predicted graph. Compare three outputs separately in a deployment: retained evidence, useful next action, and safe execution. Ask whether timestamps, viewpoint diversity and intervention costs still justify the result as the scene changes.
Practice and verification
Run the deterministic replay in the browser or download the JavaScript and run it with Node.js 20+. No packages, seed or model calls are needed. Normal event and periodic modes use the same ten checkpoints, reviewer cost and fault-free outcomes. The replay measures review overhead on a fixed trace, so it cannot estimate how a different gate changes real task success. Checkpoints in the replay are numbered from zero. Stale and timed-out reviews hold at checkpoint 4. A 2,400-token budget holds at checkpoint 7 in event mode, before another call can start.
For a fair robotics ablation, keep model, policy, initial scenes, sensor data and deadlines fixed. Compare periodic and triggered modes first on paired replay to estimate overhead. Then test both in randomized closed-loop trials to measure outcome changes and missed interventions. Report success, action hold time, input/output tokens, and per-episode tail latency. Keep an unseen failure family to expose overfit trigger thresholds.
node roc-lab.mjs
JavaScript
const review = Object.freeze({ tokens: 1200, delayMs: 450 });
const checkpoints = Object.freeze([
'start', 'routine', 'routine', 'routine', 'anomaly',
'routine', 'routine', 'transition', 'routine', 'routine',
]);
export function replay({ cadence = 'event', fault = 'none', budget = 12_000 } = {}) {
if (!['event','periodic'].includes(cadence)) throw new RangeError('Unknown cadence');
if (!['none','stale','timeout'].includes(fault)) throw new RangeError('Unknown fault');
if (!Number.isSafeInteger(budget) || budget < 0) throw new RangeError('Invalid token budget');
let calls = 0;
let heldMs = 0;
for (const [step, signal] of checkpoints.entries()) {
if (cadence === 'event' && signal === 'routine') continue;
if ((calls + 1) * review.tokens > budget) return outcome('budget', step);
calls++;
heldMs += review.delayMs;
// A delayed reply belongs to its original observation epoch.
const decisionEpoch = fault === 'stale' && signal === 'anomaly' ? step - 1 : step;
if (decisionEpoch !== step) return outcome('stale', step);
if (fault === 'timeout' && signal === 'anomaly') return outcome('timeout', step);
}
return outcome('complete', checkpoints.length);
function outcome(status, checkpoint) {
return { status, checkpoint, calls, tokens: calls * review.tokens, heldMs };
}
}
if (typeof document !== 'undefined') {
for (const lab of document.querySelectorAll('[data-roc-lab]')) {
const [cadence, fault] = lab.querySelectorAll('select');
const update = () => {
const result = replay({ cadence: cadence.value, fault: fault.value === 'budget' ? 'none' : fault.value, budget: fault.value === 'budget' ? 2400 : 12000 });
lab.querySelector('[data-output]').textContent =
lab.dataset[result.status] + ' · ' + result.calls + ' ' + lab.dataset.callUnit + ' · ' + result.tokens + ' ' + lab.dataset.tokenUnit + ' · ' + result.heldMs + ' ' + lab.dataset.timeUnit;
};
cadence.addEventListener('change', update);
fault.addEventListener('change', update);
update();
}
}
if (typeof process !== 'undefined' && process.argv[1]) {
const { pathToFileURL } = await import('node:url');
if (pathToFileURL(process.argv[1]).href === import.meta.url) {
for (const args of [
{ cadence: 'event' }, { cadence: 'periodic' },
{ fault: 'stale' }, { fault: 'timeout' }, { budget: 2400 },
]) console.log(JSON.stringify(replay(args)));
}
}
Replay disputed memory
Keep the same observation sequence and threshold of two misses across both policies. Change only whether misses count per capture or per view group. Five deterministic scenarios need Node.js 20+ or this browser, with no packages, random seed or network. Repeated views yield suspect versus suspended. Two distinct misses suspend both. A verified positive restores eligibility. A stale positive or timeout leaves the held decision unchanged. Use recorded and independently labeled episodes before calibrating any real threshold. Pair runs by episode and report stale-target selections, false suspensions of valid locations, number of new views and recovery delay. An intervention changes future observations, so a prospective matched closed-loop trial is needed to claim improved task success.
| Scenario | Per capture | Per view group |
|---|---|---|
| Repeated view | Suspended | Suspect |
| Two distinct views | Suspended | Suspended |
| Fresh confirmation | Active | Active |
| Stale confirmation | Suspended | Suspended |
| Timeout | Suspended | Suspended |
Download JavaScript · roc-memory-lab.mjs
node -e "import('./roc-memory-lab.mjs').then(m => console.table(m.traces.map(m.compare)))"
JavaScript
// Fixed single-item trace. A verified match is supplied by the fixture, not inferred here.
const miss = (id, group) => ({id, group, epoch: 2, kind: 'miss'});
const distinct = [miss('a', 'left'), miss('b', 'right')];
const confirm = epoch => ({id: 'c', epoch, kind: 'verified'});
export const traces = [
[miss('a', 'left'), miss('a', 'left'), miss('b', 'left'), miss('c', 'left')],
distinct,
[...distinct, confirm(2)],
[...distinct, confirm(1)],
[...distinct, {id: 'c', epoch: 2, kind: 'timeout'}],
];
export function eligibility(events, grouped) {
const captures = new Set();
const misses = new Set();
for (const event of events) {
if (event.epoch !== 2 || event.kind === 'timeout' || captures.has(event.id)) continue;
captures.add(event.id);
if (event.kind === 'verified') misses.clear();
if (event.kind === 'miss') misses.add(grouped ? event.group : event.id);
}
return Math.min(2, misses.size); // active, suspect, suspended
}
export function compare(events) {
return [eligibility(events, false), eligibility(events, true)];
}
for (const lab of globalThis.document?.querySelectorAll('[data-memory-lab]') ?? []) {
const select = lab.querySelector('select');
const output = lab.querySelector('output');
const [capture, group, ...states] = JSON.parse(lab.dataset.labels);
const update = () => {
const [a, b] = compare(traces[Number(select.value)]);
output.textContent = capture + ' → ' + states[a] + ' · ' + group + ' → ' + states[b];
};
select.addEventListener('change', update);
update();
}
Original interview exercises
Why can the agent’s approval expire?
Hint 1
Identify the two state identifiers.
Hint 2
A successful API response can arrive late.
Answer and reasoning
Compare the decision’s observation epoch and goal version with current state. Keep the hold if either changed, acquire fresh evidence, and review again within budget.
Does 65.3% fewer tokens establish a faster robot?
Hint 1
Find costs that tokens cannot express.
Hint 2
Check the reasoning model on each side.
Answer and reasoning
No wall-clock conclusion follows from that metric. Calls, queueing, monitor cost and holds matter. The differing reasoning models also prevent a trigger-only causal conclusion.
How would you compare the gates in a new failure family?
Hint 1
Use identical traces first.
Hint 2
Interventions change the next observation.
Answer and reasoning
Pair traces to compare accounting and false holds. Then randomize live episodes in safe conditions with the same policy, model and deadlines to measure success and missed detections.
When may a suspended location be used again?
Hint 1
Name what was suspended.
Hint 2
Bind confirmation to item and epoch.
Answer and reasoning
A verified current-epoch identity match can restore the location as a candidate. The separate command gate must still approve any affected action.
Scoring · 1–5
- Define a checkpoint and distinguish the two loops.
- Calculate tokens and serial holds with correct units.
- Explain how stale results and timeouts remain held.
- Design a paired replay plus controlled closed-loop comparison.
- Identify confounds, track tail outcomes and specify a physical safety boundary.
Paper and educational references
- Cen et al. · 2026-11-19 · arXiv v1 · Paperhttps://arxiv.org/abs/2611.26341v1 · PDFhttps://arxiv.org/pdf/2611.26341v1 · §4 / RMBenchhttps://arxiv.org/html/2611.26341v1#S4
- Shrote et al. · 2026-11-25 (UTC) · arXiv v1 · Memory Is Not Ground Truthhttps://arxiv.org/abs/2611.34915v1 · PDFhttps://arxiv.org/pdf/2611.34915v1 · § IV-Dhttps://arxiv.org/html/2611.34915v1#S4.SS4
- Pandey et al. · 2026-11-25 (UTC) · arXiv v1 · How Well Do Vision-Language Scene Graphs Serve as Memory for Embodied Question Answering?https://arxiv.org/abs/2611.34745v1 · PDFhttps://arxiv.org/pdf/2611.34745v1
- MIT Robotic Manipulationhttps://manipulation.csail.mit.edu/
- Token Lab · Robot recovery