VIVID-Med Beats BiomedCLIP by 6 AUC Points Using 500x Less Data
VIVID-Med trains a medical image model using an LLM as a teacher, then discards the LLM at deployment — beating BiomedCLIP with 500x less data
ProTakeaways
- VIVID-Med uses a frozen LLM as a structured teacher to pretrain a medical ViT, then discards the LLM entirely at deployment.
- Achieves 0.8588 macro-AUC on CheXpert chest X-ray classification, beating BiomedCLIP by +6.65 points using 500x less data.
- A Unified Medical Schema (UMS) converts clinical findings into structured JSON with answerability masking to filter noisy gradients.
- Structured Prediction Decomposition (SPD) splits cross-attention into 4 orthogonal query groups, each specializing in distinct anatomical regions.
- Zero-shot cross-modality transfer to CT achieves 0.9969 macro-AUC on OrganAMNIST despite no CT data in pretraining.
- Deployed model is a standalone 86M-parameter ViT; no code or weights have been publicly released yet. Paper
Training a medical imaging model that actually works in a hospital is a two-headed problem. You need rich, clinically meaningful supervision to get good representations, but you also need a model light enough to actually run. Most approaches sacrifice one for the other. VIVID-Med proposes a different deal: borrow a large language model's clinical knowledge during training, then throw it away before deployment.
The result is a standalone Vision Transformer (ViT) backbone that outperforms BiomedCLIP , a model trained on 15 million image-text pairs , by more than 6 AUC points on chest X-ray classification, while using 500 times less pretraining data. And at inference time, there is no LLM anywhere in the picture.
Why current approaches fall short
Medical vision-language pretraining has made real progress, but it has a fundamental supervision problem. Existing approaches predominantly supervise the visual encoder using one-hot labels or free-form text, and consequently these learned representations often fail to explicitly encode the complex semantic relationships among clinical findings. Consider two conditions like pleural effusion and pulmonary edema: they frequently co-occur, share radiographic signs, and are pathophysiologically linked. A one-hot vector treats them as completely unrelated. Free-text descriptions mention them in highly variable phrasing, masking their clinical relatedness.
The other failure mode is deployment cost. BiomedCLIP aligns images with natural language using contrastive pretraining on millions of PubMed Central image-caption pairs. That scale gives it strong zero-shot capabilities, but it means shipping a heavy vision-language model to every clinical endpoint. The effectiveness of vision-language pretraining in medical imaging depends strongly on the availability, quality, and granularity of paired text , a constraint that limits how far these models can generalize.
The core idea: use the LLM as a teacher, not a resident
VIVID-Med's central insight is that a pretrained LLM already encodes clinical relationships in a continuous, structured space where proximity reflects actual clinical relatedness. Rather than keeping that LLM around forever, you can use it as a frozen teacher during pretraining, force the ViT to align with its structured output space, and then discard it entirely.

The framework has two key technical components that work together:
- Unified Medical Schema (UMS): Instead of feeding raw radiology reports to the LLM, VIVID-Med converts clinical findings into structured JSON. Each finding gets a state ,
present,absent,uncertain, ornull, plus an answerability flag. UMS utilizes answerability-aware masking to filter out non-informative gradients from unassessable findings, focusing optimization on clinically meaningful signals. If a finding simply cannot be assessed from the image, its gradient is zeroed out entirely. - Structured Prediction Decomposition (SPD): A projector module that sits between the ViT and the frozen LLM. It splits cross-attention into multiple parallel query groups, each forced by an orthogonality penalty to attend to different anatomical regions. The goal is to extract complementary visual aspects rather than having all groups collapse onto the same features.
Training uses teacher forcing: the ground-truth UMS-JSON sequence is provided directly, and the ViT plus SPD projector are optimized via next-token prediction loss. Crucially, keeping the LLM frozen provides a stable optimization target, which is particularly critical for learning representations of long-tail clinical findings. After training, both the SPD projector and the LLM are discarded. What remains is an 86M-parameter ViT backbone.
How SPD actually works
SPD is worth understanding in detail because it is where most of the performance gains come from. The module runs 4 parallel query groups, each with 2 learned queries, performing cross-attention over the ViT's patch tokens. An orthogonality regularizer penalizes overlap between attention maps across groups:
# Conceptual SPD forward pass
for g in range(G): # G=4 groups
A_g = softmax(Q_g @ X.T / sqrt(d_h)) # attention over ViT tokens
T_g = A_g @ X # attended features
# Orthogonality loss: force groups to attend to different regions
L_ortho = sum(||A_g @ A_g_prime.T||_F^2 for g != g_prime)
# Final loss
L = L_tok + 0.01 * L_ortho
Each group consistently specializes in distinct anatomical structures across both frontal and lateral views, confirming that the orthogonality regularization drives complementary feature extraction. The ablation results make the value of this concrete: per-class analysis shows SPD's gains are heavily concentrated on long-tail findings, with Pneumonia gaining +3.9 AUC points and Lung Lesion gaining +3.6 AUC points over the version without SPD.

