Ehsan Amid

284 posts

Ehsan Amid banner
Ehsan Amid

Ehsan Amid

@esiamid

Core Automation @CoreAutoAI Former Research Scientist @GoogleDeepMind (opinions are my own just in case)

San Francisco Katılım Ağustos 2017
250 Takip Edilen1K Takipçiler
Ehsan Amid
Ehsan Amid@esiamid·
Hydration before automation
Ehsan Amid tweet media
English
0
0
2
191
Ehsan Amid retweetledi
adina
adina@adinapak_·
@VraserX They should call it core automation or something…oh wait @CoreAutoAI
English
0
1
6
4.2K
Sakura Yuki
Sakura Yuki@sakurayukiai·
Wait, Poolside trained a 225B MoE from scratch using the Muon optimizer instead of AdamW?? They distributed the Newton-Schulz math across GPU ranks to keep overhead under 1%. 15% faster convergence and half the optimizer VRAM. I need to see this training code immediately 👀
English
10
11
236
21.1K
Ehsan Amid retweetledi
Anmol Gulati
Anmol Gulati@anmol01gulati·
After an incredible chapter at Google DeepMind working on Gemini, I’m starting something new with some exceptional people. I’ve increasingly felt that the current research paradigm — scaling models, data, and static deployment won’t get us all the way. We believe the next phase comes from something different: new learning algorithms, architectures beyond today’s stack, and systems that automate the process of building itself. If we’re right, the way work is organized changes — small teams with highly capable agents will change the unit of building. That’s Core Automation — a factory that builds factories. More soon!
Jerry Tworek@MillionInt

Small step for a finger on "post tweet" button. Big step for millions of future AI agents doing useful work for us.

English
41
22
512
121K
Ehsan Amid retweetledi
Core Automation
Core Automation@CoreAutoAI·
Today we're announcing Core Automation Our objective: systems that optimize and automate work, starting with research itself.
Core Automation tweet media
English
39
82
1.1K
566.5K
Ehsan Amid retweetledi
rohan anil
rohan anil@_arohan_·
Distributed Shampoo has dethroned Nesterov Adam marking a new era for deep learning optimization. 👑 🤘 Non-diagonal preconditioning is here! This is the AlexNet moment for optimization for deep learning. I am extremely happy. An email from 2021.
rohan anil tweet media
MLCommons@MLCommons

@MLCommons #AlgoPerf results are in! 🏁 $50K prize competition yielded 28% faster neural net training with non-diagonal preconditioning beating Nesterov Adam. New SOTA for hyperparameter-free algorithms too! Full details in our blog. mlcommons.org/2024/08/mlc-al… #AIOptimization #AI

