NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pranjal Aggarwal

Carnegie Mellon University
2 previous affiliations
30Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Pranjal Aggarwal focuses on the efficiency and reliability of large language models, with specific emphasis on test-time scaling, formal verification for code generation, and autonomous computer-use agents. His trajectory spans from early work in extreme classification to developing adaptive reasoning frameworks that balance computational cost with performance. Currently, his research addresses the evaluation of reasoning effort and the grounding of generalist agents in real-world software environments.

Research Trajectory

During his doctoral studies at Carnegie Mellon University, his early research addressed the challenges of extreme classification. In SemSup-XC: Semantic Supervision for Extreme Classification (2022), he developed a model that achieved state-of-the-art zero-shot and few-shot performance on benchmarks spanning law and e-commerce. This work tackled the difficulty of generalizing to novel categories at test time without requiring additional training data. The following year, his focus shifted toward optimizing the computational efficiency of large language models (LLMs). He introduced Adaptive-Consistency in Let's Sample Step by Step: Adaptive-Consistency for Efficient Reasoning and Coding with LLMs (2023), a method that dynamically adjusts the number of samples needed for Monte Carlo inference. By stopping sampling once a confident majority is reached, the approach significantly reduced computational costs with negligible impact on accuracy, contributing to the broader area of Dynamic Resource Allocation for Efficient LLM Reasoning.

In 2024, he expanded on the theme of inference efficiency by developing AutoMix: Automatically Mixing Language Models. This strategic framework utilizes a POMDP-based router and few-shot self-verification to intelligently route queries between small and large language models, cutting computational costs by over half while maintaining accuracy. This advanced the research direction of Hierarchical Model Cascades for Cost-Efficient Inference. Concurrently, he participated in research on the evolving landscape of AI-powered search engines. He collaborated on GEO: Generative Engine Optimization, which proposed a framework to help content creators improve their visibility in AI-generated summaries through strategies like adding citations and statistics, advancing the area of Generative Engine Optimization for AI Search.

By 2025, his research heavily emphasized test-time scaling, reinforcement learning, and formal verification for reasoning models. He investigated solution aggregation strategies in The Majority is not always right: RL training for solution aggregation, comparing traditional majority voting against reward models for test-time scaling. To gain finer control over the compute expended during reasoning, he introduced Length Controlled Policy Optimization (LCPO) in L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learning. This reinforcement learning method enabled reasoning models to adhere to user-specified length constraints, allowing for predictable allocation of test-time compute. Alongside natural language reasoning, he explored mathematical guarantees in code generation. In AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinement, he developed a self-improving framework that translates programs from high-resource languages like Dafny to low-resource ones like Verus. Utilizing a novel search algorithm, this approach allowed models to generate formally verified code without human-labeled training data, which aligns with the research direction of Intermediate Step Supervision for Verifiable Reasoning.

The tension between computational efficiency and reasoning performance culminated in a sustained investigation into how models allocate effort. He introduced the initial framework for this problem in OptimalThinkingBench: Evaluating Over and Underthinking in LLMs (2025), which was subsequently refined and expanded in the 2026 ICLR publication OptimalThinkingBench: Evaluating Over and Underthinking in LLMs. This unified benchmark measures the "Goldilocks" problem in LLMs: the tendency of deliberative models to waste massive compute over-analyzing simple queries, while faster models fail complex tasks by rushing to an answer. This evaluation framework has been instrumental in driving work in the area of Difficulty-Adaptive Test-Time Scaling for Reasoning Models.

In 2026, his work broadened to encompass alignment reviews and the development of autonomous agents. He provided a comprehensive synthesis of alignment techniques in RLHF Deciphered: A Critical Analysis of Reinforcement Learning from Human Feedback for LLMs, dissecting the limitations of reward models in the RLHF framework. Moving into interactive environments, he explored whether general-purpose agents could perform software engineering in Programming with Pixels: Can Computer-Use Agents do Software Engineering?. By testing agents in a VSCode interface, the study demonstrated that providing basic text-based APIs significantly alleviates the bottlenecks of pure visual interaction, a finding that contributes to the broader area of Unified Action Spaces for Generalist GUI Agents. To scale the evaluation of such systems, he developed Gym-Anything: Turn Any Software into an Agent Environment, an automated framework that converts arbitrary software applications into standardized interactive environments, yielding a massive benchmark of long-horizon tasks grounded in real-world productivity. Finally, he collaborated on Propose, Solve, Verify: Self-Play Through Formal Verification, a self-play framework that replaces brittle unit tests with mathematically sound formal verification to train code generation models without human data.

Current Directions

The most recent papers in the evidence address the grounding, evaluation, and self-improvement of generalist AI agents in complex software environments. Recent work investigates how computer-use agents can execute long-horizon software engineering tasks by interacting directly with graphical user interfaces, highlighting the performance gains achieved by transitioning from pure pixel-based interaction to hybrid text-based APIs. To support this, ongoing research focuses on automated frameworks capable of converting arbitrary desktop software into standardized, multi-agent environments for large-scale evaluation. Another major theme in recent work is the integration of formal verification into self-play pipelines. By utilizing mathematical proofs rather than traditional unit tests as a reward signal, this research aims to unlock scaling laws for code generation models, allowing them to iteratively improve their reasoning capabilities entirely independent of human-annotated data.

Profile updated

See something wrong? Report a mistake