Explore the research collection
4 entries · Follow this search
- Paper
Binary Discrete Diffusion: Candidate-Set Diffusion for Logic and Planning Tasks
A new family of discrete diffusion processes whose intermediate state is a SET of candidate tokens per position — the Sudoku intuition: keep a few candidates per cell and iteratively narrow them down, with candidates both eliminable and restorable. State: per position a candidate set z ⊆ [V] as a binary membership vector in {0,1}^V (clean token = singleton/one-hot; nominal state space 2^V). Two forward processes, both continuous-time Markov chains flipping single bits: BINARY SYMMETRIC (main proposal) — each bit keeps its clean value w.p. 1−t, else resamples uniformly, so at time t the state holds the clean token w.p. 1−t/2 and each other token independently w.p. t/2, approaching a uniform random subset; the reverse can eliminate AND restore candidates (a cell can narrow {2,7,9}→{7,9}, reopen 2, then settle on 7). BINARY ABSORBING (monotone counterpart) — corruption only adds candidates (clean token always retained), reverse only prunes. Why it doesn't explode: the clean-token (cavity) parameterization — the network outputs one ordinary V-way distribution over clean tokens per position, all V single-bit reverse rates are closed-form functions of it, and training (continuous-time NELBO, path-KL form from the group's earlier arXiv 2607.05381) sums over only the V single-bit moves — training and sampling are O(V) per position, no 2^V enumeration anywhere (the author's in-thread answer to the scalability challenge, verbatim in substance). Set input embedding: e(z) = normalized sum of member token embeddings — the only architectural change. Information-rate point: binary kernels destroy information roughly logarithmically in t (the first false candidate doubles the candidate count) vs roughly linearly for masked/uniform, so they use a logarithmic time reparameterization (NELBO-invariant; substantially improved optimization at V≥1024, no effect at V≤9). Sampling: exact ancestral steps via a bit-factorized bridge (a step can flip many bits), re-corruption (re-noise the clean proposal afresh — alone it markedly improves logic solve rates), and a confidence-guided Ψ-sampler with two new mechanisms — position confidence (concentrate revision on uncertain positions) and candidate confidence (preferentially reopen candidates the denoiser previously rated plausible). RESULTS — all first-party, no independent replication; controlled design worth crediting (matched architectures/budgets, equal sampler-tuning budgets per kernel, sampler selected on validation, direct single-attempt samples, no verifier/reranking/search; a sample solves only if it satisfies EVERY constraint). Logic/planning (43M diffusion transformers; 5 seeds; Sudoku / Boxoban / graph coloring): binary symmetric leads everywhere — Sudoku all 96.27 / hard 92.66, Boxoban 94.29 / 84.65, graph coloring 99.35 / hard 64.13 — ahead of uniform (95.47/89.81, 92.38/78.73, 99.01/61.41), binary absorbing, and masked (headline cell: large-graph coloring hard subset, masked collapses to 4.85% vs binary symmetric 64.13%); margins widen with difficulty. Language modeling (92M–214M models, 131B tokens; Text8 V=27 chars, TinyStories/OpenWebText V=1024 BPE): NO kernel wins all three corpora on MAUVE (binary symmetric best on Text8 0.913, uniform best on TinyStories 0.904, masked best on OpenWebText 0.871) — the text claim is "competitive," not dominant. The result the headline hides (authors state it themselves): test NELBO does NOT rank the kernels the way solve rate does — on graph coloring masked has the best NELBO while nearly failing the hard task; likelihood is not a proxy for reasoning quality here. Caveats: scale is small and vocabularies tiny where it wins (logic V≤9; text ≤1024) — the O(V) tractability is proven but demonstrated only to V=1024, nothing at real LLM vocabularies (32K–256K), and the author concedes in-thread that scaling to coding/math benchmarks is "the next step," i.e. not done — the thread's "LLMs" framing overstates the evidence (these are not LLMs); NO comparison against the recurrent-reasoner family (HRM/TRM/looped models — the Sudoku state of the art) — the authors explicitly scope those as "a separate axis," so "strong baselines" means strong diffusion-kernel baselines only; novelty is narrower than the thread implies (the ShortListing Model, Song et al. 2025, also grows candidate sets and is a discrete-time formulation of the binary absorbing variant — the genuine contributions are the non-absorbing symmetric process and the logic/planning evaluation); headline numbers are kernel+tuned-sampler pairs (tuning budgets matched, but re-corruption alone accounts for a marked share of the gains); no dedicated limitations section; authors' AI-use statement: LLMs used for writing polish, retrieval, and research ideation/execution, with all claims author-reviewed.
- Paper
Depth Memory
Reframes depth mixing as memory management. The Depth Memory framework describes PreLN (one additive residual stream), Attention Residuals (a growing key–value cache of every earlier layer output — explicit depth memory), and mHC (an expanded residual stream — implicit depth memory) as streams with Read/Write operators, then proposes Linear Depth Memory (LDM): three streams per token — the standard residual stream, a fixed-size matrix-valued associative memory M, and an inverse-covariance stream P. M is maintained as the EXACT solution of a "depth regression" — least squares over past layers, fitting a linear map that reconstructs earlier layer outputs v_i from their keys k_i — solved online by recursive least squares (Sherman–Morrison) with learnable per-layer forgetting factors, dynamic importance weights, and a ridge penalty. Each write is an error-correcting rank-1 update M ← M + u·κᵀ (u = current prediction error, κ = RLS gain from P); reads add a gated memory retrieval to the residual stream, x + γ⊙M(g⊙q). Depth can afford the exact solve that sequence mixing cannot, because layers are already evaluated sequentially — this is test-time regression (delta rule / MesaNet lineage) transplanted from the sequence axis to the depth axis, and the fixed-size RLS state replaces AttnRes's depth-growing cache. Memory is split into G=16 groups with per-group covariance; main config D_k=8 (memory matrix 8D entries/token, 2× mHC's 4D). Hardware-aware implementation: the RLS recurrence is reversible, so the backward pass unwinds states from the final M instead of storing one per layer, and windowed writes (E=4) defer updates within a window — CuTe DSL kernels for Hopper/Blackwell. Results on FineWeb-Edu with per-method LR sweeps and ~1% extra parameters over PreLN: 400M (Llama-like, 50B tokens) validation PPL 12.08 vs Block AttnRes 12.12, mHC 12.23, Full AttnRes 12.35, PreLN 12.73 — lowest also on WikiText-2 (20.70) and LAMBADA (19.10); zero-shot average 50.46, second to Block AttnRes (50.61). 1.5B (Qwen-like, 100B tokens): validation PPL 9.15 vs mHC 9.25, Block AttnRes 9.26, PreLN 9.48; WikiText-2 14.21 and LAMBADA 8.42, both lowest; highest zero-shot average (59.71). A D_k=4 variant whose memory matrix matches mHC's state size still beats mHC on all three perplexities. Throughput (B200, 1.7B–14B): exceeds Full AttnRes in every setting and mHC in all training and most inference settings; competitive with Block AttnRes, especially in decode. Ablations (400M, 15B tokens): the separate residual stream is load-bearing — memory-only layer input (+1.88 PPL) or replacing the stream with the layer output (+0.87) both fall below PreLN (+0.78); replacing RLS with a delta rule (+0.06) or plain outer-product update (+0.07) still beats PreLN but not RLS; storing the residual stream instead of layer outputs hurts most among addressing choices (+0.33); disabling forgetting is a wash (−0.01). On the DepthBench aspect-ratio protocol, LDM beats PreLN at every width/depth ratio at 400M and 1.6B and is lowest at every 1.6B ratio; the deepest 400M shape is the lone exception (HC slightly better). Caveats: quality evidence stops at 1.5B / 100B tokens (larger scales appear only in throughput tests); LDM can add peak training memory; all results first-party, no independent reproduction.
- Paper
Evaluating Model Capabilities After Benchmark Saturation
When benchmark scores saturate, do model transcripts still contain capability signal? The authors simulate saturation retrospectively: split benchmarks into saturated items (top-3 reference models all correct) and unsaturated items, give protocols only correctly-solved transcripts from the saturated set, and test whether they predict IRT-fitted latent capability on the unsaturated set. Across four domains (Science, Maths, Coding, Cyber) and 16 target models (2025-II, 2026-I semesters), pairwise LLM judging ("which of these two correct solutions came from the more capable model?") is the only protocol significantly better than the saturated-score baseline: pooled MSE 0.26 vs 1.37 — a 5.27x error reduction (mean LLR 0.68, p=.005). Deterministic transcript features, embeddings, and absolute 1–10 scoring do not significantly beat baseline. The signal lives in reasoning and tool channels: removing reasoning raises error ~3–4x in Coding/Cyber/Science (not Maths); removing tool interactions raises error ~4x in Cyber only; removing messages has no effect. The signal is redundantly distributed — any transcript third alone usually beats baseline. Pairwise judging generalizes to more capable targets and transfers to six closed-source models (Claude Opus 4.7/4.8, Fable 5, GPT-5, GPT-5.6 Sol, Gemini 3.5 Flash), and is significant only in the agentic domains (Coding, Cyber). The failure mode: the early-2025 reasoning-model shift — pre-reasoning-era judges underestimated reasoning targets by 2.1–3.0 θ units (MSE 6.20 vs 0.24); withholding reasoning text only halves the error, so the transcript–capability relationship itself changed. Code MIT at github.com/Mamiglia/scalable-capability-evaluation (650 commits, Inspect AI).
- Paper
Efficient Reasoning with Flow Language Models
Flow Language Models (FLMs) are continuous-state diffusion LMs trained by conditional flow matching: they interpolate Gaussian noise to one-hot clean targets, train a clean-token cross-entropy objective, and at inference Euler-integrate the learned ODE over N denoising steps, discretizing to tokens only at the very end. Discrete diffusion baselines pass a single categorical value per position between steps, discarding alternative-token probability mass. The paper's theory: the FLM state is exactly a temporal superposition of candidate-sequence vertices, so historical support for non-top-1 candidates persists; that retained support can change prediction margins even within a fixed hard state (a margin span of Δ implies worst-case reproduction error ≥ |Δ|/2 for hard-state-only readouts); and decoder-risk bounds show the continuous state can strictly lower prediction risk vs the hard projection. Empirically, on Maze10/15/20 at 4 denoising steps with matched model sizes, FLM beats the best discrete baseline by +1.2/+18.0/+21.2 percentage points of exact sequence accuracy (99.5/99.1/91.3), with FLM already at 95.9% on Maze15 in a single step; FLM stays ahead of MDLM across three model sizes and 1–512 steps and reaches the 95% target on Maze15 with 36.5% fewer parameters (88.25M vs 139.00M). On Sudoku-Extreme (86.88M), FLM leads at 1–2 steps (21.0%/36.7% vs 19.2%/36.2%) but enhanced discrete samplers overtake from 16 steps onward; the 1-step edge transfers zero-shot to Standard Sudoku (29.5% vs 27.1%). Mechanism evidence: at t=0.80, 23.8% of cells in the accumulated state retain a second candidate ≥0.05 (vs 4.9% in the instantaneous prediction), and interventions removing non-top-1 information degrade recovery (Natural ≥ Top-2 > Top-1), so the retained alternatives are actually used — this is the error-preemption effect where alternative digits fade across steps and let FLMs correct initial mistakes. Wall-clock: FLM is fastest at N=1 on all tasks (0.151s vs 0.303s MDLM on Maze20), comparable at N=64.