The numbers
VIVID-Med was pretrained and evaluated on CheXpert (30k CXRs, 12-label linear probing). To assess cross-domain robustness zero-shot, the CheXpert-trained model was evaluated directly on NIH ChestX-ray14 (8 shared labels, 25,596 samples). Cross-modality generalization was tested on LIDC-IDRI (slice-level benign/malignant classification) and OrganAMNIST (11-way organ classification). The teacher LLM was Qwen2.5-1.5B-Instruct, kept frozen throughout.
| Setting | Metric | VIVID-Med | BiomedCLIP |
|---|---|---|---|
| CheXpert (in-domain) | Macro-AUC | 0.8588 | 0.7923 |
| NIH ChestX-ray14 (zero-shot) | Macro-AUC | 0.7225 | 0.6725 |
| LIDC-IDRI CT (cross-modality) | AUC | 0.8413 | 0.8465 |
| OrganAMNIST CT (cross-modality) | Macro-AUC | 0.9969 | 0.9913 |
VIVID-Med achieves a macro-AUC of 0.8588 on CheXpert, outperforming BiomedCLIP by +6.65 points while using 500x less pretraining data. The cross-modality results are arguably more striking: VIVID-Med achieves strong performance without any CT data during pretraining , 0.9969 AUC on OrganAMNIST and 0.8413 AUC on LIDC-IDRI. The model was trained exclusively on chest X-rays and still generalizes to CT organ classification at near-perfect accuracy.
What the ablations reveal
The paper runs a clean component-by-component ablation that makes the contribution of each piece legible:
- Switching from free-form text supervision to structured UMS JSON alone: +1.78 AUC points
- Adding SPD on top of UMS: +1.57 more AUC points
- Total gain over the free-text baseline: +3.35 AUC points
A Q-Former proxy (one 8-token group, no orthogonality) yields a substantially lower AUC (0.8182) with high variance, confirming that orthogonal decomposition fundamentally improves tail-class ranking. The structured decomposition is not just a marginal tweak , it is what makes the model reliably rank rare findings correctly.
Where it fits and where it doesn't
VIVID-Med is purpose-built for scenarios where you want a strong medical image backbone without the runtime overhead of a vision-language model. The practical use cases are clear:
- Chest X-ray classification and triage systems that need to run on-device or in low-resource hospital settings
- Fine-tuning starting points for downstream radiology tasks where labeled data is scarce
- Cross-modality transfer to CT when no CT-specific pretraining data is available
- Any setting where deploying a multi-billion parameter VLM at inference is operationally infeasible
The limitations are worth being clear about. On LIDC-IDRI, the high variance inherent to small-scale clinical datasets (875 cases) limits absolute AUC gains, yet VIVID-Med still outperforms all non-medical baselines by a wide margin. The model was also pretrained on a relatively small 30k-image dataset, which raises questions about how it would scale with more data. And while the cross-modality transfer to CT is impressive, it was tested on 2D CT slices , performance on full 3D volumetric CT tasks is an open question.
The real breakthrough
The headline result is the data efficiency. But the more fundamental contribution is the demonstration that you can decouple semantic supervision from deployment architecture. The LLM is not a component of the deployed system , it is a training signal. At deployment, only the ~86M-parameter ViT backbone is retained, discarding the ~1.5B-parameter LLM pipeline and thereby substantially reducing inference costs.
This opens a path that the field has not fully explored: using the richest possible supervision signal during training, regardless of its inference cost, and then distilling that signal into a lightweight model that can actually ship. No code or pretrained weights have been released alongside the paper, but the methodology is fully described and reproducible from the paper's implementation details.