Electronics

Structured Reasoning Distillation with Policy Optimization and Test-Time Scaling for Resource-Constrained Visual Question Answering

Rayyan Najam, Fawaz Alsolami, Mostafa Saleh

Key points

From the paper's conclusion
  • It shows that careful design and efficient distillation/scaling can achieve performance competitive with the best reported IMG results with reduced compute and data, enabling consumer-grade GPU deployment of the text-only reasoning model with 32 GB VRAM or more, given visual descriptions from an upstream extractor.

Abstract

State-of-the-art vision–language models (VLMs) show emerging reasoning but demand prohibitive computation, limiting deployment in constrained environments. This research addresses this via a dual-phase framework: trace distillation for structured reasoning priors, reinforcement learning for policy alignment, and test-time scaling. On ScienceQA-IMG, it decouples visual context from textual reasoning via dense visual metadata from Gemini 3.7 Flash (long context) or Qwen2.5-VL-7B-Instruct (short context). Qwen-3-8B undergoes LoRA supervised fine-tuning on only 5214 verified teacher reasoning traces (40.97% of the full training set), achieving 95.14% accuracy. GRPO with custom rewards yields stable convergence (policy loss: 2.49 × 10−6; KL: 1.25 × 10−3). Distillation generalizes across model sizes (LFM2.5-2.6B, Qwen3-4B, Gemma4-12B, Qwen3-14B, Qwen3.5-9B) and visual context variations (Long/Short) with consistent gains. Further, we propose a three-phase test-time scaling pipeline: (1) Gaussian Calibration-Weighted Voting (five rollouts), (2) Continuous Uncertainty Error Detection to flag high-risk samples, and (3) Sequential Remediation with a dynamic logit-calibrated critic followed by targeted N = 15 CWV with dampened weighting. This elevates the long-context model (DRLTSL-Qwen3-8B-Stage3-Phase3) to 95.79% IMG accuracy (seven-seed mean: 95.66 ± 0.12%), surpassing the fine-tuned LLM-based methods compared in the ScienceQA IMG category (accuracies as reported on the test split), while using 59.03% fewer training examples than the full ScienceQA training split and 16.15% fewer than the ScienceQA-IMG training set, conditioned on teacher-correct supervision. The short-context model (DRLTSS-Qwen3-8B-Stage3-Phase3) achieves 92.51%. It shows that careful design and efficient distillation/scaling can achieve performance competitive with the best reported IMG results with reduced compute and data, enabling consumer-grade GPU deployment of the text-only reasoning model with 32 GB VRAM or more, given visual descriptions from an upstream extractor.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Structured Reasoning Distillation with Policy Optimization and Test-Time Scaling for Resource-Constrained Visual Question Answering — Science Skim