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

Kartikeya Upasani

Meta (United States)
3 previous affiliations
11Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Kartikeya Upasani focuses on natural language generation, structured semantic representations, and the safety of large language models. His early work explored constrained decoding and tree-to-sequence architectures to improve sentence planning in task-oriented dialogue systems. More recently, his research addresses AI safety, developing programmable guardrails and inference-time backtracking mechanisms to mitigate harmful outputs in both text and multimodal human-AI conversations.

Research Trajectory

Upasani’s early research centered on improving natural language generation (NLG) for task-oriented conversational systems, with a particular focus on how structured semantic representations can yield more fluent and controllable text. In 2019, he participated in Constrained Decoding for Neural NLG from Compositional Representations in Task-Oriented Dialogue. This work addressed the limitations of flat, underspecified meaning representations, which often place a high burden on generation models for sentence planning. By utilizing tree-structured semantic representations similar to those in traditional rule-based systems, the research sought to improve control over generated responses. This work contributed to the research direction of Structural Priors for Data Efficient Language Learning and the area of Trie-Constrained Autoregressive Decoding, while also touching upon the broader challenge of Degenerate Repetition and the Self Reinforcement Effect.

Continuing this focus on structured inputs, he contributed to A Tree-to-Sequence Model for Neural NLG in Task-Oriented Dialog. Noting that sequence-to-sequence models operating on flat meaning representations had become dominant, this research proposed a tree-to-sequence model utilizing a tree-LSTM encoder. This architecture, combined with a structure-enhanced attention mechanism, was designed to better leverage input structures for improved discourse-level structuring and sentence-level planning. He further explored tree-based generation in The OSU/Facebook Realizer for SRST 2019: Seq2Seq Inflection and Serialized Tree2Tree Linearization. This exploratory system for the shallow surface realization task combined character sequence-to-sequence models for morphological inflection with a baseline linearizer operating on serialized trees. While the morphological inflection proved competitive across languages, the research noted that inadequate control over output words led to challenges with longer sentences.

Alongside architectural improvements, Upasani investigated the quality and reliability of generated text in deployed environments. In Generate, Filter, and Rank: Grammaticality Classification for Production-Ready NLG Systems, he and his collaborators worked within the research direction of Characterizing and Detecting Machine Specific Text Generation Errors to ensure grammatical correctness and filter out machine-specific generation errors in production systems. In 2020, his focus expanded to encompass broader discourse-level phenomena with the development of MuDoCo: Corpus for Multidomain Coreference Resolution and Referring Expression Generation, providing a dedicated resource for training and evaluating multidomain coreference resolution systems.

By 2023, Upasani’s trajectory shifted significantly toward the safety, alignment, and moderation of large language models. He introduced Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations, an instruction-tuned model designed to act as a programmable safeguard. By treating content moderation as an instruction-following task, the model classifies both user prompts and AI responses against customizable safety taxonomies. This work forms a core contribution to the research direction of Policy-Steerable Guardrails for Dynamic AI Safety.

This safety framework was subsequently extended to multimodal contexts. Upasani participated in the development of Llama Guard 3 Vision: Safeguarding Human-AI Image Understanding Conversations, which acts as a safety referee for human-AI interactions involving images. Built on a vision-language architecture, the model analyzes prompts and responses across distinct hazard categories to detect harmful content in image-understanding tasks. Most recently, in 2025, he explored inference-time interventions for safety in Backtracking Improves Generation Safety. This research addresses the autoregressive nature of LLM generation, where models often double down on unsafe trajectories triggered by jailbreaks or edge cases. By implementing backtracking mechanisms, the work allows models to recover from unsafe generation paths once a harmful prefix is detected.

Current Directions

The most recent papers in the evidence indicate a primary focus on the safety and alignment of large language and multimodal models. Recent work investigates programmable, instruction-tuned safeguards that can dynamically classify and filter both user inputs and model outputs according to customizable policy taxonomies. Additionally, this research extends into multimodal domains to detect hazards in image-understanding tasks, ensuring that safety guardrails apply to complex, multi-input conversations. Another active area of investigation involves inference-time interventions, specifically exploring backtracking mechanisms that allow autoregressive models to correct course when they begin generating harmful or unsafe content, thereby mitigating the statistical gravity of unsafe prefixes.

Profile updated

See something wrong? Report a mistake