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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 24 code samples harvested from 2 repositories linked to this paper: 21 ran (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 3 honoured, 1 violated, 2 with no contract checked; 15 where Syntology's instrument failed) · 3 unverified. Where Syntology's instrument failed: 12 where our contract draft was wrong; 3 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 24 samples from 2 repositories, 21 ran (6 with no instrument failure; 15 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 21 samples that ran has no recorded date.

s-sahoo/duo found in paper text by SyntologySyntology: 10 samples, 8 ran (5 instrument-failed) · 2 unverified report
jdeschena/s-flm found in paper text by SyntologySyntology: 14 samples, 13 ran (10 instrument-failed) · 1 unverified 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 (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 3 honoured, 1 violated, 2 with no contract checked; 15 where Syntology's instrument failed) · 3 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

3ran · honoured contract
1ran · violated contract
12ran · our draft was wrong
3ran; the contract check could not run
2ran
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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

s-sahoo/duo found in paper text by Syntology 10 samples, 8 ran (5 instrument-failed) · 2 unverified
attention_inner_heads_flash models/unit_test_attention.py ran; the contract check could not run (RAISES) fingerprinted Apache-2.0 (permissive) · cb962a179d06cce8 · report fixture: signature qkv:Tensor/3/float, num_heads:int/0/int · returned Tensor · level recorded 2026-09-24
count_parameters in 278 papers utils.py ran · honoured contract Apache-2.0 (permissive) · f6b944f50d3f15ae · report fixture: signature model:callable/0/? · returned int · level recorded, date not recorded
default_init in 38 papers models/unet.py ran · our draft was wrong Apache-2.0 (permissive) · fdd6aad96accd488 · report fixture: signature scale:float/0/float · returned function · level recorded 2026-09-24
eval_suffix_nll discrete_diffusion_harness.py ran Apache-2.0 (permissive) · 6f60d462bd6f4a0c · report fixture: signature config:Config/0/?, module:callable/0/?, prefix:Tensor/2/int, suffix:Tensor/2/int, batch_size:int/0/int, num_samples:int/0/int, loss_avg_mode:str/0/str · returned float · level recorded 2026-09-24
fsspec_exists in 8 papers utils.py ran · violated contract Apache-2.0 (permissive) · dec1de00023a923b · report fixture: signature filename:str/0/str · returned bool · level recorded 2026-09-24
sample_categorical in 20 papers trainer_base.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 300194a15680602c · report fixture: signature categorical_probs:Tensor/2/float · returned Tensor · level recorded 2026-09-24
transformer_timestep_embedding in 5 papers models/unet.py ran; the contract check could not run (RAISES) fingerprinted Apache-2.0 (permissive) · c40a24e67f67c90e · report fixture: signature timesteps:Tensor/1/int, embedding_dim:int/0/int, max_positions:int/0/int · returned Tensor · level recorded 2026-09-24
variance_scaling in 31 papers models/unet.py ran · our draft was wrong Apache-2.0 (permissive) · 3ac11bfe0ae80195 · report fixture: signature scale:float/0/float, mode:str/0/str, distribution:str/0/str, in_axis:int/0/int, out_axis:int/0/int, dtype:dtype/0/?, device:str/0/str · returned function · level recorded 2026-09-24
eval_suffix_nll_ar discrete_diffusion_harness.py unverified Apache-2.0 (permissive) · 833b4c254da7e2c9 · report
fsspec_listdir in 7 papers utils.py unverified Apache-2.0 (permissive) · db0136eb80a50383 · report
jdeschena/s-flm found in paper text by Syntology 14 samples, 13 ran (10 instrument-failed) · 1 unverified
alpha_to_gamma flm_utils.py ran · our draft was wrong no licence file found · pointer only · 5d6407c4bc5302f2 · report fixture: signature alpha:ndarray/1/float, lut:callable/0/? · returned ndarray · level recorded 2026-09-24
bias_dropout_add_scale in 11 papers models/dit.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted no licence file found · pointer only · fbbc6722b74bda27 · report fixture: signature x:Tensor/2/float, bias:Tensor/2/float, scale:Tensor/2/float, residual:Tensor/2/float, prob:float/0/float, training:bool/0/bool · returned Tensor · level recorded 2026-09-22
build_luts flm_utils.py ran · our draft was wrong no licence file found · pointer only · 1c0ec5966835fcd3 · report fixture: signature K:int/0/int, n_points:int/0/int, is_diffusion:bool/0/bool · returned tuple · level recorded 2026-09-24
compute_alpha_exact flm_utils.py ran no licence file found · pointer only · 99c19e9dd7632489 · report fixture: signature gamma:ndarray/1/float, K:int/0/int, n_gh:int/0/int, sigma_floor:float/0/float, is_diffusion:bool/0/bool · returned ndarray · level recorded 2026-09-24
expected_rank candi_utils.py ran · our draft was wrong no licence file found · pointer only · d689900773b45e39 · report fixture: signature d:int/0/int, a:Tensor/1/float, sigma:Tensor/1/float · returned Tensor · level recorded 2026-09-24
get_bias_dropout_add_scale in 9 papers models/dit.py ran · our draft was wrong no licence file found · pointer only · 06d2d8e50f91481f · report fixture: signature training:bool/0/bool · returned function · level recorded 2026-09-24
inference_sigmas candi_utils.py ran · honoured contract fingerprinted no licence file found · pointer only · b62f2c5c4a261f52 · report fixture: signature n_steps:int/0/int, sigma_min:float/0/float, sigma_max:float/0/float · returned Tensor · level recorded 2026-09-24
justnorm models/sphere_arch.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 32176fe5b679b415 · report fixture: signature x:Tensor/2/float, eps:float/0/float · returned Tensor · level recorded 2026-09-24
lm1b_detokenizer in 12 papers dataloader.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 576e1b9b9bcae8ff · report fixture: signature x:str/0/str · returned str · level recorded 2026-09-24
modulate in 137 papers
census: 3 implementations from 12 papers, 1 distinct output on one shared input this sample: bucket 1 of 1, arg 1: rank 2, kind float, dtype float32 · arg 2: rank 2, kind float, dtype float32 · arg 3: rank 2, kind float, dtype float32
models/dit.py ran · honoured contract fingerprinted no licence file found · pointer only · 78b555034273f3c7 · report fixture: signature x:Tensor/2/float, shift:Tensor/2/float, scale:Tensor/2/float · returned Tensor · level recorded 2026-09-22
ptb_detokenizer in 11 papers dataloader.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 9f7fbdbe7ca280e0 · report fixture: signature x:str/0/str · returned str · level recorded 2026-09-24
training_sigma_ve candi_utils.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 3168aaa9a362be02 · report fixture: signature t:Tensor/1/float, sigma_min:float/0/float, sigma_max:float/0/float · returned Tensor · level recorded 2026-09-24
wt_detokenizer in 11 papers dataloader.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 46c10627206a7795 · report fixture: signature string:str/0/str · returned str · level recorded 2026-09-24
dataclass in 5 papers dataclass_patch.py unverified no licence file found · pointer only · 60415613b01cd2d8 · 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, the model Claude Sonnet 4.5, judged this paper's tables to report on 1 leaderboard (a model's judgement, not a result) and has not placed the paper on it: Arithmetic Reasoning · GSM8K (rejected by the independent check). What is not shown.

Syntology has checked 8,886 of the 18,637 papers on this site that are newer than the archive (for 3,717 of them no archive leaderboard matched the paper's tables, so there was nothing further to check); 733 were read and have nothing to place (arXiv has no HTML version of the paper, or that version has no tables), 41 could not be read (the extractor's reply could not be parsed), and results from the other 8,977 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