Shivam Garg

Shivam Garg

shivamgarg55@gmail.com

I am a Senior Researcher at Microsoft AI, and was previously at Microsoft Research NYC. I did my PhD at Stanford University, advised by Greg Valiant, and then was a postdoc at Harvard University hosted by Seth Neel and Boaz Barak. Prior to Stanford, I spent a year at Microsoft Research India working with Deeparnab Chakrabarty and Ravishankar Krishnaswamy. I did my undergrad at IIT Bombay.

Research

My recent research revolves around improving and understanding LLMs. On the improving side, recent themes include teaching reasoning models to manage and compress their own context, helping autoresearch agents explore and collaborate, and better distillation of large models into smaller ones.

On the understanding side, I am interested in the algorithmic capabilities and failure modes of transformers. When can they learn in context, and what algorithms are they running underneath? Can they discover rich data structures from scratch? And why do these models sometimes get stuck in loops, repeating the same text?

More broadly, I am also interested in the algorithmic underpinnings of intelligence beyond LLMs, for example in ant colonies and the brain.

I am lucky to have worked with the following students:
Jack Cai (Princeton)
Jongho Park (UC Berkeley)
Charis Pipis (MIT)
Kanishk Gandhi (Stanford)
Omar Salemohamed (Mila)

Publications

*Equal contribution/Alphabetical order

Misc

At Stanford, I co-founded Algorithms and Friends, an initiative to increase interaction between the Theory Group and other Stanford researchers.