mlsanityData to 7 Oct 2026

CAFlow: Adaptive-Depth Single-Step Flow Matching for Efficient Histopathology Super-Resolution

arXiv 2603.18513 ↗First posted 19 Mar 2026cs.CV cs.AIcited by 0

On the map: Diffusion models → Medical imaging and segmentation

Abstract (arXiv)

In digital pathology, whole-slide images routinely exceed gigapixel resolution, making computationally intensive generative super-resolution (SR) impractical for routine deployment. We introduce CAFlow, an adaptive-depth single-step flow-matching framework that routes each image tile to the shallowest network exit that preserves reconstruction quality. CAFlow performs flow matching in pixel-unshuffled rearranged space, reducing spatial computation by 16x while enabling direct inference. We show that dedicating half of training to exact t=0 samples is essential for single-step quality (-1.5 dB without it). The backbone, FlowResNet (1.90M parameters), mixes convolution and window self-attention blocks across four early exits spanning 3.1 to 13.3 GFLOPs. A lightweight exit classifier (~6K parameters) achieves 33% compute savings at only 0.12 dB cost. On multi-organ histopathology x4 SR, adaptive routing achieves 31.72 dB PSNR versus 31.84 dB at full depth, while the shallowest exit exceeds bicubic by +1.9 dB at 2.8x less compute than SwinIR-light. The method generalizes to held-out colon tissue with minimal quality loss (-0.02 dB), and at x8 upscaling it outperforms all comparable-compute baselines while remaining competitive with the much larger SwinIR-Medium model. Downstream nuclei segmentation confirms preservation of clinically relevant structure. The model trains in under 5 hours on a single GPU, and adaptive routing can reduce whole-slide inference from minutes to seconds.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 41 of its 47 references that are in the map. First posted on arXiv 19 Mar 2026.

Builds on

41 of 47 references.

References · 41

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  5. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  8. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  9. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  10. 2016Layer Normalizationcited by 5,579
  11. 2022Flow Matching for Generative Modelingcited by 5,426
  12. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
29 more
  1. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
  2. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  3. 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
  4. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,961
  5. 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
  6. 2021Restormer: Efficient Transformer for High-Resolution Image Restorationcited by 1,618
  7. 2017Enhanced Deep Residual Networks for Single Image Super-Resolutioncited by 1,543
  8. 2021Image Super-Resolution via Iterative Refinementcited by 1,506
  9. 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,295
  10. 2018Image Super-Resolution Using Very Deep Residual Channel Attention Networkscited by 1,256
  11. 2018ESRGAN: Enhanced Super-Resolution Generative Adversarial Networkscited by 1,250
  12. 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,199
  13. 2016Deep Networks with Stochastic Depthcited by 973
  14. 2022Building Normalizing Flows with Stochastic Interpolantscited by 964
  15. 2021Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Datacited by 961
  16. 2023Improving and generalizing flow-based generative models with minibatch optimal transportcited by 835
  17. 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 591
  18. 2023Exploiting Diffusion Prior for Real-World Image Super-Resolutioncited by 486
  19. 2021SRDiff: Single Image Super-Resolution with Diffusion Probabilistic Modelscited by 415
  20. 2019Deep Learning for Image Super-resolution: A Surveycited by 368
  21. 2022Perception Prioritized Training of Diffusion Modelscited by 301
  22. 2024Flow Matching Guide and Codecited by 291
  23. 2023Efficient Diffusion Training via Min-SNR Weighting Strategycited by 242
  24. 2018Cell Detection with Star-convex Polygonscited by 182
  25. 2021Hierarchical Conditional Flow: A Unified Framework for Image Super-Resolution and Image Rescalingcited by 73
  26. 2018Deep learning-based virtual histology staining using auto-fluorescence of label-free tissuecited by 70
  27. 2020Deep learning-based transformation of the H&E stain into special stainscited by 55
  28. 2023Computational Pathology: A Survey Review and The Way Forwardcited by 30
  29. 2023Super resolution of histopathological frozen sections via deep learning preserving tissue structurecited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026From Multi-Resolution Cells to Gigapixel Whole Slide Images Foundation Model for Computational Pathology
  2. 2025Scalable Generation of Spatial Transcriptomics from Histology Images via Whole-Slide Flow Matching
  3. 2024URCDM: Ultra-Resolution Image Synthesis in Histopathology
  4. 2026STREAM: Stochastic Riemannian Flow Matching with Anisotropic Decoder for Digital Histopathology Image Generation
  5. 20253D-Guided Scalable Flow Matching for Generating Volumetric Tissue Spatial Transcriptomics from Serial Histology
  6. 2026Patch-to-Global: Random Patch Diffusion for Globally Consistent Megapixel Artifact Inpainting in Whole Slide Images
  7. 2025GeneFlow: Translation of Single-cell Gene Expression to Histopathological Images via Rectified Flow
  8. 2023Diffusion-based generation of Histopathological Whole Slide Images at a Gigapixel scale