Xinran Gu

Xinran Gu

Tsinghua University
1 previous affiliation
9Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Xinran Gu focuses on distributed optimization, federated learning, and the training dynamics of large language models. Early work addressed communication efficiency and device unavailability in decentralized training environments. More recently, the focus has shifted toward understanding data mixing strategies and the fragility of safety alignment during the fine-tuning of foundation models.

Research Trajectory

The trajectory begins with contributions to distributed machine learning, particularly addressing the practical challenges of coordinating heterogeneous devices. In Fast Federated Learning in the Presence of Arbitrary Device Unavailability (2021), Gu introduced the Memory-augmented Impatient Federated Averaging (MIFA) algorithm. This work tackled the problem of straggling or inactive devices that severely degrade the convergence of standard algorithms like FedAvg. By efficiently correcting gradient updates without waiting for unresponsive clients, MIFA avoids the excessive latency typically induced by inactive nodes. This research advanced the broader area of Mitigating Participation Bias in Federated Learning and contributed to the research direction of Scaling Federated Learning with Linear Speedup, as well as the area of Scaling Federated Learning by Eliminating Per-Client Server State.

Building on these distributed training foundations, subsequent research investigated the theoretical properties and communication efficiency of Local Stochastic Gradient Descent (SGD). In Why (and When) does Local SGD Generalize Better than SGD? (2023), Gu utilized Stochastic Differential Equation (SDE) approximations to explain the empirical observation that periodic model averaging across independent GPUs can yield higher test accuracy than standard SGD baselines. This theoretical understanding was then applied to optimize communication overhead in A Quadratic Synchronization Rule for Distributed Deep Learning (2023). This work proposed a principled method for determining the optimal number of local computational steps before synchronization, balancing generalization performance with communication costs. By treating the synchronization interval not merely as a hyperparameter but as a theoretically grounded variable, this work advanced the research direction of Adaptive Communication Scheduling for Distributed Optimization.

As large language models (LLMs) became central to the field, the research focus expanded to address the vulnerabilities introduced during model adaptation. Gu collaborated on Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templates (2024), which demonstrated how benign fine-tuning on harmless datasets can inadvertently degrade a model's safety guardrails. This study highlighted the risks of specialized adaptation, contributing to the research area of The Fragility of Safety Alignment During Fine-Tuning and informing broader efforts in the direction of Mitigating the Safety Alignment Tax in Large Models.

Most recently, the trajectory has centered on the fundamental dynamics of data curation and mixing in LLM training. In Data Mixing Can Induce Phase Transitions in Knowledge Acquisition (2025), Gu identified that training models on mixtures of web data and high-quality, knowledge-dense data exhibits sharp phase transitions rather than smooth scaling laws. The research showed that models require a critical threshold of high-quality data and sufficient parameter capacity to successfully memorize and utilize the information, otherwise learning almost nothing from the dense subset. This investigation into data composition continued with Capacity-Aware Mixture Law Enables Efficient LLM Data Optimization (2026), which developed predictive frameworks for determining optimal data ratios—such as code, mathematics, and general knowledge. By accounting for model capacity, this approach allows researchers to optimize data mixtures efficiently without relying on computationally expensive trial-and-error processes on massive models.

Current Directions

The most recent papers in the evidence address the optimization of training data for large language models. Current work investigates the theoretical and empirical laws governing data mixtures, seeking to predict how different ratios of domain-specific data impact model capabilities. By modeling the phase transitions and capacity constraints inherent in knowledge acquisition, this research aims to replace heuristic, trial-and-error data curation with principled, efficient frameworks for training foundation models.

Profile updated

See something wrong? Report a mistake