# STREAM: Stochastic Riemannian Flow Matching with Anisotropic Decoder for Digital Histopathology Image Generation

*Won June Cho, Daeky Jeong, Hyeongyeol Lim, Hongjun Yoon*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149538) · [Open on the map](../papers.html#p149538)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Diffusion Model Image Synthesis](../pgroup/12.md) · Type: new method · Keywords: histopathology image generation, Riemannian flow matching, anisotropic decoder, latent diffusion, computational pathology

Areas: [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Pixel-Space Diffusion › Diffusion and Flow Models; [Computer Vision & 3D](../areas/computer-vision.md) › Medical Visual Computing › Medical Image Segmentation

## Summary
STREAM introduces a stochastic Riemannian flow matching framework with an anisotropic decoder to generate high-quality histopathology images by using pretrained Vision Foundation Model features as a latent space on the unit hypersphere.

## Explained to a 5-year-old
Histopathology images are pictures that doctors look at to see if a patient has diseases. Making new realistic pictures of tissue is hard because there aren't enough real ones and patient privacy must be kept. The researchers used a special math method that treats the picture information like points on a sphere to generate new images. They also added a smart decoder that makes the generated pictures reliable where there is little data and detailed where there is lots of data. This helps doctors get more training pictures without using real patient data.

## Explained to a 5-year-old, longer
Histopathology images are pictures that doctors look at to see if a patient has diseases like cancer. Having many of these pictures helps computers learn to recognize diseases, but getting real pictures is hard because of privacy and cost. The researchers wanted to create new, realistic pictures of tissue without using real patient data. They noticed that the computer models used to understand tissue already store information as tiny points that are all the same size. These points lie on a special mathematical surface called a sphere, which has a shape that can be described using curved geometry. The team used a new way of moving these points around that follows the curved shape, which helps generate better images. They also built a decoder that knows which parts of the data are well-understood and which are not. The decoder makes the generated pictures strong and reliable where there is little data, and sharp and detailed where there is a lot of data. This approach avoids a problem where the computer model’s guidance takes over and makes the pictures too similar. The final system can create many different, realistic tissue images that look like real ones. These synthetic images can be used to train other computer models that help doctors diagnose diseases. By using computer-generated pictures, patient privacy is protected and more diverse training data becomes available.

## For a technical reader
STREAM leverages pretrained Vision Foundation Model patch tokens as a latent space that lies on the unit hypersphere, exploiting its intrinsic curvature for generative modeling. It employs a stochastic bridge perturbation to make these tokens rectifiable, enabling a Diffusion Transformer to be trained directly in this Riemannian latent space. An anisotropic decoder is introduced to allocate robustness to data-sparse directions while preserving fidelity along data-dense directions. The framework is evaluated on breast and colorectal cancer histopathology datasets, achieving state-of-the-art reconstruction and generation performance. This approach addresses patient privacy concerns and provides large-scale synthetic data for training foundation models in computational pathology.

## Problem
Generating realistic histopathology images while preserving patient privacy and providing large-scale training data is challenging because existing latent diffusion models suffer from conditioning collapse, where the conditioning signal dominates the latent space and reduces sample quality and diversity.

## Method
The approach uses a stochastic bridge perturbation to make patch-token features on the unit hypersphere rectifiable, enabling training of a Diffusion Transformer in latent space, and introduces an anisotropic decoder that allocates robustness to data-sparse directions while preserving fidelity along data-dense directions.

## Results
STREAM attains state-of-the-art reconstruction and generation performance on both breast and colorectal cancer datasets.

## Contributions
The paper introduces the first Riemannian flow matching framework for histopathology, proposes a stochastic bridge perturbation to enable rectifiable latent training, and presents an anisotropic decoder that balances robustness and fidelity, achieving superior results on two cancer datasets.

## Practical relevance
The approach helps protect patient privacy and supplies diverse synthetic histopathology images for training foundation models in computational pathology.

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](../feedback/?on=p/149538)
