Gaurav Mittal

I am a Principal Researcher and Tech Lead at Microsoft, where I work on GitHub Copilot. My current work is the post-training of coding models and the evaluation of the agents built on them: RL post-training for Next Edit Suggestions and Copilot CLI, and process-level evaluation for coding, computer-use, and cybersecurity agents.

I have also worked on Multimodal generation and Responsible AI, taking multimodal content safety models from prototype to General Availability on Azure and publishing at CVPR, ICCV, ICLR, and ICML, supporting products like Azure AI Content Safety and Azure OpenAI. Previously, I have worked on AutoML as part of the Microsoft Custom Vision Service. Multimodal understanding is crucial: computer-use agents can still fail at the perception layer as often as at the reasoning layer, and pixel-precise grounding is a vision problem before it is an agent problem.

I did my Master's in Computer Vision at Robotics Institute, Carnegie Mellon University where I worked with Prof. Kris Kitani on model compression and Hypernetworks. I have also worked at Amazon as a Software Development Engineer. I graduated with a B.Tech. in Computer Science and Engineering from Indian Institute of Technology Ropar with the President of India Gold Medal. I have won the Microsoft Imagine Cup India and Indian National Academy of Engineering Innovate Student Project Award in 2016 for my project SpotGarbage.

Email  /  Google Scholar  /  Github  /  LinkedIn

profile photo
News
Research

I work on three connected problems. Post-training coding models so they improve at tasks that take many steps. Evaluating agents in a way that separates a correct method from a lucky outcome. Grounding agents in real interfaces, where the failure is often perception rather than reasoning.

Coding agents and RL post-training: RL post-training for Next Edit Suggestions and Copilot CLI. (NES blog post)

Agentic evaluation: process-level scoring, deterministic benchmarks, and validating sequential execution in autonomous agents. (AgentLens, Codebreaker-Bench, sequential-execution validation)

Computer use and visual grounding: pixel-precise GUI grounding and autonomous UX testing. (PrecisionCUA)

Multimodal generation and safety: text-to-video and image generation, content safety at scale. (PISCES, Hummingbird)

Preprints & Industry Writing
Histogram of AgentLens quality scores separating Lucky, Solid, and Ideal trajectories
AgentLens: Revealing The Lucky Pass Problem in SWE-Agent Evaluation
Priyam Sahoo, Gaurav Mittal, Xiaomin Li, Shengjie Ma, Ben Steenhoek, Pingping Lin, Yu Hu
arXiv preprint, May 2026
arXiv

Shows that outcome-only pass/fail evaluation treats a principled solution and a chaotic trial-and-error process as equivalent, and introduces process-level scoring over 2,614 SWE-agent trajectories that separates lucky passes from solid and ideal solutions.

Screen states captured across two test runs used to validate agentic behavior
Learning Correct Behavior from Examples: Validating Sequential Execution in Autonomous Agents
Reshabh Sharma, Gaurav Mittal, Yu Hu
arXiv preprint, May 2026
arXiv / GitHub Blog

Learns correct sequential behavior for an autonomous agent from as few as 2 to 10 passing execution traces, combining dominator analysis from compiler theory with multimodal LLM-based semantic understanding to validate new executions without manual specifications.

Codebreaker-Bench salient, causal, and identity layers linking a victim endpoint to a C2 destination
Codebreaker-Bench: Measuring Skill Composition in AI Agents via Sequential Investigation
Nelson Daniel Troncoso, Gaurav Mittal, Yu Hu
In preparation, 2026

A deterministic cybersecurity benchmark for measuring how AI agents compose narrow skills into a coherent investigation, requiring inferential composition of evidence across multiple artifacts rather than a single-step lookup.

PrecisionCUA architecture: extension host and DOM renderer bridged over a local WebSocket channel
PrecisionCUA: Iterative Visual Refinement for Pixel-Precise Cursor Grounding in Code Editors
Himangi Mittal, Gaurav Mittal, Nelson Daniel Troncoso, Yu Hu
arXiv preprint, April 2026
arXiv

