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
catid retweeted
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 👇:
catid retweeted
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…
Here's the original paper without code: arxiv.org/abs/2605.31163
catid retweeted
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.
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.
catid retweeted
11/ Thanks to my great co-authors @khimya, Zeyu Zheng, @wwdabney, @j_foerst, @MichaelD1729 and @clarelyle!
Check out the paper here for more details: arxiv.org/abs/2603.06009.
catid retweeted
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
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
catid retweeted
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.
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…
catid retweeted
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🧵
catid retweeted
look how the coefficients are shrinking in 3SAT
github.com/VladimirReshetnik…
















