DGIST Tunes Medical Vision AI on X-Rays Without Writing a Single Prompt
A new fine-tuning recipe adapts medical vision language models using only image-report pairs, skipping the expensive step of writing instruction prompts.
Takeaways
- Instruction-free tuning adapts medical vision language models using only image-description pairs, no expert prompts needed.
- A learned proxy instruction replaces text prompts during training, updated slowly via exponential moving average.
- Response shuffling randomly reorders attribute fields in targets to stop the model from autocompleting without looking at images.
- Base model is LLaMA-3.2-11B-Vision, fine-tuned on SKINCON, WBCAtt, CBIS, and MIMIC-CXR.
- Reports state-of-the-art multiple-choice VQA accuracy across all four datasets versus text-instruction fine-tuning baselines.
- Response shuffling helps on structured attribute data but gives only marginal gains on free-text MIMIC-CXR reports.
Researchers at DGIST and UBC have proposed instruction-free tuning, a method for adapting vision-language models with paired images and descriptions while preserving their ability to follow natural-language prompts. The paper reports the highest accuracy among its tested baselines on four medical datasets, including chest X-rays, mammograms, skin images, and white blood cell microscopy.
Why image reports fall short during tuning
Visual instruction tuning typically relies on triplets containing an image, a task prompt, and an expert response. For example, a chest X-ray might be paired with “Identify the abnormality” and a radiologist’s answer. Producing thousands of these triplets requires specialist time, careful quality control, and access to data governed by clinical privacy rules.
Hospitals already store a more abundant training resource: images paired with free-text reports. Those reports provide answer-like text and omit the explicit task prompts used during a model’s original instruction training. Direct fine-tuning on this mismatched format can weaken prompt-following behavior because the model repeatedly sees descriptions without conversational instructions.
A learned vector fills the prompt slot
Instruction-free tuning inserts a trainable embedding called a proxy instruction where a text prompt would normally appear. The embedding is a sequence of learned numerical values that keeps the training input compatible with the model’s instruction-tuned format.
- Proxy warm-up: The proxy starts from random values and is optimized while the vision encoder remains fixed. This stage aligns the embedding with the pretrained model before image-related weights change.
- Main training: The vision encoder learns through an autoregressive next-token loss. The proxy follows its gradient-updated value through an exponential moving average, which smooths changes and provides a stable training signal.
At inference, the model discards the proxy and accepts an ordinary text request such as “Describe the image.” The learned vector therefore supports training without becoming part of the deployed prompt.
Shuffling blocks a language shortcut
Structured medical descriptions often list attributes in a fixed order. A language model can exploit that pattern by predicting each field from preceding words while paying limited attention to the image. Response shuffling randomly reorders independent fields in the target text during training, encouraging the model to derive each prediction from visual evidence.
Four datasets test the method
The researchers fine-tuned LLaMA-3.2-11B-Vision on datasets spanning structured clinical attributes and free-text radiology reports.
| Dataset | Modality | Training data |
|---|---|---|
| SKINCON | Dermatology images | 3,230 Fitzpatrick17k images labeled by dermatologists with 48 clinical attributes, using an 80/10/10 split |
| WBCAtt | White blood cell microscopy | 10,298 images with 11 pathologist-defined attributes: 6,179 training, 1,030 validation, and 3,089 test images |
| CBIS | Digitized mammography | 892 mass cases and 753 calcification cases labeled with pathology, abnormality type, and BI-RADS descriptors |
| MIMIC-CXR v2.1.0 | Chest X-rays | 377,110 images paired with reports, using findings and impression sections from LLM-annotated records |
Evaluation used multiple-choice visual question answering, or VQA. The model received an image and a question, then selected the correct clinical attribute from a list of candidate values. This setup measures whether fine-tuning preserves the ability to interpret a new text prompt while grounding the answer in the image.
The paper reports the highest accuracy among the evaluated baselines on all four datasets. Comparisons included conventional fine-tuning with an explicit text instruction, with and without response shuffling.
Free-text reports expose the limits
Ablation results show that response shuffling provides meaningful gains on SKINCON, WBCAtt, and CBIS, whose targets contain separable attributes. The gain is marginal on MIMIC-CXR because radiology prose contains connected sentences and findings that cannot be reordered as cleanly.
The conventional text-instruction baseline also produced inconsistent output ordering when trained with shuffled responses. The proxy-based method handled the same augmentation more consistently, suggesting that its learned embedding provides a steadier prompt context during optimization.
What developers can use, and what remains open
Teams with existing image-report archives could use this training design to avoid a separate round of expert prompt writing. The method is especially relevant when routine clinical records already contain the labels or descriptions needed for adaptation.
- Evaluation remains narrow: The experiments use classification-style, multiple-choice VQA across four medical datasets.
- Generation remains untested: The results do not establish performance on open-ended radiology reports, clinical summaries, or extended dialogue.
- Reproduction requires implementation work: The v3 manuscript does not link to released code.
- Other domains remain unverified: The study does not test specialist data such as legal documents, satellite imagery, or industrial inspection records.
The experiments support proxy instructions as a way to adapt an instruction-tuned vision model from existing image-description pairs. Broader value will depend on whether the approach retains its gains during open-ended generation and across datasets with less structured target text.