Papers › Language Modeling with Hyperspherical Flows

Language Modeling with Hyperspherical Flows

11 May 2026arXiv:2605.11125added by Syntology

Justin Deschenaux, Caglar Gulcehre

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

Discrete Diffusion Language Models progressed rapidly as an alternative to autoregressive (AR) models, motivated by their parallel generation abilities. However, for tractability, discrete diffusion models sample from a factorized distribution, which is less expressive than AR. Recent Flow Language Models (FLMs) apply continuous flows to language, transporting noise to data with a deterministic ODE that avoids factorized sampling. FLMs operate on one-hot vectors whose dimension scales with the vocabulary size, making FLMs costly to train. Moreover, since all distinct one-hot embeddings are equidistant in ℓ₂, adding Gaussian noise does not have a clear semantic interpretation (unlike images, where Gaussian noise progressively degrades structure). We introduce 𝕊-FLM, a latent FLM in the hypersphere. 𝕊-FLM generates sequences by rotating vectors in 𝕊ᵈ⁻¹ along a velocity field learned with cross-entropy, avoiding the overhead of materializing one-hot vectors. Previous FLMs match AR in Generative Perplexity (Gen.\ PPL), but samples with high likelihood are not necessarily correct in verifiable domains such as math and code. 𝕊-FLM substantially improves continuous flow language models on large-vocabulary reasoning and closes the gap to masked diffusion under standard-temperature sampling (T=1), while a gap remains under optimized low-temperature (T=0.1) decoding.

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

Code

Syntology Ran 21 of 24 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · fixture could not drive it; 18 ran with no contract checked.

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

s-sahoo/duo found in paper text by Syntology report
jdeschena/s-flm 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

24 samples harvested; 21 ran; 2 honoured the contract we drafted; 3 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.

2ran · honoured contract
1ran · fixture could not drive it
18ran
3unverified

Licence: 14 of the 24 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

alpha_to_gamma jdeschena/s-flm/flm_utils.py found in paper text by Syntology ran no licence file found · pointer only · 5d6407c4bc5302f2 · report
attention_inner_heads_flash s-sahoo/duo/models/unit_test_attention.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · cb962a179d06cce8 · report
bias_dropout_add_scale jdeschena/s-flm/models/dit.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · fbbc6722b74bda27 · report
build_luts jdeschena/s-flm/flm_utils.py found in paper text by Syntology ran no licence file found · pointer only · 1c0ec5966835fcd3 · report
compute_alpha_exact jdeschena/s-flm/flm_utils.py found in paper text by Syntology ran no licence file found · pointer only · 99c19e9dd7632489 · report
count_parameters s-sahoo/duo/utils.py found in paper text by Syntology ran · honoured contract Apache-2.0 (permissive) · f6b944f50d3f15ae · report
default_init s-sahoo/duo/models/unet.py found in paper text by Syntology ran Apache-2.0 (permissive) · fdd6aad96accd488 · report
eval_suffix_nll s-sahoo/duo/discrete_diffusion_harness.py found in paper text by Syntology ran Apache-2.0 (permissive) · 6f60d462bd6f4a0c · report
expected_rank jdeschena/s-flm/candi_utils.py found in paper text by Syntology ran no licence file found · pointer only · d689900773b45e39 · report
fsspec_exists s-sahoo/duo/utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · dec1de00023a923b · report
get_bias_dropout_add_scale jdeschena/s-flm/models/dit.py found in paper text by Syntology ran no licence file found · pointer only · 06d2d8e50f91481f · report
inference_sigmas jdeschena/s-flm/candi_utils.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · b62f2c5c4a261f52 · report
justnorm jdeschena/s-flm/models/sphere_arch.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 32176fe5b679b415 · report
lm1b_detokenizer jdeschena/s-flm/dataloader.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 576e1b9b9bcae8ff · report
modulate jdeschena/s-flm/models/dit.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · 78b555034273f3c7 · report
ptb_detokenizer jdeschena/s-flm/dataloader.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 9f7fbdbe7ca280e0 · report
sample_categorical s-sahoo/duo/trainer_base.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 300194a15680602c · report
training_sigma_ve jdeschena/s-flm/candi_utils.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 3168aaa9a362be02 · report
transformer_timestep_embedding s-sahoo/duo/models/unet.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · c40a24e67f67c90e · report
variance_scaling s-sahoo/duo/models/unet.py found in paper text by Syntology ran Apache-2.0 (permissive) · 3ac11bfe0ae80195 · report
wt_detokenizer jdeschena/s-flm/dataloader.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 46c10627206a7795 · report
dataclass jdeschena/s-flm/dataclass_patch.py found in paper text by Syntology unverified no licence file found · pointer only · 60415613b01cd2d8 · report
eval_suffix_nll_ar s-sahoo/duo/discrete_diffusion_harness.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 833b4c254da7e2c9 · report
fsspec_listdir s-sahoo/duo/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · db0136eb80a50383 · report

Results from the paper

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

Placed on leaderboards by Syntology Syntology

Syntology's extractor considered 1 leaderboard for this paper and did not place the paper on it: 1 rejected by the independent check. What is not shown.

Syntology has checked 6,795 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.

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