LoMix: Learnable Weighted Multi-Scale Logits Mixing for Medical Image Segmentation
Md Mostafijur Rahman, Radu Marculescu
TL;DR
LoMix addresses the underutilization of multi‑scale logits in U‑shaped medical segmentation networks by introducing a differentiable, NAS‑inspired framework that learns how to mix coarse and fine predictions. The Combinatorial Mutation Module (CMM) creates a rich set of mutant logits through four fusion operators across all decoder subsets, while NAS‑inspired softplus weights $w= ext{softplus}( heta)$ learn how strongly each logit should guide training, yielding an end‑to‑end trainable loss ensemble with zero inference overhead. Empirically, LoMix achieves state‑of‑the‑art or competitive results across Synapse, ACDC, BUSI, and ISIC datasets, with particularly large gains under data scarcity (up to +9.23% DICE with 5% labeled data) and across diverse backbones. The method provides a transparent, data‑efficient, plug‑and‑play improvement that enhances boundary capture and context integration without modifying inference pipelines, and it lays a foundation for extending mixed‑scale supervision to 3D and other dense prediction tasks.
Abstract
U-shaped networks output logits at multiple spatial scales, each capturing a different blend of coarse context and fine detail. Yet, training still treats these logits in isolation - either supervising only the final, highest-resolution logits or applying deep supervision with identical loss weights at every scale - without exploring mixed-scale combinations. Consequently, the decoder output misses the complementary cues that arise only when coarse and fine predictions are fused. To address this issue, we introduce LoMix (Logits Mixing), a NAS-inspired, differentiable plug-and-play module that generates new mixed-scale outputs and learns how exactly each of them should guide the training process. More precisely, LoMix mixes the multi-scale decoder logits with four lightweight fusion operators: addition, multiplication, concatenation, and attention-based weighted fusion, yielding a rich set of synthetic mutant maps. Every original or mutant map is given a softplus loss weight that is co-optimized with network parameters, mimicking a one-step architecture search that automatically discovers the most useful scales, mixtures, and operators. Plugging LoMix into recent U-shaped architectures (i.e., PVT-V2-B2 backbone with EMCAD decoder) on Synapse 8-organ dataset improves DICE by +4.2% over single-output supervision, +2.2% over deep supervision, and +1.5% over equally weighted additive fusion, all with zero inference overhead. When training data are scarce (e.g., one or two labeled scans), the advantage grows to +9.23%, underscoring LoMix's data efficiency. Across four benchmarks and diverse U-shaped networks, LoMiX improves DICE by up to +13.5% over single-output supervision, confirming that learnable weighted mixed-scale fusion generalizes broadly while remaining data efficient, fully interpretable, and overhead-free at inference. Our code is available at https://github.com/SLDGroup/LoMix.
