Lei Ji
· 1 previous affiliation
- Microsoft Research Asia (China)Since 2017
- Researcher · 2017–2029
Research Overview
Lei Ji focuses on multimodal video understanding, autonomous agent reasoning, and the internal mechanics of large language models. His trajectory spans from early work in natural language processing and dense video captioning to the development of sophisticated vision-language agents capable of executing complex procedural tasks. Most recently, his research investigates data optimization strategies and the mechanistic interpretability of transformer architectures.
Research Trajectory
Lei Ji’s early research addressed foundational challenges in natural language processing. In 2015, he introduced an approach to resolve acronym ambiguity using unsupervised word embeddings in Acronym Disambiguation Using Word Embedding. By representing context as continuous vectors rather than relying on manual dictionaries, this work demonstrated how contextual embeddings could outperform traditional ontology-based methods across scientific datasets.
Transitioning into multimodal domains, his focus shifted extensively toward video understanding, particularly the analysis of instructional and procedural content. In Dense Procedure Captioning in Narrated Instructional Videos, he tackled the difficulty of identifying and describing sequences of distinct steps in open-domain videos. He expanded on this temporal reasoning challenge with the Hierarchical Context-aware Network for Dense Video Event Captioning, which leveraged both local frame neighborhoods and global inter-event context to generate coherent captions for long, untrimmed videos. This body of work significantly advanced the broader area of Fine Grained Temporal Modeling for Video Transformers. Continuing this trajectory, he addressed the lack of diverse, large-scale datasets for category-independent video segmentation in Learning Temporal Video Procedure Segmentation from an Automatically Collected Large Dataset, contributing to work in the area of Single Stream Transformers for Joint Feature Interaction. He also collaborated on efficient alignment techniques for extended temporal sequences in CONE: An Efficient COarse-to-fiNE Alignment Framework for Long Video Temporal Grounding, aligning with the research direction of Coarse to Fine Reasoning for Long Video Understanding.
In parallel with video analysis, he explored spatial control in generative models. With Trace Controlled Text to Image Generation, he developed a model that utilized mouse traces as a bridge between semantic concepts and spatial locations, allowing users to guide open-domain scene creation with precise layout control.
Building on this foundation in complex multimodal reasoning, the trajectory expanded into the design of autonomous agents capable of interacting with digital environments. He introduced the PEIL (Plan, Execute, Inspect, and Learn) framework in AssistGPT: A General Multi-modal Assistant that can Plan, Execute, Inspect, and Learn, enabling an AI assistant to interleave natural language reasoning with structured code execution to manage intermediate visual states. This agentic approach was further specialized for computer interfaces in AssistGUI: Task-Oriented PC Graphical User Interface Automation. By combining a hierarchical planner that processes instructional videos with a closed-loop execution model, the framework automated multi-step tasks on Windows PCs, significantly outperforming standard prompting methods.
More recently, his focus has broadened to include the efficiency, reasoning capabilities, and internal mechanics of large language models. To mitigate the computational overhead of lengthy prompts, he proposed a joint training approach in Generative Context Distillation that internalizes complex instructions directly into the model's behavior. He also explored dynamic data mixing strategies in DynamixSFT: Dynamic Mixture Optimization of Instruction Tuning Collections, treating dataset selection as a multi-armed bandit problem to optimize training mixtures without expensive proxy models.
To probe the limits of LLM reasoning, he utilized structured environments, introducing a massive dataset of annotated positions in Explore the Reasoning Capability of LLMs in the Chess Testbed to demonstrate that teaching models to process expert strategic language improves their multi-step logic. He also participated in scaling code models using real-world signals in Pull Requests as a Training Signal for Repo-Level Code Editing, leveraging verified GitHub edits to internalize repository-level transformation skills. Finally, he led an investigation into mechanistic interpretability in From Groups to Rings: Causal Evidence for Algebraic Decomposition in Grokked Transformers, using causal intervention to prove that models generalizing on algebraic tasks build independent internal circuits aligned with ring theory. He also collaborated on understanding fundamental architectural components in Behind RoPE: How Does Causal Mask Encode Positional Information?, revealing how LayerNorm interacts with causal self-attention to induce recency bias.
Current Directions
The most recent papers in the evidence investigate the internal mechanics, reasoning capabilities, and training optimization of large language models. A major theme is mechanistic interpretability, specifically understanding how transformers generalize complex algebraic structures and how fundamental architectural components, such as causal masks and normalization layers, implicitly encode positional information.
Additionally, ongoing research addresses the practical scaling and refinement of foundation models. This includes developing dynamic data optimization frameworks for instruction tuning and integrating domain-specific reasoning signals to enhance model performance. By utilizing structured testbeds like chess and real-world repository-level code edits, this work aims to bridge the gap between general language modeling and deep, multi-step logical execution.
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