Zachary Garrett
· 5 previous affiliations
- Google (United States)Since 2010
- Senior Staff Software Engineer · Since 2022
- Researcher · Since 2010
- Staff Software Engineer · 2018–2023
- Senior Software Engineer · 2014–2018
- Opera Software (Norway)2009–2010
- Embedded Software Developer · 2009–2010
- Keio University2007–2009
- Master of Science - MS, Computer Science · 2007–2009
- Weber State University2002–2006
- Undergrad student · 2002–2006
- Washington State University2002–2006
- Bachelor of Science - BS, Computer Science · 2002–2006
Research Overview
Zachary Garrett focuses on federated learning, distributed optimization, and scalable machine learning infrastructure. His trajectory spans foundational algorithms for personalized and adaptive federated optimization to the development of differentiable programming primitives for group-structured data. Most recently, his work addresses communication-efficient distributed training for large language models across low-bandwidth networks.
Research Trajectory
Garrett’s early research concentrated heavily on the algorithmic foundations and optimization challenges of federated learning (FL). In 2021 , he participated in a comprehensive survey of the rapidly evolving field, Advances and Open Problems in Federated Learning, which outlined the interdisciplinary complexities and open challenges of decentralized data collaboration. Concurrently, he collaborated on Adaptive Federated Optimization, proposing federated versions of adaptive optimizers such as Adagrad, Adam, and Yogi. This work analyzed their convergence in the presence of heterogeneous data for general non-convex settings, contributing significantly to the research direction of Minimizing Local Update Divergence in Federated Learning and the broader area of Adaptive Stepsizes for Heterogeneous Federated Learning.
During this period, Garrett also explored the dynamics of client sampling and scaling in federated environments. He co-authored On Large-Cohort Training for Federated Learning, which investigated how the number of clients sampled at each round impacts model quality and training dynamics. By drawing parallels between federated cohort sizes and centralized batch sizes, this research advanced the areas of Magnitude Preserving Aggregation in Federated Learning and Closing the Generalization Gap in Federated Learning. Addressing the challenges of personalization and client constraints, he contributed to Federated Reconstruction: Partially Local Federated Learning. This paper introduced a model-agnostic framework for partially local federated learning that avoids communicating all model parameters, making it highly suitable for large-scale cross-device settings and advancing work in the area of Stateless Federated Learning for Cross-Device Environments.
In 2022, Garrett’s focus expanded to include the rigorous evaluation of federated learning methodologies. He participated in Does Federated Dropout actually work?, a critical examination of techniques designed to train large-scale models under network bandwidth and on-device memory constraints. The paper demonstrated that the metrics traditionally used to measure the performance of federated dropout variants were often misleading, and it proposed new, more robust experimental setups for evaluating these algorithms.
By 2023, his trajectory shifted toward building robust, scalable infrastructure and systems for federated learning. He guided the development of a novel framework in Federated Automatic Differentiation, which enabled the computation of derivatives across communication boundaries—involving both client and server computation—while remaining compatible with existing federated technology. He also oversaw the creation of large-scale simulation tools, introducing the Dataset Grouper library in Towards Federated Foundation Models: Scalable Dataset Pipelines for Group-Structured Learning. This library facilitated the creation of group-structured versions of existing datasets, enabling federated learning simulation at the scale of foundation models even when a single group's dataset exceeds memory limits.
In 2024, Garrett continued to bridge the gap between distributed algorithms and high-performance infrastructure, particularly through the JAX ecosystem. He co-developed libraries that embed MapReduce operations directly as native JAX primitives, detailed in FAX: Scalable and Differentiable Federated Primitives in JAX and DrJAX: Scalable and Differentiable MapReduce Primitives in JAX. These frameworks enable seamless automatic differentiation, XLA compilation, and efficient hardware sharding for algorithms that parallelize over structured data partitions, achieving near-constant weak scaling on large language models. Alongside this infrastructure work, he contributed to Leveraging Function Space Aggregation for Federated Learning at Scale, which further addressed the challenges of aggregating updates in highly heterogeneous federated environments.
Most recently, in 2025, Garrett’s research has addressed the extreme communication bottlenecks of distributed language model training. He participated in establishing scaling laws for the DiLoCo framework in Communication-Efficient Language Model Training Scales Reliably and Robustly: Scaling Laws for DiLoCo, exploring how to train massive models across disparate datacenters connected only by standard internet infrastructure. Building on this, he contributed to Streaming DiLoCo with overlapping communication, a novel approach that significantly reduces bandwidth requirements by synchronizing subsets of parameters, quantizing gradients, and overlapping computation with communication.
Current Directions
Recent work investigates the highly distributed training of massive language models, specifically focusing on environments with severely constrained network bandwidth. The most recent papers in the evidence address the challenge of training foundation models across disparate compute clusters—or "islands"—connected only by standard internet infrastructure, rather than the tightly coupled supercomputer setups traditionally required. This research involves establishing empirical scaling laws for communication-efficient training frameworks and developing streaming approaches that drastically reduce bandwidth requirements. By synchronizing only subsets of model parameters, quantizing gradients, and systematically overlapping computation with communication, this work aims to make the training of large-scale models more robust, scalable, and accessible across decentralized hardware architectures.
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