Papers › DiffInfinite: Large Mask-Image Synthesis via Parallel Random Patch Diffusion in Histopathology

DiffInfinite: Large Mask-Image Synthesis via Parallel Random Patch Diffusion in Histopathology

23 Jun 2023NeurIPS 2023 11arXiv:2306.13384archive 2025-07-28

We present DiffInfinite, a hierarchical diffusion model that generates arbitrarily large histological images while preserving long-range correlation structural information. Our approach first generates synthetic segmentation masks, subsequently used as conditions for the high-fidelity generative diffusion process. The proposed sampling method can be scaled up to any desired image size while only requiring small patches for fast training. Moreover, it can be parallelized more efficiently than previous large-content generation methods while avoiding tiling artifacts. The training leverages classifier-free guidance to augment a small, sparsely annotated dataset with unlabelled data. Our method alleviates unique challenges in histopathological imaging practice: large-scale information, costly manual annotation, and protective data handling. The biological plausibility of DiffInfinite data is evaluated in a survey by ten experienced pathologists as well as a downstream classification and segmentation task. Samples from the model score strongly on anti-copying metrics which is relevant for the protection of patient data.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2306.13384")

Code

Syntology Ran 5 of 13 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 3 ran · honoured contract; 2 ran · violated contract.

By repository: official repository: 13 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

marcoaversa/diffinfinite officialpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 5 ran; 3 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
2ran · violated contract
8unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from marcoaversa/diffinfinite. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

cosine_beta_schedule marcoaversa/diffinfinite/dm.py official repository ran · honoured contract fingerprinted MIT (permissive) · 05e94467a0de94a4 · report
default marcoaversa/diffinfinite/dm_masks.py official repository ran · violated contract MIT (permissive) · d1ef6b8cb9a28a53 · report
exists marcoaversa/diffinfinite/dm_masks.py official repository ran · violated contract MIT (permissive) · 608e364a9d2376a3 · report
identity marcoaversa/diffinfinite/dataset.py official repository ran · honoured contract fingerprinted MIT (permissive) · 9910e2fc297f8665 · report
linear_beta_schedule marcoaversa/diffinfinite/dm.py official repository ran · honoured contract fingerprinted MIT (permissive) · 482723f534770483 · report
corners marcoaversa/diffinfinite/random_diffusion.py official repository unverified MIT (permissive) · 91cf3977ef9cf6f4 · report
extract marcoaversa/diffinfinite/dm.py official repository unverified MIT (permissive) · 09c8479d9a5b3e06 · report
get_augmentation marcoaversa/diffinfinite/dataset.py official repository unverified MIT (permissive) · c318aee25ce9f5bb · report
get_label_dict marcoaversa/diffinfinite/dataset_masks.py official repository unverified MIT (permissive) · 8d3f21f1fcdbb0df · report
import_small_mask_dataset marcoaversa/diffinfinite/dataset_masks.py official repository unverified MIT (permissive) · c4a721b224e2f407 · report
remove_common_elements marcoaversa/diffinfinite/dataset.py official repository unverified MIT (permissive) · b401229bccf2b4bc · report
tile marcoaversa/diffinfinite/random_diffusion.py official repository unverified MIT (permissive) · a7eaa03bef197600 · report
untile marcoaversa/diffinfinite/random_diffusion.py official repository unverified MIT (permissive) · 1180e94f503fbfca · report

Tasks

Image GenerationSegmentation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections