Papers › CountsDiff: A Diffusion Model on the Natural Numbers for Generation and Imputation of...

CountsDiff: A Diffusion Model on the Natural Numbers for Generation and Imputation of Count-Based Data

4 Apr 2026ICMLarXiv:2604.03779added by Syntology

Renzo G. Soatto, Anders Hoel, Greycen Ren, Shorna Alam, Stephen Bates, Nikolaos P. Daskalakis, Caroline Uhler, Maria Skoularidou

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Diffusion models have excelled at generative tasks for both continuous and token-based domains, but their application to discrete ordinal data remains underdeveloped. We present CountsDiff, a diffusion framework designed to model distributions on the natural numbers. CountsDiff extends the Blackout diffusion framework by simplifying its formulation through a direct parameterization in terms of a survival probability schedule and an explicit loss weighting. This introduces flexibility through design parameters with direct analogues in existing diffusion modeling frameworks. Beyond this reparameterization, CountsDiff introduces features from modern diffusion models, previously absent in counts-based domains, including continuous-time training, classifier-free guidance, and churn/remasking reverse dynamics that allow non-monotone reverse trajectories. We propose an initial instantiation of CountsDiff and validate it on natural image datasets (CIFAR-10, CelebA), exploring the effects of the introduced design parameters in a complex, well-studied, and interpretable data domain. We then highlight biological count assays as a natural use case, evaluating CountsDiff on single-cell RNA-seq imputation in fetal and heart cell atlases. Remarkably, we find that even this simple instantiation matches or surpasses the performance of a state-of-the-art discrete generative model and leading scRNA-seq imputation methods, while leaving substantial headroom for further gains through optimized design choices in future work.

PaperPDFCode 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="2604.03779")

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

By repository: found in paper text by Syntology: 16 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

rsoatto/countsdiff found in paper text by Syntology report

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

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 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.

16unverified

Licence: 16 of the 16 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 rsoatto/countsdiff. “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.

build_legacy_blackout_observation_times rsoatto/countsdiff/src/countsdiff/training/utils.py found in paper text by Syntology unverified no licence file found · pointer only · 625ede52a28f1d56 · report
build_sigma_schedule rsoatto/countsdiff/src/countsdiff/generation/sampling.py found in paper text by Syntology unverified no licence file found · pointer only · 4b688235b7af87a5 · report
calculate_jsd rsoatto/countsdiff/src/countsdiff/utils/metrics.py found in paper text by Syntology unverified no licence file found · pointer only · e83261b28f015441 · report
calculate_mmd rsoatto/countsdiff/src/countsdiff/utils/metrics.py found in paper text by Syntology unverified no licence file found · pointer only · 5671fbe8ef6fc6fc · report
calculate_wasserstein_distance rsoatto/countsdiff/src/countsdiff/utils/metrics.py found in paper text by Syntology unverified no licence file found · pointer only · 97750580cf3aa989 · report
cos_p_scheduler rsoatto/countsdiff/src/countsdiff/training/utils.py found in paper text by Syntology unverified no licence file found · pointer only · c516644266ca796e · report
make_wandb_safe rsoatto/countsdiff/src/countsdiff/utils/tracking.py found in paper text by Syntology unverified no licence file found · pointer only · 52b2934ce18d3f4c · report
normalize_config_literals rsoatto/countsdiff/src/countsdiff/utils/tracking.py found in paper text by Syntology unverified no licence file found · pointer only · a95b40012fa4d679 · report
positional_encoding rsoatto/countsdiff/src/countsdiff/generation/sampling.py found in paper text by Syntology unverified no licence file found · pointer only · 037a743663696ad7 · report
resolve_sigma_schedule rsoatto/countsdiff/src/countsdiff/generation/sampling.py found in paper text by Syntology unverified no licence file found · pointer only · 4c15513791195fcf · report
resolved_config_for_run rsoatto/countsdiff/src/countsdiff/utils/tracking.py found in paper text by Syntology unverified no licence file found · pointer only · b4ada36cae00f7c6 · report
restore_checkpoint_withEval rsoatto/countsdiff/src/countsdiff/utils/checkpoints.py found in paper text by Syntology unverified no licence file found · pointer only · 8f2eadcf06e5a9e0 · report
restore_checkpoint_with_sum rsoatto/countsdiff/src/countsdiff/utils/checkpoints.py found in paper text by Syntology unverified no licence file found · pointer only · e0bf82487ce22951 · report
save_checkpoint_withEval rsoatto/countsdiff/src/countsdiff/utils/checkpoints.py found in paper text by Syntology unverified no licence file found · pointer only · cd2b28d29b7a525c · report
setup_logging rsoatto/countsdiff/src/countsdiff/utils/logging.py found in paper text by Syntology unverified no licence file found · pointer only · 047467be88565ffe · report
weight_scheduler rsoatto/countsdiff/src/countsdiff/training/utils.py found in paper text by Syntology unverified no licence file found · pointer only · 6c96b4bcd031f462 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2604.03779, was issued in April 2026, after that date, so the archive has no leaderboard rows for it.

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