Mingjie Xing

Institute of Software
1 previous affiliation
46Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Mingjie Xing focuses on compiler optimization, system configuration tuning, and the application of large language models to low-level software engineering. His work spans from solving the phase-ordering problem in compiler passes to automating the migration of SIMD intrinsic code for emerging architectures like RISC-V. Recently, he has investigated agentic workflows and reinforcement learning techniques to autonomously optimize operating system kernels and compiler pipelines.

Research Trajectory

The earliest work in the provided evidence centers on structural code intelligence. In 2024, he explored methods to improve neural code models, introducing Contextual AST Serialization (CAS) in Using Context and Hierarchy Features to Enhance Code Completion in Code Modification Scenarios. By combining post-order and level-order traversals of Abstract Syntax Trees, this approach improved code completion accuracy by better representing the hierarchical structure and surrounding context of a program.

In 2025, a major theme of his research became the research area of The Phase-Ordering Problem in Compiler Optimization. He developed A Hybrid, Knowledge-Guided Evolutionary Framework for Personalized Compiler Auto-Tuning, which utilizes an offline pass knowledge base to guide fast online evolutionary search, effectively reducing code size. This line of inquiry was expanded in Synergy-Guided Compiler Auto-Tuning of Nested LLVM Pass Pipelines, which models optimization pipelines as forests specifically for the LLVM New Pass Manager. This work also contributed to the broader area of Enforcing Structural Constraints on Language Model Outputs. He further explored synergistic search spaces for compilation in Towards Efficient Compiler Auto-tuning: Leveraging Synergistic Search Spaces.

Alongside traditional evolutionary algorithms, he integrated reinforcement learning (RL) and large language models (LLMs) into compiler tuning. With collaborators, he developed Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning, a framework that transforms LLMs into autonomous agents for compiler tuning via a two-stage training pipeline. Similarly, Navigating the SIMD Optimization Maze: A Reinforcement Learning Approach to Library and Compiler Co-Optimization jointly optimizes C++ SIMD library choices and compiler passes using an assembly-level program representation to navigate large search spaces.

Another significant focus in 2025 was hardware-aware code migration, particularly for the RISC-V architecture. He led the development of IntrinTrans: LLM-based Intrinsic Code Translator for RISC-V Vector, a multi-agent framework that translates SIMD intrinsic code from architectures like Arm Neon to the RISC-V Vector extension. This work advanced the direction of State Machine Orchestration for Agentic Workflows by employing an iterative compile-and-test feedback loop alongside static liveness analysis. To rigorously evaluate these LLM-driven translation efforts, he co-authored VecIntrinBench: Benchmarking Cross-Architecture Intrinsic Code Migration for RISC-V Vector, establishing a benchmark that contributes to the area of Functional Correctness via Execution-Based Evaluation.

Beyond compilers, his work addresses high-dimensional system tuning and profiling. In the research direction of Automated Knob Tuning for High-Dimensional System Configurations, he developed BYOS: Knowledge-driven Large Language Models Bring Your Own Operating System More Excellent, which uses a dual-layer knowledge graph to ground LLMs in operating system domain knowledge for kernel configuration. This agentic approach was further refined in OS-R1: Agentic Operating System Kernel Tuning with Reinforcement Learning, framing Linux kernel tuning as an RL task to navigate complex configuration spaces. Additionally, he addressed runtime profiling in the MLIR ecosystem with MLProf: A Multi-Level Runtime Performance Profiling Framework for MLIR Operations. This tool automates timer injection across different abstraction dialects to pinpoint bottlenecks, contributing to the area of Performance Crossover Thresholds in Heterogeneous Computing.

Moving into 2026, his research expanded to incorporate advanced representations and reasoning mechanisms for compiler optimization. He contributed to Behavioral Embeddings of Programs: A Quasi-Dynamic Approach for Optimization Prediction, which introduces a method to model optimization sensitivity using a specialized Transformer (PQ-BERT) to capture behavioral insights without the full overhead of runtime profiling. Alongside this, he explored causal reasoning in ECCO: Evidence-Driven Causal Reasoning for Compiler Optimization, a framework that combines LLMs with combinatorial search to further reduce execution cycles.

Current Directions

The most recent work in the evidence addresses the intersection of causal reasoning, behavioral modeling, and compiler optimization. Current research investigates "quasi-dynamic" approaches to program embedding, focusing on how program structures react to different compiler passes to predict optimization outcomes efficiently without relying on expensive runtime profiling. Additionally, there is an ongoing focus on evidence-driven causal reasoning, exploring how large language models can be combined with combinatorial search to improve the reliability, execution speed, and overall performance of automated compiler tuning pipelines.

Profile updated

See something wrong? Report a mistake