Explore the research collection
6 entries · Follow this search
- Post
What objective is reasoning solving? Reasoning as pathfinding in token space
Alex Wang's essay reframes LLM reasoning as PATHFINDING in token space. Given a prompt x and a verifier r, the target is the set S_x of answers the verifier accepts; each sampled chain z is one path, and the success probability p_x is the total probability mass of paths landing in S_x. The core identity: with a binary reward, expected reward IS p_x, and its policy gradient is exactly REINFORCE - which, expanded, is one step of rejection-sampling fine-tuning (STaR-style) on the model's own successful paths, scaled by the current success rate M/N. Three consequences follow. (1) Why chains lengthen in RL but forcing a single chain longer stops helping: training shifts mass toward whichever paths landed - if successful paths tended to be longer (backtracking, environment feedback, luck), the model learns length; an individual path is never guaranteed to converge, so extra forced length can overshoot into overthinking. Only the DISTRIBUTION is optimized. (2) Best-of-k is the orthogonal, guaranteed axis: success rises as 1-(1-p_x)^k over SAMPLES, not length. (3) RL amortizes search: compute spent finding paths in training is baked into the weights, which is why a trained model often succeeds in one sample at inference. The frame also dissolves two puzzles: CoT faithfulness is not implied by the objective (the reward scores only the final answer; intermediate tokens are unconstrained means, correlated with truth only via pretraining), and reward hacking is geometric - an imperfect verifier makes S_x differ from the truly-correct set, its wrong-but-accepted region is often the EASIEST to reach, and scaling RL samples/length fuzzes the verifier harder, so hacking gets MORE likely with scale before training amplifies the shortcut. Author's conclusion: reasoning is not solving an objective per-path at all; guarantees exist only in aggregate over the path distribution. Flags, as entered: a conceptual essay, not new experiments - its value is the unifying frame (built on Brown et al. 2024 sampling scaling, STaR, Muennighoff et al. 2025, Gema et al. 2025); the binary-verifier setup is an idealization of graded/partial-credit rewards. Cross-references: ID 1695 (the author's associative-memory essay); the catalog's latent-reasoning thread (a path need not be made of tokens at all - the frame extends to latent paths, which is the author's stated motivation); and the monitorability thread - the faithfulness section is the cleanest short statement of why answer-only rewards cannot buy faithful chains.
- Post
You could have invented transformers from memory
A pedagogical explainer (not a research result) deriving linear maps, MLPs, and self-attention as associative key-value memory stores from first principles. The unifying quantity is the interference-to-signal ratio — interference from other stored memories vs the target's signal — and capacity is the number of memories before interference matches signal (random unit keys, query with a stored key). At d_k=64: outer-product linear store ≈64; optimal linear (least-squares/whitened keys) ≈128; ReLU MLP ≈128; squared ReLU / SwiGLU ≈2d_k²/3 ≈2,700–2,900; cubed ReLU ≈2d_k³/15 ≈35,000; self-attention with β=√d_k ≈e^{2√d_k−2} ≈1.2 million; β ∝ log M allows an essentially unbounded store (>2M in experiments). Derivations: interference terms add like a random walk (√M); σ(s)=ReLU(s)^p gives capacity M≈d_k^p; the exponential is a weighted sum of all powers, so capacity grows exponentially in the sharpness β: M≈e^{2β(1−β/d_k)} for β≪d_k; normalizing weights for numerical stability yields exactly f(x)=Vᵀsoftmax(βKx). Unlike MLPs, self-attention is non-parametric: keys/values come from context tokens, so the store grows with context length. Notes that the original transformer's v2/v3 described the feedforward layer as "a kind of attention" (passage removed from later versions) and tried replacing FFNs with learned-key-value attention at similar quality. The long-context section compares β∝log M tricks (Su 2021 entropy scaling, Scalable-Softmax, Qwen LogN-Scaling, Qwen2.5-1M YaRN scaling), driving the interference ratio to ~10⁻⁴ at 2M memories. Author-stated caveat: the count is random-vector recall of a single layer, ignoring training data; companion pointers to bits-per-parameter memorization work (Morris et al. ~3.6 bits/param; Allen-Zhu & Li ~2 bits factual knowledge/param). Includes interactive demos (sliders for M and β with live interference/signal visualization). Asides: a gradient-descent step is a memory write (Irie, Csordás & Schmidhuber); transformers' MLPs store facts in superposition.
- Post
Teaching NVIDIA's Nemotron 3.5 Super-VL ML Engineering
Bespoke Labs post-trained NVIDIA's Nemotron-3.5-Super-VL 120B-A12B (hybrid Mamba-attention MoE, 120B total / 12B active) into an autonomous ML researcher, evaluating on AutoResearchExam — Bespoke's benchmark of extended ML-engineering tasks (22 CPU-only long-horizon tasks, 4–6h limits, single final submission, no grader feedback; a different protocol from the public ARE leaderboard). All post-trained variants are tiny LoRA adapters (r32, 224 tensors, 205 MB = 0.08% of base weights). Mean score: base 0.286 → Curated Decision SFT 0.319 (+11.3%) → self-context distillation 0.317 (+10.6%) → SCD + Reflection 0.358 (+24.8%), vs Muse Spark 1.3 at 0.258 and Qwen 3.8 Max at 0.353 (20× total parameters). Curated Decision SFT extracts useful decisions from Qwen 3.8 Max teacher trajectories (400 examples, 2.19M tokens). Self-context distillation has the model solve tasks with terminal-use guidance and hints, then strips the help — reconstructing each context without hints and excluding steps whose reasoning depends on hint-only information — and trains on the retained trajectories (3,365 examples, 7.44M tokens). The reflection extension (inspired by Retrospection-Only Fine-Tuning) has the SCD model review its own better-vs-worse attempt pairs and write concrete lessons, training on 972 reflection examples + 500 replayed SCD action examples; reflection-only variants regressed, and with no matched replay-only control the result supports only the combined recipe. Contamination screening via task IDs and instruction-text comparison found no eval overlap. All results are the companies' own; the proprietary ARE eval means no independent reproduction is possible.
- Post
First Sparks of Thermodynamic Recursive Intelligence
Extropic post-trains Qwen3.6-35B-A3B with GRPO to reproduce classic connectionist experiments (Boltzmann machines, wake-sleep) as the first step toward Thermodynamic Recursive Self-Improvement: held-out reward nearly triples (0.127 to 0.361) after 100 steps, competitive with much larger frontier models. Next steps: TSU-based sandboxes and real-chip feedback from thermodynamic chips coming online in 2027.
- Post
Differentiable neural computers
DeepMind research blog (2016-10-12) accompanying a Nature paper (nature.com/articles/nature20101). Introduces DNCs as memory-augmented networks that learn to use external memory for Q&A over structured data (stories, family trees, London Underground map) and to solve a block-puzzle game via RL. Frames DNCs as combining neural learning with computer-like random-access memory / data structures (lists, trees, graphs). Canonical og:url deepmind.google/blog/differentiable-neural-computers/.
- Post
What a Railroad Game Taught a Model About Finance
Good Start Labs trained a 30B Nemotron-class model as a terminal agent in the 1830 railroad board-game engine, then evaluated held-out SEC-filings research. Single-turn game QA training transferred essentially nothing (21.7%→22.0%), while multi-turn agentic game training improved the Finance-Agent subset from 12.1% to 18.3%. Behavioral analysis attributes the gain not to more finance knowledge but to fewer confident false claims (83.0% base to 64.5% at step 100), with more searching or calibrated abstention. An independent Goodfire Silico study on two early checkpoints found a similar citation-grounding fingerprint on a separately designed test.