Studies pixel-precise cursor grounding for computer-use agents in dense coding interfaces such as VS Code and Cursor, replacing single-shot coordinate prediction with an iterative visual-refinement loop that self-corrects using feedback from prior attempts.

Demo of a long-distance Next Edit Suggestion jumping to a related line
Building Long-Distance Next Edit Suggestions
Vikram Duvvur, Gaurav Mittal, Benjamin Simmonds
Visual Studio Code Blog, Feb 2026
post

Extends Next Edit Suggestions in GitHub Copilot beyond the local cursor neighborhood to propose edits anywhere in the open file, reducing the friction of manually finding and applying related changes.

Publications
PISCES: Annotation-free Text-to-Video Post-Training via Optimal Transport-Aligned Rewards
Minh-Quan Le*, Gaurav Mittal*, Cheng Zhao, David Gu, Dimitris Samaras, Mei Chen
ICML, 2026
arXiv / project page / code

Post-trains text-to-video models using rewards aligned by optimal transport, improving visual quality and semantic alignment with the input text without requiring annotated preference data.

Foundation-Tracker 4D generation results compared against DG4D and Animate3D
Tracking-Guided 4D Generation: Foundation-Tracker Motion Priors for 3D Model Animation
Su Sun, Cheng Zhao, Himangi Mittal, Gaurav Mittal, Rohith Kukkala, Yingjie Victor Chen, Mei Chen
CVPR, 2026
paper

Generates dynamic 4D objects from sparse inputs by supervising with foundation-tracker motion priors, jointly preserving appearance and motion coherence across views and time while suppressing artifacts and temporal drift.

Qualitative comparison of NDTokenizer3D against 3D-LLaVA on 3D scene understanding tasks
Scenes as Tokens: Multi-Scale Normal Distributions Transform Tokenizer for General 3D Vision-Language Understanding
Yutao Tang, Cheng Zhao, Gaurav Mittal, Rohith Kukkala, Rama Chellappa, Cheng Peng, Mei Chen
CVPR, 2026
paper

A multi-scale normal distributions transform tokenizer that encodes a 3D scene into holistic scene tokens, which transfer across diverse 3D vision-language understanding and reasoning tasks.

DeCafNet accuracy versus inference time compared against prior methods
DeCafNet: Delegate and Conquer for Efficient Temporal Grounding in Long Videos
Zijia Lu, A S M Iftekhar, Gaurav Mittal, Tianjian Meng, Xiawei Wang, Cheng Zhao, Rohith Kukkala, Ehsan Elhamifar, Mei Chen
CVPR, 2025
paper

Delegates cheap clip-level scanning to a lightweight encoder and reserves the full expert encoder for the clips that matter, cutting the cost of temporal grounding in long untrimmed videos.

LoSA architecture and mAP comparison against head-only, full backbone, and PETL adaptation
LoSA: Long-Short-range Adapter for Scaling End-to-End Temporal Action Localization
Akshita Gupta, Gaurav Mittal, Ahmed Magooda, Ye Yu, Graham Taylor, Mei Chen
WACV, 2025
paper

Adapts large video foundation models to temporal action localization using long- and short-range adapters, making end-to-end training scale with backbone size instead of requiring a frozen feature pipeline.

Hummingbird generated images compared against references across attribute and diversity/fidelity tests
Hummingbird: High Fidelity Image Generation via Multimodal Context Alignment
Minh-Quan Le*, Gaurav Mittal*, Tianjian Meng, A S M Iftekhar, Vishwas Suryanarayanan, Barun Patra, Dimitris Samaras, Mei Chen
ICLR, 2025
paper / arXiv

A diffusion-based generator that produces diverse images from a multimodal context while preserving scene attributes such as object interactions and spatial relationships, guided by a Multimodal Context Evaluator trained on global semantic and fine-grained consistency rewards.

