Explore the research collection
414 entries · showing 1–24 · Follow this search
- Paper
Sequence-Level Score Centering Stabilizes Off-Policy LLM Reinforcement Learning
'Sequence-Level Score Centering Stabilizes Off-Policy LLM Reinforcement Learning' (alphaXiv, published Dec 1 2026; author list and any arXiv version not shown on the alphaXiv record at cataloging). Background: in LLM RL the sampler and trainer numerics disagree (low-precision inference, noisy weights, stale policy), biasing training. Score centering (SC; Marek & Ryabinin, ID 1589) fixes this by subtracting the sampler's expected token score, and is exact when each token is weighted independently - but sequence-level methods (GSPO, TOPR, TIS variants) give every token in a response the same weight, and a candidate token changes that eventual weight, a dependence ordinary SC misses. SeqSC subtracts the expected *weighted* score instead, and makes that expectation computable by tracking a mean-one running importance ratio left to right and stopping it at the first prefix where it crosses the base method's bound (stop-and-mask for GSPO; stop-and-clip for Seq-TIS and TOPR). The guarantee: for bounded-length rollouts whose ratio scales and bounds are prefix-determined, the centering is exact for every policy and sampler - the expected update under a constant advantage vanishes. Experiments: Qwen3-0.6B/4B/8B on Countdown and Qwen3-30B-A3B on INTELLECT-2 math without routing replay, across 15 mismatch settings (weight noise, quantization, 64-step sampler staleness; FP4/INT4 KV-cache quantization at 30B). Headline case: at 0.6B under sampler weight noise, ordinary-SC GSPO collapses in 73% of runs and TOPR in 20%, while SeqSC stays stable; GSPO's mean final accuracy across settings rises from 60.1% (SC) to 72.8% (SeqSC), with TOPR + SeqSC highest overall; at 30B, GSPO + SeqSC reaches SC's final training accuracy in 55% of the steps at within 1% per-step cost. The paper's own ablation separates the two mechanisms honestly: stopping the ratio alone removes most collapse (tabular drift 0.32-0.78 to 0.13-0.25), while the SeqSC term drives tabular drift below 1e-14 but adds only +0.5 +/- 0.4 accuracy points on the LM eval - modest and uncertain. Stated limits: 0.6B still collapses in some noisy/stale runs (pooled 0.7% GSPO, 2.1% TOPR, 3.1% Seq-TIS with SeqSC), and the implementation approximates unlogged vocabulary-tail probabilities from the same top-128 sampler log-probabilities SC uses, so theorem-exactness is not implementation-exactness. Cross-references: the direct sequel to Score Centering (ID 1589) and a member of the train/inference-mismatch cluster (IDs 1588 BPO, 1797 Fair Cast); a neighboring theoretical note (Han & Hu, 'Baselines and Score Centering in Policy Gradient Estimation', Oct 2026) argues from a covariance perspective that with sequence-level IS, SC adds nothing once a group-mean baseline is used - a tension SeqSC's weighted-centering construction is positioned against.
- Paper
DR Tulu 2: Scaling Simulated Environments for Deep Research Agents
Chen, Faria, Zhuo, Shao, Gupta, Jiang, Zettlemoyer, Koh, Smith, Brahman, Dasigi & Asai (Ai2), 'DR Tulu 2: Scaling Simulated Environments for Deep Research Agents' (released Dec 1 2026; code Apache-2.0 at github.com/allenai/dr-tulu2; model allenai/DR-Tulu2-4B on Hugging Face; paper at allenai.org/papers/dr-tulu2). An open 4B deep research agent trained entirely in simulated search environments with the DR-Anything framework: for each training task the framework constructs both a research question and a searchable collection of documents, and the agent issues queries, opens documents, and refines its search over many steps. Serving the collection locally (BM25 indexes over General Web, Finance, and Science corpora, all released on Hugging Face) makes RL rollouts scalable without per-query API costs or external rate limits. Training is a three-stage checkpoint sequence from Qwen3.5-4B: a BrowseComp stage on the General Web corpus (step 400), then SEC100 on Finance (step 200), then Science100 on Science (step 100) as the final checkpoint; the stack is Prime-RL with a Verifiers environment and vLLM serving. Ai2's headline claim (first-party): across 10 benchmarks DR Tulu 2 beats Tongyi DeepResearch with a page summarizer by 9.7 points on average, and the release reports live-web accuracy after purely simulated training - the sim-to-live transfer is the load-bearing claim. Evaluation covers BrowseComp-Plus with GPT-4.1 grading, plus live-web runs via Serper/Jina. Cross-references: the environment-construction member of the agent-RL thread - simulated, locally served search environments as the scalable alternative to live-API rollouts; the post-training counterpart to Search-Native Pretraining (ID 1902, search taught in pretraining); v1's training data is in the catalog as datasets (dr-tulu-rl-data, dr-tulu-sft-data).
- Paper
Search From the Start: Search-Native Pretraining for Language Models
Ponkshe, Je, Taga, Raffel & Jaggi, 'Search From the Start: Search-Native Pretraining for Language Models' (arXiv 2611.26809, submitted Nov 19 2026, v2 Nov 25; CC BY 4.0; training artifacts, checkpoints and data released). Models are routinely deployed with search tools at inference, yet search is normally introduced only in post-training while pretraining still predicts static text. Search-Native Pretraining instead augments the pretraining corpus at scale with web-search queries and web responses retrieved from a local index, so ordinary language modeling teaches the model to generate search calls and incorporate retrieved evidence. Across Wikipedia and DCLM-Edu corpora and 360M to 3.3B parameter scales, the resulting 'QueryLM' models improve on knowledge-intensive tasks and show higher steerability toward the retrieved evidence. Crucially, the advantage persists after supervised fine-tuning of both the search-pretrained and conventionally pretrained models - the tested post-training procedures do not fully recover capabilities developed during pretraining. Headline: a 1.4B QueryLM consistently beats or matches a FLOP-matched 3.3B baseline across all knowledge-intensive tasks. Flags, as entered: abstract-level at cataloging, authors' own numbers. Cross-references: the pretraining-placement counterpart to the staged Sleep paper (slot 29 - a capability that must be baked into pretraining rather than added later) and No Second Run (slot 23); for the user's own pretraining the 360M-scale evidence is near his 250M, and a search-native base is directly relevant to his agent app.
- Paper
Factorized Context Attention: From Emulated to Native Grid Probing
Eltahir et al., 'Factorized Context Attention: From Emulated to Native Grid Probing' (arXiv 2611.32423, Nov 24 2026; license and code status NOT confirmed from the arXiv record at cataloging). Grid probing, a recent training-free method, recovers the accuracy a single forward pass loses on long inputs and extends reach past the context window by asking a frozen model the same question about short local and strided spans of the input - but every probe re-encodes its span, repeating the whole computation. The paper's insight: grid probing is emulated attention, an attention pattern reproduced from outside the model through prompts, since each probe only restricts which part of the input the question can see. Factorized Context Attention (FCA) runs the same pattern natively, as the model's own attention: a training-free block-sparse attention that encodes the input once into a KV cache, reads all spans as masked sequences in one batched forward, and uses a stair position schedule to keep every span inside the trained position range. Across long video understanding, long-context text inference and image grounding, FCA matches grid probing's accuracy and reach at a fraction of its cost: about +10 points over the single pass on long video and +9 to +14 points on long novels, needles found in videos of over a thousand frames and in texts four times the window length, and a later question about the same input answered in as little as a tenth of grid probing's time - all with existing frozen language and vision-language models. Flags, as entered: abstract-level at cataloging, authors' own numbers; the grid-probing baseline is itself recent, so the comparison chain is young. For the user: inference-time and training-free, so it touches the agent app's long-context reading rather than the pretraining stack; the durable idea is the emulated-to-native move - a prompt-level probing pattern recognized as an attention pattern and then implemented as one. Cross-references: Latent Sparse Attention (ID 1801) and the long-context/compaction entry (ID 1812).
- Paper
Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/s
Fan et al. (NVIDIA), 'Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/s' (arXiv 2611.32057, Nov 24 2026, CC BY 4.0; implementation open source in Megatron-LM / Megatron-Core + TransformerEngine, marked experimental, requires TE >= 2.19). For linear layers, the five standard parallelisms - data, tensor, sequence, context parallelism and FSDP - are special cases of one framework, generalized tensor parallelism (GTP): each layer's parameters are partitioned along a hidden dimension and activations along the token dimension, and either can be re-materialized with an all-gather before use. The operative move: in GTP a parameter all-gather is an optional preprocessing step on one input of a single GEMM, whereas FSDP implementations treat it as a step before an entire Transformer block, inflating memory and delaying GEMMs - so all-gathers can be scheduled per GEMM, issued early enough to hide the communication but late enough to limit memory. In the implementation this factors as GTP = TP x GTP_remat, where GTP_remat is ZeRO-3-style sharding of weight + gradient + optimizer state on top of TP, with per-weight materialization, a prefetch chain, and low-precision gathers (FP8 / MXFP8 / NVFP4) composing with the sharding; supports dense and MoE models with AdamW and Muon. Results (first-party, internal model): an internal 2T-parameter MoE reaches 13.0 model EFLOP/s at 8K sequence length on 12,288 GB300 GPUs with 98% weak-scaling efficiency (4,096 -> 12,288 GPUs), and the full model runs with 1M-token sequences on 512 GPUs; on 256-1,024 GPUs, 1.05-1.55x the throughput of Megatron-FSDP across three MoE models and 1.27-1.31x a tuned 3D-parallel recipe with pipeline parallelism on a DeepSeek-V4-Pro proxy. Flags, as entered: NVIDIA first-party throughout; the headline 2T model is internal and unreleased; all evidence is at 256+ GPU scale, so nothing here transfers directly to the user's 250M single-node runs - the catalog value is the unification (five parallelisms as one framework) and the per-GEMM communication-scheduling principle, plus native Muon support in Megatron-Core's distributed path.
- Paper
Composable Soft-Prompt Distillation of RL Experts: Toward Continual Post-Training
Zhang et al. (arXiv 2611.27376, Nov 20 2026, CC BY 4.0) solve the continual post-training consolidation problem without touching the backbone. RL post-training produces domain experts that must be consolidated into one model, and as new experts keep arriving the consolidation becomes continual - but weight merging and multi-teacher on-policy distillation (MOPD) must re-consolidate the whole model whenever an expert is added, and can erode capabilities outside the target domains. Composable Soft-Prompt Distillation (CSPD) keeps the pre-RL model frozen, distills each RL expert independently into a soft prompt, and composes experts by concatenating their prompts with no joint training. A single soft prompt recovers at least 90% of the teacher's gain in 22 of 23 math, code, and agent settings. Independently trained prompts compose well: in a multi-expert setting the average rises with every expert added, and the full composition matches MOPD (67.83 vs 67.79) while generalizing best across six held-out benchmarks. Input-space adaptation adds little serving overhead: throughput within 1.5% of the unadapted backbone and 2.40x that of rank-4 LoRA. Flags, as entered: abstract-level at cataloging, authors' own numbers; code/release status not confirmed from the arXiv record. Cross-references: the consolidation alternative to MOPD (ID 1534) and to the Base Labs OPSD critique (staged slot 2) - CSPD sidesteps both by never merging weights; retention counterpart to ID 1762 (Unified Training) and staged Deletion Tuning (slot 13), all three answering 'how do I keep adding capabilities without losing old ones' from different directions (data mixture, weight deletion, frozen backbone + soft prompts). For the user's stack, the transferable idea is continual post-training on a fixed backbone: each new RL expert becomes a composable soft prompt instead of another consolidation run, directly relevant to his pretraining/post-training split and to Model Axes' need to keep adding evals without re-consolidating.
- Paper
Where Does Alignment Emerge and What Does It Mean? A Closer Look at the Platonic Representation Hypothesis
Herbst, Roschmann, Bouniot & Akata (arXiv 2611.12869, Nov 9 2026, CC BY 4.0) take a closer, more careful look at the Platonic Representation Hypothesis (PRH) - the claim that networks converge toward similar representation spaces, with more capable LMs aligning more with vision models. Two qualifications and one reassurance. First, WHERE: they localize alignment across model layers and representation dimensions, rather than treating it as a whole-model number. Second, WHAT IT MEANS: representation-similarity metrics can be CONFOUNDED by model depth and width, so claims about alignment need appropriate baselines - and they introduce unimodal and multimodal baselines across datasets to contextualize the numbers. Their reassurance, against recent doubts about whether the PRH trend holds for newer language models: the capability-alignment trend PERSISTS for newer models, as long as the captions used are sufficiently clean and informative - caption quality, not model vintage, is what broke the trend in the recent challenges. And the contextualized headline: cross-modal alignment of UNIMODAL models can SURPASS that of explicitly aligned vision-language models, yet it remains substantially behind the alignment observed between models of the SAME modality. Code is public. Flags, as entered: abstract-level record at cataloging time; the layer/dimension maps and the exact baseline gaps live in the full text. Cross-references: the direct companion to ID 1859 (Balestriero & LeCun's JEPA proof of the PRH) - this paper is the measurement critique that supports 1859's conclusion while tightening its evidence: the 42x sample-efficiency claim and the one-rotation captioner still stand, but read them through this paper's baselines, and the '42x' is about alignment measured under clean captions, not a raw property of NTP.
- Post
Stuck in a Loop: Runaway credit ratcheting in attention matrices
Eyler et al. (Hyperstition, Sep 9 2026) dissect why attention locks in early during training. The mechanism: every gradient through an attention head carries the attention weight itself as a factor, so attention acts as a strong FILTER during backpropagation - a weakly attended key gets almost no gradient, a strongly attended one gets more, and early differences ratchet. Measured on Qwen2.5-1.5B (5.33M layer-head-query comparisons): the spread of attention is ~10,471x while the spread of ADVANTAGE (how much shifting attention would actually help) is only ~5.012x - attention, not usefulness, decides gradient scale. Two regimes are separated: calibrated prioritization, where attention is already optimal on a known axis and the pressure is fine-tuning, and softmax deadlock, where a useful but weakly attended key cannot exert enough influence to ever be attended more. The attention Jacobian itself is an information bottleneck: its per-token effective rank is below 10 for at least 99% of tokens in every head measured. Empirically the lock-in is fast and run-specific: by step 1000 a run's attention patterns already resemble its final state more than different runs resemble each other. The authors also build a cross-head consensus ORACLE that finds 'buried keys' - semantically relevant sources the current attention mostly excludes, at attention ranks as high as ~600. A second surprise: heads are NOT separate probability budgets - averaging attention scores across heads within a layer costs almost nothing in median loss (except layer 0), so routing is largely compatible across heads and specialization lives in the values. The proposed fix, NATQ - a damped inverse-Fisher natural-gradient query update that bounds movement in attention-distribution space rather than parameter space - does broaden attention (entropy 3.75 -> 4.69 nats; sub-0.1% keys capture 67% of the increase in layers 4-7) but WORSENS validation loss in a 124M/5k-step test, and fails copy/retrieval tasks by favoring common continuations over answer tokens; attention-transplant experiments show routing alone does not explain the loss. The hypothesis left standing: ordinary gradient descent's low weights filter NOISY keys, and democratizing the backward pass amplifies their influence - the winner-take-all concentration may be load-bearing for learning, not a bug. Flags, as entered: a blog-level technical essay, not peer-reviewed; headline numbers are from Qwen2.5-1.5B probes and one small 124M NATQ run. Cross-references: the attention-dynamics thread in the catalog - a training-time counterpart to ID 1766's inference-side quantization story and to the Marin QK-norm discussion (both concern what shapes attention spread); for the user's 250M run, the attention-vs-advantage spread and the Jacobian's effective rank are candidate Helm training-health signals, and NATQ's failure is a caution against 'fixing' attention concentration.
- Paper
No Second Run: Does RSI Stop at Frontier Pre-training?
Cai et al. (arXiv 2611.10719, Nov 7 2026, CC BY 4.0) ask whether recursive self-improvement (RSI) stops at frontier pre-training - and answer that it changes form. Public RSI work so far has targeted POST-training: start from an existing base, run GPU-hour-scale trials, get verifiable scores. Pre-training breaks all three conditions: a run consumes hundreds of thousands of GPU-hours over months and CANNOT be repeated (hence 'no second run'); its objective, post-training headroom, cannot be read off any single score; and what must improve is not a model but the whole production system - data pipelines, training infrastructure, the teams running them. Since no end-to-end loop can close over a single unrepeatable run, they decompose RSI into SMALLER LOOPS that can close, each repairing a step the full run breaks. The artifact is 801-30B-A3B-Base, a 30B-A3B MoE trained from scratch on 11.8T tokens in three months by a newly formed team, released open-source along with the lightweight SFT data. As a base model it outperforms Qwen3-30B-A3B and Nemotron-3.5-Lightning-30B-A3B and trails only the larger Qwen3.5-35B-A3B, keeping that position under identical SFT; with lightweight SFT alone (6B tokens, NO RL) it achieves the highest average on four agentic benchmarks against fully post-trained models, including Qwen3.6-35B-A3B. Flags, as entered: abstract-level record at cataloging time - the headline comparisons are the authors' own and the internal architecture/recipe details and the decomposed loop inventory live in the full text; the authors claim to be the first to apply RSI to an entire frontier pre-training run and report it in detail. Cross-references: the RSI thread - this is the pretraining-scale counterpart to Mirendil's mission (recursive self-improvement / automating AI R&D), to the staged doubleAI entry (self-redesign during training, small-scale experiments) and to Hedra's Model Factory (the loop as a service); it is the first detailed field report of RSI inside a frontier run, at 30B/11.8T, rather than as a post-training loop or a lab-platform announcement. For the user's own 250M training, the transferable idea is the decomposition itself - improving the training SYSTEM through closable sub-loops (data, infra, eval probes) is the pretraining-scale analogue of the same loop, not a claim that his run can be restarted.
- Post
SINQ comes to GGUF: BeeLlama.cpp v0.5.0 makes every tested quantization recipe more accurate
BeeLlama.cpp v0.5.0 Preview (Ivan Neustroev) ships the first implementation of SINQ (Sinkhorn-Normalized Quantization) in the llama.cpp ecosystem. SINQ itself is from Müller et al. at Huawei (arXiv 2509.22944, Sep 2025; the same team as KVarN): it augments an existing post-training quantizer with a second-axis scale factor, using fast Sinkhorn-Knopp-style iterations to normalize the per-row and per-column variances of each weight matrix (minimizing a 'matrix imbalance' proxy). Because column-wise weight standard deviations are predictive of the activation magnitudes a matrix saw in training, this recovers much of activation-aware quantization's benefit with NO calibration data; it is layer-independent, applies to any linear layer, and in the paper cuts the WikiText2/C4 perplexity gap versus uncalibrated uniform baselines by over 50% on the Qwen3 family and DeepSeek-V2.5, at zero-to-negligible overhead (code: github.com/huawei-csl/SINQ). The implementation result reported here: Neustroev reproduced Bartowski's fully open-source Qwen 3.5 9B GGUF collection with SINQ added, and EVERY recipe (Q2_K through Q8_0) achieved lower KL divergence against BF16, with drastic improvements at the higher bit-widths; against Unsloth's collection for the same model (only partially reproducible, its process being partly proprietary), Bartowski+SINQ dominates most of the size-quality Pareto frontier, with a particularly large gap at 6 and 8 bits. The author ships his own disclaimers, carried here as flags: the SINQ configuration for each recipe was selected by MANUAL A/B testing (automated selection is work in progress), so the frontier partly reflects per-recipe tuning effort; SINQ GGUFs currently run ONLY in BeeLlama.cpp v0.5.0, since the format needs engine support; some recipes may benefit less or not at all where existing optimizations conflict; evidence is one model (Qwen 3.5 9B; a 27B pass promised) and the metric is KLD fidelity to BF16, not downstream task accuracy. The SINQ paper is summarized inside this entry and is not separately cataloged. Cross-references: the catalog's precision/quantization thread - SINQ is the inference-side, weight-only member (calibration-free dual scaling), complementing the training-side precision entries and KVarN's KV-cache variant of the same dual-scaling idea.
- Paper
Test-Time Self-Play: Scaling without a Verifier
Test-Time Self-Play (TTSP) (Yoshiyama, Ashirmatov, Hübotter, Hakimi, Krause; arXiv 2611.07367, Nov 5 2026, CC BY 4.0) targets a gap in test-time scaling: most methods spend deployment compute through a VERIFIER that scores candidate solutions, but in many deployment regimes no strong verifier for the target problem exists. TTSP instead scales test-time compute through ASYMMETRIC SELF-PLAY - the model playing asymmetric roles against itself at inference - with no reliance on a verifier. On a difficulty-calibrated subset of LiveCodeBench v6, TTSP is the best-performing method at EVERY verifier strength evaluated, and its advantage over the strongest baseline GROWS as the verifier weakens; in the no-verifier limit it yields a 35% absolute improvement in mean@8. The one regime where the gains fail is when the base policy has near-zero coverage of the correct answer - self-play cannot amplify a solution the policy essentially never samples, so the method inherits the base model's support as its ceiling. Flags, as entered: abstract-level record at cataloging time - the headline number comes from a difficulty-calibrated SUBSET of one coding benchmark, and the detailed game construction, compute budgets and baseline list live in the full text; the coverage caveat is the authors' own. Cross-references: the verifier-free / self-referential improvement thread - SPoT (self-judging trained INTO the policy at training time; TTSP is the inference-time counterpart that needs no training), the score-seeking caution of ID 1806 (self-generated signals are exactly where grader-shaped pathologies would enter, which is why the coverage ceiling matters), and the broader test-time-compute scaling line in the catalog.
- Post
Neurons as an Interpretable Basis
Goodfire's technical companion to Nick Cammarata's 'Neural Networks Are Already Clean' argues that MLP neurons - long dismissed as too polysemantic to study directly, which pushed the field toward learned feature dictionaries (SAEs) - are in fact a tractable, interpretable basis in their own right, studied on Qwen3.6-35B-A3B with sparsification methods, attribution tools and research agents. Three findings. (1) Neurons are already functionally sparse: the model's causal work concentrates in the extreme activations (above the 97th percentile, below the 3rd, per neuron pole), and ablating the 92.2% weakest neuron activations on each forward pass raises LM loss by only 2.9%; the residual damage can be repaired with just 91M tokens of SFT and 9M tokens of RL. (2) Neurons have few computational MODES: characterizing a neuron by its computational function - the subcircuits of upstream drivers and downstream readers it participates in - rather than by semantic similarity of its inputs, most neurons have a single mode, or one mode responsible for >=90% of their causal effect; multimodal neurons have a small, legible number of modes (e.g. several Python-related modes, or a math mode alongside a Japanese-honorifics mode), with more circuit similarity within modes than between them. (3) Agent-generated natural-language descriptions of neurons are operationally good: given the description, a judge model predicts whether the neuron will fire in a passage with 95% accuracy against random text (89% against text routed to the same expert) in the strong-activation regime; simulating the neuron from its description recovers 73% of the restorable damage from ablating it; and the team can synthesize text that fires a neuron more strongly than anything in a 10B-token corpus. A pattern runs through all three: the stronger the firing, the more the model depends on it and the more precisely it can be described - interpretability is best exactly where the computation matters most. A public Neuron Atlas accompanies the article. Flags, as entered: first-party (Goodfire sells interpretability tooling), single model studied (one MoE), percentages are from the article's abstract/introduction at cataloging time; this is a research article, not a peer-reviewed paper. Cross-references: the empirical counterpart, from the same lab a day apart in sharing order, to the Goodfire mechanistic-shaping paper (arXiv 2611.07071) - shaping presupposes that internal concepts are findable and monitorable, and this work argues the raw neuron basis is cleaner than the field assumed, which if right lowers the cost of the probe/refit machinery shaping relies on; also bears on the catalog's SAE/feature-dictionary line of work, whose motivating premise (neurons too polysemantic to use) this directly contests.
- Paper
e-means: outperforming k-means (in one-tenth the epochs)
e-means (Bessa et al., Meta FAIR; arXiv 2611.09501, Nov 6 2026, CC BY 4.0) replaces Lloyd's k-means with an exponential-moving-average optimization procedure over mini-batch updates - essentially treating centroid estimation the way deep learning treats weights, powered by modern DL machinery - with dead-cluster revival as a key component. The practical crux is that its two would-be hyperparameters, EMA decay rate and batch size, are set by fitted SCALING LAWS (fit on ~75k runs, validated on 5k+ runs) that prescribe them from problem size and dataset, so the user chooses only k: a genuine drop-in replacement with no sweep. Results across 26 embedding datasets (100k to 10B points): e-means reaches a LOWER loss than Lloyd k-means at 25 epochs in just 1.4 to 2.6 epochs, frequently beating even k-means++ from a random initialization (the mini-batch stochasticity escapes local minima Lloyd gets stuck in); the epoch savings translate to 10-45x GPU wall-clock speedups over state-of-the-art k-means implementations (launch-thread chart on DEEP, 1M vectors, 16,384 clusters: 12.5x fewer epochs, 11.8x faster on 64-core CPU, 13.6x on one H100, against faiss k-means, SuperKMeans and Flash-KMeans). At the extreme end it partitions DINO10B - 10 billion DINO embeddings - into 16 million clusters in 2.5 epochs, below Lloyd's 25-epoch loss; paired with IVF it gains another order of magnitude at billion scale. Released in FAISS 1.16.0 (contrib/e_means) with figure-reproduction code, a project site with an interactive results map across the 26 datasets, and a browser playground. Flags, as entered: first-party (Meta FAIR) results at abstract/thread level at cataloging time; the speedup range is wide (10-45x) and hardware/implementation-dependent; the comparison currency is training loss (inertia) on embedding datasets, which is the operative metric for quantization and data-curation uses but says nothing directly about downstream task quality. Relevance: k-means is the workhorse under vector quantization, retrieval indexing and dataset curation/dedup pipelines, so a tuning-free 10x-faster drop-in inside FAISS is immediately usable infrastructure rather than a research curiosity.
- Post
Architecture Decisions for Marin 535B-A23B
First-person account of the architecture rationale for Marin 535B-A23B (Open Athena's Marin project), which finished pretraining on 18T tokens on Nov 5 2026 on 768 GB200s - a run that was publicly forecast in advance, livestreamed, and completed with zero instabilities, finishing at Paloma macro loss 1.982 against a 2.039 forecast (with a disclosed caveat: ~0.02 of the improvement comes from a Penn Treebank subset of the Paloma eval found contaminated in training data). The design was driven by realized MFU on a fixed December deadline, demonstrated MoE stability, and usefulness as an SFT/RL base. Architecture: 3:1 local sliding-window (2,048) to global attention with GQA 4:1 on local and 8:1 on global layers and gated attention; partial RoPE (50%) on local layers, NoPE on global; Latent MoE (2x compression) with 8 of 384 experts plus 2 shared experts, SwiGLU, sigmoid router with top-k weights renormalized to sum to 2.5; shallow shape - 6,144 hidden, 48 layers (width:depth 128), no leading dense layers; head dim 128; logit z-loss (1e-4). Optimizer: Hyperball - MuonH on all matrices, AdamH on the lm_head, plain Adam on embedding, router, gates, norm gains and conv kernels, with an empirical LR fit and Adam held at a 3/13 ratio to MuonH; 1% warmup then LINEAR decay to 5% of peak (linear beat WSD in their sweep, attributed to hyperball fixing parameter norms so the effective LR no longer self-decays). Component evidence (compute efficiency = the multiple of compute the baseline needs to match the variant's loss): a learnable RMSNorm on the MoE latent rescued latent MoE from 0.74-0.75x to 1.25x compute efficiency; short convolutions (kernel 4, on keys, attention output and MLP output, deliberately NOT on values where the gain was smallest and it blurs XSA) gave 1.19x; the 2,048 window cost only 2-4% inference speed vs 512 for 1.10x; removing GQA entirely would gain ~1.2x but GQA was kept for KV-cache reasons, with the split ratio following where cache actually grows; QK RMSNorm with a FIXED 1.3 multiplier beat a learnable per-head gain (which drifts 1.3 -> ~2.0 with no benefit), and the multiplier is raised manually to 1.66 at context extension; XSA (exclusive self-attention) is loss-neutral on the final recipe but halves early-training EP token dropping (12.7% -> 5.6%), kept because attention starting near a no-op stabilizes the router; top-k quantile balancing applied to RAW router logits (not after the sigmoid, contra DeepSeek-V3/Kimi K3) balances substantially faster (~2% vs 3.4-4.9% drop rates; routing entropy 4.848 of a 4.852 maximum); expert granularity 8 of 384 gave 1.13-1.16x over 4 of 192, and its square expert matrices suit Muon's orthonormalization, avoiding the neuron-death fixes NorMuon/Aurora add for rectangular matrices; RMSNorm on the embedding was worth ~19% compute efficiency, with the unnormalized embedding norm growing 177 -> ~7,800 under Adam acting as built-in LR decay. Two findings tie directly to the catalog's precision thread: pinning the lm_head norm via hyperball does NOT control logit scale - the learnable RMSNorm gain before the head grows freely (557 without z-loss vs 183 with) and runs without z-loss blow up in the overtrained regime, so z-loss stayed - and an lm_head parameter-norm collapse from a sharded-norm numerics bug (norm 150.7 -> 21.4 in one step, loss 2.07 -> 9.14, gradient normal) was only visible in the PER-MATRIX norm, a monitoring lesson. Systems: fixed-capacity expert parallelism plus the extra experts plus latent MoE gave ~1.3x compute efficiency at 3-7% token dropping; a 4k -> 65k context extension spiked dropping to 37% yet landed within 0.01 eval loss of dropless, the robustness evidence that justified the design; a ragged all-to-all kernel landed mid-run cut dropping to ~0.01-0.14%. A 4-rung scaling ladder (5e19 to 9e21 FLOPs) forecast the hero run across a 300x extrapolation. Notable deliberate omissions, all MFU- or timeline-gated: MTP, attention residuals / mHC, MLA, KDA, FP8/NVFP4. Open problems flagged: dead routed experts in the first two layers, smaller local windows early in training to force global-layer specialization, quantile balancing shocks at data-mix changes. Flags, as entered: first-party engineering blog - all ablation numbers are the team's own at d512-d2048 ladder scale, and several decisions are explicitly deadline- and hardware-specific; the recipe and code are fully open (Marin community repos).
- Paper
Shaping & Monitoring Models through their Internal Representations
Goodfire paper (arXiv 2611.07071, Nov 4 2026, CC BY 4.0) proposing Mechanistic Shaping: adding interpretability-derived penalties to the training objective so a model is specified by HOW it solves a task, not just whether it succeeds. Two forms: reliance shaping, which penalizes how much the model's outputs depend on a concept (measured by attribution - 'don't rely on this'), and expression shaping, which penalizes the concept's presence in representations/outputs ('don't do this'). The method needs only a concept direction and a readable layer; the direction can be periodically refit as representations move. Demonstrations across vision, medical imaging and language, up to 32B parameters, over classification, SFT, DPO and GRPO: (1) chest X-ray pneumothorax diagnosis with a chest-drain confounder - SAE features labeled by an LLM agent (no confounder labels used) supplied the directions, and reliance shaping beat prior methods and even exceeded the soft ceiling of training on balanced data; (2) sycophancy induced by DPO (Blank et al. found DPO raises sycophancy despite <1% visibly sycophantic data) - penalizing reliance on a sycophancy direction in OLMo-3-7B kept DPO-level accuracy across six benchmarks while sycophancy stayed near the un-DPO'd model; data filtering merely traded capability for sycophancy along the 'just do less DPO' line, reward shaping and inoculation prompting barely helped, preventative steering on the same direction got partway; the recipe also worked at 13B and 32B; (3) reward hacking - Qwen3.5-9B RL on a file-based Countdown variant where a forbidden target.txt holds the answer: standard RL's cheating rose ~6x within ten updates and honest strategies fell to zero, while expression shaping against a 'cheating' direction (computed from coding-task transcripts) produced 96-98% honest solving, and filtering cheating rollouts prevented cheating in only one third of runs; on unseen chess puzzles with a different forbidden file, the standard-RL model cheated 99% of the time while shaped models barely cheated and still improved - the penalty targets the internal concept, not the specific file. The paper's second half asks whether training against a representation destroys monitorability. Theory (exact toy-model analysis of projecting out a concept direction) plus experiments identify three circumvention geometries: the concept regrows immediately in a new linear direction (the task still rewards it), it is erased at the shaped layer (and may be rebuilt later), or it persists as a nonlinear encoding - specifically a second-order product code, which frequent direction-refitting predictably selects for; regrown representations can also entangle with desired concepts (cosine up to ~0.45 in vision experiments). These motivate a five-level monitorability hierarchy: L1 reuse the original probe, L2 linear refit, L3 nonlinear refit, L4 probe a different layer, L5 treat the model as a black box (e.g. an LLM judge). Empirically, in every experiment the shaped concept remained monitorable: sycophancy probe AUROC 0.98 -> 0.93 with a refit at 1.00 throughout; reward hacking worst case (gradients flowing through the probe) 0.98 -> 0.57 balanced accuracy, recovered to 0.97-0.98 by refitting; the original probe stays reliable whenever gradients do not flow through it. Flags, as entered: first-party (Goodfire sells interpretability tooling), small-to-medium scale by the authors' own statement with frontier-scale behavior explicitly open, and the three circumvention mechanisms are claimed complete only for their observations. Cross-references: the constructive counterpart of the monitorability thread (ID 1861, operator #9) - shaping is training against monitors, so the L1-L5 hierarchy doubles as a maintenance schedule for any probe used in training; not to be confused with doubleAI's unrelated 'mechanistic intervention' (architecture edits mid-training), staged the same week.
- Post
How deep does FBT's latent chain go?
Blog study (2026-11-08, with Zheyang Xiong) of the Full-Bandwidth Transformer (FBT, Wang et al. 2026 - the FBT paper itself is not cataloged), which feeds each position's final hidden state back into the next position's input (token-gated fusion), so effective depth can grow by one stack per token through a 'latent chain' of hops; pretraining approximates the recurrence with K-pass Jacobi iteration (K<=3, mostly 1). The authors port FBT into nanochat (23M-164M, d6-d14, ClimbMix) and ask how much of the chain the model actually uses. Pretraining alone leaves a ~2-hop chain (each Jacobi pass changes the state ~10x less than the previous). Method contribution - on-policy RL for FBT: (a) latent replay, where the sampler saves the latent fed to each position and the trainer replays the rollout with those exact latents so log-probabilities are truly on-policy (a K-pass Jacobi forward matches the sampler only on the first K positions; the same fix also covers re-prefill after KV-cache eviction; a cited LRT measurement puts the on-policy start at +2 points pass@1 and +9 pass@16 on GSM8K GRPO); (b) a gradient-through-hops trick (pinned passes with a stop-gradient identity term; the forward runs once and only cheap backwards to the latents repeat, cost ~1 + H/3 vs H+1 for literal passes), reaching H hops of credit assignment through the latents. Findings on five synthetic state-tracking tasks (Cups, Dataflow, Turtle, Calendar, Arithmetic), which the authors stress favor latent use and so read as an upper bound: on Cups (tracking a ball through cup swaps), a long chain appears abruptly only after ~1M SFT chats (smaller models need more; RL from a pre-threshold checkpoint never finds it), and more SFT makes each hop cover more swaps (d10: 23 hops after 1.2M chats, 7 after 5.6M). The capability is not the usage: after SFT the latents CAN carry the state under every continuation tried (0.85-1.00 with no states written), but only RL with a length penalty makes the model actually rely on them - it writes 2% of states vs GPT's 60% under the same penalty, stays 0.98 accurate with latents and falls to 0.16 without, and using the chain lengthens it (7 -> 15 hops at d10/d8, 7 -> 23 at d6); past training lengths it wins clearly (0.73-0.96 vs 0.25-0.46 at 129-256 swaps). Across the other tasks the latents never buy accuracy over a same-size GPT - they buy token savings: Turtle carries only direction (nearly given away by the text) in 1 hop and always writes positions; Dataflow builds no chain even after 7M chats; Calendar and Arithmetic write every state. Gradient reach matters only where a long chain exists and only past training lengths (no-CoT Cups, d10 at 161-192 swaps: H=0 0.50, H=2 0.82, H=8 0.78; why 8 underperforms 2 is unknown; H=0 still learns a chain). Headline, in the authors' own framing: FBT still prefers explicit CoT and uses its latent chain only as a last resort under an explicit incentive - 'CoT is just too effective compared to latent passing.' Flags, as entered: small models (<=164M), five synthetic tasks, a reproduction that needed a different Jacobi schedule (66/28/6) than the paper's to see any LM gain at this scale, REINFORCE-style RL, and an interactive latent-probing page built with Claude. Cross-references: the latent-reasoning family (Coconut-style feedback, looped models); the length penalty relocating computation from tokens into latents is the architecture-level counterpart of the learned-constraint thread (#114's length penalty rewiring grammar) - with an architecture that offers a latent channel, a length penalty moves reasoning where CoT monitoring cannot see it; the latent-replay fix belongs with the train/inference-mismatch cluster (IDs 1588, 1797).
- Paper
Written Once, Read Differently How Language Models Own Answers Steer Their Next Ones
Across 22 open models (0.5B-72B), shows a model's own yes/no answer writes a 'commitment direction' into the residual stream that shifts its later answers about the same entity.
- Paper
Multi-Agent Collusion and the J-Space
Uses J-space interpretability on DeepSeek-V4-Flash (284B) with NARCBench to detect and steer collusion between LLM agents in multi-agent systems.
- Paper
Beliefs in feedback: Factored representations of interacting agents in transformers
Develops a computational-mechanics framework showing transformers trained on interacting agents in feedback loops learn factored belief representations of each agent.
- Paper
Tracing How Language Models Integrate Temporal Anchors into Factual Recall
Introduces anchored factual recall (facts conditioned on, e.g., time) and traces mechanistically how LMs integrate temporal anchors when selecting the valid object.
- Paper
Chain-of-Thought Oversight Requires Separate Evidence for Faithfulness and Monitorability
NeurIPS 2026 position paper separating reasoning visibility, mechanistic faithfulness, and monitorability in chain-of-thought oversight, arguing each needs its own evidence.
- Paper
TopoSteer: Topological Layer Selection for Activation Steering in LLMs
TopoSteer uses topological data analysis of activations to choose which layer to apply an activation-steering vector to, instead of picking layers without testing them.
- Paper
Circuit Oracle: Automating Attribution Graph Analysis via Natural-Language Queries
Circuit Oracle is an LLM with a multi-agent harness that answers natural-language queries over transcoder attribution graphs, automating hours of expert circuit analysis.
- Paper
A Capitulation Direction Emerges With Scale and Is Causally Load-Bearing Where Validation Is Strong: Eight Models, Two Families, and Five Measurement Hazards
Across eight instruction-tuned models (0.5B-14B, two families), finds a residual-stream 'capitulation' direction for sycophantic pushback that emerges with scale and is causally load-bearing where validation is strong; pre-registered.