Sadegh Mahdavi

Sadegh Mahdavi

Nvidia (United States) · University of British Columbia
4 previous affiliations
20Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Sadegh Mahdavi focuses on the expressivity of neural networks and the enhancement of algorithmic and mathematical reasoning in deep learning models. His early work explores the generalization capabilities of graph neural networks and the memorization limits of Transformers. More recently, his research investigates reinforcement learning strategies and dynamic evaluation methods to improve the complex reasoning abilities of large language models.

Research Trajectory

Mahdavi's early research investigates the fundamental capabilities and generalization limits of neural networks on structured tasks. He began by analyzing the out-of-distribution generalization of deep neural networks on algorithmic tasks, such as sorting and graph search, identifying unique distribution shift challenges that distinguish algorithmic learning from standard image classification in Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Tasks. Expanding on the theoretical properties of foundational architectures, he examined the exact number of training examples a model can encode into its parameters in Memorization Capacity of Multi-Head Attention in Transformers. This work contributes to the broader research direction of Expressivity Saturation in Multi-Head Attention. During this period, he also collaborated on adapting score-based generative models for complex topologies in From Graph Diffusion to Graph Classification, and investigated the theoretical underpinnings of prompt-based adaptation by proving that linear attention mechanisms resemble preconditioned gradient descent in Revisiting the Equivalence of In-Context Learning and Gradient Descent: The Impact of Data Distribution.

As large language models became central to artificial intelligence, Mahdavi's focus shifted toward enhancing their formal reasoning and planning capabilities. He developed automated pipelines for translating natural language into formal planning domains, utilizing environmental interaction to improve accuracy in Leveraging Environment Interaction for Automated PDDL Translation and Planning with Large Language Models, which aligns with the area of Robust Translation from Natural Language to Formal Code. To further improve mathematical reasoning, he introduced reinforcement learning objectives that directly maximize multi-sample inference metrics. In Beyond Accuracy: A Policy Gradient Reweighting Approach for Pass@K Maximization in LLMs, he formulated a policy gradient approach that emphasizes harder examples during training. He subsequently unified this approach with advantage shaping techniques, demonstrating that both methods maximize a surrogate reward function in Advantage Shaping as Surrogate Reward Maximization: Unifying Pass@K Policy Gradients. This theoretical unification advances the research direction of Scaling Reinforcement Learning Beyond Binary Outcomes.

A major theme in Mahdavi's recent work is the rigorous evaluation and verification of language model reasoning. Addressing the pervasive issue of data contamination, he introduced a scalable pipeline using timestamped forum data to test models on problems published after their training cutoffs in Leveraging Online Olympiad-Level Math Problems for LLMs Training and Contamination-Resistant Evaluation. This methodology supports the growing area of Dynamic Evaluation of Reasoning Beyond Training Data Cutoffs. Extending his focus from answer generation to proof verification, he explored the use of reinforcement learning and tournament-style selection to train models to judge natural language mathematical proofs in Scaling Generative Verifiers For Natural Language Mathematical Proof Verification And Selection, contributing to the direction of Pairwise Evaluation Arenas for Generative Models. Additionally, he participated in the development of massive datasets and sequential training strategies for long-context distillation of mathematical reasoning traces in Nemotron-Math: Efficient Long-Context Distillation of Mathematical Reasoning from Multi-Mode Supervision.

Current Directions

Recent work investigates the scalable evaluation and reinforcement learning-based enhancement of mathematical reasoning in large language models. The most recent papers in the evidence address the challenge of verifying complex, natural language mathematical proofs rather than simply generating final answers. This involves developing generative verifiers and tournament-style selection mechanisms to improve the consistency and stylistic correctness of model judgments. Furthermore, ongoing efforts focus on mitigating data contamination in reasoning benchmarks through dynamic, timestamped evaluation frameworks, ensuring that models are tested on their genuine problem-solving capabilities rather than memorized training data. Finally, this research explores efficient long-context distillation techniques to teach models how to process and generate deep reasoning traces across varying levels of intensity.

Profile updated

See something wrong? Report a mistake