Zaifeng Pan
· 3 previous affiliations
- University of California San DiegoSince 2024
- PhD student · Since 2024
- Renmin University of China2021–2024
- MS student · 2021–2024
- Shanghai Jiao Tong University2017–2021
- Undergrad student · 2017–2021
Research Overview
Zaifeng Pan focuses on machine learning systems, compiler optimization, and the efficient execution of large language models. Their research spans both inference and training, developing novel memory management and kernel optimizations to accelerate complex AI workloads. Recent efforts emphasize optimizing multi-agent workflows, tree-structured generation, and sparse attention mechanisms.
Research Trajectory
The early trajectory of this research centered on optimizing data processing and machine learning workloads for constrained and specialized hardware. Initial work included Exploring Data Analytics Without Decompression on Embedded GPU Systems, which introduced G-TADOC, a method for performing text analytics directly on compressed data to overcome the capacity limits of embedded devices. This period also saw contributions to GPU-based deep learning engines in G-SLIDE: A GPU-Based Sub-Linear Deep Learning Engine via LSH Sparsification and compiler optimizations for dynamic shape workloads in BladeDISC: Optimizing Dynamic Shape Machine Learning Workloads via Compiler Approach. Pan subsequently focused on deep recommendation models, developing compiler approaches to handle massive embedding columns in RECom: A Compiler Approach to Accelerating Recommendation Model Inference with Massive Embedding Columns and enabling feature heterogeneity-aware optimizations in RecFlex: Enabling Feature Heterogeneity-Aware Optimization for Deep Recommendation Models with Flexible Schedules.
As large language models (LLMs) became central to machine learning systems, the research shifted toward addressing the unique computational and memory bottlenecks of transformer architectures. In 2025, Pan contributed to Mercury: Unlocking Multi-GPU Operator Optimization for LLMs via Remote Memory Scheduling and explored the area of Speculative Decoding for Accelerated Autoregressive Inference with Yggdrasil: Bridging Dynamic Speculation and Static Runtime for Latency-Optimal Tree-Based LLM Decoding. Yggdrasil introduced an equal-growth tree structure and latency-aware optimization to align dynamic speculation with static runtime assumptions, intersecting with the broader field of Hardware-Aware Neural Architecture Search.
A major theme in this period became the optimization of tree-structured and multi-agent LLM inference. To address challenges in the research direction of Overcoming the Interconnect Bottleneck in Memory Offloading, Pan developed KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflows. KVFlow introduced a workflow-aware cache management framework that uses an Agent Step Graph to predict future key-value (KV) tensor usage, replacing standard LRU eviction policies. This was complemented by FastTree: Optimizing Attention Kernel and Runtime for Tree-Structured LLM Inference, which designed specialized GPU kernels and a tree structure-adaptive runtime to efficiently process queries sharing contexts through a radix tree. Concurrently, Pan contributed to training optimizations in the area of Balancing the Non Uniform Workload of Causal Attention through WLB-LLM: Workload-Balanced 4D Parallelism for Large Language Model Training.
In 2026, the focus expanded to hybrid models, large-scale simulations, and sparse attention. HiState: Hierarchical Prefix Cache Management for Hybrid LLM Serving in Agentic Workloads addressed the complexities of prefix caching when combining full-attention and recurrent linear layers. To accelerate agent self-evolution, FlashEvolve: Accelerating Agent Self-Evolution with Asynchronous Stage Orchestration replaced synchronized execution with asynchronous workers, managing language-space data staleness. The scaling of multi-agent environments was further explored in ScaleSim: Serving Large-Scale Multi-Agent Simulation with Invocation Distance-Based Memory Management, which utilized an invocation distance abstraction to manage GPU memory pressure.
Further work in 2026 tackled attention sparsity and evaluation methodologies. LeanSparse: Memory-Efficient Serving for Native Sparse-Attention LLMs reduced both persistent and temporary memory demands during decode and prefill phases. In the domain of video generation, AsymHP: Load-Balanced Sparse Attention for Video Diffusion Transformers introduced a runtime system to dynamically balance the varying per-head sparse density across GPUs. Finally, recognizing the difficulty of evaluating non-deterministic agentic workloads, Pan proposed AgentReplay: Token-Wise Trace Replay Is Essential for Fair Serving System Performance Benchmarking, a framework that forces recorded output tokens during autoregressive computation to isolate system performance from workload variation.
Current Directions
Recent work investigates the systems challenges of serving complex, multi-turn LLM applications, particularly agentic workflows and large-scale simulations. A primary focus is on memory management and scheduling, developing techniques like hierarchical prefix caching and invocation distance-based eviction to handle the massive, fragmented state maintained by concurrent agents. Additionally, current research addresses the efficient execution of sparse attention mechanisms in both language models and video diffusion transformers, seeking to balance dynamic workloads across hardware accelerators while minimizing memory overhead. Finally, there is an ongoing effort to establish rigorous, token-wise replay methodologies to ensure fair and reproducible benchmarking for LLM serving systems.
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