Rule By Example architecture: rule encoder and text encoder aligned via a similarity metric
Rule By Example: Harnessing Logical Rules for Explainable Hate Speech Detection
Christopher Clarke, Matthew Hall, Gaurav Mittal, Ye Yu, Sandra Sajeev, Jason Mars, Mei Chen
ACL, 2023 (Long Paper)
paper / arXiv

An exemplar-based contrastive learning approach that learns from logical rules for textual content moderation, keeping the interpretability of hand-written rules while gaining the robustness of a learned model.

ProTeGe attention maps for untrimmed pretraining compared against trimmed pretraining
ProTeGe: Untrimmed Pretraining for Video Temporal Grounding by Video Temporal Grounding
Lan Wang*, Gaurav Mittal*, Sandra Sajeev, Ye Yu, Matthew Hall, Vishnu Naresh Boddeti, Mei Chen
CVPR, 2023
paper

The first pretraining scheme for video temporal grounding that trains directly on untrimmed video, removing the mismatch between backbones pretrained on trimmed clips and the untrimmed videos the task actually operates on.

PivoTAL localization confidence compared against ground truth and an ablation without scene prior
PivoTAL: Prior-Driven Supervision for Weakly-Supervised Temporal Action Localization
Mamshad Nayeem Rizve*, Gaurav Mittal*, Ye Yu, Matthew Hall, Sandra Sajeev, Mubarak Shah, Mei Chen
CVPR, 2023
paper

Approaches weakly-supervised temporal action localization as localization rather than frame classification, using action-specific priors as supervision in place of hand-tuned thresholding over per-frame scores.

BATMAN video object segmentation results comparing local and bilateral attention
BATMAN: Bilateral Attention Transformer in Motion-Appearance Neighboring Space for Video Object Segmentation
Ye Yu, Jialin Yuan, Gaurav Mittal, Fuxin Li, Mei Chen
ECCV, 2022
paper / pdf

A bilateral attention transformer for semi-supervised video object segmentation that operates in a joint motion-appearance neighboring space, targeting the case where visually similar objects sit close together.

GateHUB detecting actions in a streaming video
GateHUB: Gated History Unit With Background Suppression for Online Action Detection
Junwen Chen*, Gaurav Mittal*, Ye Yu, Yu Kong, Mei Chen
CVPR, 2022
paper

GateHUB introduces a novel gated cross-attention along with future-augmented history and background suppression objective to outperform all existing methods on online action detection task on all public benchmarks.

Action-appearance aligned meta-adaptation architecture
Unsupervised Few-Shot Action Recognition via Action-Appearance Aligned Meta-Adaptation
Jay Patravali*, Gaurav Mittal*, Ye Yu, Fuxin Li, Mei Chen
ICCV, 2021 (Oral Presentation, 3% acceptance rate)
paper

First Unsupervised Meta-learning algorithm for Video Few-Shot action recognition. It comprises a novel Action-Appearance Aligned Meta-adaptation (A3M) module that learns to focus on the action-oriented video features in relation to the appearance features via explicit few-shot episodic meta-learning over unsupervised hard-mined episodes.

MUSE feature self-distillation architecture
MUSE: Feature Self-Distillation with Mutual Information and Self-Information
Yu Gong*, Ye Yu*, Gaurav Mittal, Greg Mori, Mei Chen
BMVC, 2021
paper / arXiv

A novel information-theoretic approach to introduce dependency among features of a deep convolutional neural network (CNN). It jointly improve the expressivity of all features extracted from different layers in a CNN using Additive Information and Multiplicative Information.

Adversarially perturbed images generated for long-tail classes
BLT: Balancing Long-Tailed Datasets with Adversarially-Perturbed Images
Jedrzej Kozerawski, Victor Fragoso, Nikolaos Karianakis, Gaurav Mittal, Matthew Turk, Mei Chen
ACCV, 2020
paper / code / video

