Hanfei Yu
· 6 previous affiliations
- Stevens Institute of TechnologySince 2024
- Research Assistant · Since 2024
- PhD student · 2024–2026
- Research Intern · 2024
- Louisiana State University2021–2024
- Research Assistant · 2021–2024
- University of Washington Tacoma2020–2021
- Research Assistant · 2020–2021
- University of Washington2019–2021
- MS student · 2019–2021
- Shanghai Jiao Tong University2015–2019
- Undergrad student · 2015–2019
Research Overview
Hanfei Yu focuses on the intersection of cloud computing systems and machine learning, with a particular emphasis on optimizing serverless computing (Function-as-a-Service) platforms and distributed training architectures. Yu’s work addresses systemic inefficiencies in resource allocation, cold-start latencies, and the computational overhead of large-scale model training and inference. By leveraging reinforcement learning and novel scheduling architectures, Yu develops systems that improve the utilization and performance of cloud-native environments.
Research Trajectory
The evolution of Yu’s research demonstrates a progression from optimizing the internal resource management of serverless platforms to utilizing those platforms for complex machine learning tasks, and most recently, addressing the systems challenges of Large Language Models (LLMs).
In the early stages of this trajectory (2021–2022), Yu’s work focused on the fundamental problem of resource misconfiguration in serverless environments. Because serverless functions are often stateless and short-lived, users frequently struggle to allocate the correct amount of CPU or memory, leading to either under-provisioning (which degrades performance) or over-provisioning (which wastes resources). Yu addressed this by developing mechanisms to "harvest" idle resources from over-provisioned functions to support those that are under-provisioned. This period also saw the introduction of reinforcement learning (RL) as a method for function scheduling, moving away from static, heuristic-based approaches toward dynamic, experience-driven policies.
By 2023 and 2024, Yu’s focus expanded in two directions. First, the research deepened its investigation into the "cold-start" problem—the latency incurred when initializing new containers for functions. Yu introduced layer-wise caching and sharing techniques to mitigate these delays. Second, Yu began exploring the use of serverless infrastructure as a substrate for distributed Deep Reinforcement Learning (DRL). This shift recognized that the elastic, pay-as-you-go nature of serverless computing is well-suited for the fluctuating resource demands of DRL training, provided that challenges related to synchronization and staleness are addressed.
Most recently, in 2025, Yu has transitioned toward optimizing systems for Large Language Models and Mixture-of-Experts (MoE) architectures. This work addresses the memory and latency bottlenecks inherent in serving massive models, specifically focusing on how to efficiently offload and reload model components (experts) between GPU and CPU memory. This latest phase integrates Yu’s previous expertise in fine-grained resource management with the specific requirements of modern generative AI.
Current Directions
Yu’s current research is centered on the systems-level challenges of deploying and training large-scale AI models in cloud environments. A primary focus is the optimization of Mixture-of-Experts (MoE) serving. As MoE models grow in size, they often exceed the memory capacity of individual GPUs. Yu is developing fine-grained offloading strategies that minimize the latency impact of moving "experts" across the memory hierarchy.
Additionally, Yu continues to investigate the efficiency of ML inference within serverless clusters. This includes exploring opportunistic pre-loading techniques to reduce the time-to-first-token in LLM applications and addressing the parameter redundancy found in Low-Rank Adaptation (LoRA) based inference. These efforts aim to make large-scale AI more accessible and cost-effective by reducing the hardware requirements and monetary costs associated with high-performance inference.
Representative Work
The following papers represent the core of Yu’s contributions to serverless resource management, distributed machine learning, and large model optimization.
In Harvesting Idle Resources in Serverless Computing via Reinforcement Learning, Yu introduced Freyr, a resource manager designed to address the gap between static resource configurations and dynamic function demands. Freyr monitors function execution in real-time and uses reinforcement learning to dynamically reallocate idle resources. This work established a foundation for Yu’s subsequent research into resource efficiency, demonstrating that fine-grained harvesting could significantly improve utilization without compromising function performance.
Yu further refined the scheduling aspect of serverless platforms in FaaSRank: Learning to Schedule Functions in Serverless Platforms. This paper proposed a Score-Rank-Select architecture that uses neural networks to learn optimal scheduling policies from server and function metadata. By moving beyond classic scheduling algorithms, FaaSRank proved capable of adapting to the rapid changes in resource utilization and the unique "freeze-thaw" life cycle of serverless functions.
Addressing the safety and timeliness of resource reallocation, Libra: Harvesting Idle Resources Safely and Timely in Serverless Clusters introduced a more robust framework for managing the trade-offs between resource efficiency and performance isolation. Libra focuses on ensuring that the harvesting process does not introduce interference that could violate function SLAs, particularly in the presence of varying input data sizes that cause unpredictable resource demands.
In RainbowCake: Mitigating Cold-starts in Serverless with Layer-wise Container Caching and Sharing, Yu tackled the persistent issue of cold-start latency. While traditional methods rely on full container caching, RainbowCake introduced a layer-wise approach that allows for more flexible sharing of container components. This method effectively balances the need for rapid container startup with the memory constraints of the underlying host, outperforming existing partial caching techniques.
Yu’s work on distributed training is exemplified by Stellaris: Staleness-Aware Distributed Reinforcement Learning with Serverless Computing. This paper presents a framework for asynchronous DRL training on serverless infrastructure. By introducing staleness-aware mechanisms, Stellaris mitigates the performance degradation typically associated with asynchronous updates in distributed environments. This work demonstrates how serverless computing can reduce training costs and improve efficiency compared to traditional server-based clusters.
Finally, fMoE: Fine-Grained Expert Offloading for Large Mixture-of-Experts Serving represents Yu’s recent focus on LLM efficiency. The paper addresses the memory inefficiency of MoE models, where only a small fraction of "experts" are active at any given time. Yu proposes a fine-grained offloading strategy that moves inactive experts to CPU memory, significantly reducing the GPU memory footprint while maintaining low inference latency. This work is critical for enabling the deployment of large-scale MoE models on commodity hardware.
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