Medical Video Diffusion Reasoning: Interpretable Reasoning Trajectories for Surgical and Endoscopic Video

Motivation

Models for surgical and endoscopic video can name a procedure or a finding, but they do not show which parts of the video led to the answer. Clinicians need that before they can trust the output. Chain-of-thought methods make reasoning explicit as a list of discrete steps, but they need step-level annotations, and medical video has almost none.

Idea

I model reasoning as a continuous path rather than a list of steps. The first frame gives an uncertain, “noisy” estimate in a latent reasoning space. Each new frame denoises that estimate, and by the last frame it should sit at the embedding of the video’s label. A diffusion model learns this path. Only the endpoint is supervised, so no step-level labels are needed. The intermediate states then give a step-by-step trace of how the prediction formed.

MVDR overview on an ophthalmic surgery video
Figure 1. On an ophthalmic surgery video, the reasoning state moves from a noisy start (red, t = 0) to the label embedding (star) as frames arrive. Grad-CAM maps on intermediate states (right) concentrate on the instruments in use.

Method in brief

MVDR architecture
Figure 2. Frame features from a frozen video backbone are mapped into the reasoning space by a reasoning-space layer. A conditional denoiser runs one reverse step per sampled frame, conditioned on the features seen so far. The final state is aligned with a text embedding of the label and passed to a classifier.
  • Reasoning space. Features from a frozen backbone (VideoMAE or VideoMamba) are projected into a shared latent space. The target point for each video is a text embedding of its label, for example “Inflammation”.
  • Conditional denoiser. A 1D U-Net diffusion model. Its reverse process runs along the video’s time axis, and each step is conditioned on the running mean of the frame features observed so far.
  • Training signal. A standard denoising loss at every step, plus an alignment loss between the final state and the label embedding. Intermediate states get no direct supervision.

Results

I evaluate MVDR on two datasets: OphNet (ophthalmic surgery, 80 procedure classes) and HyperKvasir (GI endoscopy, 29 finding classes). MVDR is compared with fine-tuned video classifiers and with open VLMs, both zero-shot and fine-tuned.

MethodOphNet Top-1HyperKvasir Top-1
Best zero-shot VLM37.012.9
Qwen3-VL-2B (fine-tuned)61.738.7
VideoMamba-M (fine-tuned)53.332.3
ViFi-CLIP (fine-tuned)83.163.3
MViTv2-S (fine-tuned)85.774.2
MVDR (ours)85.777.4

Table 1. Top-1 accuracy (%). MVDR ties the strongest baseline on OphNet and is 3.2 points higher on HyperKvasir, while also producing a reasoning trajectory for every prediction.

Reasoning trajectories on OphNet and HyperKvasir projected with UMAP
Figure 3. Reasoning trajectories projected to 2D with UMAP, for two videos from each dataset. Each path starts far from the label embedding (star) and converges on it. The UMAP axes have no meaning of their own.

Are the trajectories more than interpolation? I ran two checks:

  1. Perturbation. Replacing 10 or 20 frame features with blanks pushes the trajectory away from the clean one, and it returns once real frames resume. A straight line between start and end would not react to the frames in between.
  2. Linear probe. A linear probe on the intermediate states predicts the OphNet surgical phase with 38.3% accuracy, against 30.7% for states interpolated linearly between start and end. The model was never trained on phase labels.