Uncertainty-Guided Selective Adaptation Enables Cross-Platform Predictive Fluorescence Microscopy

Kai-Wen K. Yang, Andrew Bai, Alexandra Bermudez, Yunqi Hong, Zoe Latham, Iris Sloan, Michael Liu, Vishrut Goyal, Cho-Jui Hsieh, Neil Y. C. LinarXiv 2025 · DOI

Abstract

Deep learning models in microscopy often fail when deployed across different instruments due to "domain shifts" in illumination, noise, and optics. We present SIT-ADDA-Auto, a framework that selectively adapts only the initial layers of a pre-trained U-Net to handle instrument-specific optical statistics while preserving biological semantics. By utilizing predictive uncertainty from model ensembles, the system automatically determines the optimal adaptation depth without requiring new labeled data. This approach enables high-fidelity virtual staining on diverse hardware, ranging from lab-grade systems to low-cost 3D-printed microscopes.

Introduction

The "generalization gap" remains a significant barrier to the widespread adoption of AI-driven microscopy. Models trained to predict fluorescence from brightfield images on a specific microscope often produce severe artifacts or fail to detect features when applied to images from a different instrument. These domain shifts arise from variations in sensor noise, magnification, and illumination. While standard Adversarial Domain Adaptation (ADDA) can retrain entire networks, it often disrupts the model's understanding of biological structures. There is a critical need for methods that correct low-level optical discrepancies while maintaining high-level biological knowledge.

Methodology: SIT-ADDA-Auto

The proposed Subnetwork Image Translation ADDA (SIT-ADDA) framework introduces two primary innovations to address cross-platform generalization:

  1. Selective Layer Freezing: Rather than adapting the entire encoder, SIT-ADDA freezes deeper layers containing semantic biological information. Only the first few convolutional blocks are fine-tuned, targeting the layers responsible for processing "optical statistics."
  2. Uncertainty-Guided Optimization: To automate the selection of adaptation depth in the absence of ground truth labels, the framework employs an ensemble of five models. By measuring epistemic uncertainty (variance between model predictions), the system identifies the configuration with the lowest uncertainty, which correlates strongly with high prediction accuracy.
Overview of the SIT-ADDA framework, domain shift factors, and quantitative performance.

The framework utilizes a PatchGAN discriminator to align feature distributions between the source and target domains in an unsupervised, adversarial manner.

Experimental Setup

The study evaluated the framework using Mesenchymal Stem Cells (MSCs) and mouse kidney tissue sections. Models were initially trained on a high-end Echo Revolve system (Source) and tested across a spectrum of target hardware:

  • Etaluma LS720: Incubator-grade microscope.
  • Olympus-P: Educational microscope paired with an iPhone 4.
  • OpenFlexure: 3D-printed microscope in both pseudo-phase contrast and brightfield modes.

Results and Discussion

SIT-ADDA demonstrated superior performance in cross-modality and cross-platform tests. In Phase Contrast to Brightfield transitions, the method improved the pixel-wise Pearson correlation from a baseline of 0.73 to 0.85, outperforming standard full-encoder ADDA (0.77).

Comparison between ground truth and a non-adapted model showing significant vertical artifacts.

Qualitatively, SIT-ADDA recovered fine-scale subcellular details, such as perinuclear integrin enrichment, which were often lost or distorted by standard adaptation methods. On 3D-printed hardware, the model successfully reconstructed actin and nuclear features from low-contrast, noisy inputs. Blinded assessments by nine expert microscopists confirmed that SIT-ADDA-adapted images possessed higher biological realism and fewer artifacts than competing methods.

Conclusion

By focusing adaptation on low-level optical features and using uncertainty as a self-configuration signal, SIT-ADDA-Auto democratizes high-end AI analysis. This approach allows sophisticated virtual staining models to be deployed on low-cost hardware, bridging the gap between high-resource research environments and citizen science or educational settings. Future work will explore scale-aware modules to better handle extreme magnification mismatches and self-supervised objectives to further decouple biological content from imaging style.

Summary updated

BibTeX
@misc{yang2025uncertainty,
  author = {Kai-Wen K. Yang and Andrew Bai and Alexandra Bermudez and Yunqi Hong and Zoe Latham and Iris Sloan and Michael Liu and Vishrut Goyal and Cho-Jui Hsieh and Neil Y. C. Lin},
  title = {{Uncertainty-Guided Selective Adaptation Enables Cross-Platform Predictive Fluorescence Microscopy}},
  year = {2025},
  eprint = {2511.12006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.12006},
}
Figure