Divyanshu Sheth
· 6 previous affiliations
- Apple (United States)Since 2025
- Researcher · Since 2025
- Carnegie Mellon University2023–2024
- Graduate Research And Teaching Assistant · 2024
- MS student · 2023–2024
- adMarketplace2024
- Machine Learning Intern · 2024
- Natural Language Processing Researcher · 2020–2023
- Dual Degree (B. Tech. + M. Tech.), Electronics and Industrial Engineering (Major) + Computer Science (Minor) + AI (Micro spc.) · 2018–2023
- Analyst Intern, AI Labs · 2022
- Discover2022
- Intern · 2022
Research Overview
Divyanshu Sheth focuses on the intersection of large language models (LLMs), natural language understanding, and automated software engineering. His work investigates methods for enhancing model interpretability through machine-generated rationales and improving the reliability of code generation through scalable, execution-based evaluation frameworks. By addressing the challenges of implicit social meaning in dialogue and the complexities of repository-level code synthesis, his research contributes to the development of more robust and context-aware artificial intelligence systems.
Research Trajectory
Sheth’s research trajectory reflects an evolution from foundational problems in natural language processing—such as the mechanics of non-literal language and cross-lingual transfer—toward the development of specialized systems for dialogue understanding and code generation. Early thematic interests associated with his work include Computational Humor through Local Global Surprisal, which explores how humor arises from the subversion of high-probability word predictions in standard language models. This line of inquiry into semantic nuance is further reflected in research regarding Cross-Lingual Triangulation for Word Sense Disambiguation, a method that utilizes multiple languages to resolve polysemy, and Bridging the Cross-lingual Transfer Gap, which examines the consistency of multilingual models across diverse linguistic datasets.
In 2024, Sheth’s work shifted toward the practical application of LLMs in social discourse analysis. This research addresses the difficulty of detecting implicitly encoded social meanings in conversations. By leveraging LLMs to generate textual rationales that connect visible conversational cues to underlying social intents, Sheth and his colleagues developed a generalizable classification approach that facilitates dialogue understanding. This work emphasizes the utility of The Lexical Resource Bottleneck in Language Models and structured reasoning to improve model performance in zero-shot and few-shot domain transfer settings.
Current Directions
Currently, Sheth’s research focuses on the intersection of LLMs and software development, with a particular emphasis on the scalability and accuracy of code generation benchmarks. This work addresses the "performance tax" often imposed by general-purpose tokenization on specialized technical fields, a challenge identified in the study of The Impact of Subword Fragmentation on Domain Adaptation. By developing frameworks that move beyond static, human-written tests toward automated, execution-based evaluation, his recent contributions aim to move AI beyond the role of a "high-fidelity parrot"—a concept discussed in Modeling Semantic Incongruity in Computational Humor—toward systems capable of functional, repository-level reasoning.
A significant component of this current direction involves the construction of isolated environments for testing generated code. By utilizing sandbox testing to decouple target functions from complex external dependencies, Sheth contributes to methods that enable the large-scale construction of training and evaluation sets. This approach ensures that code generation systems are tested not just on their ability to produce plausible-looking code, but on their ability to generate functional, executable solutions within complex software repositories.
Representative Work
Sheth contributed to the development of a classification approach detailed in Leveraging Machine-Generated Rationales to Facilitate Social Meaning Detection in Conversations. This research utilizes multi-faceted prompting to extract rationales from LLMs, which are then used to augment conversational text. The study, which involved 2,340 experimental settings, demonstrates that the addition of these rationales significantly improves the detection of social meanings in both in-domain and cross-domain settings, particularly in zero-shot and few-shot scenarios.
In the area of automated software engineering, Sheth participated in the creation of CodeBenchGen: Creating Scalable Execution-based Code Generation Benchmarks. This framework addresses the limitations of existing benchmarks by leveraging LLMs to sandbox naturally occurring code into executable evaluation examples. By automating the creation of test cases for execution-based evaluation, CodeBenchGen facilitates the assessment of code generation systems across diverse and complex scenarios that were previously difficult to evaluate at scale.
Furthering the focus on repository-level code, Sheth was involved in the development of RepoST: Scalable Repository-Level Coding Environment Construction with Sandbox Testing. This research introduces a method for constructing environments that provide execution feedback for code generation tasks. Unlike previous methods that attempted to build entire repositories—a task often too complex for both humans and LLMs—RepoST utilizes sandbox testing to isolate specific functions and their dependencies. This method was used to construct RepoST-Train, a large-scale dataset comprising 7,415 functions from 832 repositories, demonstrating that training with execution feedback significantly enhances the performance of repository-level code generation models.
Profile updated
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