Aurko Roy (@aurko79) header
Aurko Roy (@aurko79) profile picture

Math & computer science | @AIatMeta (2025-2025) | @GoogleDeepmind (2023-2025) | @GoogleAI (Brain) (2017-2023) | CS PhD @Georgiatech | CS @IITKanpur

San Francisco
Joined February 2025
Photo by Aurko Roy (@aurko79)Photo by Aurko Roy (@aurko79)Photo by Aurko Roy (@aurko79)Photo by Aurko Roy (@aurko79)Photo by Aurko Roy (@aurko79)
Excited to share what I worked on during my time at Meta. - We introduce a Triton-accelerated Transformer with *2-simplicial attention*—a tri-linear generalization of dot-product attention - We show how to adapt RoPE to tri-linear forms - We show 2-simplicial attention scales better under token constraints than dot product attention It was fun collaborating with amazing folks including @dvsaisurya @_arohan_ and others
26
96
25
809
150,047
Training across compute islands is going to become a very real constraint for a lot of labs as clusters stay fragmented and power/land get scarce. History shows scarcity is often the mother of the best algorithmic ideas — and some of the ideas explored here look genuinely promising!
Hi! this is Rohan Anil, I develop training algorithms among other things - my work trains various frontier models. At CoreAuto, I was fascinated by the problem of training on compute islands, eventually in space training. I hope you all enjoy this write up!🪐🛰️ coreauto.com/hitchhikers-gui…
2
25
1,895
Very cool work on content based sparse attention - look forward to trying it out!
Today we are happy to share one of our first open research releases: Latent Sparse Attention (LSA), a step towards subquadratic attention that matches accuracy of full attention at ultra-long context. Sparse attention attends to only a few tokens per query, but it has to find the right ones. At 10M tokens, that search takes 98% of the attention layer's time. LSA makes sparse attention up to 22.7× faster and full attention 72.4x faster. With @kubicek_ales @caciolai @PengLiangzu @SukritSumant @Ben_Hoov @FraserGreenlee @RMBattleday @radim_urban @thoefler @jcrwhittington
1
26
1,467
Super cool results with some clever sharding and sparse updates to the 65B n-gram table obliterating the previous nanoGPT record!
New historic NanoGPT record at 39.9s (-27.7s) from @DevenPzak , obliterating the prior record of 67.6s! This record introduces a new paradigm of thinking to NanoGPT: instead of optimizing matmuls or adding more expressive operations, optimize at the individual flop level with incredibly clever engineering and ML judgement. If a flop is low value on a particular step, skip it. Specifically: -(~8s) Sampled softmax. If a token doesn’t appear in a batch, skip its lm_head fwd/bwd some fraction of the time. -Sparse values. Only run an optimizer step for ngram embeddings that occurred in the batch. Set beta1 to zero to enable this. Beta2 is applied retroactively when the row is later used. -Sparse updates. Only update ngram and value embeddings once every 4 steps instead of once every 2. -Sparse communication. Shard the n-gram table across GPUs, and only pass the rows receiving updates on each step. -Sparse optimizer states. For the n-gram table, reduce from 2 floats in Adam optimizer per param, to 1 float per 768 params. -Hand-rolled flash attention for 64 dim heads. There are several additions that add accuracy too: -(~4s) EMA during last 300 steps, combined with lifting final_lr to 0.3 instead of 0.15. -(~1s) A new optimizer, Anvil2, which expands muon via a second tracked momentum buffer, improves the ortho coefficients, and modifies the cautious weight decay application. -A couple additional dynamic skip connections in the network. The most striking consequence of the ‘flop aware paradigm’ is you can grow parameters arbitrarily large, only limited by the available memory, since you can selectively choose how to expend flops on those parameters on each step. NanoGPT has kept active parameters below 124M, but total is unbounded, and has grown to 640M through embedding sparsity over the last year. This PR takes that to its logical conclusion on the 8xH100, scaling up to 65B sparse embedding parameters, which accounts for 25% of the PR’s gains. At frontier scale, where one is not bounded by an 8xH100, one could imagine where this paradigm could lead. github.com/KellerJordan/modd… As this was a very notable PR, I spoke with Deven for an hour to learn how he did it. Here’s his story on the changes: hyperstition.cc/training-nan…
2
1
16
1,341
The real innovation behind Moonshot's breakthrough was never Kimi Delta Attention (KDA)—it was Kimi Distillation Attack (KDA).
We're publishing our most detailed threat intelligence report to date. It covers how people tried to misuse Claude—for cyberattacks, influence operations, surveillance, biology, and building weapons—and how we found and stopped them. We disrupted every operation in the report, and used the lessons from them to strengthen our safeguards. Where appropriate, we also shared what we found with authorities and other AI companies. These cases are not typical: we’re highlighting some of the most sophisticated misuse we’ve seen. But they’re especially important to discuss, because they show us where AI misuse is headed, where our safeguards work, and where they need to improve. We’re publishing this report so others can spot the same activity on their own platforms, and so we can give the public a clearer view of how emerging threats develop. Read the report: anthropic.com/threat-intelli…
2
21
2,149
"The model looks up what it already knows for FREE and spends its compute purely on thinking. " This is the right intuition for why N-gram embeddings help.
Qwen3.8-Flash-Next Drops TOMORROW And I'm Deploying It LIVE 🚨 The architecture is wild: 125B brain, only 6B active per token, PLUS a 51B lookup table of pre-baked phrases. It's not more brain, it's flashcards 🧠⚡️ The model looks up what it already knows for FREE and spends its compute purely on thinking. Same quality as their flagship at 1/9th the training cost. Their last model this size ran 10B active. This runs 6. That's the speed unlock 📈 Tomorrow 11 AM I'm going live to crack this on the DGX Sparks. FP8 on TP2 first, then the community quant hunt begins. Can we fit it on ONE Spark? Can it run on four 3090s? We find out together 🔥 Stay tuned. You already know the numbers get posted here first 🎯
1
8
1,634
51B N-gram table is massive!
Qwen 3.8 Flash Next is releasing Tomorrow. 125B paramters +51B N-gram and 6B active. Its based on the next generation Qwen 4 architecture. Qwen 4 is coming
4
15
3,465
Nice to see MiniMax and others pushing content based sparse attention forward. Back in 2020 the field was exploding with several efficient attention variants: - Local/Sliding window attention - Fixed sparsity patterns - Strided attention - Recurrence ( T-XL, compressive transformers) - Chunked attention - Linear attention and SSMs The right prior which has stood the test of time is a combination of: a) local attention for modeling local context and b) a top-k content based sparsity to route queries to the most relevant keys (blocks of keys). What has changed in the last 6 years is better hardware-algorithm codesign.
Hey everyone — our high-performance MSA kernel library is now open-source. The M3 weights are expected to drop this Friday. Thanks for waiting! Github: github.com/MiniMax-AI/MSA Paper:github.com/MiniMax-AI/MSA/bl…
4
13
1
121
23,024
As someone who watched Rohan train LLMs with shampoo and brainstorm ideas for making it cheaper/more scalable back in 2021-2022 (low-rank shampoo for very large weights etc), I think it's fair to say that Shampoo was certainly a step change over Adam. That said Muon also introduced several innovations and it may be an over-simplification to say that it's just Shampoo with b2=0. - For one the use of Nesterov momentum - Second the observation that computing inverse roots is inherently more numerically unstable than orthogonalization - Clever use of Newton-Schulz which makes it more GPU friendly than eigh or QR or coupled newton - Scaling the update rms norm to match 0.2 (Adam update rms in the limit) which made grafting with Adam unnecessary I think both optimizers are awesome and I learned a lot from studying both of them. Progress doesn't happen in a vacuum, we all stand on the shoulders of giants.
not sure how you can say the first major innovation since adam was muon and not shampoo. although I'll admit that muon is much simpler to implement in practice! unless you are saying muon is a special case of shampoo with b2=0?
4
1
2
123
40,206
Still remember implementing the Miller–Rabin primality test as an undergrad — one of those rare algorithms that feels almost magical in its simplicity. RIP.
2
14
2,170
Wait so everyone is scaling N-grammer now?
🚀 Scaling embeddings, not just experts—introducing a new path for efficient LLMs. Key Finding: In high-sparsity scenarios, N-gram embeddings yield a better Pareto frontier than just adding more MoE experts. Therefore, we introduce LongCat-Flash-Lite—the first opensource model built on this insight. ⚙️ 68.5B Total Params(37.13B non-embedding) | 2.9B~4.5B Active 📊 High Performance: SWE-Bench 54.4 | τ²-Bench 72.8 | TerminalBench 33.75 📃 256K Context Window (YARN-powered) ✨ Optimized for Agentic/Coding, strong in general reasoning ⚡ ~700 tokens/s peak inference speed The result: Achieves competitive performance within its scale at a significantly lower cost and latency. Hugging Face: huggingface.co/meituan-longc… Tech Report: huggingface.co/meituan-longc…
2
26
3,907
We all stand on the shoulders of giants - some simply care less for power and recognition, and choose quiet brilliance instead.
Actually I was lucky to meet Grisha as a teen way before he became famous. I had an internship not far from a park where he used to walk, and he was going for a walk every day same route same time. He was quite famous in the neighborhood bc of his non standard look (according to slavic standards). His response to me on why he declined was that he didn’t feel like it was fair. He said he was building his proof on top of works of other great mathematicians and none of them got any medals, but without them he wouldn’t solved it
17
4,208
Amazing work by my good friend and ex-colleague, many congratulations!
We are beyond thrilled to share our first flagship models, Rnj-1 base and instruct 8B parameter models. Rnj-1 is the culmination of 10 months of hard work by a phenomenal team, dedicated to advancing American SOTA OSS AI. Lots of wins with Rnj-1. 1. SWE bench performance close to GPT 4o. 2. Tool use outperforming all comparable open source models. 3. Mathematical reasoning (AIME’25) nearly at par with GPT OSS MoE 20B. ….
1
1
11
6,777
Who would have thought that a multi trillion dollar cap company could have been thrown into such chaos (layoffs) by a single technical decision they made a year ago - using expert choice MoEs for their frontier model.
24
14
12
525
256,018
Really nice extension of 2-simplicial attention from sliding window local attention to content based sparse attention! Bonus: Also draws a nice connection to the Weisfeiler Leman algorithm, which I last had the occasion to think about 13 years ago for my master's thesis. :)
we can go beyond attention. as some of you know, higher-order attention methods (and the resulting schizodrawings) have been my focus for a while now, and, despite my earlier plans, they ended up being my choice for the second post in the series titled "the graph side of attention". In this post we rediscover the 2-simplicial attention architecture by @aurko79, @_arohan_ and their colleagues, pushing the boundary a bit by proposing to swap SWA with a DSA-inspired sparsification. hope you enjoy reading as much as i've enjoyed writing this! You can find the link in the first reply
11
82
10,840
Agreed, this is why we worked on 2-simplicial attention and OSSed the kernels: Paper: arxiv.org/abs/2507.02754 Blog post: pytorch.org/blog/fast-2-simp…
-2016 (classic era): focus on data efficiency 2017-2025 (pretraining era): focus on compute efficiency 2026-: focus on data efficiency (again) The standard Transformer paradigm is optimized for compute efficiency. As we look at data efficiency, we'll see very different design decisions, which will be exciting!
1
1
23
3,978
Had the pleasure of grabbing a beer with the inspiring @danielmurfet and talking about attention, intelligence, math and Grothendieck at Berkeley this weekend! 🍻
2
1
25
1,764
Amazing work by the Pytorch team!
FlashAttention in 3D? Our latest blog explores the #kernel design of 2-Simplicial #Attention, modeling the algorithm with a hardware aligned design and rewriting the entire kernel in TLX (Triton Low Level Extensions). 🔗 hubs.la/Q03H6S9D0 #PyTorch #OpenSourceAI
1
3
53
6,803
Insight I had yesterday talking to someone: inference time compute is a way to scale attention FLOPs over FFN flops, since the ratio between them is n^2d/(nd^2) = n/d. In inference time scaling n grows while d remains fixed.
1
40
2,837
Got nerd sniped into checking out karpathy's nanoGPT github, I made the following changes to run 2-simplicial attention on my mac on Shakespeare: - 6 layers, 6 heads, 384 dim - reduced ctxt len to 32 - 2-simplicial attention with 32 x 32 x 32 window - run for 5000 steps Differences from the paper: - comparison with transformer with 32 ctxt len (instead of full attention) - every layer is 2-simplicial (instead of 1/4)
8
15
243
30,033