English
25
31
294
72.5K
Ehsan Amid retweetledi
rohan anil
rohan anil@_arohan_·
I am eagerly waiting to know more about the results and submissions to mlcommons.org/2023/11/mlc-al… Will it crown a new optimization procedure ? Is it the year Adam is dethroned?
English
1
8
37
6.4K
Ehsan Amid retweetledi
Emtiyaz Khan
Emtiyaz Khan@EmtiyazKhan·
There is a new early-career team/unit leader position available at RIKEN, focused on *women* researchers. These positions are very well funded and a really good opportunity for people looking to build their career. Happy to chat if anybody is interested. riken.jp/en/careers/pro…
Emtiyaz Khan tweet media
English
0
8
21
4.1K
Ehsan Amid retweetledi
Thomas Wolf
Thomas Wolf@Thom_Wolf·
There was a super impressive AI competition that happened last week that many people missed in the noise of AI world. I happen to know several participants so let me tell you a bit of this story as a Sunday morning coffee time. You probably know the Millennium Prize Problems where the Clay Institute pledged a US$1 million prize for the first correct solution to each of 7 deep math problems. To this date only one of these, the Poincaré conjecture, has been solved by Grigori Perelman who famously declined the award (go check Grigori out if you haven't the guy has a totally based life). So this new competition, the Artificial Intelligence Math Olympiad (AIMO) also came with a US$1M prize but was only open to AI model (so the human get the price for the work of the AI...). It tackle also very challenging but still simpler problems, namely problems at the International Math Olympiad gold level. Not yet the frontier of math knowledge but definitely above what most people, me included, can solve today. The organizing committee of the AIMO is kind-of-a who-is-who of highly respected mathematicians in the world, for instance Terence Tao widely famous math prodigy widely regarded as one of the greatest living mathematicians. Enter our team, Jia Li, Yann Fleuret, and Hélène Evain. After a successful exit in a previous startup (that I happen to have know well when I was an IP lawyer in a previous life but that's for another story) they decided to co-found Numina as a non-profit to do open AI4Math. Numina wanted to act as a counterpoint to AI math efforts like DeepMind's but in a much more open way with the goal to advance the use of AI in mathematics and make progress on hard, open problems. Along the way, they managed to recruit the help of some very impressive names in the AI+math world like Guillaume Lample, co-founder of Mistral or Stanislas Polu, formerly pushing math models at OpenAI. As Jia was participating in the code-model BigCode collaboration with some Hugging Face folks, came the idea to collaborate and explore how well code models could be used for formal mathematics. For context, olympiad math problems are extremely hard and the core of the issue is in the battle plan you draft to tackle each problem. A first focus of Numina was thus on creating high quality instruction Chain-of-Thought (CoT) data for competition-level mathematics. This CoT data has already been used to train models like DeepSeek Math, but is very rarely released so this dataset became an unvaluated ressource to tackle the challenges. BigCode's lead Leandro put Jia in touch with the team that trained the Zephyr models at Hugging Face, namely, Lewis, Ed, Costa and Kashif with additional help from Roman and Ben and the goal became to have a go at training some strong models on the math and code data to tackle the first progress prize of AIMO. And the trainings started: Jia being an olympiad coach, was intimately familiar with the difficulty level of these competitions and able to curate an very strong internal validation set to enable model selection (Kaggle submissions are blind). While iterating on dataset construction, Lewis and Ed from Hugging Face focused on training the models and building the inference pipeline for the Kaggle submissions. As often in competition it was an intense journey with Eureka and Aha moments pushing everyone further. Lewis told me about a couple of them which totally blow my mind. A tech report is coming so this is just some "along the way" nuggets that will be soon gathered in a much more comprehensive recipe and report. Learning to code: The submission of the team relied on self-consistency decoding (aka majority voting) to generate N candidates per problem and pick the most common solution. But initial models trained on the Numina data only scored around 13/50... they needed a better approach. They then saw the MuMath-Code paper (arxiv.org/abs/2405.07551) which showed you can combine CoT data with code data to get strong models. Jia was able to generate great code execution data from GPT-4 to enable the training of the initial models and get to impressive boost in performance. Taming the variance: Another Ahah moment came at some point when a Kaggle member shared a notebook showing how DeepSeek models worked super well with code execution (the model breaks down the problem into steps and each step is run in Python to reason about the next one). However, when the team tried this notebook they found this method had huge variance (the scores on Kaggle varied from 16/50 to 23/50). When meeting in Paris for a hackathon to improve this issue (like the HF team often does) Ed had the idea to frame the majority voting as a "tree of thoughts" where you'd progressively grow and prune a tree of candidate solutions (arxiv.org/abs/2305.10601). This had an impressive impact on the variance and enabled them to be much more confident in their submissions (which showed in how the model ended up performing extremely well on the test set versus the validation set) Overcoming compute constraints: the Kaggle submissions had to run on 2xT4s in under 9h which is really hard because FA2 doesn't work and you can't use bfloat16 either. The team explored quantization methods like AWQ and GPTQ, finding that 8-bit quantization of a 7B model with GPTQ was best Looking at the data: a large part of the focus was also on checking the GPT-4 datasets for quality (and fixing them) as they quickly discovered that GPT-4 was prone to hallucinations and failing to correctly interpret the code output. Fixing data issues in the final week led to a significant boost in performance. Final push: The result were really amazing and the model climbed to the 1 place. And even more, while tying up for first place on the public, validation leaderboard (28 solved challenges versus 27 for the second place), it really shined when tested on the private, test leaderboard where it took a wide margin solving 29 challenges versus 22 for the second team. As Terence Tao himself set it up, this is "higher than expected" Maybe what's even more impressive about this competition, beside the level of math these models are already capable of is how ressource contraint the participants were actually, having to run inference in a short amont of time on T4 which only let us imagine how powerful these models will become in the coming months. Time seem to be ripe for GenAI to have some impact in science and it's probably one of the most exciting thing AI will bring us in the coming 1-2 year. Accelerating human development and tackling all the real world problems science is able to tackle.
Thomas Wolf tweet mediaThomas Wolf tweet mediaThomas Wolf tweet mediaThomas Wolf tweet media
English
62
499
2.9K
651.1K