Pranav Garg
· 2 previous affiliations
- Amazon (United States)Since 2015
- Researcher · Since 2017
- Researcher · 2015–2017
- PhD student · 2009–2015
Research Overview
Pranav Garg focuses on formal methods, programming languages, and the intersection of machine learning with software verification. His early trajectory centered on automated program synthesis and invariant generation using machine learning techniques. More recently, his work addresses applied security, causal inference, and the integration of large language models into code search and generation pipelines.
Research Trajectory
During his early research and doctoral studies at the University of Illinois at Urbana-Champaign (UIUC), Garg's work initially touched on concurrent systems and multiprocessor architecture. He co-authored early work on scalable hardware-based checkpointing schemes in Rebound (2011), which addressed the scalability barriers of global rollback and inter-thread dependencies in large manycore systems.
By the mid-2010s, his focus shifted heavily toward formal verification and program synthesis, specifically exploring how machine learning could aid inductive program invariant synthesis. As first author, he led the development of Learning invariants using decision trees and implication counterexamples (2016). This work extended classical decision-tree algorithms to handle implication samples, providing a scalable method for a program verifier to instruct a learner through concrete program configurations.
In the late 2010s, Garg continued to advance invariant synthesis, particularly for complex systems where traditional verification tools struggle. He first-authored Invariant Synthesis for Incomplete Verification Engines (2017), introducing a framework that utilizes non-provability information to prune search spaces when dealing with undecidable logic, such as heap properties. Concurrently, he applied formal methods to real-world distributed systems. In Inferring Formal Properties of Production Key-Value Stores (2017), he led a team that modeled the hinted-handoff and read-repair protocols of databases like Cassandra and Riak as concurrent C programs, formally evaluating their replica convergence guarantees under transient failures.
Moving into the 2020s, Garg bridged program synthesis with practical static analysis. He authored Example-based Synthesis of Static Analysis Rules (2022), which introduced RhoSynth, a tool leveraging integer linear programming to automatically generate static analysis rules from graph-based representations of buggy and fixed code.
Most recently, his research has expanded to include the application of large language models (LLMs) to software engineering tasks. He participated as a co-author in Structural Code Search using Natural Language Queries (2025), which utilizes LLMs and retrieval-augmented generation to translate natural language queries into domain-specific languages, such as Semgrep and GQL, for high-precision code retrieval.
Current Directions
Recent work investigates the behavior, steering, and application of large language models, alongside applied machine learning in industrial contexts. The most recent papers in the evidence address LLM decoding strategies, including collaborative research on methods that align model outputs with complex constraints without sacrificing computational efficiency. Additional recent work provides critical evaluations of automatic prompt optimization, demonstrating the limitations of treating natural language feedback as a mathematical gradient.
Concurrently, in his role as an Applied Scientist at Amazon Web Services (AWS) AI, Garg's stated research agenda involves applied machine learning for cloud security and business analytics. Specifically, this includes malware detection in Amazon EC2 by learning from malware-related network activity, as well as estimating the causal effects of customer purchase actions on downstream revenue.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Structural Code Search using Natural Language Queries | arXiv | 2025 |
| UTFix: Change Aware Unit Test Repairing using LLM | arXiv | 2025 |
| Textual Gradients are a Flawed Metaphor for Automatic Prompt Optimization | arXiv | 2025 |
| Approximately Aligned Decoding | NeurIPS | 2025 |
| Learning invariants using decision trees and implication counterexamples | Popl | 2016 |
| Syntax-Guided Synthesis. | Dependable Software Systems Engineering2015 | 2015 |
| Rebound | ACM Sigarch Computer Architecture News | 2011 |
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake