Aman Madaan

Aman Madaan

xAI (United States)
4 previous affiliations
33Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Aman Madaan focuses on enhancing the utility and reasoning capabilities of large language models (LLMs) through feedback-driven generation and inference-time compute. His research addresses the limitations of traditional "one-shot" generative systems by developing frameworks that enable models to critique, refine, and optimize their own outputs. By integrating structured representations—such as code and knowledge graphs—with Autonomous Self-Correction Loops for Generative Output Refinement, Madaan's work seeks to bridge the gap between statistical pattern matching and complex, multi-step reasoning. His recent efforts explore Dynamic Resource Allocation for Efficient LLM Reasoning, aiming to optimize the balance between computational cost and model performance during inference.

Research Trajectory

Madaan’s research trajectory reflects a transition from classical information extraction (IE) and structured data mining toward the orchestration of large-scale neural models for reasoning and code optimization. In the early stage of his career (circa 2016), his work was grounded in the challenges of extracting precise information from unstructured text with minimal supervision. This period was characterized by a focus on the intersection of probabilistic graphical models and rule-based systems, specifically applied to numerical data which presented unique challenges for standard IE techniques.

By 2020, Madaan’s focus shifted toward the use of pre-trained language models for generating structured representations of documents. He explored the potential of neural language modeling for temporal reasoning, specifically the generation of event-level temporal graphs. This work marked an important pivot toward treating language models not just as classifiers, but as generators of complex relational structures. This theme evolved further in 2021 and 2022 with the development of iterative querying approaches to reason about situational consequences, moving the field toward more dynamic forms of knowledge elicitation.

A significant inflection point occurred in 2022, when Madaan began investigating the unique properties of language models trained on code. He identified that these models possessed latent strengths in structured commonsense reasoning that exceeded those of models trained purely on natural language. This insight led to a series of works that framed reasoning tasks as code completion problems, a methodology that has since become a standard technique in the field. Concurrently, he began addressing the problem of model errors after deployment, proposing memory-assisted systems that allow models to learn from user feedback without the need for expensive retraining.

From 2023 onward, Madaan’s work has been central to the study of The Emergence of Self-Correction in Large Language Models. He pioneered frameworks that allow a single model to act as both a generator and a critic, iteratively improving its own performance through self-generated feedback. This line of inquiry has expanded into the domain of Difficulty-Adaptive Test-Time Scaling for Reasoning Models, where the goal is to strategically route queries between models of different scales to maximize efficiency. His most recent work applies these iterative refinement and optimization techniques to high-level code editing, demonstrating that LLMs can outperform human programmers in complex algorithmic optimization tasks.

Current Directions

Madaan’s current research is primarily concerned with the scaling of reasoning capabilities during inference and the development of more efficient model architectures. A major theme in his recent work is the How Attention Heads Specialize into Algorithmic Circuits, investigating how different components of a model contribute to specific reasoning tasks. This is closely linked to his work at xAI, where he focuses on improving the practical utility and reliability of LLMs in real-world applications.

Another active area of interest is the Social Reasoning Gap in Language Models. While LLMs have achieved high proficiency in technical and mathematical domains, Madaan’s research highlights the remaining challenges in navigating the nuances of human interaction and social rules. His work continues to explore how feedback loops and structured reasoning can be applied to these less formal, yet highly complex, domains of human intelligence.

Representative Work

Numerical Relation Extraction with Minimal Supervision In this early work, Madaan addressed the specific challenges of extracting relations involving numbers and quantities, such as inflation rates or atomic numbers. The paper introduced two systems: NumberRule, a rule-based extractor, and NumberTron, a probabilistic graphical model. The research demonstrated that standard distant supervision techniques often fail for numerical data due to the difficulty of matching exact values and units. By requiring minimal human supervision, these systems significantly outperformed existing non-numerical information extraction models, establishing a foundation for Madaan's subsequent work in structured data extraction.

Memory-assisted prompt editing to improve GPT-3 after deployment This paper tackled the problem of correcting persistent errors in large-scale models like GPT-3 without the prohibitive cost of retraining. Madaan proposed a system that pairs the language model with a growing memory of past failures and user-provided clarifications. When a new query is received, the system retrieves similar past errors to produce an enhanced prompt that guides the model toward the correct interpretation. This work was an early precursor to the broader field of retrieval-augmented generation and highlighted the importance of user interaction in model refinement.

Language Models of Code are Few-Shot Commonsense Learners Madaan and his collaborators discovered that LLMs trained on code (such as Codex) are surprisingly effective at structured commonsense reasoning tasks. By introducing COCOGEN, a method that frames tasks like event graph generation as Python code completion, the study showed that code-centric models could outperform much larger natural language models. This research suggested that the structured nature of programming languages provides a superior medium for complex reasoning, a finding that has influenced subsequent prompt engineering and model training strategies.

Self-Refine: Iterative Refinement with Self-Feedback As the lead author of this work, Madaan introduced a training-free framework that enables LLMs to improve their own outputs through an iterative loop of self-feedback and refinement. Unlike "one-shot" generation, SELF-REFINE allows a model to generate an initial draft, critique it based on specific attributes (such as relevance or style), and then rewrite the output to address those critiques. Across seven diverse tasks, including dialogue generation and code optimization, this approach demonstrated substantial performance gains, proving that models possess latent capabilities that can be unlocked through iterative inference-time processes.

AutoMix: Mixing Models with Few-shot Self and Meta Verification This research addresses the computational inefficiency of using large, expensive models for every query. Madaan proposed AutoMix, a routing framework that uses a smaller, more efficient model for initial attempts and strategically escalates to a larger model only when necessary. The system employs a few-shot self-verification mechanism to estimate the correctness of the smaller model's output, further refined by a meta-verifier. This work contributes to the growing field of model "mixing" and provides a practical approach to balancing performance and cost in LLM deployments.

Learning Performance-Improving Code Edits In this more recent study, Madaan contributed to a framework designed to teach LLMs high-level algorithmic code optimizations. By training on human edit histories and utilizing a deterministic hardware simulator for evaluation, the researchers developed a model capable of achieving significant speedups in C++ code. The results showed that the model's optimizations outperformed the average improvements made by human programmers, demonstrating the potential for LLMs to handle complex, performance-critical engineering tasks that were previously thought to require deep human intuition.

Profile updated

See something wrong? Report a mistake