The number of structures fluorescence microscopy can image in one sample is limited by how few fluorophores can be separated without significant spectral overlap. Semantic unmixing circumvents this limit by imaging two structures in one fluorescent channel and computationally separating the superimposed image into one image per structure. Because pixels rarely identify their structure, unmixing requires both local and long-range spatial context. The relative brightness of the two structures is unknown and can be very uneven, so predictions must remain accurate across mixing severities, from balanced mixtures to ones where a structure is barely visible. Existing methods either process small image patches or add context through auxiliary pathways that slow inference on large images. We present MambaSplit, a hierarchical state-space encoder with a convolutional decoder that captures context across large tiles in linear time and predicts both channels in one deterministic pass. MambaSplit trains either on computationally summed channel images with random mixing ratios, where a lightweight head estimates the unknown ratio and conditions the decoder on it, or on experimentally acquired superpositions. Across five datasets and nine mixing ratios, MambaSplit achieves the highest RI-PSNR, by up to 3.0 dB, in 11 of 15 dataset-severity combinations and ties in one more, while running 5.9x faster than the strongest baseline. On acquired superpositions, fine-tuning a model pretrained on summed inputs matches or exceeds all baselines. Ablations show that accuracy and robustness come mainly from the training recipe: large tiles, mixing ratios sampled across their full range (up to 11 dB over fixed-ratio training), and independently drawn channel crops (3.9 dB on BioSR). The state-space backbone makes large tiles affordable, enabling high-content screening and event-driven smart microscopy.
Figures & tables
Figure 1: Semantic unmixing under unknown mixing severity. Top: MambaSplit . A superimposed input Iα , the sum of two structures weighted by an unknown α and 1−α , is encoded by a hierarchical Mamba encoder with patch merging. A LERP head estimates α^ from the bottleneck, and FiLM layers condition every stage of the convolutional decoder on it, which predicts both structures in a single pass. Bottom: Representative MambaSplit predictions on one superimposed image each from the Hagen and PaviaATN datasets ( α=0.5 , equally weighted standardized channels), shown as a crop (top left) and a magnified inset (bottom left), with RI-PSNR (dB) and intensity histograms of prediction and ground truth.
Figure 2: Qualitative results obtained when one structure is weak (dim) compared to the other. Reconstruction of structures contributing only 10% of the summed input on BioSR (microtubules, ER) and HT-LIF24 (microtubules, centromeres); row labels name the weak structure. Values report RI-PSNR (dB) on the displayed inset; + TTA is MambaSplit with eight-fold test-time augmentation. For experimentally acquired superpositions, see Figure 3 .
Figure 3: Qualitative results on acquired superpositions, directly imaged at the microscope. Representative predictions from the best performing model of each method on HT-LIF24 (A: microtubules, B: centromeres) and HT-T24 (A: Golgi, B: SOX2-labeled nuclei); the upper row of each dataset shows structure A, the inset row structure B in the boxed region. Values report crop RI-PSNR (dB); + TTA is MambaSplit with eight-fold test-time augmentation.
Figure 4: Effect of the MambaSplit training patch size at a fixed pixel budget. Change of RI-PSNR relative to the 1024 -pixel model ( 512 on BioSR), averaged over nine mixing ratios; all configurations see the same pixels per training step (batch sizes 5, 20 and 80 at 1024, 512 and 256 pixels; 5 and 20 at 512 and 256 on BioSR; Supp. Table S3 ). Right: scSplit at its 512 -pixel tile against the same reference.
Dataset
Structures (A / B)
Size
Split (tr/val/test)
Acquired test inputs
PaviaATN
Actin / Tubulin
27202
49/6/6
/
Hagen
Actin / Mitochondria
20482
80/10/10
/
BioSR
Microtubules / ER
10042
45/5/5
/
HT-LIF24
Microtubules / Centromeres
16082
90/12/10
10
HT-T24
Golgi / SOX2
16082
292/37/36
36
Table S1 : Dataset composition. Unmixing task (channels A / B), image size, train/validation/test split, and number of experimentally acquired superpositions in the test set. Splits follow scSplit [ 3 ] . HT-LIF24 uses the 500 ms exposure.
Setting
Value
Optimization
Optimizer
AdamW, lr 10−4 , weight decay 10−2
Schedule
cosine to 10−7 , 299 epochs, no warm-up
Steps
2,000 per epoch (batch 5 , i.e. 10,000 random training crops per epoch)
Batch / patch
5 / 10242 ( 5122 on BioSR)
Precision
bf16 mixed
Table S2 : Training configuration. Default settings for MambaSplit .
Training patch size
Dataset
1024
512
256
PaviaATN
32.81
32.49
31.62
Hagen
41.33
41.14
40.83
HT-LIF24
46.03
46.15
45.77
HT-T24
40.45
40.16
39.26
BioSR
37.31
35.34
Table S3: Pixel-matched patch-size ablation. Nine-ratio mean RI-PSNR (dB), evaluated in a single pass with inference stride equal to one quarter of the patch size.
Figure S1 : Detailed MambaSplit architecture. A 4×4 patch embedding and hierarchical Mamba encoder progressively reduce spatial resolution while increasing channel width. The LERP head predicts the mixing ratio from the bottleneck, and FiLM conditions the bottleneck and shared convolutional decoder. Skip connections preserve spatial detail, and both output channels are reconstructed jointly. Insets show the Mamba block, patch merging, decoder upsampling block and FiLM operation; dimensions correspond to a 1024×1024 input.
Single pass
+TTA
Dataset
Regime
Δ
W
D
L
Δ
W
D
L
PaviaATN
Dominant
+0.78±0.15
100%
0%
0%
+1.31±0.12
100%
0%
0%
Balanced
−0.21±0.15
0%
17%
83%
+0.40±0.22
100%
0%
0%
Weak
+0.80±0.27
100%
0%
0%
+1.15±0.32
100%
0%
0%
Hagen
Dominant
−0.83±0.45
10%
0%
90%
−0.28±0.40
20%
0%
80%
Balanced
−0.37±0.29
10%
10%
80%
+0.03±0.43
40%
20%
40%
Table S4: Per-image comparison with the strongest baseline. For each test image and regime, the mean RI-PSNR over the regime’s six channel–ratio cells. Δ is MambaSplit minus the strongest baseline of Table 1 , which is scSplit in every cell (scSplit † on PaviaATN and Hagen), reported as mean ± s.d. over images (dB). W, D and L give the percentage of images won, drawn ( ∣Δ∣<0.1 dB), and lost. Dominant, Balanced and Weak as in Table 1 .
Figure S2 : Mixing-ratio estimation error. Mean residual α^−α across test tiles at each evaluated ratio; error bars show the standard error of the mean. Legend values give the mean absolute error over all tiles. The dashed line denotes zero bias.
HT-LIF24
HT-T24
Training α
FiLM
D
B
W
D
B
W
Fixed 0.5
45.82
44.86
36.40
35.26
34.33
28.91
Fixed 0.5
✓
45.52
44.77
36.10
35.40
34.48
29.01
Uniform
51.84
45.21
40.01
46.37
39.61
35.09
Uniform (ours)
✓
52.29
45.55
40.25
46.50
39.79
35.06
N(0.5,0.15)
51.63
45.76
39.87
46.21
39.90
34.95
Table S10 : Sensitivity to the training-ratio distribution. RI-PSNR (dB) on HT-LIF24 and HT-T24 in the Dominant (D), Balanced (B) and Weak (W) regimes; backbone, budget, seed and inference are fixed, only the training-ratio distribution and FiLM change. Uniform samples α from [0,1] ; N(μ,σ) is a Gaussian. InDI-style sampling uses α=0.5 with probability 1/3 and otherwise samples uniformly from [0,1] ; Gaussian samples are clipped to [0,1] . Best and second-best values are bold and underlined .
From scratch
Fine-tuned, ≤ 20%
Fine-tuned, converged
Dataset
Model
A
B
Avg.
A
B
Avg.
A
B
Avg.
HT-LIF24
MicroSplit
42.07
45.38
43.72
42.02
45.45
43.74
42.18
45.66
43.92
scSplit
41.81
45.91
43.86
42.01
45.71
43.86
42.23
46.31
44.27
MambaSplit
41.56
45.59
43.57
42.34
46.22
44.28
42.34
46.22
44.28 ‡
HT-T24
MicroSplit
40.3
32.8
36.55
40.47
33.05
36.76
40.47
33.05
36.76 ‡
scSplit
40.89
33.13
37.01
40.94
33.37
37.16
41.05
33.25
37.15
Table S11 : Per-channel results after training on acquired superpositions. RI-PSNR (dB) after training from scratch, fine-tuning for at most 20% of the training epochs, and fine-tuning to convergence (Supp. Section S4.2 Fine-tuning protocol and convergence ). Best and second-best results within each dataset and training stage are bold and underlined . ‡ Plateaued within the 20% budget. HT-T24 MicroSplit from-scratch results are from the published model.
HT-LIF24
HT-T24
Variant
A
B
Avg
+TTA
A
B
Avg
+TTA
Summed training, no fine-tuning
38.87
42.28
40.57
40.83
39.30
31.80
35.55
35.69
Acquired training from scratch
41.56
45.59
43.57
44.06
40.83
33.10
36.96
37.16
Ratio head frozen ( Table 2 )
42.34
46.22
44.28
44.67
41.07
33.61
37.34
37.48
Ratio head and FiLM frozen
42.29
46.21
44.25
44.66
41.06
33.58
37.32
37.38
Nothing frozen
42.31
46.20
44.26
44.66
41.05
33.60
37.33
37.39
Table S12: Fine-tuning variants on acquired superpositions. RI-PSNR (dB) of MambaSplit for channels A and B and their average, single pass and with eight-view TTA (average only). All fine-tuning variants start from the same summed-input model, use half the learning rate and at most 20% of the training epochs; they differ only in which conditioning parts are frozen or removed. The Ratio head frozen row is the fine-tuned entry of Table 2 . Fine-tuned scSplit reaches 44.27 (HT-LIF24) and 37.15 dB (HT-T24). Best and second-best values in each column are bold and underlined, respectively.
Figure S3 : Additional reconstructions of experimentally acquired superpositions. Two additional test examples each from HT-LIF24 (microtubules, centromeres) and HT-T24 (Golgi, SOX2) after fine-tuning, complementing Figure 3 . Crops are shared across methods and values report crop RI-PSNR (dB); + TTA is MambaSplit with eight-view test-time augmentation. Models and inference settings follow Supp. Section S4 Adaptation to experimentally acquired superpositions .
HT-LIF24
HT-T24
Model
Par. (M)
D
B
W
D
B
W
Avg
Runtime (s)
Mem. (GB)
U-Net-15M (Our recipe)
14.79
51.96
45.76
40.22
45.86
39.15
34.49
42.91
3.86
5.00
U-Net-15M (Our recipe): − FiLM
14.67
− 0.26
− 0.43
− 0.32
− 0.53
− 0.10
+0.12
− 0.25
3.79
5.00
U-Net-15M (Vanilla)
14.67
− 6.00
− 1.25
− 3.98
− 8.93
− 4.53
− 4.73
− 4.90
3.79
5.00
U-Net-38M (Our recipe)
38.37
52.96
46.12
40.56
46.17
39.31
34.67
43.30
9.74
8.26
U-Net-38M (Our recipe): − FiLM
38.20
− 0.59
− 0.30
− 0.19
− 0.48
− 0.22
+0.01
− 0.29
9.64
8.25
Table S13: U-Net comparison. RI-PSNR (dB) on HT-LIF24 and HT-T24 across Dominant (D), Balanced (B), and Weak (W) regimes; Avg is the mean across all six values. All U-Nets are trained by us. “Our recipe” uses uniformly sampled mixing ratios, α∼U[0,1] , and FiLM conditioning. The − FiLM and Vanilla rows report RI-PSNR differences relative to the corresponding “Our recipe” model; Vanilla uses a fixed α=0.5 without conditioning. Parameters, runtime, and peak memory are reported as absolute values. Inference is measured on a 2720×2720 image using 1024×1024 tiles, stride 256 , and batch size 4 on the same 71 GB GPU ( Table 3 ). Bold indicates the best result among the two U-Nets trained with our recipe and MambaSplit .
Setting
Value
Test statistic
Jensen–Shannon divergence on 32 -bin histograms
Block size
3 pixels
Control strip width
2 pixels
# Permutations
1,000
Significance
p<0.05
Table S17 : SWITi evaluation protocol. Settings used for the tiling artifacts analysis in Table S16 and Figure S6 .
Figure S4 : Tiling artifacts and their detection by FRT and cFRT. A 512 -pixel crop of a PaviaATN test frame (channel B, w=0.5 ; yellow inset in the ground-truth frame). T and S denote the tile size and stride, respectively, in pixels. Top: predictions, where tiling artifacts appear as discontinuities at the method’s tile boundaries. Middle: FRT on each method’s own grid (white dotted lines). Bottom: cFRT on the shared 256 -pixel grid (cyan lines). Red marks rejected tiles; on the 256 -pixel own grids, a tile is red when the median p -value over its 32 -pixel segment tests is below 0.05 .
Figure S5 : The FRT and cFRT scores alone are not a measure of reconstruction quality. μ Split and MambaSplit on one Hagen test frame ( w=0.5 ), with the ground truth in the middle column. T and S denote tile size and stride in pixels. Top: FRT on each method’s own grid; middle: cFRT on the shared 256 -pixel grid; red marks rejected tiles. Bottom: the inset (yellow box) at higher magnification.
Figure S6 : Tiling artifacts across mixing weights. FRT on each method’s own grid (top) and cFRT on the shared 256 -pixel grid (bottom), against each output channel’s mixing weight (channel A has weight w , channel B has 1−w ). Shaded columns mark the Weak ( ≤0.3 ) and Dominant ( ≥0.7 ) regimes; the dotted line is the nominal test level of 0.05 . † Our unclipped retraining on PaviaATN and Hagen; other datasets use released models.
cFRT
RI-PSNR
Dataset
1024
512
256
1024
512
256
PaviaATN
0.170
0.374
0.700
32.86
32.49
31.32
Hagen
0.574
0.782
0.930
41.34
41.14
40.64
HT-LIF24
0.214
0.384
0.665
46.08
46.15
45.63
HT-T24
0.239
0.372
0.873
40.68
40.16
39.01
BioSR
0.767
0.992
37.31
35.00
Table S19: Tile seams vs. training patch size. cFRT (Balanced regime, shared 256 -pixel grid; lower is better) and nine-ratio RI-PSNR (dB) of MambaSplit models trained on 1024 -, 512 - or 256 -pixel patches with the same pixels per step ( Figure 4 ), each tiled at its own training patch and all inferred at stride 128 , so that all models of a row have the same seam lines; larger tiles therefore overlap more. Checkpoints as in Figure 4 . BioSR has no 1024 -pixel model.
Figure S7 : Weak- and dominant-component recovery on PaviaATN. One test frame and crop at two mixing ratios: structure A at 20% and B at 80% (top pair), and the reverse (bottom pair). Within each pair, the first row shows structure A and the second structure B. The input column shows the full frame with the crop marked, and the zoomed crop. Values report crop RI-PSNR (dB); + TTA is MambaSplit with eight-view test-time augmentation. † marks the unclipped retrains of Table 1 ; the other baselines are the released models.
Figure S8 : Weak- and dominant-component recovery on Hagen. One test frame and crop at two mixing ratios: structure A at 20% and B at 80% (top pair), and the reverse (bottom pair). Within each pair, the first row shows structure A and the second structure B. The input column shows the full frame with the crop marked, and the zoomed crop. Values report crop RI-PSNR (dB); + TTA is MambaSplit with eight-view test-time augmentation. † marks the unclipped retrains of Table 1 ; the other baselines are the released models, and μ Split and denoiSplit are scored against the clipped target, as in Table 1 .
Figure S9 : Weak- and dominant-component recovery on BioSR. One test frame and crop at two mixing ratios: structure A at 20% and B at 80% (top pair), and the reverse (bottom pair). Within each pair, the first row shows structure A and the second structure B. The input column shows the full frame with the crop marked, and the zoomed crop. Values report crop RI-PSNR (dB); + TTA is MambaSplit with eight-view test-time augmentation. All baselines are the released models.
Figure S10 : Weak- and dominant-component recovery on HT-LIF24. One test frame and crop at two mixing ratios: structure A at 20% and B at 80% (top pair), and the reverse (bottom pair). Within each pair, the first row shows structure A and the second structure B. The input column shows the full frame with the crop marked, and the zoomed crop. Values report crop RI-PSNR (dB); + TTA is MambaSplit with eight-view test-time augmentation. All baselines are the released models.
Figure S11 : Weak- and dominant-component recovery on HT-T24. One test frame and crop at two mixing ratios: structure A at 20% and B at 80% (top pair), and the reverse (bottom pair). Within each pair, the first row shows structure A and the second structure B. The input column shows the full frame with the crop marked, and the zoomed crop. Values report crop RI-PSNR (dB); + TTA is MambaSplit with eight-view test-time augmentation. All baselines are the released models.
In fluorescence microscopy, spectral unmixing aims to recover individual fluorophore concentrations from spectral images that capture mixed fluorophore emissions. Since classical methods operate pixel-wise and rely on least-squares fitting, their performance degrades with increasingly overlapping emission spectra and higher levels of noise, suggesting that a data-driven approach that can learn and utilize a structural prior might lead to improved results. Learning-based approaches for spectral imaging do exist, but they are either not optimized for microscopy data or are developed for very specific cases that are not applicable to fluorescence microscopy settings. To address this, we propose λSplit, a physics-informed deep generative model that learns a conditional distribution over concentration maps using a hierarchical Variational Autoencoder. A fully differentiable Spectral Mixer enforces consistency with the image formation process, while the learned structural priors enable state-of-the-art unmixing and implicit noise removal. We demonstrate λSplit on 3 real-world datasets that we synthetically cast into a total of 66 challenging spectral unmixing benchmarks. We compare our results against a total of 10 baseline methods, including classical methods and a range of learning-based methods. Our results consistently show competitive performance and improved robustness in high noise regimes, when spectra overlap considerably, or when the spectral dimensionality is lowered, making λSplit a new state-of-the-art for spectral unmixing of fluorescent microscopy data. Importantly, λSplit is compatible with spectral data produced by standard confocal microscopes, enabling immediate adoption without specialized hardware modifications.
Federico Carrara, Talley Lambert, Mehdi Seifi +1
Fondazione Human Technopole, Milan, Italy · Università Campus Bio-Medico, Rome, Italy · Harvard Medical School, Boston, MA, USA
Hyperspectral image super-resolution aims to reconstruct high-resolution imagery while preserving dense spectral information. Recently, Mamba-based models have shown promising potential for this task by capturing long-range dependencies with linear computational complexity. Nevertheless, their causal sequence modeling requires two-dimensional hyperspectral features to be unfolded along predefined scanning orders, which disrupts spatial adjacency and restricts the effective propagation of contextual information. Moreover, state-space parameterization of existing models is predominantly derived from generic learned representations, without explicit alignment with the intrinsic characteristics of the hyperspectral image. To address this issue, we propose an Unmixing-derived Spectral and Structural Prompting Mamba framework, termed USP-Mamba, which adapts Mamba state evolution through composition-aware spectral priors and image-dependent structural prompts. Specifically, an unmixing-informed spectral prompt captures the global material composition of the input image and provides persistent conditioning throughout reconstruction. Injected into the Mamba sequence and progressively adapted across layers, it steers state evolution toward composition-consistent reconstruction. We introduce feature-level structural prompts comprising spatial and frequency components to provide image-dependent local guidance. The spatial prompt promotes structure-sensitive state encoding for local detail preservation, while the frequency prompt enables region-adaptive transitions between homogeneous regions and high-frequency details. Finally, complementary Hilbert and Semantic-Guided Neighboring scans preserve spatial continuity and strengthen non-local semantic dependency modeling. Extensive experiments on different datasets demonstrate that the proposed method consistently outperforms representative approaches.
Shi Chen, Jie Zhang, Yicong Zhou
Department of Computer Science, University of Macau, Macau, China
Semantic segmentation and hyperspectral unmixing are two central problems in spectral image analysis. The former assigns each pixel a discrete label corresponding to its material class, whereas the latter estimates pure material spectra, called endmembers, and, for each pixel, a vector representing material abundances in the observed scene. Despite their complementarity, these two problems are usually addressed independently. This paper aims to bridge these two lines of work by formally showing that, under the linear mixing model, pixel classification by dominant materials induces polyhedral-cone regions in the spectral space. We leverage this fundamental property to propose a direct segmentation-to-unmixing pipeline that performs blind hyperspectral unmixing from any semantic segmentation by constructing a polyhedral-cone partition of the space that best fits the labeled pixels. Signed distances from pixels to the estimated regions are then computed, linearly transformed via a change of basis in the distance space, and projected onto the probability simplex, yielding an initial abundance estimate. This estimate is used to extract endmembers and recover final abundances via matrix pseudo-inversion. Because the segmentation method can be freely chosen, the user gains explicit control over the unmixing process, while the rest of the pipeline remains essentially deterministic and lightweight. Beyond improving interpretability, experiments on three real datasets demonstrate the effectiveness of the proposed approach when associated with appropriate clustering algorithms, and show consistent improvements over recent deep and non-deep state-of-the-art methods. The code is available at: https://github.com/antoine-bottenmuller/polyhedral-unmixing
Antoine Bottenmuller, Etienne Decencière, Petr Dokládal
CMM, PSL, STIM · Mines Paris, PSL University, Centre for Mathematical Morphology (CMM), 77300 Fontainebleau, France