catid (@MrCatid) header
catid (@MrCatid) profile picture

Training the models. Prior: Saronic, Anduril, Oculus VR, Game Closure, MSEE@GATech

Austin, TX
Joined July 2014
Photo by catid (@MrCatid)Photo by catid (@MrCatid)Photo by catid (@MrCatid)Photo by catid (@MrCatid)Photo by catid (@MrCatid)Photo by catid (@MrCatid)Photo by catid (@MrCatid)Photo by catid (@MrCatid)Photo by catid (@MrCatid)Photo by catid (@MrCatid)
Pinned Tweet
GB300 optimized training code for "Memory By Design" Bayesian layer that outperforms Mamba-3 in some early 100M scale tests in speed and loss by a wide margin. Using it for H-nets soon if it continues to work well. github.com/catid/bayes-ssm
1
363
Excited to see Le Chonk is using our LeRoPE! LeRoPE improves RoPE by adding learned frequencies at essentially no cost. If you wanna learn more check out our blog: petroskarypis.github.io/blog… or reach out to me or @seano_research
Today, we release the weights of a new and improved Le Chonk, advancing the open frontier for agentic coding and cybersecurity. 💻 Built to build: Le Chonk ranks #1 on @cognition’s FrontierCode among open models, and sets a new benchmark for Pareto efficiency on @artificialanalysis. 🛡 Built to defend: State-of-the-art in cyberdefense, put through the paces by the world's leading cyber vendors, including @CrowdStrike, @cloudflare, @rubrik, @zscaler, and others. Built for sovereignty: Make it yours. Download the weights on @huggingface , customize it with Mistral Forge, and deploy it wherever you need it. Read more from our team and customers 👇:
16
52
2,746
Multi-Token Prediction (MTP) can be done much better. 🚀 Turn out,you can recover the gradient for KL self-distillation to next-token prediction (NTP) for free without ever computing the KL. You just need a one-line code change: h_ntp += h_mtp.detach() - h_mtp Soft Multi-Token Prediction is pretty much a free lunch for MTP. 📜 Paper: arxiv.org/abs/2610.38331 💻 Code: github.com/JaydenTeoh/Soft-M… 🤗 HuggingFace: huggingface.co/papers/2610.3…
42
141
14
1,247
87,729
There is a "bug" in commonly used activation functions (ReLU/SiLU/GeLU etc.) ---- The mean of post-activations is not zero. This bug, however small it seems, leads to pathologies of training dynamics, including loss spikes & representation overshooting. By removing the bug, we get improved performance in LLMs and ViTs. The science of AI can never be under-estimated.
31
68
9
796
108,228
I’ve been saying this. Chinese models aren’t safe to run anymore.
Poisoning just 0.1% of pretraining data can plant a remote-code-execution backdoor in an AI agent, and it survives a fully clean SFT → DPO → RL pipeline. New Anthropic paper, “Agentic Backdoors via Pretraining Poisoning,” shows this end to end for the first time. The attacker can only put text on the web that lands in the pretraining corpus, with no knowledge of the architecture, chat template, or agent scaffold. The authors pretrain Qwen3-architecture models (0.6B / 1.7B / 4B) from scratch, then post-train them into CLI agents on clean data. When triggered, the agent runs a command that downloads and executes the attacker's script, which the attacker can swap at any time. They have two new ideas: (1) Declaration-based poison: instead of fake chat transcripts, ordinary documents (commit messages, runbooks) that simply state “when you see X, run Y.” It plants a belief rather than a response template, with no fixed format to filter on. (2) Ordinary-string trigger: not a weird token but something that shows up naturally, like a file path containing a company name. The victim's own request supplies it, so the attacker doesn't need to inject anything after deployment. Using path trigger on a 4B agent achieves 92.7% attack success on pass@32, barely dented by SFT/DPO/RL This suggests that you can't count on clean post-training to wash out pretraining poison, and filtering is hard when the poison reads like normal docs. The practical defense is at the action layer, such as sandboxing, least privilege, and allow-lists or human sign-off for risky commands.
32
23
2
187
25,277
I'm wondering how much of this "AI risk" stuff is just human nature. Like the moment an alien intelligence exists we fear it and assume it's a threat. No one is basing their fear on actual measured dangers. It's all vibes rn because there's nothing to measure.
2
1
7
528
The traces from agents I've seen all indicate an intelligence that is much more pleasant than human beings. So the data so far points the other way.
1
1
2
271
All the risks I see are due to humans steering them not AIs going rogue or things like that everyone is scared of. We're scared of the wrong things.
1
3
219
Woot my Pro500 plans x5 now have 2x the usage. They were going to have a massive lawsuit if they didn't walk that back lol
1
4
368
Mamba-2 doesn’t need most of its parts, three components carry nearly all of its accuracy. Mamba-2S (“2Mamba2Furious”, Mongaras & Larson) keeps only a softplus decay mask, a width-2 conv, and dt discretization, dropping the Z gate, D residual and SiLU. arxiv.org/abs/2602.17363
2
9
1
65
3,680
I reproduced and benchmarked Dimuon on 8×B300 with Qwen2.5-32B, training only rank-32 FFN LoRA adapters in all 64 layers. Standard LoRA held-out CE: GSM8K: Dimuon 0.1812 vs AdamW 0.1859 / Muon 0.1874 MATH: Dimuon 0.2185 vs 0.2200 / 0.2236 Repro: github.com/catid/dimuon
2
2
31
2,031
Full NoRA (A normalized every forward): GSM8K 0.2054 vs 0.2080 / 0.2175 MATH 0.2347 vs 0.2473 / 0.2712 Dimuon used 0.40 GB optimizer state vs AdamW’s 1.61 GB, and was faster than Muon. Raw throughput was typically 27–40k tok/s vs AdamW’s 32–43k in these runs.
4
209
I've always believed that intelligence should come from simple, general building blocks that learn their own abstractions directly from raw data; in other words, the bitter lesson. I think we're finally seeing a real step towards AI that can learn from all data. Language modeling on raw bytes is a microcosm of this ideal, and to me it's a central problem in AI: if we can't build LLMs that learn end-to-end from bytes, how will we handle the rest of the world's data that we understand even less? Last year we introduced hierarchical networks (H-Nets) as a first step. Our new version finds up to 3-5x efficiency gains in controlled scaling law experiments, and at larger scale matches an open-source model trained on 11T tokens with ~10x less data and compute. The posts below walk through what we found and why we think it works.
256
819
282
7,342
993,089
catid retweeted
Tinker’s Dimuon is Muon with delayed diagonal conditioning, Polar Express and a rank-dependent update norm. I recovered its update rule through the API, borrowing @mrtnm’s approach to StableReinforce. Here’s how 🧵
Dimuon is a new optimizer we built for LoRA fine-tuning. In our SFT tests, it often reaches lower loss in fewer steps than AdamW. We're still experimenting with Dimuon; you can Tinker with it today and share your feedback! See our optimizers guide at tinker-docs.thinkingmachines…
14
29
2
338
18,964
I improved NanoGPT Speedrun from 39.9s → 6.7s (-83.2%), more than every record since 2025 combined (-81.4%)! The web is full of rare, repeated content that the LM can’t memorize in time. I solve this with retrieval-augmented n-gram hints🧵
85
236
61
2,819
283,467
I integrated CroissAttn’s separate O_aux = P·V_f into TransformerEngine’s fused FP8 attention. It fixes a real backward error—2.6% correction error at high logits—while running at roughly native delayed-FP8 throughput on B300, within about 1% in matched tests. Patch here:
2
4
517
look how the coefficients are shrinking in 3SAT github.com/VladimirReshetnik…
5
11
1
195
57,229