Simulation-Generated Data for Multimodal Small Language Models: A Constrained-Hardware Recipe for Medical Physics Visual Question

Multimodal models that answer questions about medical images normally depend on large, expert-annotated datasets that are costly to build and constrained by patient privacy. We present a fully reproducible recipe that sidesteps this bottleneck by training a multimodal small language model (SLM) entirely on simulation-generated data, where exact ground truth is produced automatically and no human annotation is required. An analytical image simulator generates positron emission tomography (PET) reconstructions, sinograms, and phantom diagrams, and—because every physical parameter of each image is known—emits matching multiple-choice question–answer (QA) pairs directly from those parameters. We evaluate two instantiations trained on a single Apple M3 Pro laptop with 18GB of unified memory. A compact lite model (23M parameters) couples a trainable convolutional encoder and a spatial projection to a physics-pretrained decoder-only transformer (TinyLMv3). A full model reuses a frozen, pretrained SigLIP encoder and a Qwen2-0.5B language model, training only the same small vision–language projection. On a held-out benchmark of 35,596 image–question pairs, the lite model attains 43.7% and the full model 89.0%, both well above a 25% random baseline and an image-agnostic text-only baseline (33.3%)—a control that isolates genuine image use. The comparison cleanly attributes the 45-point gap to the vision encoder: a frozen pretrained encoder lifts fine spatial localization from below random (16.1%) to 68.7% while everything else is held fixed. Beyond the headline number, we contribute a candid account of the development trajectory: an initial run scored below random (∼11%), which we trace to two compounding defects—an answer-scoring bug that measured answer length rather than content, and a vision pathway that was silently disabled during training. We describe the diagnosis and the architectural fixes (a spatial, non-pooling projection and a gradient-enabled encoder) that recovered real image-grounded performance. A per-task analysis shows that the lite model is strong on global-appearance questions (artifact detection, tumor presence) but weak on fine spatial localization, while the full model’s pretrained encoder resolves that weakness—an interpretable account of where multimodal capability comes from at this scale. All code, data generators, and evaluation and diagnostic harnesses are released to support replication.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24552947
Primary Topic
Multimodal Machine Learning Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Simulation-Generated Data for Multimodal Small Language Models: A Constrained-Hardware Recipe for Medical Physics Visual Question

Jaydip Singh
Zenodo (CERN European Organization for Nuclear Research)
Multimodal Machine Learning Applications
preprint

Simulation-Generated Data for Multimodal Small Language Models: A Constrained-Hardware Recipe for Medical Physics Visual Question

Jaydip Singh
preprint en

Abstract

Multimodal models that answer questions about medical images normally depend on large, expert-annotated datasets that are costly to build and constrained by patient privacy. We present a fully reproducible recipe that sidesteps this bottleneck by training a multimodal small language model (SLM) entirely on simulation-generated data, where exact ground truth is produced automatically and no human annotation is required. An analytical image simulator generates positron emission tomography (PET) reconstructions, sinograms, and phantom diagrams, and—because every physical parameter of each image is known—emits matching multiple-choice question–answer (QA) pairs directly from those parameters. We evaluate two instantiations trained on a single Apple M3 Pro laptop with 18GB of unified memory. A compact lite model (23M parameters) couples a trainable convolutional encoder and a spatial projection to a physics-pretrained decoder-only transformer (TinyLMv3). A full model reuses a frozen, pretrained SigLIP encoder and a Qwen2-0.5B language model, training only the same small vision–language projection. On a held-out benchmark of 35,596 image–question pairs, the lite model attains 43.7% and the full model 89.0%, both well above a 25% random baseline and an image-agnostic text-only baseline (33.3%)—a control that isolates genuine image use. The comparison cleanly attributes the 45-point gap to the vision encoder: a frozen pretrained encoder lifts fine spatial localization from below random (16.1%) to 68.7% while everything else is held fixed. Beyond the headline number, we contribute a candid account of the development trajectory: an initial run scored below random (∼11%), which we trace to two compounding defects—an answer-scoring bug that measured answer length rather than content, and a vision pathway that was silently disabled during training. We describe the diagnosis and the architectural fixes (a spatial, non-pooling projection and a gradient-enabled encoder) that recovered real image-grounded performance. A per-task analysis shows that the lite model is strong on global-appearance questions (artifact detection, tumor presence) but weak on fine spatial localization, while the full model’s pretrained encoder resolves that weakness—an interpretable account of where multimodal capability comes from at this scale. All code, data generators, and evaluation and diagnostic harnesses are released to support replication.

Zenodo (CERN European Organization for Nuclear Research)
Multimodal Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon