TL;DR
When large vision-language models (VLMs) analyze complex scientific figures, they usually figure out the right answer early on—and then spiral into thousands of tokens of neurotic self-doubt until they run out of memory. Standard distillation throws away these unfinished thoughts and accidentally teaches smaller "student" models to copy the neurotic looping. Prefix Rejection Fine-Tuning (PRFT) peeks into the teacher's early thoughts, rescues the good deductions, and chops off the repetitive spirals—yielding student models that are significantly smarter and twice as concise.
What Problem Does This Paper Address?
Suppose you want a compact VLM (the student) to reason through tough scientific charts like a massive VLM (the teacher). The standard playbook is Rejection Fine-Tuning (RFT): have the teacher generate step-by-step reasoning traces ("rollouts"), filter out any trace that doesn't end with the right final answer, and train the student on the winners.
Here’s the catch: on dense plots with overlapping curves or tiny axis ticks, visual deduction decouples from text termination. The teacher spots the crucial visual evidence in the first few hundred tokens (the prefix), but subtle visual ambiguities trigger endless, repetitive verification loops in the tail until the model hits its token generation limit without ever stating a final answer.
Evaluating traces only at the finish line creates a lose-lose dilemma:
- Wasted genius: Endpoint filtering throws away nearly half of all training questions—and over 94% of the hardest ones—even though the teacher had already solved them early in the trace.
- Inherited bad habits: Even when the teacher does finish in time, training on the full trace forces the student to imitate thousands of tokens of repetitive second-guessing.
Methods
Instead of waiting for the finish line, PRFT shifts both which traces we keep and which tokens we train on to the early reasoning prefix. It introduces two clean mechanisms on top of standard supervised fine-tuning (SFT):
- Prefix Reward (Trajectory Selection): As the teacher generates a reasoning trace, its internal key-value (KV) states are already cached in memory. If a trace hasn't finished by a set prefix boundary $k$ (e.g., 3,072 tokens), PRFT branches off that cached state, appends a 6-token "answer cue," and decodes the teacher's predicted answer in a single forward pass (<1% compute overhead). If that probed answer matches the ground truth, the trace is rescued!
- Prefix Credit Assignment (Token Supervision): To stop the student from learning to ramble, PRFT assigns full training weight ($1.0$) to the informative prefix tokens ($\le k$) and zero weight to the repetitive tail ($> k$). Finally, it splices on a clean "stop-and-answer" transition right after the prefix, explicitly teaching the student how to wrap up its thoughts and state the answer.
Datasets
The authors do not introduce a new dataset, instead evaluating across established scientific and mathematical visual benchmarks:
- VeriSciQA: Used for training (an 11,702-question pool plus a 1,627-question Hard-Tail pool) and evaluation across four paper-disjoint splits—Main (1,200), Held-Out (1,379), Unseen Reserve (1,216 spanning 20 STEM subjects), and Out-of-Domain Caption-Free Visual (369)—plus a diagnostic slice of 2,306 Hard-Tail questions that standard RFT completely rejected.
- Zero-Shot External Benchmarks: MathVista, ChartQA, and MathVision test out-of-distribution chart and multimodal math reasoning.
Key Insights and Ideas
- Models stop looking at the image surprisingly early: Across 11.8 million teacher tokens, the teacher's reliance on the image drops by $8\times$ from the beginning of the trace to the tail. Masking out the image after the prefix is written changes readout accuracy by only 0.5%—proving visual perception happens upfront, while the tail is just text-based spinning.
- Visual ambiguity is what triggers the loops: If you remove the scientific figure at test time, non-termination rates in standard RFT students plummet by $18\times$ (from 13.6% down to 0.8%). Those endless verification loops are directly induced by complex visuals.
- Don't cut too early, and never skip the prefix: Truncating at the very first moment the teacher guesses right (like prior early-exit methods) hurts accuracy because intermediate logical steps get lost. Conversely, training on answers without any reasoning prefix causes the student to rely on non-visual shortcuts, creating a massive 25.4% accuracy imbalance across multiple-choice letters A–D (compared to just 3.2% for PRFT).
- One peek beats brute-force resampling: Probing a single rollout's prefix rescues far more training questions (78.5% pass rate) than generating twice as many full rollouts (53.6%) or quadrupling the token budget to 12,000 tokens.
Key Results
Distilling a Qwen3.5-27B teacher into 4B and 9B students, PRFT beats both SFT variants and online Reinforcement Learning (GRPO, DAPO):
- Higher Accuracy, Half the Tokens: On VeriSciQA Main, PRFT boosts
Qwen3.5-4Bnatural accuracy by +6.7% over Standard RFT (68.0% $\rightarrow$ 74.7%, with 100% natural completion) andQwen3.5-9Bby +4.7% (70.8% $\rightarrow$ 75.5%), while cutting thinking tokens roughly in half ($1.97\times$–$2.25\times$ reduction). This translates to $1.14\times$–$1.25\times$ real wall-clock speedups on H100 GPUs. - Beating the Teacher's Habits: Under natural termination, the 4B PRFT student (74.7%) actually outperforms its 27B teacher (72.5%), because the teacher gets disqualified on 15.7% of test items due to non-stop looping!
- Massive Gains on Hard & Zero-Shot Tasks: PRFT jumps +13.0% over RFT on the brutal Hard-Tail split (22.7% $\rightarrow$ 35.7%) and generalizes zero-shot to MathVista (81.8% vs. 78.1% RFT) and ChartQA (68.6% vs. 59.7% RFT).
Limitations and Future Work
- Closed-Form Bias: The single-step prefix probe is designed for multiple-choice or short closed-form answers. Extending it to open-ended mathematical derivations (where PRFT currently trails online RL on competition-level MathVision) will require multi-token readouts and semantic matching.
- External Force-Stopping Narrows the Gap: If you artificially force a Standard RFT model to blurt out an answer when it hits the 12,000-token cap, it closes much of the accuracy gap—at roughly $2\times$ the token cost. PRFT's true superpower is internalizing clean self-termination and excelling under tight compute budgets.
- Frozen Eyes: When a frozen vision encoder fundamentally misreads overlapping monochrome lines, pruning the text tail stops the looping, but resolving the perceptual confusion itself will require adapting the vision encoder alongside the language backbone.
Summary updated