Buu Phan (@buutphan) header
Buu Phan (@buutphan) profile picture

PhD student at the University of Toronto @UofT. Previously, research intern @AIatMeta. Interested in LLM, Info Theory & Sampling. Compression ≠ AI.

Toronto, Ontario
Joined March 2018
Photo by Buu Phan (@buutphan)Photo by Buu Phan (@buutphan)Photo by Buu Phan (@buutphan)Photo by Buu Phan (@buutphan)Photo by Buu Phan (@buutphan)Photo by Buu Phan (@buutphan)Photo by Buu Phan (@buutphan)Photo by Buu Phan (@buutphan)Photo by Buu Phan (@buutphan)Photo by Buu Phan (@buutphan)
🤔Tokenization (1) makes your LLMs produce odd text when prompts are cut off mid-token? (2) gives you problems when ensembling different LLMs? 💡We solve both by converting tokenized LLMs into equivalent byte-level LLMs! No training required! 📎Paper: arxiv.org/abs/2410.09303
2
6
2
47
19,984
Buu Phan retweeted
The Lean FRO and Mathlib Initiative have released a joint statement on the Lean verification of the Riemann Hypothesis. On November 20, Levent Alpöge released a proof of the Riemann Hypothesis as a Lean library of 17 million lines of code. Over the past day, the Lean and Mathlib communities worked together to verify it. The statement certifies the proof as correct and describes how it meets all necessary verification criteria. Congratulations to Levent on this achievement, and thank you to everyone in the community who contributed to the verification. Full statement: leanprover-community.github.…
572
5,394
2,127
29,031
3,554,311
Buu Phan retweeted
Great paper on why SFT can generalize just as well as RL if you give it enough diverse training data. Like everyone else since DeepSeek-R1 dropped, I’ve been treating "RL generalizes, SFT memorizes" as gospel. Whenever SFT runs plateaued on out-of-domain reasoning, everyone just blame the algorithm. Turns out, we might have been running an unfair comparison the entire time. In standard setups, RL gets to explore a huge rollout budget per prompt while SFT gets trained on a tiny slice of data. So the authors decided to actually level the playing field on Qwen2.5 and Qwen3 models by testing two things: mixing data sources instead of just distilling from one giant teacher, and scaling up the SFT data to match RL's rollout budget. The results completely flip the usual narrative. A carefully mixed dataset easily beats single-teacher distillation, and matching RL's rollout budget lets SFT generalize just as well as RL. And when you combine both, SFT actually outperforms it. To figure out why, they used LLM annotations to inspect the rollouts and proved (both empirically and theoretically on shallow transformers) that larger data budgets expose SFT to rare, "tail" solution methods. Those uncommon reasoning paths are where the actual generalization signal lives. Honestly, for everyone tired of debugging finicky online RL pipelines, this is a huge relief. SFT wasn't broken, we were just starving it of diverse rollouts. Full paper PDF: arxiv.org/pdf/2611.14912
39
114
19
917
71,841
Buu Phan retweeted
The fact that two Huangs are involved in an affair, but only one takes the blame is commonly known as Jensen's Inequality.
102
854
101
10,377
384,502
A super exciting announcement: In January 2027, I'll be joining @UCBerkeley as an assistant professor in EECS and Statistics. I'll be recruiting PhD students and postdocs this cycle, starting Fall 2027. If you're interested the science of RL and deep learning, please apply.
72
59
7
898
53,187
Math. The Flint Hill Series. No one knows if this converges. Perhaps humans, aliens, and AIs will never know if this converges. One of the greatest math mysteries. More info: matpic.com/essays/a-series-t…
10
17
11
148
84,226
Buu Phan retweeted
It’s just a stochastic token predictor.
196
362
160
5,029
450,729
🥹🥹🥹 So incredibly happy to see my ICLR 2025 work on byte-level conversion mentioned in this work!! Such a rewarding feeling to see the idea take on a life of its own 🚀✨
Banger paper from Meta. This work shows that byte-level models start out behind token models and then pass them as compute grows. They show this for distilled 1B models trained on up to 1 trillion bytes. To distill a byte student from a token teacher, they convert the teacher's token logits into byte logits, either approximately (Marginalize-It) or exactly (End-Of-Token). Token models lead at low compute but plateau. Byte models reach a higher ceiling, and the fitted scaling laws predict the End-Of-Token model ends up to 4% ahead of the distilled token model. The byte models also match the distilled token model with one-sixth of the training data, and a 256-entry vocabulary cuts teacher-logit storage to about a fifth. Paper: arxiv.org/abs/2609.12303 Chat with Paper: academy.dair.ai/papers/break…
1
5
281
Me ignoring all the Navier-Stokes drama and just focusing on my paper.
2
237
The best thing society can do for AI is produce more theorems. A theorem is compressed reasoning—and compression is how you beat limited context.
IMO, the next steps are: Within 1 year: strictly better than human AI in all problem-solving aspects of math. Within 2 years: producing mathematics becomes so cheap, AI will produce mathematical theories for all kinds of applied domains on the fly at need. Mathematics becomes the true infrastructure of all of engineering and applied sciences (including AI, biology, optimization, cybersecurity, etc) where approaching things theoretically was too expensive to be practical.
2
153
Buu Phan retweeted
With essentially zero technical input from me, GPT-5.6 Sol and Fable 5 not only proved a conjecture we left open ~2 years ago on best-of-n, but also delivered a strictly tighter bound with a clean and insightful derivation. We are officially in a new era of mathematical reasoning! Much of what previously counted as meaningful technical contribution is now routine for these models. This level of reasoning is being fundamentally democratized. The kind of research that used to take months to become a paper is now achievable in minutes.
This got even more ridiculous! I was trying to use the context of this session to nudge Sol to improve another result. Instead, it misunderstood me as wanting to improve this current bound and voila🤣
12
39
4
508
43,827
My friend Zhengqing used GPT-5.6 to solve a beautiful well-known conjecture in probability. Feige's 1/e conjecture: for independent nonnegative X_1,…,X_n with E[X_i] ≤ 1 and S_n = X_1+⋯+X_n, we have P(S_n ≤ E[S_n] + 1) ≥ 1/e. Exciting to see a problem we used to kick around over lunch and dinner get solved! 1/2
35
130
35
1,350
446,838
During today's #ICM2026 opening ceremonies, the IMU announced the 2026 Fields Medals recipients: @UChicago's Yu Deng, @stonybrooku's John Pardon, @UofT's Jacob Tsimerman, and Hong Wang of @nyuniversity and @Institut_IHES. Read more: bit.ly/4psOJbU
44
640
136
2,349
741,564
Last year my family wrestled with a math conundrum: our ages all turned odd in sequence but starting with my older son, even though my wife is the oldest and my birthday comes first each year. Why was Noah the first to turn an odd age? Do all families experience these odd cycles?
1
1
11
1,386
Buu Phan retweeted
Maybe programming is a low intelligence task and a total god awful waste of human time
290
190
75
4,784
361,152
Buu Phan retweeted
PhD students:
Quit your job. Chase your passions. Take the risk. It's how I went from making $11,000 a month to $1,300
1
5
128
18,510
We love BPE tokenization! ACL test of time award paper from the classic 2016 machine translation work (also rejected twice). #acl #nlp #llm @aclmeeting
1
15
1
93
36,138
Yes, LLMs implement HSNW inside
Today we present a study on how reasoning unlocks parametric knowledge in LLMs. We identify two key driving mechanisms, a computational buffer effect and factual priming, and suggest ways that can help build more reliable models. Learn more: goo.gle/44taazO
12
145
3
1,937
261,451
Buu Phan retweeted
This Polish theoretical physicist just proved you can recreate all math functions from JUST one operation. E(a, b) = e^a - ln(b) Every single operation: +, -, x, / , trig, log, as you can see below. Extremely mathematically elegant.
205
897
157
7,703
1,136,032