Somesh Misra / ERP.ai (@MathproBro) header
Somesh Misra / ERP.ai (@MathproBro) profile picture

chief researcher at https://nitter.cf/t.co/85QLNI0SE9 | working at the intersection of business processes, neural network topologies & machine learning

San Francisco, CA
Joined February 2013
Somesh Misra / ERP.ai retweeted
episode 2: why proto ? proto is for business users. if you run a business - use proto.
6
14
68
3,666
Somesh Misra / ERP.ai retweeted
"Proto's a beast".......Here's one of my friends using protoagent.ai and erp.ai - already replaced Hubspot and is going to replace Netsuite next....
5
1
5
737
Heres the full foundational work as a connected graph. The earlier ranking started a debate. but a ranking misses how do these ideas connect. Which connection would you add, remove or redraw?
🤖 Made with AI
2
7
22
1,151
Somesh Misra / ERP.ai retweeted
they’re are replacing Netsuite and Hubspot with headless saas 1) get proto.erp.ai 2) build
4
6
36
2,383
foundational systems work behind LLM scale: 1. Tensor Parallelism (Megatron) 2. Model-State Sharding (ZERO/FSDP) 3. Pipeline Parallelism (GPipe) 4. Mixed Precision Training 5. FlashAttention 6. Activation Checkpointing 7. Sequence Parallelism 8. Context Parallelism 9. Expert Parallelism architecture is one part, making it train at scale is another
My ranking of foundational work in LLMs: 1. Mixture of Experts 2. Grouped Query Attention 3. Multi head Latent Attention 4. Selective State Space Models 5. Diffusion Language Models 6. TestTime Training Layers 7. Titans Neural Memory 8. Mixture of Depths
3
17
191
5,569
My updated ranking of foundational work in LLMs: 1. Mixture of Experts 2. FlashAttention 3. Rotary Position Embeddings 3. Grouped Query Attention 4. Multi head Latent Attention 5. Selective State Space Models 6. Native Sparse Attention 7. Diffusion Language Models 8. Test Time Learning (TTT/Titans) 9. Mixture of Depths
My ranking of foundational work in LLMs: 1. Mixture of Experts 2. Grouped Query Attention 3. Multi head Latent Attention 4. Selective State Space Models 5. Diffusion Language Models 6. TestTime Training Layers 7. Titans Neural Memory 8. Mixture of Depths
5
13
165
8,210
Somesh Misra / ERP.ai retweeted
My ranking of foundational work in LLMs: 1. Mixture of Experts 2. Grouped Query Attention 3. Multi head Latent Attention 4. Selective State Space Models 5. Diffusion Language Models 6. TestTime Training Layers 7. Titans Neural Memory 8. Mixture of Depths
6
15
3
295
25,669
My ranking of foundational work in LLMs: 1. Mixture of Experts 2. Grouped Query Attention 3. Multi head Latent Attention 4. Selective State Space Models 5. Diffusion Language Models 6. TestTime Training Layers 7. Titans Neural Memory 8. Mixture of Depths
6
15
3
295
25,669
AI in maths is often discussed in terms of proofs. One has to be just as interested in the ideas that come before them, useful definitions, unexpected connections, better models. AI has already helped discover some of these. can it go further in creating new ways to think?
1
1
183
This is exciting. If checking proofs becomes routine, understanding how results fit together may become even more important. Category theory already helps us carry intuition across fields. Could formalization help us discover more of those connections?
I think it's becoming rather clear that ALL of mathematics will become possible to formalize rather soon. There are deep implications: 1. Mathematics becomes super interactive. Formalizations make it easy to browse, recombine, and build mathematical proofs from components. 2. Each new idea and paper can be checked much faster. The deep part is meaning and explanation. Validation is almost automatic. 3. Optimization and identification of new proofs can be done partially via agents, and humans can contribute much faster with great new ideas. Proofs from the Book are possible at scale. 4. Scientists and people at large can finally use mathematical artifacts as black boxes with trust and confidence. We can commoditize mathematical theorems. I think the mathematical enterprise also becomes very gamified. We can clearly see each unproven statement as a concrete goal, identify existing tools and directions, and focus quickly on what's missing. And everyone can contribute, with agents or through understanding. Soon, new languages and new theories will also develop, but the structure will keep growing steadily, with no mistakes and on fundamentally solid foundations. Hilbert's dream is becoming a reality. One important caveat: mathematics is by no means trivial now! It's just becoming extremely well-structured and laser-focused. I think the jump in capacity, quality, and scale will be massive. I also hope that our understanding of the big picture will remain solid, because there will be a lot to grasp.
2
295
My “geometric” take on goodfire’s brilliant essay:- perhaps learning grows concepts through related regions of representation space while contracting task-irrelevant directions. Can we derive when gradient descent produces this geometry, rather than just observe it afterwards?
interpretability might be the most important scientific problem in the world right now, as I don't think we can solve alignment if we don't know what we're building. I think I have good news about it. I co-authored early work in mechanistic interpretability at OpenAI and came away pessimistic, because neural networks appeared to fold into arbitrary tangled knots. years later, I started openai's first large-scale automated interpretability project, finding about 2% of neurons legible with the primitive tools we had with modern agentic tools and a much closer look, the picture looks totally different. the vast majority in models up to trillions of parameters are legible, and their circuits beautiful. many famous examples of tangled neurons turned out to be misunderstood. The roadblocks I expected mostly aren't there. I now think ambitious interpretability will be solved by the time we need it most, and possibly quite soon, as automated scientists keep improving. it may be a bitter lesson for interpretability: the simple thing, at absurd scale, works already-clean.goodfire.com/
1
5
984
There’s something fascinating about watching serious mathematicians have fun with AI. What a time to be into maths!
For what its worth, for Gap-3-SAT, we can shave off a log log n factor in the exponent (based on what Astra tells me)..So Gap-3-SAT can be solved in 2^{n/\sqrt{n}} time. Its the first time there is an algorithmic separation between 3SAT and Gap-3-SAT.
1
3
748
Somesh Misra / ERP.ai retweeted
For what its worth, for Gap-3-SAT, we can shave off a log log n factor in the exponent (based on what Astra tells me)..So Gap-3-SAT can be solved in 2^{n/\sqrt{n}} time. Its the first time there is an algorithmic separation between 3SAT and Gap-3-SAT.
1
1
2
37
5,713
Now take that neighbour-aggregation idea, add learned feature transformations and a classification head. u’ve got a GCN classifier. So Jev could use one too. “Classifier” is the job, GCN is a possible architecture.
pageRank was doing GNN message passing before GNNs each page splits its rank across outgoing links. Neighbours aggregate it. apply damping + teleportation. Repeat. think of it as a GNN with fixed weights. no backprop required.
1
2
181
GCN ⊂ GNN. Graph convolutional networks are a subset of GNNs Finding that subset symbol on an iPhone was the real research problem.
49
Somesh Misra / ERP.ai retweeted
I can't keep up with the news so I built myself a newsfeed. This is Techseen. AI agents run the feed. Agents find stories, evaluate them using independent signals, and publish the feed transparently every day. techseen.com
15
17
1
151
7,185
Why models can do maths is itself a maths problem 🥰 Train small models. Build a computerised algebra system. Write a proof checker. Get your hands dirty. Honestly, this really sounds like an awesome fun course!
I am back with a few thoughts. I stopped reading all the trauma logs of mathematicians who recently got impacted by AI. Instead I switched to building a corpus of knowledge for why and how AI is interacting with mathematics. I teach this term a new course here at Adam Mickiewicz University. It's title is "Computer assisted solutions to mathematical problems". I proposed it because I realized in the last 6 months something important. A. It makes no sense to grieve the "good old ways". We should study to the bone how mathematics and computers interact. There are three levels: numeric, symbolic and formal. B. The only way to prepare yourself for the rise of the technology is to understand it well. You cannot understand the progress of AI in mathematics if you don't know how the models are trained on the symbolic representation of mathematical proofs, how the training goes, why specific transformer architectures, reinforcement learning and basically a huge amount of incredible insights gives in practice some new value in mathematics. C. It is incredibly fun to train your own models (yes I use generative models to help me build training pipelines too, otherwise I would not have enough lifetimes to do so). D. The AIxMaths space is so incredibly complex - you have these weird, scalable token generating algorithms, recently in agentic form with memory, interactions etc. This is a field of study - we need to understand how it works. On the other hand, mathematics as a field of science is incredibly complex, people do very different kinds of axiomatic theories with their intuitions, tactics and strategies. This was never studied too seriously as a whole. We need to study it deeply. So I am spending this term gearing up my students and myself for whatever is coming. We don't have any assumptions. I don't claim that models will become better at maths than all of human mathematicians. I don't think it's a good question. We just want to stay in the loop with the developments and see whether we can contribute to the change and see if this can be useful and productive. I am looking forward to your feedback. The current plan contains the following topics: - basic distinction between numerical computation, symbolic calculations and formal proofs - basic understanding of the IEEE 754 standard and things around numerical computations - how to build your own computer algebra system in Python and why it's so tricky - why and how proof-checking software is important; we start with the basic principles of such designes, I plan to talk first about the foundations going back to Automath and the foundational work of de Bruijn. - practical examples spanning real use cases of computer algebra, numerical integration and proofs in Peano arithmetic and how to read languages like Lean - in the end I want to present some little post-trained models like Qwen which I taught how to do Peano arithmetic better and how they prove statements about this theory; there will be AlphaGeometry too and maybe a bit more about Mizar, Metamath and Lean. Just to give students some scope and perspective. I plan to continue working on this course into a full book. I think I won't stop until I understand deeply why language models are currently so good at maths. It's something of utmost importance. It's important to see where this might stop and what lies beyond. I personally think these kind of questions will be the most important problems to answer by mathematicians themselves. We shouldn't stop until we find good answers to all of this. Reading AI slop is perhaphs a bit useful, but deep understanding of why it sometimes makes sense is even more challenging.
1
8
447
3 geometric questions about ML I keep coming back to: - Under what conditions does gradient descent collapse task-irrelevant variation in learned representations? - When do symmetries in the data and objective lead training to learn representations that identify symmetry orbits? - When does fitting noisy or exceptional examples produce sharp localized corrections in regions of low probability? neural collapse, emergent invariance, and benign overfitting each address parts of this picture. Im curious about the connections. Can we characterize the training regimes in which these mechanisms arise together? Would love pointers to theorems, counterexamples, or papers that make those connections precise.
1
2
16
863
Somesh Misra / ERP.ai retweeted
Launching ProtoRun🏁 ProtoRun🏁 is a 2-week online builders hackathon & workshop. $50,000 in prizes 1: Take a real business 2: Build its app on erp.ai with Proto 3: Get it customers with Meta/Social Ads. We fund your ads. 4: Win 🥇 $5,000 🥈 $3,000 🥉 $2,000 + $40K across 100+ more winners Every builder gets $100+ in AI tokens to build with (tbh as many as you need) Starts Monday 26th Oct. Join the Discord 👇
9
19
7
125
11,632
pageRank was doing GNN message passing before GNNs each page splits its rank across outgoing links. Neighbours aggregate it. apply damping + teleportation. Repeat. think of it as a GNN with fixed weights. no backprop required.
1
258