Haolin Pan

University of Chinese Academy of Sciences
1 previous affiliation
12Machine learning papers tracked by Lacuna

1 other author named Haolin Pan: Haolin Pan (1 paper)

Is this you?

Research Overview

Haolin Pan focuses on compiler optimization, automated performance tuning, and the application of machine learning to systems programming. His trajectory spans from evolutionary search algorithms for pass ordering to the development of autonomous agents for compiler tuning. Currently, his work investigates evidence-driven causal reasoning and quasi-dynamic program embeddings to predict and optimize software performance.

Research Trajectory

Pan’s early research addresses the fragmentation and performance bottlenecks found in High-Performance Computing (HPC) libraries, particularly concerning vectorization. He developed HybridSIMD: A Super C++ SIMD Library with Integrated Auto-tuning Capabilities, which provides a unified interface and a collaborative back-end designed to leverage the collective strengths of existing Single Instruction, Multiple Data (SIMD) libraries. Expanding on this library-level abstraction, he explored the joint optimization of SIMD library selection and compiler pass sequences. In Navigating the SIMD Optimization Maze: A Reinforcement Learning Approach to Library and Compiler Co-Optimization, he introduced a reinforcement learning framework that navigates this massive search space using a novel assembly-level program representation. This work contributes to the broader research direction of Learned Performance Predictors for Automated Optimization.

A major and recurring theme in Pan’s research is addressing the area of The Phase-Ordering Problem in Compiler Optimization. Because finding the optimal sequence of compiler passes is a notoriously difficult NP-hard problem, he has developed several hybrid and evolutionary strategies to navigate the search space efficiently. He proposed A Hybrid, Knowledge-Guided Evolutionary Framework for Personalized Compiler Auto-Tuning, which splits the computational burden by building a rich pass knowledge base offline to guide a rapid, personalized online evolutionary search. This methodology advanced the direction of Structure Preserving Operators for Constrained Evolutionary Search. He further explored the synergies between different search spaces in Towards Efficient Compiler Auto-tuning: Leveraging Synergistic Search Spaces.

To handle the tuning of diverse programs, Pan introduced GRACE: Globally-Seeded Representation-Aware Cluster-Specific Evolution for Compiler Auto-Tuning. GRACE combines pass synergy analysis with contrastive learning for program clustering, enabling cluster-specific evolutionary search that minimizes tuning time. Addressing the specific hierarchical architecture of modern compilers, he also developed Synergy-Guided Compiler Auto-Tuning of Nested LLVM Pass Pipelines. By representing optimization pipelines as "forests" rather than linear lists and guiding the search with offline-mined synergy data, this approach significantly reduces instruction counts and touches upon the area of Enforcing Structural Constraints on Language Model Outputs.

As Large Language Models (LLMs) emerged as powerful reasoning engines, Pan integrated them into compiler optimization pipelines. He introduced Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning, an RL framework designed to transform LLMs into autonomous agents for auto-tuning. Utilizing a two-stage training pipeline and a high-quality reasoning dataset, the system outperforms traditional heuristics. He also collaborated on AwareCompiler: Agentic Context-Aware Compiler Optimization via a Synergistic Knowledge-Data Driven Framework, which bridges the gap between abstract code reasoning and concrete optimization passes. This collaborative effort intersects with research directions such as Step-Wise Credit Assignment for Long-Horizon Agents and Domain Specialization for Expert Performance in Small Models.

In 2026, Pan’s focus expanded to deeper program representations and causal reasoning. He presented Behavioral Embeddings of Programs: A Quasi-Dynamic Approach for Optimization Prediction, which models optimization sensitivity—how a program's structure reacts when modified by different compiler passes. By combining Product Quantization with a specialized Transformer (PQ-BERT), this approach captures deep behavioral insights without the massive overhead of traditional runtime profiling. Building on the need for rigorous reasoning in optimization, he developed ECCO: Evidence-Driven Causal Reasoning for Compiler Optimization, a framework that combines LLMs trained on causal reasoning datasets with combinatorial search to achieve substantial reductions in execution cycles.

Current Directions

The most recent papers in the evidence address the need for deeper, more efficient program representations and rigorous reasoning mechanisms in compiler optimization. Recent work investigates "quasi-dynamic" approaches to program embedding, capturing how software structure reacts to various compiler passes without relying on expensive runtime profiling. Additionally, Pan is exploring evidence-driven causal reasoning, combining the generative capabilities of large language models with structured combinatorial search. These directions aim to move beyond empirical search heuristics, providing compilers with a more fundamental understanding of how specific optimization sequences causally affect execution cycles and overall program behavior.

Profile updated

See something wrong? Report a mistake