Sumit Gulwani

Sumit Gulwani

Microsoft (United States) · Microsoft Research Asia (China)
4 previous affiliations
209Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Sumit Gulwani focuses on program synthesis, programming-by-example, and the application of artificial intelligence to software engineering and human-computer interaction. His early work established foundational frameworks for inductive synthesis and intent understanding, leading to widely deployed tools for data manipulation and educational technology. More recently, he investigates the integration of large language models with formal reasoning to improve the reliability, calibration, and compositionality of code generation.

Research Trajectory

His early research established formal methods for program analysis and synthesis, beginning with foundational work on Combining abstract interpreters and the Synthesis of loop-free programs. This background in formal methods naturally extended into programming-by-example (PBE), a paradigm aimed at democratizing computation for non-programmers. He introduced QuickCode in Automating string processing in spreadsheets using input-output examples, an interactive system that synthesizes string manipulation programs from user-provided examples. This work significantly advanced the research direction of Disambiguating Intent in Multi-Modal Program Synthesis. Building on these PBE principles, he formalized the underlying methodologies in FlashMeta: a framework for inductive program synthesis, creating a unified approach for developing domain-specific synthesizers that supports the broader area of Guiding Program Synthesis with Probabilistic Search Priors.

Parallel to his work in data manipulation, he applied synthesis techniques to intelligent tutoring systems. In Automatically Generating Algebra Problems, he developed a system that combines symbolic abstraction with randomized identity testing to generate endless valid variations of complex math problems from a single example. This contribution helped shape the research areas of Automated Generation of Educational Assessments and Materials and Evaluating Educational AI Through Simulated Student Outcomes.

As large language models (LLMs) emerged as powerful tools for code generation, his research evolved to address their limitations in syntactic and semantic reliability. He led the development of Synchromesh: Reliable Code Generation from Pre-trained Language Models, a framework utilizing Target Similarity Tuning to retrieve few-shot examples and constrain outputs. This work directly contributed to the research areas of Neurosymbolic Program Synthesis and Enforcing Structural Constraints on Language Model Outputs. He also continued to refine PBE systems by integrating them with modern machine learning, as seen in EmFORE: Learning Email Folder Classification Rules by Demonstration, where his team designed an iterative learning system that generates human-readable logic for email classification from minimal examples while intelligently abstaining when confidence is low.

Much of his recent trajectory focuses on the internal reasoning dynamics, calibration, and compositionality of language models. In Scaling Competence, Shrinking Reasoning: Cognitive Signatures in Language Model Learning, he investigated how models internalize logic during fine-tuning, transitioning from long reasoning chains to more efficient execution. To address failures in complex PBE tasks, he introduced SYMLLM in LLM-Guided Compositional Program Synthesis, a framework that salvages partially correct programs to decompose problems into simpler subtasks. He has also critically examined model reliability; in Do Code Models Suffer from the Dunning-Kruger Effect?, his research revealed that less competent models often overestimate their coding abilities, particularly in rare languages. Addressing these low-resource contexts directly, he explored techniques like tool calling to improve performance in Adapting Language Models for Low-Resource Programming Languages.

To further improve generation accuracy and self-correction, he explored execution-based feedback in Execution-guided within-prompt search for programming-by-example, allowing models to act as their own critics by executing intermediate code lines. Continuing this analysis of model reasoning, Analysis of Error Sources in LLM-based Hypothesis Search for Few-Shot Rule Induction identified bottlenecks in how LLMs generate natural language hypotheses before writing code, noting the high computational cost of mimicking human hypothesis search.

Most recently, his work has expanded into rigorous benchmarking and reinforcement learning for generative tasks. He co-authored jqBench: a benchmark for reading and editing JSON from natural language and/or examples, which exposed a language bottleneck in LLMs processing concise syntax. He also participated in developing A Benchmark and Framework for Evaluating Next Action Predictions in Spreadsheets, demonstrating that fine-tuned small models can rival larger counterparts in interactive settings. Finally, in Training Emergent Joint Associations: A Reinforcement Learning Approach to Creative Thinking in Language Models, he explored using reinforcement learning guided by associative thinking principles to enhance model creativity across diverse generative tasks, including story writing and chart creation.

Current Directions

The most recent papers in the evidence address the intersection of large language models, rigorous evaluation, and interactive programming environments. Current work investigates how to improve the reasoning and calibration of LLMs, particularly in specialized or low-resource programming languages, and how to evaluate these models using realistic, interactive benchmarks (such as spreadsheet action prediction and JSON manipulation). Additionally, recent research explores the use of reinforcement learning to foster associative, creative problem-solving in generative AI systems, moving beyond strict code synthesis to broader generative capabilities.

Profile updated

See something wrong? Report a mistake