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

Anirudh Khatry

The University of Texas at Austin · OpenHands
8 previous affiliations
    • Doctor of Philosophy - PhD, Computer Science · 2024–2029
    • Graduate Research Assistant · Since 2024
    • Current
  • OpenHandsSince 2026
    • Research Intern · Since 2026
    • Research Fellow · 2022–2024
    • Research Intern · 2021–2022
    • Intern · 2021–2022
  • Omdena2021
    • Machine Learning Engineer · 2021
  • Veermata Jijabai Technological Institute (VJTI)2017–2021
    • Bachelor of Technology - BTech, Information Technology · 2017–2021
  • Veermata Jijabai Technological Institute2017–2021
    • Undergrad student · 2017–2021
    • Research Intern · 2020
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Anirudh Khatry focuses on program synthesis, large language model prompting, and information retrieval for code generation. His trajectory spans from robust data extraction in semi-structured documents to advanced retrieval techniques for natural language-to-code translation. His most recent work investigates the rigorous evaluation of automated code transpilation, particularly migrating legacy systems to memory-safe languages.

Research Trajectory

Khatry’s early work involved the research direction of Semantic Extraction from Structurally Heterogeneous Documents. With collaborators, he participated in the development of LRSyn, a system designed to extract data from semi-structured documents. Detailed in Landmarks and regions: a robust approach to data extraction, this approach mimics human intuition by utilizing "landmarks" to locate relevant regions before extracting specific values. This method proved particularly robust to format changes, addressing the challenges of longitudinal settings where document structures naturally evolve over time.

In 2023, Khatry led several projects focusing on improving how large language models (LLMs) generate code from natural language prompts, particularly through advanced retrieval and context-awareness. In TSTR: Target Similarity Tuning Meets the Real World, he introduced methods to adapt target similarity tuning for practical applications. The goal was to align the similarity of natural language inputs with the similarity of their corresponding code outputs, thereby improving the selection of relevant examples for LLM prompting. By replacing standard sentence transformers with embeddings from larger models and training a lightweight transformation model, this work reduced sensitivity to language distribution and increased flexibility in synthetic example generation.

Continuing the theme of context-aware code generation, Khatry investigated program synthesis for data manipulation tasks. In From Words to Code: Harnessing Data for Program Synthesis from Natural Language, he addressed the limitations of existing approaches that only incorporate input data into prompts in a rudimentary way. Because underlying programming languages and APIs can be challenging for users who are not skilled programmers, this research emphasized utilizing the actual "data context"—the dataset on which the task is to be performed—alongside natural language descriptions to help generate correct data manipulation programs.

Parallel to these efforts, Khatry explored the underlying mechanics of information retrieval used to prepare LLM prompts. In Augmented Embeddings for Custom Retrievals, he contrasted classical "homogeneous and relaxed" retrieval—where queries and corpus elements are both natural language and the system returns a large set of results—with the "heterogeneous and strict" retrieval required for modern LLM applications. This work examined scenarios where queries and corpus elements differ in nature and where the retrieval system must accurately select a very small number of highly relevant artifacts to construct effective prompts.

More recently, Khatry has focused on the rigorous evaluation of automated code migration, contributing to the broader area of Closing the Loop in LLM Code Generation. In CRUST-Bench: A Comprehensive Benchmark for C-to-safe-Rust Transpilation, he introduced a dataset comprising 100 C repositories equipped with Rust interfaces and tests. This benchmark was designed to systematically evaluate the ability of LLMs to translate legacy C code into safe, idiomatic Rust. The findings highlighted that even advanced models struggle with the complexities of this transpilation task, underscoring the ongoing challenges in modernizing software for improved memory security.

Current Directions

The most recent papers in the evidence indicate a sustained focus on the intersection of large language models and software engineering, specifically regarding code translation and memory safety. Current work investigates the limitations of state-of-the-art LLMs in complex transpilation tasks, such as migrating legacy C code to safe Rust. This involves developing comprehensive benchmarks and testing frameworks to rigorously evaluate whether automated systems can produce code that is not only functionally correct but also adheres to the idiomatic and safety guarantees of the target language. Additionally, the trajectory suggests an ongoing interest in refining how models retrieve and utilize context—whether through natural language examples, data contexts, or strict retrieval mechanisms—to improve the reliability of program synthesis.

Profile updated

See something wrong? Report a mistake