Flow Matching with Optimized Subclass Priors for Medical Image Augmentation

Felix Nützel, Mischa Dombrowski, Bernhard Kainz · 2026

Read Flow Matching with Optimized Subclass Priors for Medical Image Augmentation by Felix Nützel, Mischa Dombrowski, Bernhard Kainz (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-16469.txt.

Introduction

Nützel, Dombrowski, and Kainz propose an offline plan for medical image boosting adding useful priors for tail classes. Rare diseases are scarce in hospital data sets, causing models to fail where detection matters most. Coarse labels lump diverse kinds into multi-modal settings biasing makers toward top submodes. The method partitions each coarse label into coherent groups via Gaussian mixture modeling, then learns subclass-conditioned source distributions per group. On long-tailed chest X-ray and CT benchmarks it improves tail-class fidelity and diversity and downstream balanced accuracy.

Catalog record

CREATORFelix Nützel, Mischa Dombrowski, Bernhard Kainz
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE26643
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.16469

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Flow Matching with Optimized Subclass Priors for Medical Image Augmentation Felix Nützel, Mischa Dombrowski, Bernhard Kainz Abstract Rare diseases dominate the diagnostic challenge in medical imaging yet are severely underrepresented in clinical datasets, causing classifiers to fail on exactly the conditions where reliable detection matters most. Generative augmentation can supply the missing tail-class coverage, but coarse disease labels aggregate diverse subtypes and acquisition settings into multi-modal conditionals that bias generators toward dominant submodes, while a shared Gaussian source forces rare subpopulations through disproportionately long transport paths. We propose an offline strategy that introduces informative priors at two levels: first, we partition each coarse label into coherent submodes via Gaussian mixture modeling in the generative model’s latent space; second, we learn subclass-conditioned source distributions that re-center and re-scale the starting distribution per submode, shortening trajectories and reducing within-subclass dispersion. To prevent degenerate solutions we impose explicit geometric control, moderately concentrating normalized displacement directions around learnable prototypes while capping path-length outliers. On long-tailed chest X-ray (MIMIC-LT, NIH-LT) and CT slice (CT-RATE) benchmarks the proposed method consistently improves tail-class generation fidelity and diversity (FID, IRS) and is a promising augmentation strategy that reliably improves downstream balanced accuracy and macro-F1 over a non-augmented baseline across modalities. Code is available at https://github.com/Felix-012/OptPriorFM 1 Introduction The classification of medical images under severe long-tail imbalance remains a central obstacle in clinical machine learning. Real-world datasets in chest radiography [ 9 , 33 ] , computed tomography [ 8 ] , and other modalities are dominated by “no finding” or common conditions, while clinically urgent but easily overlooked findings such as small pneumothoraces or pneumomediastinum on chest radiographs and bronchiectasis on CT occur at very low prevalence. Standard discriminative training therefore overfits to head classes and underrepresents rare findings, producing classifiers that perform worst precisely where diagnostic accuracy is most consequential [ 9 ] . Generative data augmentation can, in principle, supply the missing tail-class coverage, and diffusion-based synthesis has shown encouraging results in radiology [ 27 ] , ultrasound [ 4 ] , and across histopathology and dermatology [ 14 ] . In practice, however, conditional generators trained with coarse disease labels face two compounding difficulties. First, a single diagnostic label often aggregates diverse subtypes, acquisition protocols, and comorbidities into multi-modal conditionals that bias the generator toward dominant submodes [ 2 , 21 ] , effectively truncating rare but clinically valid variation. Second, drawing every generation trajectory from a shared standard Gaussian source forces some subpopulations through disproportionately long transport paths, inflating regression difficulty and degrading tail fidelity [ 17 , 25 ] . Recent analyses of source distribution design for flow matching confirm that the geometry of the learned transport strongly affects generation quality, but also that naive directional objectives can encourage degenerate behavior such as norm inflation or overly concentrated paths [ 11 , 15 , 13 ] . We address both issues with an offline strategy that introduces informative priors at two levels. For each coarse label c we fit a Gaussian mixture model in the generative model’s latent space to induce hard subclass assignments k , partitioning heterogeneous conditionals into coherent submodes with lower conditional variance. We show that this subclass conditioning cannot increase the Bayes-optimal flow-matching risk; the improvement equals the expected between-subclass variability of the conditional mean displacement (Eq. 2 ). We then learn subclass-dependent source distributions \pi_{0}(\cdot\mid c,k) that re-center and re-scale the starting distribution per subclass, shortening typical trajectories and reducing within-subclass dispersion. We control the geometry of the induced displacements by encouraging moderate angular compactness of normalized directions around learnable subclass prototypes while capping path-length outliers to prevent norm-inflation shortcuts. The underlying process of creating subclasses and increasing their alignment has a direct analogy in long-tailed representation learning [ 10 ] : our method effectively learns a better representation of the interpolation paths induced by the latent representation of the target. Contributions. (i) We introduce a subclass-conditional formulation for long-tailed medical image generation that partitions multi-modal conditionals via GMM-induced hard assignments. (ii) We propose subclass-dependent learned sources as informative priors that reshape conditional transport and reduce within-subclass dispersion. (iii) We develop a practical proxy objective that encourages moderate angular compactness while explicitly controlling path-length outliers, preventing norm-inflation shortcuts and avoiding overly restrictive directional collapse. (iv) We empirically demonstrate improved tail coverage and downstream long-tail classification on chest X-ray and CT benchmarks. Related Work. Generative augmentation for imbalanced medical imaging has advanced rapidly, with diffusion-based synthesis improving classification in pediatric chest X-rays [ 27 ] , breast ultrasound subtyping [ 4 ] , and histopathology and dermatology with demonstrated fairness gains [ 14 ] ; lesion-focused diffusion enables controllable pathology synthesis [ 34 ] and causal disentanglement targets long-tail robustness [ 22 ] . Flow matching [ 17 ] has emerged as an efficient alternative, further improved by minibatch optimal-transport couplings [ 25 ] , with applications to defect classification [ 24 ] and reweighted long-tailed generation via unbalanced optimal transport [ 30 ] . To improve long-tail generation, guidance strategies attempt to recover modes at sampling time [ 28 , 31 , 20 , 32 ] but cannot recover modes never learned by the model; training-time remedies include class-balanced objectives [ 26 ] , conditioning strategies [ 7 ] , expert adapter modules [ 23 ] , reinforcement learning [ 19 ] , knowledge transfer [ 35 ] , and label-noise robust training [ 21 ] . Refining conditioning by clustering or pseudo-labels has proven effective [ 1 ] , with hierarchical generative clustering exploiting latent tree structure [ 29 ] and theoretical analyses confirming that partitioning multi-modal distributions into simpler components improves learnability [ 2 ] . However, none of these split existing coarse medical labels into directional subclasses. Separately, data-dependent priors accelerate convergence in audio synthesis [ 16 ] , conditional prior distributions map conditions to Gaussian mixture sources [ 11 ] , and recent work uses online condition-dependent source optimization [ 13 ] and analyzes risks of overly concentrated source designs [ 15 ] . Our approach complements these perspectives by introducing subclass conditioning with geometry-regularized source design, tailored to long-tailed, multi-modal medical conditionals. 2 Method Figure 1: Left: Coarse conditionings and a single source yield a large variance of conditional probability paths. Middle: We obtain finer conditionings by fitting a mixture on the residual directions from the class centers. Right: We obtain better directional alignment by assigning a source to each subclass and optimizing them to a common direction, each bounded by a radial cap. Table 1: Split summary based on the EBIC criterion. B = #base classes, K = #subclasses. “ \overline{\text{split}} ” means K_{c}{=}1 ; “split” means K_{c}{>}1 . Dataset B K # \overline{\text{split}} \lvert\overline{\text{split}}\textsubscript{max}\rvert \lvert split\textsubscript{min}\rvert \min n_{c,k}\!\in\!\text{split} MIMIC-LT 19 91 6 254 609 106 NIH-LT 20 80 6 213 229 95 CT-RATE 15 53 7 244 335 97 Table 2: Geometric diagnostics (before \rightarrow after source optimization). Dataset \cos_{\mathrm{mean},w}\uparrow [-0.6ex] directional alignment r_{\mathrm{rel},w}\downarrow [-0.6ex] radial spread MIMIC-LT 0.00\rightarrow 0.68 0.08\rightarrow 0.04 NIH-LT 0.00\rightarrow 0.68 0.09\rightarrow 0.05 CT-RATE 0.00\rightarrow 0.69 0.07\rightarrow 0.03 Figure 2: Left: Close sources produce noisy directions; too distant sources produce entangled paths. Right: We balance angular concentration and distance to targets. Table 3: Aggregate confounder-probe results on

Read the complete text