Spending Visual Tokens Where Misconceptions Hide

When a surgical trainee botches a suture, the clue to why is usually small. It might be the angle at which the needle met the tissue, a slight pull that deformed the wound edge, or a grip adjustment two seconds earlier. Vision-language models (systems that read images as sequences of "visual tokens," small patch embeddings, and reason over them with a language model) cannot afford to look at every patch of every frame of a long procedure. So they compress. Today's compression methods keep whatever moves or stands out, and that is rarely where a misconception shows itself. We propose a different rule for spending a fixed token budget. A cheap first look proposes a few competing explanations of the trainee's error, such as "wrong entry angle," "excessive tissue tension," "random slip," or "no error." The model then spends its remaining tokens only on the regions of space and time that would tell those explanations apart.

The opportunity matters because high-stakes training (surgery, clean-room work, industrial operations) is moving into simulators and recorded practice. In those settings feedback is scalable only if a machine can say what kind of mistake was made, not just that one was made. The idea also tests a specific claim about the multimodal reasoning gap: some of what looks like faulty reasoning in these models is really faulty evidence gathering, and conditioning perception on the hypotheses being weighed should close part of that gap.

Core Claim

Under a fixed visual token budget, choosing tokens by how much they discriminate between candidate misconception hypotheses should beat two other ways of spending the same budget. The first is choosing tokens by generic visual saliency. The second is choosing them by a single generated question. The measure is fine-grained error diagnosis, and the advantage should be largest exactly where errors are subtle and spatially separated from the most salient moving object. Written as an objective, the second pass selects a set of spacetime regions $R$ under budget $B$ to maximize the information they carry about the hypothesis variable:

$$R^* = \arg\max_{|R| \le B} \; I(H;\, X_R \mid X_{\text{coarse}}),$$

where $H$ ranges over the short list of misconception hypotheses (including "slip" and "correct") produced by the first pass, $X_{\text{coarse}}$ is the heavily compressed first-pass view, and $X_R$ are the full-resolution tokens from the chosen regions. In practice we approximate this objective with grounded evidence requests attached to each hypothesis, described below. The equation states what the approximation is meant to achieve.

Where This Sits

Three bodies of work motivate the proposal. Explainable Procedural Mistake Detection turns mistake detection into a self-dialog of generated visual questions and answers. It reports a "complexity trap": once the question generator is tuned to ask sharp diagnostic questions, the model fails to answer them, because its fixed visual encoding cannot resolve the fine layout the question requires. SketchJudge grades hand-drawn STEM diagrams against a 23-type error taxonomy. It finds that chain-of-thought prompting often lowers accuracy, because an early misreading of noisy strokes gets rationalized downstream. PREGO flags procedural mistakes when a recognized action contradicts the step an LLM expects. Its oracle experiment shows the bottleneck is recognition, not procedural reasoning. All three point the same way: the reasoning engine is starved of the right evidence. None of them changes what the visual encoder looks at.

Two works supply methods we reuse and contrast against. STIM-TM merges surgical video tokens training-free. It protects fast-moving, high-attention tools and merges static tissue, cutting GFLOPs by over 65% while holding 86.04% phase-recognition accuracy on Autolaparo. We use it as our first-pass compressor and as the main compression baseline. Its saliency criterion is task-agnostic and tuned to phase recognition, which is exactly the assumption we drop. Chain-of-Gesture detects surgical errors on JIGSAWS using gesture-level visual prompts. It reaches 72.3% frame-level F1 at 6.69 ms per frame, but its errors are binary, and the authors name semantic error categorization as future work. Our output is that semantic categorization.

From misconception modeling we borrow the core distinction made by Using Inverse Planning for Personalized Feedback, which places mal-rules (systematic flawed procedures) in a Bayesian hypothesis space alongside random slips. We keep the hypothesis space but let the model propose it openly, because closed mal-rule libraries become intractable as tasks grow. From high-stakes simulation we borrow ORBIT-Surgical, a GPU-accelerated surgical simulator. We use it to render procedures with injected mal-rules, so the ground-truth misconception and the region that reveals it are both known.

Research Program

The system runs in two passes over a recorded or simulated procedure segment, typically one gesture or step rather than every frame. In the first pass, the segment is encoded with STIM-TM at an aggressive merging ratio, and an open vision-language model (Qwen2.5-VL, one of the open models evaluated in SketchJudge) produces two things. One is a short ranked list of candidate diagnoses drawn from a domain taxonomy plus "slip" and "correct." The other is, for each candidate, an evidence request naming an object relation, a rough region, and a time window that would confirm or refute it. An example request is "needle tip relative to marked entry point, frames of needle insertion." An open-vocabulary grounding step converts each request into spacetime boxes. The second pass re-encodes only those boxes at full resolution from the raw frames. Boxes are ranked by how many of the competing hypotheses they bear on, and selection stops when the remaining budget $B$ is spent. The model then chooses among the hypotheses. The budget counts first-pass and second-pass tokens together.

This differs from the Ego4D-PMD self-dialog in two ways. Evidence is requested per competing hypothesis rather than through one question at a time, so the selected tokens target the differences between explanations. And the answer is computed on re-encoded tokens rather than on the same static encoding.

A second, learned variant replaces the heuristic box ranking with a small allocation head. The head scores candidate regions given the first-pass tokens and the hypothesis list. It is trained on simulator rollouts where the injected mal-rule and its revealing region are known, with a reward for correct final diagnosis. The training-free variant is the main contribution. The learned variant tests whether simulation-supervised allocation transfers to real video.

