Swaroop Ramaswamy

Google (United States)
1 previous affiliation
10Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Swaroop Ramaswamy focuses on the intersection of federated learning (FL), differential privacy (DP), and the security of distributed machine learning systems. His work addresses the practical challenges of deploying privacy-preserving models in production environments, specifically focusing on next-word prediction and automatic speech recognition. By investigating the mechanisms of unintended memorization and gradient-based leakage, Ramaswamy contributes to the development of robust frameworks that balance model utility with rigorous user-level privacy guarantees.

Research Trajectory

Ramaswamy’s research trajectory is characterized by a transition from the practical implementation of privacy-preserving language models to a deeper investigation into the fundamental vulnerabilities and optimization strategies of distributed learning. In 2020, his work was primarily concerned with the feasibility of training production-scale models using federated learning. This period focused on bridging the gap between theoretical differential privacy and the constraints of real-world mobile environments, where data is heterogeneous and device availability is intermittent. A key contribution during this phase was the deployment of consumer-scale next-word prediction models that utilized Differentially Private Federated Averaging (DP-FedAvg) to ensure that sensitive user data remained on-device and was not memorized by the global model.

By 2021, Ramaswamy’s focus expanded to include the methodological refinements of differential privacy and the empirical study of privacy risks. He addressed the limitations of standard DP-FedAvg, specifically the difficulty of setting static clipping norms across diverse tasks. This led to the development of adaptive clipping techniques that adjust to the distribution of model updates during training. Concurrently, he began exploring the security of distributed training, participating in research that demonstrated how sensitive information—such as class labels or speaker identities—could be reconstructed from gradients transmitted during the federated optimization process.

In 2022, his work moved toward optimizing the privacy-utility trade-off through the use of auxiliary data. This research explored how public, non-sensitive datasets could be leveraged via mirror descent algorithms to improve the performance of private models without compromising the privacy of the sensitive training set. Throughout this evolution, Ramaswamy has maintained a focus on the technical nuances of gradient-based optimization and the specific privacy requirements of sequence models, including language and speech processing.

Representative Work

Ramaswamy has made significant contributions to the field of privacy-preserving machine learning, particularly in the context of large-scale federated systems. The following papers represent his primary research contributions and collaborative efforts.

In Training Production Language Models without Memorizing User Data, Ramaswamy (as first author) details the implementation of a next-word prediction (NWP) model trained with federated learning and user-level differential privacy. This work is significant for its application in a real-world production environment involving a heterogeneous fleet of mobile devices. The paper demonstrates that it is possible to achieve production-quality utility while adhering to the DP-FedAvg framework, which prevents the model from memorizing rare or unique user sequences. This research provided a practical roadmap for scaling DP-FL beyond academic simulations.

The problem of data leakage is further explored in Understanding Unintended Memorization in Federated Learning, where Ramaswamy served as the second author. This study initiates a formal investigation into how generative sequence models memorize sensitive training data within the FL framework. The research distinguishes between the centralized learning setting and the decentralized FL setting, analyzing how various components of the FL pipeline—such as local update steps and client sampling—influence the risk of memorization. This work is foundational for identifying the specific conditions under which federated models might inadvertently expose private information.

As the senior author on Differentially Private Learning with Adaptive Clipping, Ramaswamy addressed a critical bottleneck in DP-FL: the selection of the clipping norm. In standard DP-FedAvg, model updates are clipped to a fixed value to bound the sensitivity of the aggregate update. However, choosing this value a priori is difficult because the optimal norm depends on the model architecture, the learning rate, and the data distribution. Ramaswamy and his collaborators proposed a method to clip updates to a specified quantile of the update norm distribution, allowing the clipping threshold to adapt dynamically during training. This approach simplifies the hyperparameter tuning process and improves the stability of private training across different tasks.

Ramaswamy also participated in research identifying vulnerabilities in distributed training protocols. In Revealing and Protecting Labels in Distributed Training, the authors demonstrate that the gradients of the last layer of a model can reveal the set of labels present in a user's local training batch. This work highlights a significant privacy risk in federated learning, where the mere presence of certain labels (e.g., in a medical or sensitive text context) could be considered a breach. The paper proposes methods to both discover these labels and mitigate the leakage, emphasizing the need for defense mechanisms beyond simple gradient obfuscation.

This interest in gradient-based vulnerabilities extended to speech processing in A Method to Reveal Speaker Identity in Distributed ASR Training, and How to Counter IT. Ramaswamy contributed to the design of "Hessian-Free Gradients Matching," a technique that reconstructs the identity of a speaker from the gradients of an end-to-end Automatic Speech Recognition (ASR) model. Unlike previous reconstruction methods that required computationally expensive second derivatives, this approach operates more efficiently, making the threat more viable in practical settings. The work serves as a cautionary analysis of the privacy risks inherent in distributed ASR and proposes countermeasures to protect speaker identity.

Finally, in Public Data-Assisted Mirror Descent for Private Model Training, Ramaswamy participated in a study on improving the privacy-utility trade-off using auxiliary public data. The research utilizes a variant of mirror descent where the loss generated by public data serves as the mirror map, while the gradients are derived from the private, sensitive data. For convex losses, the authors show that this method can provide population risk guarantees that are independent of the model's dimension. This work represents a shift toward more sophisticated optimization strategies that leverage available non-private information to bolster the performance of differentially private systems.

Profile updated

See something wrong? Report a mistake