SheafStain: Sheaf-Theoretic Schr"odinger Bridge for Spatially and Biologically Coherent Virtual Staining
Hyeongyeol Lim, Hongjun Yoon, Eunjin Jang, Daeky Jeong, Won June Cho, HWAMIN LEE
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Virtual Staining and Molecular Mapping · Type: new method · Keywords: virtual staining, sheaf theory, Schrödinger Bridge, whole slide imaging, histopathology, context contamination
Areas: Computer Vision & 3D › Medical Visual Computing › Pathology Foundation Models
Summary
SheafStain uses a sheaf-theoretic Schrödinger Bridge to produce spatially and biologically coherent virtual staining from gigapixel whole-slide images.
Explained to a 5-year-old
Doctors look at tiny pictures of tissue called whole slide images. They want to color these pictures to see signs of disease, but when you piece together small patches, the colors don’t line up. The computer model gets confused because it looks at too much context. The researchers fixed this by making the model think of the pictures like a family of rules that match up everywhere. This helps the colored pictures be smooth and correct, making it easier to see disease signs.
Explained to a 5-year-old, longer
In hospitals, pathologists examine large glass slides of tissue to diagnose cancer. They would love a quick way to color these slides (virtual staining) so they can see important biomarkers without waiting for real lab stains. Right now, computers try to color the slides by looking at small pieces, but the colors often don’t match up when the pieces are joined together, creating ugly seams. The problem gets worse because the computer models used for images sometimes look at too much surrounding information, causing the same spot to be colored differently depending on its neighbors. The researchers noticed this issue can be described using a mathematical idea called a sheaf, where pieces of information should fit together nicely. They turned the image-coloring task into a problem that follows sheaf rules, using a method called a Schrödinger Bridge to keep the colors consistent across the whole slide. They also trained the model on two common stain types (H&E and IHC) so it understands both kinds of colors. The final system takes small patches, colors them correctly, and then stitches them together to make a smooth, accurate whole-slide image. This new approach not only looks better but also helps doctors see disease markers faster and more reliably, saving time and money in cancer diagnosis.
For a technical reader
The paper addresses spatial inconsistency in virtual staining of gigapixel whole-slide images by modeling Vision Foundation Model features as sheaf-like sections. By integrating class and patch tokens within a Schrödinger Bridge framework, the method enforces both biological consistency (via the class token) and spatial coherence (via per-position patch tokens). A backbone co-pretrained on H&E and IHC provides a shared feature space that supervises input conditioning and output stain alignment. Evaluation on stitched 1024×1024 outputs across HER2, ER, PR, and Ki-67 shows improved performance and reduced stitching artifacts compared to six prior methods.
Problem
Virtual staining methods that infer from patches of gigapixel whole slide images often lose spatial continuity, causing stitching artifacts and mismatches with ground truth. Additionally, Vision Foundation Models produce inconsistent embeddings for the same region due to context contamination.
Method
The approach reinterprets Vision Foundation Model features as sheaf-like sections, integrating class and patch tokens within a Schrödinger Bridge framework to enforce spatial and biological consistency. A backbone is co-pretrained on H&E and IHC stains to provide a shared feature space. The model translates patches at a lower resolution and stitches them to produce coherent whole-slide virtual stains.
Results
The approach shows promising performance compared to six prior methods and reduces stitching artifacts.
Contributions
It formalizes context contamination as a sheaf-theoretic gluing axiom violation and introduces a sheaf-theoretic Schrödinger Bridge framework for coherent virtual staining. The method also provides a co-pretrained backbone on multiple stains and evaluates on stitched whole-slide outputs across several biomarkers.
Practical relevance
It enables time- and cost-efficient biomarker quantification for cancer diagnostics by producing accurate, spatially coherent virtual stains.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction