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

Sumit Agarwal

Palantir Technologies
3 previous affiliations
2Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Sumit Agarwal focuses on natural language processing (NLP) and the intersection of machine learning with software engineering. His work primarily addresses the challenges of document-grounded dialogue systems and the development of robust evaluation metrics for automated code generation. By leveraging pretrained transformer models, his research seeks to bridge the gap between informal natural language requirements and formal executable code, ensuring that generative models are assessed not merely on lexical similarity but on semantic and functional accuracy.

Research Trajectory

Agarwal’s documented research activity, spanning 2022 to 2023, reflects a transition from general conversational AI to specialized applications in code intelligence. In 2022, his work contributed to the refinement of retriever-reader architectures within the context of document-grounded dialogue. This research addressed the complexities of multi-document environments, where an agent must navigate diverse information sources to provide coherent and contextually relevant answers to user queries.

By 2023, his focus shifted toward the evaluation of generative models, particularly those designed for natural-language-to-code (NL->Code) tasks. This period is marked by a move away from traditional string-matching metrics toward Efficient Neural Evaluation for Generative Models. Recognizing that metrics like BLEU or ROUGE often fail to capture the functional correctness or semantic intent of source code, his collaborative work introduced methods that utilize the internal representations of models like CodeBERT to assess the quality of generated outputs. This trajectory indicates an increasing interest in how deep learning models can be used to "understand" the relationship between human intent and programmatic implementation.

Current Directions

Agarwal’s recent research contributions align with several emerging themes in the field of large language models (LLMs) and code intelligence. A significant portion of this work involves Grounding Code Intent with Natural Language Metadata. This area addresses the "lexicon gap" between the formal syntax of programming languages and the informal language used by developers and users. By incorporating natural language context—such as the prompts or documentation preceding a code block—into the evaluation process, his work aims to ensure that generated code is not only syntactically correct but also contextually appropriate for the specific problem it is intended to solve.

Another key area of interest is the exploration of Semantic Embeddings from Intermediate Transformer Layers. While standard practices often rely on the final layer of a transformer for feature extraction, Agarwal’s research context suggests an investigation into how different layers of a model capture varying levels of abstraction. This is particularly relevant for code, where structural syntax and high-level logic may be represented differently across the model's depth.

Furthermore, his participation in the development of evaluation frameworks supports the broader goal of creating Autonomous Agents with Executable Code Actions. As AI agents move beyond simple text generation to performing complex tasks through code execution, the need for reliable, automated metrics becomes critical. Agarwal’s work provides the foundational tools necessary to validate these agents' actions in real-time, moving the field toward more reliable and verifiable AI-driven software development.

Representative Work

The following papers represent Agarwal’s contributions to the fields of dialogue systems and code evaluation. In these collaborative efforts, he has focused on the implementation and testing of neural architectures and evaluation pipelines.

In R3 : Refined Retriever-Reader pipeline for Multidoc2dial, Agarwal participated as a middle author in the development of a pipeline designed for the Multidoc2dial challenge. The research focused on improving the retrieval of relevant document segments and the subsequent generation of dialogue responses. This work highlights his early involvement in document-grounded QA, where the primary challenge is maintaining conversational flow while ensuring factual grounding in external texts.

Agarwal’s most significant contributions in the corpus involve the development of CodeBERTScore, a metric designed to overcome the limitations of traditional evaluation methods for code generation. In CodeBERTScore: Evaluating Code Generation with Pretrained Models of Code, he collaborated on a framework that adapts the BERTScore methodology to the domain of software engineering. Unlike standard metrics that rely on exact token matches, CodeBERTScore utilizes the contextual embeddings of pretrained models to measure the similarity between generated code and reference solutions. A critical innovation in this work is the inclusion of natural language context in the encoding process, which allows the metric to account for the developer's original intent. This research was presented at EMNLP 2023 (CodeBERTScore: Evaluating Code Generation with Pretrained Models of Code), demonstrating its relevance to the broader natural language processing community.

While the current corpus of work is concentrated within a two-year period, it establishes a clear research program centered on the reliability and interpretability of generative AI in technical domains. Agarwal’s role in these projects suggests a focus on the practical application of transformer-based embeddings to solve long-standing problems in software evaluation and conversational grounding.

Profile updated

See something wrong? Report a mistake