ICML2026

S2M-Net: Spectral-Spatial Mixing with Morphology-Aware Adaptive Loss for Medical Image Segmentation

Sanaullah Chowdhury, Lameya Sabrin

摘要

Medical image segmentation requires balancing global context with computational efficiency, where self-attention mechanisms suffer from quadratic O((HW)2C)\mathcal{O}((HW)^2 C) complexity. We propose S2M-Net, a parameter-efficient architecture (4.7M parameters) that achieves computational savings through Spectral--Spatial Token Mixing (SSTM). SSTM achieves O(HWC2)\mathcal{O}(HWC^2) complexity through efficient combination of O(HWClog(HW))\mathcal{O}(HWC \log(HW)) frequency-domain processing and O(HWCd)\mathcal{O}(HWCd) bottlenecked spatial gating (d=16d{=}16), exploiting spectral concentration where >93%>93\% of energy is captured by K=32K{=}32 low-frequency components (\sim0.8% of the spectrum at 352×352352{\times}352 resolution). This design avoids self-attention's prohibitive O((HW)2C)\mathcal{O}((HW)^2C) attention map computations while preserving global receptive fields. To handle geometric diversity, we introduce Morphology-Aware Adaptive Segmentation Loss (MASL), which automatically modulates five loss objectives based on per-sample morphological descriptors (tubularity, compactness, irregularity, and scale). Evaluation across 15 datasets spanning 8 modalities demonstrates competitive performance, obtaining the best performance on 14 of 15 datasets, with statistically significant improvements (p<0.0033p < 0.0033, Bonferroni-corrected) on 7 challenging tasks (complex morphology, class imbalance, and multi-class segmentation), and clinically meaningful gains (0.50.5--1.6%1.6\% Dice) on 8 mature benchmarks. Notably, S2M-Net achieves 83.43%83.43\% Dice on EndoVis17 multiclass instrument segmentation (+8.69%+8.69\% over TransUNet and +9.14%+9.14\% over the best baseline UMamba at 74.29%74.29\%), while using 12.8×12.8{\times} fewer parameters (4.7M vs. 60M).