Papers › Fisher Flow Matching for Generative Modeling over Discrete Data

Fisher Flow Matching for Generative Modeling over Discrete Data

23 May 2024arXiv:2405.14664archive 2025-07-28

Oscar Davis, Samuel Kessler, Mircea Petrache, İsmail İlkan Ceylan, Michael Bronstein, Avishek Joey Bose

Generative modeling over discrete data has recently seen numerous success stories, with applications spanning language modeling, biological sequence design, and graph-structured molecular data. The predominant generative modeling paradigm for discrete data is still autoregressive, with more recent alternatives based on diffusion or flow-matching falling short of their impressive performance in continuous data settings, such as image or video generation. In this work, we introduce Fisher-Flow, a novel flow-matching model for discrete data. Fisher-Flow takes a manifestly geometric perspective by considering categorical distributions over discrete data as points residing on a statistical manifold equipped with its natural Riemannian metric: the Fisher-Rao metric. As a result, we demonstrate discrete data itself can be continuously reparameterised to points on the positive orthant of the d-hypersphere 𝕊ᵈ_+, which allows us to define flows that map any source distribution to target in a principled manner by transporting mass along (closed-form) geodesics of 𝕊ᵈ_+. Furthermore, the learned flows in Fisher-Flow can be further bootstrapped by leveraging Riemannian optimal transport leading to improved training dynamics. We prove that the gradient flow induced by Fisher-Flow is optimal in reducing the forward KL divergence. We evaluate Fisher-Flow on an array of synthetic and diverse real-world benchmarks, including designing DNA Promoter, and DNA Enhancer sequences. Empirically, we find that Fisher-Flow improves over prior diffusion and flow-matching models on these benchmarks.

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="2405.14664")

Code

Syntology Ran 10 of 11 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 7 ran with no contract checked.

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

olsdavis/fisher-flow found in paper text by Syntology 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

11 samples harvested; 10 ran; 1 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
7ran
1unverified

Licence: 11 of the 11 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 olsdavis/fisher-flow. “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.

compute_p_c_given_a olsdavis/fisher-flow/process_qm9.py found in paper text by Syntology ran no licence file found · pointer only · 62a374c41d42248b · report
fast_dot olsdavis/fisher-flow/src/sfm/maths.py found in paper text by Syntology ran no licence file found · pointer only · 270f0a9239afe00d · report
geodesic olsdavis/fisher-flow/src/models/sfm_module.py found in paper text by Syntology ran no licence file found · pointer only · e866cf56e30ba0fe · report
load_flybrain_designed_seqs olsdavis/fisher-flow/src/dfm/flow_utils.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · 22c38cadd0bf4ee1 · report
min_max_str olsdavis/fisher-flow/src/dfm/flow_utils.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 2c300b84493c2cda · report
safe_arccos olsdavis/fisher-flow/src/sfm/maths.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 8ab3e2715f7d5777 · report
str_to_ot_method olsdavis/fisher-flow/src/sfm/manifold.py found in paper text by Syntology ran no licence file found · pointer only · d3b7cc6614b2da7e · report
uniform_logprob olsdavis/fisher-flow/src/sfm/distribution.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 1b8d11dc2a29db5d · report
update_ema olsdavis/fisher-flow/src/dfm/flow_utils.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 55205512756a9ef1 · report
usinc olsdavis/fisher-flow/src/sfm/maths.py found in paper text by Syntology ran no licence file found · pointer only · f092ccbf6fbaca5d · report
compute_exact_loglikelihood olsdavis/fisher-flow/src/sfm/distribution.py found in paper text by Syntology unverified no licence file found · pointer only · a4a44424efcc0e6e · report

Tasks

Language ModelingLanguage ModellingVideo Generation

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