Sanjay Krishna Gouda
· 3 previous affiliations
- Amazon (United States)Since 2022
- Researcher · Since 2022
- RTX (United States)2019–2022
- Researcher · 2019–2022
- University of California, Santa Cruz2016–2018
- MS student · 2016–2018
Research Overview
Sanjay Krishna Gouda focuses on the evaluation, optimization, and security of large language models for code generation. His work spans efficient inference techniques, robust training methodologies, and the alignment of tokenization with structural constraints. Recently, his research has expanded into the security assessment of autonomous code agents and their vulnerabilities to systematic jailbreaking attacks.
Research Trajectory
In 2023, Gouda's research centered on establishing rigorous evaluation frameworks for code generation models across diverse programming languages. He contributed to Multi-lingual Evaluation of Code Generation Models, which introduced the MBXP and Multilingual HumanEval benchmarks. By developing a conversion framework that transpiled prompts and test cases from existing datasets into over ten target languages, this work enabled the assessment of out-of-domain generalization and zero-shot translation capabilities. This foundational evaluation work advanced the research direction of Automated Judges for Scalable Language Model Evaluation and the broader area of Multilingual and Repository Level Code Intelligence, while also touching on the area of Bridging Type Systems in Neural Code Translation.
Moving into 2024, Gouda's focus expanded significantly into inference optimization and decoding strategies for large language models. He participated in developing Bifurcated Attention for Single-Context Large-Batch Sampling, an optimization technique that mathematically splits the attention mechanism to load a shared prompt's memory only once per batch. This approach drastically reduced latency in scenarios requiring many completions for a single prompt, enabling massive batch sizes without accuracy degradation. Continuing this focus on computational efficiency, he collaborated on BASS: Batched Attention-optimized Speculative Sampling. This work scaled speculative decoding to handle multiple sequences simultaneously, overcoming the "ragged tensor" problem through custom CUDA kernels and dynamic draft-length heuristics to maximize GPU utilization.
Alongside efficiency, Gouda explored structural and syntactic constraints in decoding. In Token Alignment via Character Matching for Subword Completion, he and his colleagues addressed the "partial token issue"—where prompts end mid-word or in a sequence of spaces. By introducing a lightweight inference-time technique that backtracks to the last certain full token and uses character-level matching, the work improved autocompletion accuracy. This contributed directly to the research direction of Reconciling Sub-word Tokenization with Structural Constraints and the area of Contrastive Decoding with Adaptive Plausibility Constraints. This interest in structural validity is further evident in Constrained Decoding for Code Language Models via Efficient Left and Right Quotienting of Context-Sensitive Grammars. The paper introduced an incremental parser extending the Earley algorithm to calculate the necessary code to bridge a prefix and suffix, ensuring syntactically correct generation during fill-in-the-middle tasks for complex languages like Python.
Also in 2024, his work addressed the fundamental robustness of code models. He contributed to CodeFort: Robust Training for Code Generation Models, a training framework designed to make models resilient to semantic-preserving input perturbations, such as renamed variables or docstring typos. By combining specialized data augmentation with adversarial techniques, this research mitigated performance collapse on noisy inputs and advanced the area of Token Level Contrastive Learning for Granular Representation Alignment.
In 2025, Gouda's research trajectory shifted toward the security implications of autonomous systems. He collaborated on Breaking the Code: Security Assessment of AI Code Agents Through Systematic Jailbreaking Attacks, which introduced the JAWS-BENCH executable-aware benchmark. This study identified a critical "agentic amplification" effect, demonstrating that wrapping language models in multi-step reasoning frameworks can inadvertently cause them to overturn their own initial safety refusals, thereby increasing their vulnerability to malicious code generation.
Current Directions
The most recent papers in the evidence indicate a growing focus on the security, robustness, and behavioral alignment of autonomous code agents. Rather than treating code generation models merely as passive completion tools, current research investigates their behavior when embedded in multi-step, executable-aware agentic frameworks. A key open problem in this domain is "agentic amplification," where the complex reasoning steps intended to improve an agent's functional performance can inadvertently override its safety guardrails, making it more susceptible to systematic jailbreaking attacks. Alongside security validation, ongoing efforts continue to address the fundamental reliability of code models, focusing on training frameworks and decoding constraints that maintain consistent, syntactically valid performance despite noisy, adversarial, or structurally complex inputs.
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