NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Jiarui Fang

Jiarui Fang

Tencent (China) · ByteDance (China)
3 previous affiliations
24Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Jiarui Fang focuses on artificial intelligence infrastructure, large-scale model training, and high-performance inference systems. His trajectory spans from early deep learning optimizations on supercomputers to developing memory-efficient frameworks for massive language models. Currently, his work addresses the computational bottlenecks of diffusion transformers through advanced parallelism and redundancy reduction techniques.

Research Trajectory

Jiarui Fang's research trajectory is defined by a sustained focus on the intersection of high-performance computing and deep learning, specifically addressing the systems-level bottlenecks that emerge as neural networks scale. His early work concentrated on optimizing computational primitives for emerging hardware architectures. In 2017, as the first author of swDNN: A Library for Accelerating Deep Learning Applications on Sunway TaihuLight, he developed a highly efficient library tailored for the SW26010 processor. This work involved systematic optimizations, including convolution loop organization and register data communication schemes, to map convolutional neural networks onto the 260 cores of the supercomputer chip. During this period, he also contributed as a senior author to parallelizing support vector machines for remote sensing applications on multicore and many-core architectures.

As the deep learning field transitioned toward massive pre-trained models, Fang's focus shifted to the systems challenges of training models whose parameters and optimizer states exceed the physical memory of single accelerators. He became actively involved in the research direction of Overcoming the Memory Wall in Large Model Training. A key contribution in this domain was his first-authored 2022 paper, A Frequency-aware Software Cache for Large Recommendation System Embeddings. Recognizing that recommendation models are often too large for GPU memory, he designed a GPU-based software cache that leveraged data access frequency patterns, allowing the system to keep only a small fraction of the model on the GPU while maintaining high training speeds and synchronous update accuracy.

This interest in memory optimization naturally extended to large language models. Fang contributed to the broader area of Activation-Aware Memory Optimization for Large Model Training, addressing the massive memory footprint of intermediate activations during the forward pass. As a second author on Elixir: Train a Large Language Model on a Small GPU Cluster (2022), he helped design a system that automated large language model training on constrained hardware. Elixir utilized a pre-runtime profiler and a novel memory management layer to balance memory partitioning and offloading, achieving significant speedups over existing solutions.

In 2023, Fang's work on memory management culminated in the development of the PatrickStar system, published as Parallel Training of Pre-Trained Models via Chunk-Based Dynamic Memory Management. As the first author, he proposed organizing model data into memory chunks and dynamically distributing them across CPU-GPU heterogeneous memory spaces. Guided by runtime memory statistics collected during a warm-up iteration, this approach efficiently orchestrated data to lower the hardware requirements for training pre-trained models. This work aligned with themes such as Hiding Data Transfer Latency via Asynchronous Prefetching and formed a core component of the open-source ColossalAI framework, which Fang led during his tenure as CTO at HPCAI-Tech. He also participated as a co-author in optimizing AlphaFold training and developing inference systems for 100-billion parameter models, further demonstrating his engagement with large-scale AI infrastructure.

Most recently, Fang has directed his attention toward the computational inefficiencies of generative models, particularly Diffusion Transformers (DiTs). Serving as a software engineer at ByteDance leading teams focused on large language model and DiT infrastructure, his research has investigated the iterative nature of diffusion models. He contributed to the research area of Exploiting Temporal Redundancy in Iterative Generative Models. In 2024, as a second author on Unveiling Redundancy in Diffusion Transformers (DiTs): A Systematic Study, he helped map redundancy patterns across various major models, demonstrating that caching strategies must be tailored to specific architectures rather than applied uniformly.

Building on this understanding of DiT bottlenecks, Fang led the development of PipeFusion: Patch-level Pipeline Parallelism for Diffusion Transformers Inference in 2025. As the first author, he introduced a parallelism strategy that combines patch-level pipelining with the reuse of stale activations from previous diffusion steps. This method drastically reduces inter-GPU communication and memory overhead, enabling highly efficient inference for massive diffusion models.

Current Directions

The most recent papers in the evidence indicate that Fang’s current research focuses heavily on optimizing the inference stage for massive generative models, particularly Diffusion Transformers and long-sequence architectures. A primary open problem he is addressing is the high computational cost and latency associated with the iterative generation process of diffusion models. Recent work investigates how to mitigate these costs through advanced parallelism strategies, such as patch-level pipelining, which minimizes inter-GPU communication by reusing activations across diffusion steps.

Additionally, Fang is actively exploring methods to reduce computational redundancy in both spatial and temporal dimensions. This includes mapping architecture-specific redundancy patterns in DiTs to inform targeted caching strategies. His recent co-authored work also engages with the memory wall in long-sequence inference, utilizing automated compiler systems to chunk intermediate computations. These efforts intersect with broader themes such as Token Reduction for Efficient Vision Transformers, reflecting a sustained commitment to making high-fidelity generation and large-scale inference computationally tractable on modern hardware clusters.

Profile updated

See something wrong? Report a mistake