The data plan has three parts. In ORBIT-Surgical's suturing and needle tasks, we script correct trajectories and then inject parameterized mal-rules: entry-angle offsets, excess pull force producing tissue deformation, wrong hand-off order, and wrong bite depth. We also inject random-jitter slips, which gives labeled videos at near-zero cost. On real data, surgical educators will relabel the error-annotated JIGSAWS segments used by Chain-of-Gesture into the same misconception categories. This is new annotation; the file reports no existing semantic taxonomy for these errors. SketchJudge's 23-type taxonomy and Ego4D-PMD's failure types (incomplete, wrong verb, wrong noun) serve as out-of-domain tests of whether the mechanism generalizes beyond surgery.

Baselines

The naive reference is the same backbone given the full, uncompressed token sequence with direct prompting and with chain-of-thought. It tells us whether compression costs or helps accuracy. Where the full sequence exceeds context or memory, we report the largest feasible frame subsample and say so.

The strongest compression competitor is STIM-TM applied at the same total token budget as our two passes combined, using the released STIM-TM codebase. It is the strongest because it was built for exactly this surgical-video setting and already protects tools. On phase recognition, the closest reported result is 86.04% accuracy on Autolaparo with over 65% GFLOP reduction. No reported result was found on Lacuna for STIM-TM on error diagnosis of any kind. We will also run uniform 2×2 pooling at matched budget as the generic reference, in the style of the pixel-shuffle reduction used in Mini-InternVL.

For binary error detection on JIGSAWS, Chain-of-Gesture is the strongest existing method, at 72.3% frame-level F1 and 68.3% accuracy. We collapse our diagnoses to error versus no error on the same splits for a direct comparison. We will not match its 6.69 ms latency per frame, because we diagnose per gesture. We report latency per gesture against a target of feedback within one second of step completion.

On Ego4D-PMD, the reference is the coherence-re-ranked LLaVA self-dialog at 67.8% accuracy, against a 72.0% human baseline. On SketchJudge, the references are GPT-5 at 78.42%, the reported open-source range of 53% to 69%, and human raters at 83.33%. All of these comparisons use the same backbone, the same prompts for the final decision, and an equal prompt-tuning budget on a held-out split.

Three ablations isolate the key ingredient. The first keeps the two-pass structure but conditions the second pass on a single generated question rather than on the competing hypotheses, which is essentially Ego4D-PMD's question with re-encoding added. The second conditions on a randomly drawn hypothesis list of the same size, testing whether the hypotheses themselves matter or only the extra resolution. The third gives the second pass the oracle revealing region from the simulator, which sets an upper bound on what allocation can buy. Beating the baselines means higher macro-F1 over misconception categories than STIM-TM, pooling, and the single-question ablation at equal budget, with non-overlapping bootstrap intervals, and at least matching Chain-of-Gesture's binary F1.

Why not just…?

Why not just use the robot kinematics and skip vision entirely? Kinematics are cheap and exact, but Chain-of-Gesture reports that video consistently outperforms kinematics for error detection, because tissue deformation and suture tension are invisible in joint angles. Towards Unified Surgical Skill Assessment likewise needed visual and proxy paths beyond tool motion to reach 0.80 SROCC on JIGSAWS. We will still run a kinematics-only classifier on our misconception labels. We expect it to do well on angle and order errors and poorly on tension and depth errors, and that per-category split is itself informative.

Why not just crop around the instrument tips at full resolution? This is the most serious threat. Many surgical errors do happen at the tool, and a detector-driven crop is simpler than hypothesis-conditioned allocation. Our bet is that the discriminating evidence for several misconceptions lies away from the tool or earlier in time: the deforming wound edge, the entry mark, or the hand-off that preceded the slip. We include a tool-crop baseline at matched budget and report results separately for mal-rules whose simulator-revealing region overlaps the tool and for those whose region does not. If tool cropping matches us on both, the hypothesis conditioning is not earning its keep, and we will report that rather than the method.

Why not just prompt a frontier model with chain-of-thought on the full video? SketchJudge found that chain-of-thought often degrades diagnostic grading because early perceptual misreadings get rationalized, and Plot Twist shows models leaning on textual priors over visual detail. Our full-token baseline with chain-of-thought tests this directly in the surgical setting. Our prediction is falsifiable: the compressed hypothesis-conditioned system will exceed the full-token chain-of-thought baseline, not just approach it, because it never lets the model reason over evidence it did not deliberately gather.

Why not just turn the video into text with a detector and reason in pure language? GeoSQA shows that models fail even when diagrams are fully transcribed into text. PREGO finds natural-language descriptions bias procedural reasoning, and recognition remains its bottleneck. A caption-then-reason baseline is cheap to run, so we include it, but the evidence suggests it inherits both the recognition error and the reasoning gap.

Decisive Checks

Three results decide whether the idea is right. First, on simulator data with injected mal-rules, hypothesis-conditioned allocation must close a substantial fraction of the gap between STIM-TM at matched budget and the oracle-region upper bound. It must also beat the random-hypothesis ablation; otherwise the gain comes from resolution, not from hypotheses. Second, on the educator-relabeled JIGSAWS errors, the method must beat STIM-TM, tool cropping, and the single-question ablation on misconception macro-F1 for categories whose revealing region lies off the instrument. This is the regime where generic saliency should fail, and a null result there falsifies the core claim. Third, separating slips from mal-rules is the distinction that matters pedagogically, since a slip needs practice and a mal-rule needs re-teaching. We measure it as a dedicated accuracy and expect the gain to concentrate there, because telling them apart requires comparing a single deviation against an earlier, consistent pattern.

As secondary checks, SketchJudge and Ego4D-PMD test whether the same mechanism helps on thin hand-drawn strokes and on everyday procedures, where saliency is a weaker prior. A sweep over budget $B$ traces accuracy against tokens for every method, which shows whether our advantage grows as budgets shrink, as the objective predicts.