gslaller (@gslaller) header
gslaller (@gslaller) profile picture

Fun maximisation

Neustadt, Hamburg
Joined March 2016
Photo by gslaller (@gslaller)Photo by gslaller (@gslaller)Photo by gslaller (@gslaller)Photo by gslaller (@gslaller)Photo by gslaller (@gslaller)Photo by gslaller (@gslaller)Photo by gslaller (@gslaller)Photo by gslaller (@gslaller)Photo by gslaller (@gslaller)Photo by gslaller (@gslaller)
Did some work on visualising the firing pattern of MoE (Mixture of Experts) modules for Qwen models and other statistics. You'll see temporal consistency in the router, as one would expect. gslaller.github.io/moe_analy…
1
62
I never trusted Alice and Bob.
127
1,026
117
7,063
283,634
Me: I am helping with P = NP. I have 8 lemmas that have been accepted Friend: And what is a lemma? Me: Who knows
56
28
31
1,267
105,180
Can you open source gpt3? @sama
9
gslaller retweeted
32
646
21
8,292
96,099
Seems like this is going to be a nerd-superbowl
1
11
a certain kind of environmentalist will tell you we have ten years to decarbonize and then defend a review process that uses seven of them. the planet is on fire, please submit written comments before the close of the 90 day window
38
716
51
7,228
301,742
gslaller retweeted
>Boomer sein der in Prime Deutschland aufwächst >Massiv überzahlte Stelle in Konzern für/ Nixtun >Firma gegen Wand fahren & Deutschland in den Abgrund stürzen >Firma stellt deshalb keine Jungen Leute ein >Boomer bekommt als Belohnung noch 6 stellige Abfindung vor Rente Genial
16
33
1,280
32,242
Since my nanoGPT record was published, the question I’ve been asked the most is, “Does it scale?” The true answer is, while some aspects of the speedrun scale, the goal of this specific endeavor was not to scale it up. The point of the challenge is to utilize clever engineering and creative ML intuition to increase efficiency. But while nanoGPT is just about hill-climbing one benchmark, the rest of my work has been focused on scaling to the frontier. The main projects I’ve worked on are some architectural changes and ANVIL III. ANVIL III is a significantly stronger optimizer than ANVIL II, the optimizer I used to beat the nanoGPT world record. In fact, for the record, we removed the parts of ANVIL III that scale. ANVIL III is significantly stronger than Muon, while nearly matching its speed. For the same token budget (same compute), ANVIL III reaches final validation loss 20-28 millinats (.02-.028 nats) lower than Muon, holding at all scales from 124M to 1.2B, and different overtraining depths. As we scale up the model size and training depth, the 20-28 millinats becomes worth a larger fraction of compute. At deep overtraining (8x-Chinchilla) and 1.2B parameters, the fitted scaling curves imply that ANVIL III reaches the same loss numbers at 50% less compute. Of all the scales we tested, the gap is largest at 1.2B, staying between 26-28 millinats. The first remarkable aspect of ANVIL is hyperparameter consistency. The optimal hyperparameters remain highly consistent across different scales and training depths. In most of our tests, varying hyperparameters rarely changed ANVIL III’s loss, or did so within noise. In fact, as shown in the attached image (from the blog’s appendices), we tuned Muon significantly more than we tuned ANVIL III. We performed over 3 times the aggregate amount of runs of Muon than ANVIL III, and at each scale our loss margin uses only the optimal parameters for both. At 1.2B, we used 51 tuning runs of Muon (including muP proxies), compared to only 7 for ANVIL. We wanted to guarantee that our improvement was not a tuning artifact, so we meticulously tuned Muon’s parameters, and had to apply far less tuning to ANVIL III. Our hypothesis is that the high SNR of ANVIL III makes it very resistant to parameter changes. That SNR is the second remarkable aspect of ANVIL III. We generalize the Adam SNR (SNR = m̂ / (√v̂ + ε)) for each singular direction (uᵢ, vᵢ) in an update, and measure how strongly held-out gradients (G_b = gradient on held-out batches b) point along it: SNRᵢ = mean_b(uᵢᵀ G_b vᵢ) / rms_b(uᵢᵀ G_b vᵢ) In our tests, Muon takes a lot of steps with low SNR, but ANVIL III doesn’t, despite being a Muon variant. For example, at 10% of the training tokens into a 1.2B (approximately Chinchilla) model, 90% of singular directions in ANVIL III’s steps go downhill on held-out data, while Muon gets only 67% (random = 50%). Pretraining Blog: hyperstition.cc/cutting-pret… Another recent post from Hyperstition contextualizes the importance of this SNR gap. In The Signal and the Noise, we generalize Adam (in which the update is just a per-coordinate SNR) to every direction in parameter space. Almost every direction is nearly orthogonal to the gradient history, so averaging that over all directions just collapses back into plain momentum. But the single best direction, C⁻¹ḡ, reaches SNR=1 whenever recent gradients are linearly independent, which is almost always true in LLM pretraining. By solving that with a s-by-s Gram system with recency weighting, we get a basis-free optimizer that matches AdamW at 286M parameters. While this is far from optimal, it represents one avenue for possible gains in pretraining optimization that are yet to be realized. hyperstition.cc/the-signal-a… In another fun but mostly unrelated blog, Stuck in a Loop, we show that attention in pretraining creates feedback loops and self-reinforcement. A key’s gradient is proportional to the attention it already gets, so keys with early inflated attention receive stronger gradients, overinflating them. Breaking that loop spreads attention out, with the average entropy of attention heads goes from 3.75 to 4.69 nats (effectively 43 vs 109 tokens), but it makes the model worse. Similarly to The Signal and the Noise, this suggests that putting more weight in high-signal directions can beat spreading it out broadly. hyperstition.cc/stuck-in-a-l… These discoveries are just a small part of the upcoming releases from @hyperstition_cc. Can’t wait until we release more. Big things are coming!
8
16
6
184
18,088
gslaller retweeted
Replying to @shlummi
1.74e6 * (89e9/5e5) /8e9 ≈ 38 token/s. This is the bandwidth which was added by NVDA last quarter for each person on this planet, according to this math. Which is bonkers.
1
1
31
AI is getting cheaper more quickly than any other transformative tech in history. At a given level of performance, cost has fallen ~47%/quarter since 2023. That’s 4× faster than DNA sequencing, 6× faster than compute, 18× faster than lithium batteries, and (up to 1973) 54× faster than electricity.
206
1,381
340
8,778
1,985,655
Cars and buses go from Oxford Station down Botley Road for the first time in three years! The project took longer than the construction of The Titanic and saw costs balloon to £237m. Looks good though.
335
134
263
3,823
3,837,055
gslaller retweeted
An internal version of Astra, @OpenAI’s next major model family, solved 10 major open problems in mathematics, quantum complexity, and theoretical computer science. We believe it will be a major step for scientific reasoning. openai.com/index/ten-advance…
10 proofs from our next major model Astra on long-standing open problems in mathematics and theoretical computer science (also including new circuit lower bounds for computing the permanent!) GPT-5.6 has already enabled so much exciting work in math and science. Can’t wait to see what comes next!
824
2,498
1,516
17,387
13,395,436
Jesus Christ what a diagnosis
76
166
161
5,879
1,468,538
165
921
144
8,937
357,565
gslaller retweeted
Mythos, regulate something. make no mistakes.
JUST IN: Anthropic offers EU access to Claude Mythos.
25
584
24
16,253
561,720
Kleiner #infotweet !
8
41
3
2,413
38,819
Key latent space projected to 2d dimensions. More coming.
408
gslaller retweeted
Dieses Seuchenschiff ist wie Napoleons Lebenslauf rückwärts.
3
33
3
929
29,503
Replying to @MForgeng
Japan und Deutschland.
4
7
2
39
3,082