A novel data augmentation technique that uses gradient-ascent to generate extra training samples for tail classes in a long-tail class distribution to improve generalization performance of a image classifier for real-world datasets exhibiting long tail. BLT avoids dedicated generative networks for image generation, thereby significantly reducing training time and compute.

HyperSTAR task-aware hyperparameter recommendation pipeline
HyperSTAR: Task-Aware Hyperparameters for Deep Networks
Gaurav Mittal*, Chang Liu*, Nikolaos Karianakis, Victor Fragoso, Mei Chen, Yun Fu (* Equal Contribution)
CVPR, 2020 (Oral Presentation, 5.7% acceptance rate)
paper / video

A task-aware method to warm-start Hyperparameter Optimization (HPO) methods by predicting the performance for a hyperparamter configuration via a learned task (dataset) representation.

Face animation driven by disentangled audio representations
Animating Face using Disentangled Audio Representations
Gaurav Mittal, Baoyuan Wang
WACV, 2020
paper / video / arXiv

To make talking head generation robust to such emotional and noise variations, we propose an explicit audio representation learning framework that disentangles audio sequences into various factors such as phonetic content, emotional tone, background noise and others. When conditioned on disentangled content representation, the generated mouth movement by our model is significantly more accurate than previous approaches (without disentangled learning) in the presence of noise and emotional variations.

Image built up incrementally from a sequence of scene graphs
Interactive Image Generation Using Scene Graphs
Gaurav Mittal*, Shubham Agrawal*, Anuva Agarwal*, Sushant Mehta*, Tanya Marwah* (*Equal Contribution)
ICLR, 2019 DeepGenStruct Workshop
paper / arXiv

Proposed a method to generate an image incrementally based on a sequence of scene graphs such that the image content generated in previous steps is preserved and the cumulative image is modified as per the newly provided scene information.

Video frames generated from a caption using attention
Attentive Semantic Video Generation Using Captions
Tanya Marwah*, Gaurav Mittal*, Vineeth N Balasubramanian (* Equal Contribution)
ICCV, 2017
paper / code / arXiv

Proposed a network architecture that learns long-term and short-term context of the video data and uses attention to align the information with accompanying text to perform variable length semantic video generation on unseen caption combinations.

Video frames generated progressively by Sync-DRAW
Sync-DRAW: Automatic Video Generation using Deep Recurrent Attentive Architectures
Gaurav Mittal*, Tanya Marwah*, Vineeth N Balasubramanian (* Equal Contribution)
ACM Multimedia, 2017 (Oral Presentation, 7.5% acceptance rate)
paper / arXiv

Combines a variational autoencoder (VAE) with recurrent attention mechanism to create a temporally dependent sequence of frames that are gradually formed over time.

SpotGarbage app segmenting garbage regions in a street photo
SpotGarbage: Smartphone App to Detect Garbage using Deep Learning
Gaurav Mittal, Kaushal B Yagnik, Mohit Garg, Narayanan C Krishnan
ACM UbiComp, 2016
video / code / paper/ dataset / coverage

Designed a fully convolutional network to detect and coarsely segment garbage regions in the image. Built a smartphone app, SpotGarbage, deploying the CNN to make on-the-device detections. Also introduced a new Garbage-In-Images (GINI) dataset.

Brain region segmented from a T1-weighted MRI volume
Supervised deep segmentation network for brain extraction
Apoorva Sikka*, Gaurav Mittal*, Deepthi R Bathula, Narayanan C Krishnan (*Equal Contribution)
ICVGIP, 2016
paper

Proposed a novel encode-decoder network for brain extraction from T1-weighted MR images. The model operates on full 3D volumes, simplifying pre- and post-processing operations, to efficiently provide a voxel-wise binary mask delineating the brain region.

Service
NASFW 2020 workshop banner
Workshop on Neural Architecture Search for Computer Vision in the Wild (NASFW)
WACV 2020

Respectfully copied from Jon Barron's website.