← Search

Xinran Gu

6 accepted papers

2025

Data Mixing Can Induce Phase Transitions in Knowledge Acquisition

NeurIPS 2025spotlight

Large Language Models (LLMs) are typically trained on data mixtures: most data come from web scrapes, while a small portion is curated from high-quality sources with dense domain-specific knowledge. In this paper, we show that when training LLMs on such data mixtures, knowledge acquisition from know…

Cited by 0SourceScholar
2024

A Quadratic Synchronization Rule for Distributed Deep Learning

ICLR 2024poster

In distributed deep learning with data parallelism, synchronizing gradients at each training step can cause a huge communication overhead, especially when many nodes work together to train large models. Local gradient methods, such as Local SGD, address this issue by allowing workers to compute lo…

2024

Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templates

NeurIPS 2024poster

Public LLMs such as the Llama 2-Chat underwent alignment training and were considered safe. Recently Qi et al. (2024) reported that even benign fine-tuning on seemingly safe datasets can give rise to unsafe behaviors in the models. The current paper is about methods and best practices to mitigate su…

2023

Why (and When) does Local SGD Generalize Better than SGD?

ICLR 2023poster

Local SGD is a communication-efficient variant of SGD for large-scale training, where multiple GPUs perform SGD independently and average the model parameters periodically. It has been recently observed that Local SGD can not only achieve the design goal of reducing the communication overhead but al…

2021

Fast Federated Learning in the Presence of Arbitrary Device Unavailability

NeurIPS 2021poster

Federated learning (FL) coordinates with numerous heterogeneous devices to collaboratively train a shared model while preserving user privacy. Despite its multiple advantages, FL faces new challenges. One challenge arises when devices drop out of the training process. In this case, the convergence o…

Cited by 114SourcePDFScholar