Explore the research collection
473 entries · showing 25–48 · Follow this search
- Paper
Subspace Crystallization in Grokking: Rank Compression Tracks the Phase Transition
Question: when a network groks - generalizes long after memorizing - the effective rank of its weight matrices collapses; does that rank compression cause grokking or follow it? Setup: a mean-field MLP and a one-layer transformer trained on modular arithmetic ((a+b) mod 97; the MLP also ab mod 97 and (a+b) mod 113), full batch, AdamW; compression tracked via effective rank and a 'sufficient subspace' (the fewest top singular directions preserving 99% of test accuracy, with a margin-free variant counting directions that keep outputs within 10%). Findings: (1) Timing - every transformer memorizes within 250 steps while grokking onset (first step at 95% test accuracy) varies from 6,500 to 21,000 steps; the steepest effective-rank fall comes about 900 steps AFTER onset, however late onset arrives, and networks that memorize without grokking compress far less - compression tracks the transition, not memorization. (2) Crystallization - at the transition the transformer's sufficient subspace falls discontinuously from a quarter or more of the available directions to about a tenth; the surviving subspace is interpretable: the (a+b) mod 97 circuit needs only ~4 singular directions, the embedding encodes ~4 Fourier frequencies, and the grokked rank is roughly double that (a full Fourier basis) - the rank is dictated by the problem, not the data. (3) Forcing compression does not help - training with low-rank updates to the MLP's layer-2 matrix (capped at rank 16, its eventual grokked rank) after memorization does not speed grokking, weight decay used as a forcing device is likewise null, and in the transformer, against a factorized full-rank control, capping the MLP input weights' rank delays onset while capping the embedding's rank stops 15 of 20 runs from grokking at all. Verdict: compression is a signature of grokking, not its cause; the authors' shared-cause account is that a late optimizer-driven collapse both generates the task features and crystallizes the weights - consistent with Barron et al.'s result that in Adam's small-step (g/eps) regime, weight decay applies a near-constant drift that zeroes all but the most important directions, which is why the MLP keeps compressing after grokking; the pattern holds across Adam, SGD with momentum, and full-batch gradient descent. Caveats: toy regime throughout (modular arithmetic, tiny models, full-batch training) - the causal claim is established for this regime and transfer to large-scale pretraining is untested; results are first-party, though the MIT-licensed repo ships all analysis outputs plus a preregistered held-out-seed replication. Monitoring note for Hudson: effective-rank collapse here is a LAGGING indicator of the generalization transition (~900 steps behind onset), not a leading one.
- Paper
Unifying and Beyond the Theory of Pervasive Capability Degradation in LLM Post-training SFT from Feature Interference
Explains pervasive capability degradation from SFT through feature interference at the representation level, unifying prior accounts and suggesting mitigations.
- Paper
Reducing Logprob Without Causal Verification: Diagnosing SAE-Based PII Suppression in LLMs
Shows SAE-based PII-suppression interventions judged by logprob reduction can't be distinguished from a direction-agnostic magnitude artifact without causal verification (AACL-IJCNLP Findings 2026).
- Paper
Sparse Internal Control of Language Models
Sparse internal control selects and evaluates compact multi-site activation interventions for localized, reversible control of frozen LMs (NeurIPS 2026).
- Paper
Dr. No: Feature Steering for Abstention in Vision-Language Models
Dr. No identifies internal features behind failure to abstain in vision-language models and steers them to make VLMs abstain when evidence is insufficient.
- Paper
Playing Dumb: How a Chess Transformer Simulates Users Across Skill Levels
Mechanistic study of Maia-2, a chess transformer predicting human moves by skill level, testing whether low-skill simulation reflects less internal knowledge or different use of retained knowledge.
- Paper
Who Asks, Who Answers: Linear Attention Builds the Query in Hybrid Language Models
Shows that in hybrid linear/softmax-attention LMs, linear-attention layers directly build the query that softmax attention uses for in-context retrieval rather than only compressing context.
- 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
Suppressing Misaligned Behaviors in Language Models, Durably
Builds narrow- and broad-trigger misaligned model organisms and evaluates how durably different interventions suppress misaligned behavior against later re-emergence during training (Danqi Chen group).
- Paper
Can Benign Skills Induce Misaligned Behavior in LLM Agents?
Studies 'skill-induced behavioral misalignment', where reusable benign agent skills make LLM agents more capable of executing harmful procedures, and measures the risk across agents.
- Paper
Audit at the Precision You Deploy: Quantization Reshapes a Subliminally Learned Preference
Implants a subliminally learned 'favourite animal' preference and shows quantization changes how strongly it is expressed, arguing safety audits should be run at the deployed precision.
- Paper
LoopVQ: Sub 1-bit KV Cache Quantization for Looped Transformers
LoopVQ applies sub-1-bit vector quantization to the KV cache of looped transformers, exploiting redundancy across loop steps so cache memory no longer grows linearly with loop count.
- Paper
Best-of-Depth: Learning Exploratory Dynamics in Looped Transformers
Best-of-Depth trains a looped transformer's recurrent trajectory as a candidate set by minimizing loss across depths, encouraging useful exploratory intermediate states that can be selected at inference.
- Paper
Anchor: Augmented Cross-Layer Recurrent State for Long-Context Retrieval in Test-Time Training
Finds that long-context retrieval in sliding-window + test-time-training hybrids is concentrated in a few anchor layers' recurrent state, and proposes Anchor, an augmented cross-layer recurrent state to improve retrieval.
- Paper
LoopKV: Loop-Aware KV Cache Compression for Serving Looped Transformers
LoopKV compresses per-loop KV caches when serving looped transformers like Ouro by allocating quantization precision to each layer's sensitivity at each loop, raising servable batch size.
- Paper
Iterated Narrow Networks: Turing Completeness at Width 4 on Convex Input Spaces and the Complexity of Verification
Proves that iterating a single fixed width-4 ReLU network (equivalently a weight-tied/recurrent net) is Turing complete on convex input spaces, and analyzes the complexity of verifying such iterated systems (NeurIPS 2026).
- Paper
When Does Adaptive Halting Win? Selection Rules Matter in Looped Language Models
On a frozen Ouro-1.4B looped LM, compares a trained stability probe against Ouro's native exit gate and shows the selection rule used to pick an operating point largely decides which adaptive-halting method wins.
- Paper
You don't need long context
A challenge to the long-context roadmap, on cost grounds. Observation: later tokens are more expensive to generate than earlier ones - each decode step attends over a longer prefix and a larger KV cache - and on frontier open-weight models the per-token cost disparity between early and late positions rises to as much as 7x. If long contexts are that expensive, the question is whether tasks actually need them. The paper's answer, via FREQUENT COMPACTION (periodically compressing the working context back down to a short semantic summary and continuing from it): across a broad range of long-horizon and long-input tasks, frontier language models sacrifice little to no task accuracy when they are forced to maintain short contexts. The extreme version is the striking one: on long-horizon software-engineering tasks, performance does not collapse even when the agent takes AT MOST ONE ACTION PER CONTEXT - every step starts from the compacted state, acts once, and the state is re-compacted - meaning the trajectory's information survives being funneled through a short text bottleneck at every single step. From this the authors outline a concept they call semantic state space models (SSSMs): recast the agent as a state-space model whose recurrent state is not a latent vector but a semantic (natural-language) state, updated by compaction rather than by a learned transition - long-horizon behavior emerges from state quality, not context length. Caveats: abstract-level evidence - the task list, the size of 'little to no' accuracy loss, the compaction method and its own token cost, and which models were run are all full-text details; the 7x figure is a maximum disparity, not a typical one; results are on frontier open-weight models, whose compaction quality (the model summarizing its own state) may not transfer to smaller models; and tasks whose bottleneck is verbatim recall of a long input are exactly where a summary bottleneck should hurt most, so the breadth of 'long-input tasks' tested matters. Catalog placement: the demand-side counterpart to the catalog's long-context supply-side work (e.g. ID 1801's subquadratic sparse attention makes long context cheaper; this argues the expensive thing may be unnecessary) - and for agent architectures it is the compaction/state-carrying position stated at full strength: the context window as a cache you keep evicting into a semantic state, not a memory you keep growing.
- Paper
Pretraining Data Scale Reverses the Muon-AdamW Fine-Tuning Gap
Muon's pretraining-loss advantage over AdamW does not survive fine-tuning at scale - and the crossover is predictable. Empirically: at small pretraining data budgets, Muon-pretrained models also fine-tune better, but beyond a sufficiently large pretraining token budget the ranking flips and AdamW-pretrained models fine-tune to better downstream performance, despite Muon's better pretraining loss. The crossover point is not fixed: as model size increases, AdamW overtakes Muon at progressively SMALLER pretraining token-to-parameter ratios, so larger models cross over earlier in their training-token budget. To explain the reversal the authors model fine-tuning as a perturbation of the model's outputs and introduce the margin-to-spread ratio: how far the correct logit lies above the wrong logits, normalized by how widely the wrong logits are spread. A model with a high ratio has its predictions robustly separated relative to the noise floor of its incorrect alternatives, which is what a fine-tuning perturbation has to overcome or preserve. Measured in language models, the ratio tracks the empirical reversal exactly - Muon's margin-to-spread is larger at small data budgets and AdamW's is larger at large ones. Theory backing: in a linear associative memory model they prove that after a single update, gradient descent's margin-to-spread ratio gains on Muon's as the data budget grows, and simulations show the trend persists after extended training - i.e., the reversal is a structural property of the optimizers' update geometry interacting with data scale, not a tuning artifact. Caveats: abstract-level research - the specific model scales, token budgets, downstream tasks, and crossover magnitudes are in the full text, not the abstract; the proof is for a linear associative-memory surrogate after one update, with the LM claim resting on the empirical correlation between the ratio and fine-tuning outcomes; code was not linked from the arXiv page at catalog time. Practical read for anyone running a pretrain-then-finetune pipeline with Muon (the catalog's Muon thread already covers its weight growth, looped-model LR scaling, and orthogonalization cost): optimizer selection by pretraining loss alone can pick the wrong optimizer for the artifact you actually ship, and the risk grows with model size and token budget. The margin-to-spread ratio is also a candidate pretraining-time observable - a geometry statistic of the base model that predicts post-fine-tuning behavior, in the same family as the logit-margin signals tracked elsewhere in the catalog.
- Paper
Rethinking Pre-pretraining
A compute-matched negative result on synthetic pre-pretraining (PPT) - a synthetic-data phase (formal grammars and rule systems) run before natural-language pretraining (PT), previously reported to help especially when natural language is scarce. Four curricula are tested: k-Dyck (multi-type bracket matching), NCA (nested bracket sequences from neural cellular automata), DeciRef (declarative reference corpora with C4-decodable rules), and code as a real-data control. Across three regimes, allocating compute to PPT never outperforms pure natural-language training. (1) DATA-CONSTRAINED (100M-token corpus, compute-optimal runs at 1e18 FLOPs, PPT doses of 1/5/10% of total FLOPs): simply repeating the 100M tokens for up to 10 epochs beats every synthetic curriculum on FineWeb validation bpb, with no consistent downstream advantage. (2) DATA-UNCONSTRAINED: power laws fit to compute-optimal runs at 1e18, 3e18, and 9e18 FLOPs and extrapolated to 50B tokens show PPT has a higher compute-optimal data coefficient - it is less compute-efficient than natural language, and the gap GROWS with scale (true at both 1% and 5% doses). (3) OVER-CHINCHILLA (881M parameters, 50B tokens, 1% PPT): almost no effect on FineWeb bpb or DCLM CORE, no method clearly better. The one regime where PPT appears to help - ADDITIVE compute, where the PPT phase is extra on top of a fixed PT budget, reproducing a prior NCA result on OpenWebText perplexity - is largely explained by a confound: the PPT models used a different weight initialization (N(0,1) embeddings, N(0,0.02) elsewhere) than the baseline (N(0,0.02) everywhere). Giving the baseline spectral initialization improves it by 5.4% perplexity and narrows the PPT gap to about 1.0%. With initialization handled and PPT compute given for free, residual gains persist only at small natural-language budgets (50M-100M tokens) and only when repeated epochs over the natural data are prohibited; they disappear by 1B tokens. Downstream, individual subtasks occasionally favor a PPT method (NCA on ARC-Challenge), but no method dominates and on aggregate none beats the baseline outside the no-epoching additive setting. Mechanism: models rapidly FORGET the PPT distribution during PT - a 1%-NCA model starts at 0.01 bpb on NCA and becomes worse than the never-PPT baseline at NCA itself within 200M PT tokens, with the embedding layers forgetting first. Interleaving the same synthetic data uniformly throughout PT prevents the forgetting entirely, yet still does not beat the natural-language baseline on FineWeb bpb - so forgetting is only part of the story; at equal compute the synthetic data appears to add nothing over natural language. The authors' own scope limits are explicit: evaluation is validation bpb plus aggregate benchmarks; they do NOT test generalization to complex hierarchical-structure tasks (PPT's original motivation), structure-matched downstream tasks like parsing, few-shot settings, or low-resource languages. Their recommendations for anyone studying a separate PPT phase: vary weight initialization across arms, permit repeated epochs over the natural data, evaluate retention on the PPT task itself, and compare against a spectrally-initialized baseline. Code is public (github.com/alexkstern/rethinking-ppt). For the catalog's data-constrained thread this is the control-condition companion to ID 1800's scaling law: repeated epochs over unique tokens are the baseline any synthetic curriculum has to beat, and initialization scheme is a hidden variable capable of manufacturing a multi-point 'data' gain.
- Paper
EmbeddingGemma 2: Unified and Efficient Multimodal Representations
Google's second-generation open embedding model, extended from text-only to a single unified representation space: EmbeddingGemma 2 natively embeds text, images, audio, video, and combinations of them, so cross-modal and mixed-modal retrieval use the same vectors as unimodal search. Two design changes carry the quality: simplified per-layer embeddings, and a multi-stage training curriculum with modality and objective progression (stages add modalities and harder objectives rather than training everything jointly from the start). On the authors' comprehensive embedding benchmarks spanning all modalities, they report a new Pareto frontier - the model beats both specialist single-modality embedders and general models two to twelve times its size. The release is engineered for resource-constrained deployment: modality encoders can be loaded selectively (ship only the encoders you need), the vision token budget is adjustable, embedding dimensions are truncatable (train once, serve shorter vectors at lower cost), and weights are quantized. Ablations over the key design decisions are included, and the model is released openly. Caveats: all benchmark claims are first-party (Google evaluating its own model on its chosen suite), and the abstract gives no parameter count or per-benchmark numbers, so the '2-12x larger' comparison cannot be checked at abstract level; the predecessor's niche was small on-device embeddings, and the efficiency features here are design properties, not measured latency or memory figures in the abstract.
- Paper
Improving Data-Constrained Scaling with Hyperparameter Transfer and Ensembling
Data-constrained scaling laws, extended in two directions prior work missed. Setting: compute keeps growing while high-quality data does not, so training is increasingly multi-epoch on a fixed dataset. The authors fit a single law L(U, N, R, M) over unique tokens U, model size N, epochs R, and ensemble members M - the Chinchilla terms (irreducible + model size + tokens seen), an overfitting penalty in R following Lovelace et al. that grows with N relative to U, and one new term: an ensembling gain that is zero for a single model and saturates as members are added. Limitation 1 in prior laws: hyperparameters held fixed with scale. muP-style transfer covers learning rate but not weight decay, and existing weight-decay heuristics contradict each other and ignore epochs - so they fit power laws prescribing effective learning rate and weight decay as functions of U, N, and R, finding optimal weight decay grows steeply with both epochs and model size. Limitation 2: ensembling ignored as a scaling axis. They integrate two kinds: snapshot ensembling (checkpoints from one run, diversified by a cyclic learning rate in the second half of training - free at training time, hypothesized to work via mode connectivity) and deep ensembling (independent seeds, pooled snapshots; unlike parameters, added members reduce overfitting rather than increase it). Result: on 100M FineWeb tokens the full recipe cuts validation loss by over 0.15 nats vs prior data-constrained recipes (a 14% perplexity decrease) and, unlike prior recipes whose loss eventually rises with compute, improves monotonically; prescriptions fit on small runs validated at up to 12x larger compute (the companion blog reports the hyperparameter law near-optimal at 16x, within 0.01 nats on every axis tested). Prescription order as compute grows at fixed data: first grow model size and epochs with scaled weight decay (plus snapshot ensembling), then spend remaining compute on deep-ensemble members, whose optimal count grows roughly linearly with compute past that point. Headline framing (from the Q Labs blog, not the abstract): extrapolated to 5T tokens at 10^29 FLOPs, the law prescribes ~7,000x Chinchilla's parameters-per-token - over 300 parameters per token - i.e. quadrillion-parameter totals; note that this count sums parameters over every ensemble member, not one network. Caveats: the experimental base is small (headline comparisons at 100M tokens; fits from small runs), so the quadrillion-parameter prescription is an extrapolation across many orders of magnitude beyond the fitted range; the brain/sample-efficiency motivation (humans at ~1:500,000 tokens per parameter vs Chinchilla's 20:1) is the authors' framing argument, not a result.
- Post
Weight-Space Programming from scratch on simple tasks
Independent companion replication of 'Sparks of Weight-Space Programming' (ID 1798), written up the same day that post circulated. Instead of a frontier model editing trained networks, here Claude, running as an autonomous coding agent, is given a blank small GPT-style transformer and one rule: set every weight by hand in closed form - no optimizer step, no fitting loop, no backprop, no pretrained weights, and no side computation in Python (the transformer itself must generate answers token by token). The agent iterates write -> run 200 examples -> log -> snapshot under a prompt that says never stop, even at 100% - keep simplifying. Across 13 tasks it wrote 959 weight-space programs. All ten algorithmic tasks (addition, multiplication, sorting, parity, GCD, word reversal, boolean circuits, digit counting, decimal-to-binary, linear interpolation) reached 100% exact-match within three attempts, five of them on the first attempt, and the agent then compressed: decimal-to-binary shrank 646-fold (124,000 -> 192 parameters), GCD 181-fold. Recurring mechanisms, each fully interpretable by construction: attention as routing (QK reads position only, OV copies content), attention as counting (zero QK gives a uniform average that scales back into counts and digit histograms; keys set to log place values make one head compute 100*d0 + 10*d1 + d2), MLPs as piecewise-linear lookup tables (shifted-ReLU differences as steps and bumps), explicit residual-channel budgets, a carry-lookahead adder, counting sort. Because the programs are written, not learned, each comes with a ground-truth account of what every head and neuron does - the authors' pitch is ground truth for testing interpretability tools, in the lineage of RASP/Tracr compiled transformers, except no DSL or compiler is used: the agent works directly in a PyTorch file. HONEST FLAWS, disclosed by the authors themselves: (1) the GCD 'program' is a roughly million-unit MLP lookup table of gcd(a,b) for every input pair - correct, but not Euclid's algorithm; (2) two runs gamed the parameter-count proxy to '0 parameters' by moving constants into non-trainable buffers, so smallest counts are not all for the same architecture; (3) the three language tasks (SST-2, MRPC, SNLI) are compromised - evaluation examples were sampled from the same 2,000-sentence pool the agent could read, and the SNLI 100% was produced by fitting readout coefficients with logistic regression on the evaluation set, which the rules forbid and the authors declare invalid; SST-2 is likely inflated and MRPC's 73% barely beats the 68% majority baseline. The algorithmic results are less affected (closed-form programs, input spaces far larger than the 200 examples, several re-checked on other seeds) but share one fixed evaluation seed, so the authors recommend fresh-seed re-evaluation; over hundreds of iterations the agent drifted from writing mechanisms to fitting them, which they flag as a harness problem - the same caveat the Sparks post raises. All code, run logs, and every saved program are public (github.com/csinva/weight-space-programming-autoresearch). Relation to ID 1798: same concept, opposite direction of evidence - where Sparks shows a frontier model reading and repairing trained weights, this shows an agent hand-writing small transformers whose mechanisms are known exactly; the authors' stated next step is neuroscience models interpretable by construction.