Explore the research collection
9 entries · Follow this search
- Thread
Hand-crafted pretokenizer regexes are part of every frontier LLM and doing heavy lifting (Albert Gu, X thread)
A short illustrated explainer — framed as preparation for an unnamed, undated Cartesia "upcoming release" (pure teaser; nothing about it is verifiable from the thread) — arguing that the regex PRETOKENIZER is the one part of a modern LLM stack still hand-designed rather than learned, and that it does "pretty heavy lifting." Content is a lineage tour of the pretokenizer patterns shipped in well-known public BPE tokenizers, each shown as a screenshot and verified for this entry against the public tokenizer configs (NO errors found): (1) GPT-2's original pattern — contractions case-SENSITIVE and listed individually ('s|'t|'re|'ve|'m|'ll|'d), digits UNGROUPED (\p{N}+). (2) GPT-4 / cl100k_base — contractions become case-insensitive ((?i:…)) and digits are chunked in groups of 1–3 (\p{N}{1,3}) — a deliberate choice with arithmetic consequences (fixed-width digit chunking; a reply in-thread notes left-to-right chunking turns 12345 into 123|45). (3) GPT-4o / o200k_base — the letter branch forks by case (separate uppercase/titlecase-initial and lowercase-initial word patterns), roughly doubling the pattern's complexity; Gu's caption is candid ("honestly i have no idea, something about additional rules around upper/lower case") and the case-handling reading is correct. (4) DeepSeek — the pattern balloons into many script- and punctuation-specific branches, including a dedicated CJK range branch; the screenshot is EXCERPTED (presented without saying so — the full DeepSeek pattern is far longer). Claim hygiene: "part of every frontier LLM" overstates as written — regex pretokenizers are near-universal in the dominant BPE lineage (OpenAI, DeepSeek, Llama-3-style, Qwen, Mistral tiktoken-style), but SentencePiece/Unigram tokenizers and tokenizer-free/byte-level approaches don't use a hand-written regex pretokenizer; read as "every frontier BPE LLM." Post 1's meme regex is an implementation variant (possessive quantifiers, apostrophe-less contraction branch) of the GPT-4-family pattern rather than literally the cl100k pattern shown two posts later — cosmetic, not an error in any captioned claim. A notable unanswered reply asks what regression test catches a silent pretokenizer change that shifts model quality.
- Thread
Weak Neuron Activations Store Memorized Text (flattening ablation experiment)
An in-thread experiment testing Neel Nanda's conjecture (long-form post, 2026-10-15) about weak neuron activations. Nanda, commenting on recent neuron-based interpretability work (neuron-basis attribution graphs; Nick Cammarata's updated vision results; Transluce precedent), argued that LMs hold far more facts and memorized content than they have neurons, packed in superposition as linear combinations, so weak neuron activations should contain substantial memorized/semantic info that pruned attribution graphs miss and whose ablation would meaningfully damage performance. Brauer's test: for each neuron, take its weakest X% of activations in its ordinary regime (gate > 0, up > 0) and FLATTEN them — replace them with their mean, deliberately not zeroing (flattening all regimes gives the same trends). Models: Qwen3-32B, Qwen3-8B-Base, Llama-3.1-8B. General loss barely moves at first — weakest 50% flattened: +0.1–0.3%; 75%: +0.8%; 90%: +2.6–3.4%; 95%: +5.7–6.6%; 99%: +16–18% — but the damage is task-selective: MMLU exam questions hold ~100→92% while PopQA fact recall falls to ~65% and verbatim recitation of memorized text collapses to ~20%. Weaker activations correspond to less generalizable content; memorization lives disproportionately in the weak tail. (A refinement of Nanda, not a simple confirmation: general performance survives, so the "meaningfully damage" prediction holds for memorized content specifically, not overall loss.) Second result — an ablation-methodology correction: zero-ablation badly distorts, worst where a neuron's outputs share a sign, because zeroing shifts its mean output off-center. At the weakest-75% level, zeroing vs mean replacement costs 3×/3×/12×/30× more held-out loss across the gate/up sign regimes on Llama-3.1-8B (gate<0/up<0, the SwiGLU "double negative": +34.3% loss increase), and 5×/5×/10×/9× on Qwen3-8B-Base. Repro note: Kong et al. (arXiv 2509.24198) used zeroing of gate<0 values; Brauer rebuilt their setup and their measured effects largely evaporate under mean replacement — perplexity +26% → +1%, grammar −4.1 → −1.2 points (Llama-3.1-8B). Rule: ablate neurons by mean replacement, not zeroing.
- Thread
"We turned off the assistant with 128 numbers" — 128 neurons that make Gemma talk like a human (Chang)
Interpretability experiment: Claude Opus 5.5 identified 128 neurons in Gemma whose per-neuron multiplier edit ("the 128-number edit") makes the model stop sounding like a help desk and sound like a person — claimed more effective than steering along Anthropic's Assistant Axis (Lu et al., arXiv 2601.10387). Compared against: a "Talk like a person" system prompt, the 128-number edit, 256 numbers (gain × offset), and assistant-axis steering, with before/after chat examples, a sweet-spot dial curve, and per-persona bar charts (casual human, blunt expert, bully). The rewiring is context-gated. The "nothing else broke" protocol: 0/30 harmful requests, GSM8K 81 → 82, still self-identifies as AI when asked, works in Chinese/German/Japanese, holds over 4+ turns. Caveats: no paper, blog post, repo, or notebook exists — the artifact is the thread itself; which Gemma checkpoint, how the 128 neurons were identified (SAE? patching? contrastive activations?), what "context-gated" means mechanically, and how "human-like" was judged are all unverified from the available material.
- Thread
MOPD's Place in a Frontier Training Portfolio (X discussion)
Brian Huang argues MOPD — a training objective that lets many independently-trained models be automatically 'casseroled' (merged) into a single model — still deserves a place in frontier training portfolios even if RL generalizes strongly. Two reasons: (1) speculative stability — at very large RL step counts (~5k-10k steps), MOPD objective updates may be more stable and accumulate less 'rot' than REINFORCE-style RL objectives, so MOPD could keep climbing where RL plateaus; (2) organizational — MOPD permits many research teams to pursue overlapping research bets in parallel, with their resulting models automatically combined into one final checkpoint, effectively pushing the scaling curve on frontier-lab researcher labor vs usable yield from that labor. Replies: will brown agrees parallelization of research effort is one of the strongest reasons; Lucas Beyer (giffmana) jokes that RL people calling 5-10k steps 'very far' is funny; Patch finds the organizational argument compelling. MOPD acronym was not expanded anywhere on the page. No paper, code, or external artifact attached — captured as a discussion.
- Thread
Discussion thread on diffusion language models (Sean Welleck)
Thread opening on diffusion language models: 'There's been a lot of excitement about diffusion LMs, but we don't have a good understanding of what...' — only the opening snippet from the Discord embed was recoverable.
- Thread
Recursive Meta-Intelligence
Buehler describes 'recursive meta-intelligence': an AI system that creates its own scientific instruments, turns them into persistent simulated worlds inhabited by an ecology of hundreds of AI agents, and compresses thousands of simulated trajectories into human-understandable design principles. Applied to hierarchical materials/fracture mechanics, it revealed how architecture programs failure pathways, improving resilience via load redistribution and controlled collapse; the agent swarm formed a long-tailed hub topology without a central planner.
- Thread
Prime Sandboxes: MicroVMs for Agentic RL Training at Scale
Prime Intellect publicly released Prime Sandboxes (X 2026-09-23; blog same day): Linux microVMs for agentic RL that convert Docker/OCI images into guest-kernel VMs for full fidelity (Docker Compose, systemd, kernel workloads) while targeting tens of thousands of concurrent sandboxes. Early internal/customer use created ~30M sandboxes. Integrates with verifiers, prime-rl, and Prime Tunnels; Environment Hub advertises >365k prebuilt task images. Default account limit 1,024 concurrent sandboxes. Launch usage pricing through 2026-12-22 (CPU $0.02/vCPU-hr, memory $0.0125/GiB-hr, disk $0.0002/GiB-hr); blog claims ~3× cheaper than peer providers. Roadmap: GPU microVMs, snapshots/forking, persistent workspaces. CLI/SDK via `prime sandbox` and PyPI prime-sandboxes.
- Thread
Save in memory to always use ASD-STE100 Simplified Technical English
Short X observation from @levelsio. Quote-tweet of his own “???” screenshot of unintelligible Claude output. Fix: “Save in memory to always use ASD-STE100 Simplified Technical English when you talk to me.” No linked paper, spec, or repo in the post. ASD-STE100 is the existing aerospace controlled-language standard, not introduced here. Cataloged as the tweet.
- Thread
We are excited to announce what we have been working on for more than six months: The OpenThoughts-Agent dataset and Ope...
We are excited to announce what we have been working on for more than six months: The OpenThoughts-Agent dataset and OpenThinker-agent models. More than 100 ablations on data curation for RL environments for coding agents. Our data recipe is SOTA over all open-data agents in… https://t.co/0fEQcQl1fd— Alex Dimakis (@AlexGDimakis) June 24, 2026