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

Xunyi Zhao

Datadog · Institut national de recherche en sciences et technologies du numérique
6 previous affiliations
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Xunyi Zhao focuses on the optimization of large-scale computational systems, with a primary emphasis on memory management for deep neural networks (DNNs) and the control of spreading processes in temporal networks. Zhao’s work addresses the "memory wall" in modern machine learning, developing automated tools for re-materialization that allow massive models to be trained on hardware with limited capacity. By combining techniques from graph theory, dynamic programming, and systems optimization, Zhao’s research facilitates the training of complex architectures like Transformers and ResNets while minimizing computational overhead.

Research Trajectory

Zhao’s early research, beginning around 2020, was situated in the field of network science, specifically focusing on the dynamics of epidemic spreading within temporal networks. This work addressed the challenge of mitigating the spread of information or disease by strategically blocking contacts between nodes. In Suppressing Epidemic Spreading via Contact Blocking in Temporal Networks, Zhao investigated the Susceptible-Infected (SI) model, proposing a set of link centrality metrics derived from aggregated networks to identify which specific contacts should be removed to minimize prevalence over time. This research established a foundation in algorithmic optimization and the analysis of time-evolving systems.

By 2022, Zhao’s focus shifted toward the systemic challenges of training large-scale neural networks. As DNNs grew in complexity, the memory required for weights and intermediate activations began to exceed the capacity of single GPU devices. Zhao participated in several comprehensive surveys that categorized techniques for scaling training, such as rematerialization, offloading, and advanced parallelism (data, model, and pipeline parallelism). These surveys served as a transition point, moving from the theoretical control of network spreading to the practical engineering of efficient machine learning systems.

In 2023, Zhao led the development of Rockmate, a significant contribution to the field of automated re-materialization. Re-materialization (or checkpointing) involves discarding certain intermediate activations during the forward pass and recomputing them during the backward pass to save memory. While previous methods like Checkmate were often too slow for complex models, Zhao’s work on Rockmate: an Efficient, Fast, Automatic and Generic Tool for Re-materialization in PyTorch introduced a method to detect the structure of computational dependencies and rewrite models as sequences of complex blocks. This allowed for the application of fast dynamic programming to optimize memory usage with minimal computational cost.

The trajectory of this work continued into 2024 and 2025 with the development of hierarchical approaches to re-materialization. Recognizing that the sequential block structure of the original Rockmate had limitations for more irregular computation graphs, Zhao contributed to the development of H-Rockmate and HiRemate. These frameworks utilize recursive partitioning and Integer Linear Programming (ILP) to handle networks with thousands of nodes, significantly reducing memory footprints for the largest modern models.

Current Directions

Zhao’s recent work indicates an expansion into the evaluation and architectural primitives of autonomous agents and multimodal models. This shift addresses the increasing complexity of agents that must not only reason but also act within dynamic environments.

A key area of current focus is the Fine-Grained Diagnostic Evaluation of Autonomous Agents. Moving beyond binary success metrics, this research direction seeks to identify specific failure stages in agent workflows, such as tool selection or plan execution. This systematic approach to failure analysis mirrors Zhao’s earlier work in identifying critical links in temporal networks.

Additionally, Zhao is engaged with the development of Composable Primitives for Reinforcement Learning. This theme addresses the "monolith problem" in reinforcement learning by advocating for modular components—such as decoupled replay buffers and update loops—that can be scaled and swapped more easily. This focus on modularity and efficiency aligns with Zhao’s established expertise in optimizing large-scale computational graphs.

Furthermore, Zhao’s research has begun to explore the cognitive and operational gaps in Multimodal Large Language Models (MLLMs). This includes investigating the Hierarchical Decomposition of Spatial Reasoning in Multimodal Models to address failures in basic spatial logic, as well as Closing the Reasoning-Action Gap in Language Agents. The latter explores why models capable of sophisticated reasoning often fail to translate those thoughts into effective actions, a problem that requires a deep understanding of both model architecture and task decomposition.

Representative Work

Suppressing Epidemic Spreading via Contact Blocking in Temporal Networks In this first-author paper, Zhao addresses the problem of minimizing the average prevalence of an epidemic in a time-evolving human contact network. The methodology involves blocking a fraction of contacts based on link centrality metrics calculated from an aggregated version of the temporal network. The study demonstrates how specific link properties can be used to effectively suppress the SI spreading process, providing a systematic framework for contact-based intervention.

Mitigate SIR epidemic spreading via contact blocking in temporal networks As the second author, Zhao extended the contact-blocking methodology to the Susceptible-Infected-Recovered (SIR) model. This work defines the probability of contact removal as a function of 12 different link centrality metrics. By analyzing the number of contacts between node pairs over time, the research identifies strategies that mitigate spreading more effectively than traditional node-based blocking, particularly in networks where contact frequency varies significantly.

Rockmate: an Efficient, Fast, Automatic and Generic Tool for Re-materialization in PyTorch As the lead author of this project, Zhao developed Rockmate to solve the memory constraints inherent in training large PyTorch models. The tool automatically analyzes model code to detect computational dependencies and organizes them into a sequence of blocks. By adapting sequential dynamic programming, Rockmate finds an optimal re-materialization schedule that fits within a user-defined memory budget. The tool achieves substantial memory savings (up to 5x) with minimal execution overhead (10-20%), making it applicable to a wide range of architectures including Transformers and RegNets.

Optimizing Memory Usage when Training Deep Neural Networks This 2024 work provides a comprehensive analysis of memory management strategies for DNNs. Zhao explores the challenges posed by the increasing scale of datasets and model complexity, which often exceed the capacity of standard hardware. The research focuses on the development of algorithmic solutions to manage weights, activations, and intermediate tensors, ensuring that massive models remain trainable on devices with limited memory.

H-Rockmate: Hierarchical Approach for Efficient Re-materialization of Large Neural Networks In this second-author paper, Zhao contributes to the evolution of the Rockmate framework. H-Rockmate addresses the limitations of sequential re-materialization by introducing a hierarchical approach. This allows the framework to process more complex, non-sequential computation graphs by recursively decomposing them into sub-problems. This advancement ensures that re-materialization remains efficient even as model architectures become increasingly non-linear.

HiRemate: Hierarchical Approach for Efficient Re-materialization of Neural Networks Continuing the hierarchical trajectory, Zhao participated in the development of HiRemate. This framework utilizes a novel Integer Linear Programming (ILP) approach to solve the re-materialization problem within partitioned sub-blocks of a computation graph. HiRemate is designed to scale to networks with thousands of nodes, achieving 50-70% memory reduction. This work represents the current state-of-the-art in Zhao’s efforts to push the boundaries of model size and training efficiency.

Profile updated

See something wrong? Report a mistake