Ruqi Bai
· 3 previous affiliations
- Apple (United States)Since 2025
- Researcher · Since 2025
- Current
- Purdue University West Lafayette2019–2025
- Research Assistant · 2019–2025
- Baidu (China)2016–2019
- Senior Software Engineer · 2016–2019
Research Overview
Ruqi Bai focuses on robust machine learning, federated domain generalization, and algorithmic fairness. His work addresses the challenges of deploying models in decentralized and out-of-distribution environments, emphasizing resilience to adversarial perturbations and distribution shifts. Recently, his research investigates practical methods for achieving counterfactual fairness and improving generalization in large-scale federated systems.
Research Trajectory
Early work during his doctoral studies at Purdue University explored the robustness of machine learning models against worst-case perturbations. In 2022, he introduced Resilience to Multiple Attacks via Adversarially Trained MIMO Ensembles, demonstrating that ensemble methods can effectively defend against multiple adversarial attacks provided the sub-models are adversarially diverse. This research showed that ensembles succeed when individual models are robust but do not easily transfer vulnerabilities among themselves.
Following this foundational work on robustness, his research expanded to address distribution shifts in decentralized environments, specifically contributing to the area of Federated Learning for Domain Generalization and Adaptation. In Benchmarking Algorithms for Federated Domain Generalization (2024), he developed a comprehensive benchmark to evaluate how models generalize to unseen domains when trained on heterogeneous, decentralized data. This study revealed that many specialized algorithms struggle to outperform simple baselines when scaled to complex datasets, providing critical insights into the broader field of The Resilience of Empirical Risk Minimization in Domain Generalization.
Concurrently, he investigated how generative models can handle domain shifts through causal frameworks. With collaborators, he developed Towards Characterizing Domain Counterfactuals for Invertible Latent Causal Models, which established that generating realistic "what-if" images across different environments does not require fully reconstructing a hidden causal model. By assuming only a few latent factors change between domains, this approach aligns with work in The Sparse Mechanism Shift Hypothesis for Robust Adaptation to produce counterfactuals that preserve core identity while correctly altering domain-specific features.
This interest in counterfactual reasoning naturally extended into algorithmic fairness. In 2024, he participated in multiple projects addressing the practical challenges of deploying fair models. Improving Practical Counterfactual Fairness with Limited Causal Knowledge tackled the difficulty of achieving counterfactual fairness when access to true causal models or paired counterfactual data is restricted. Building on this, he contributed to Counterfactual Fairness by Combining Factual and Counterfactual Predictions, which provided a rigorous theoretical foundation for the trade-off between fairness and accuracy. This research demonstrated that an optimal fair predictor can be constructed by averaging predictions for an individual's actual and hypothetical states, advancing the research direction of Causal Fairness in the Absence of Structural Models. This work also intersects with the area of Post-hoc Fairness Interventions for Pre-trained Models and efforts toward The Computational Scaling of Algorithmic Fairness Constraints.
In 2025, having transitioned to a role as a Machine Learning Engineer at Apple, his academic publications continued to advance federated domain generalization. In FedLOE: Federated Domain Generalization via Locally Overfit Ensemble, he revisited the classic mixture-of-experts paradigm for federated learning. By treating each client as an expert on its own local distribution, this method addresses the brittleness of existing federated methods in large-client, domain-separated regimes, ultimately improving out-of-distribution generalization.
Current Directions
The most recent papers in the evidence address the intersection of decentralized training, out-of-distribution generalization, and algorithmic fairness. A primary focus is federated domain generalization, where recent work investigates mixture-of-experts architectures to improve model robustness across heterogeneous client distributions without relying on centralized data. Alongside this, ongoing research explores practical implementations of counterfactual fairness. By developing methods that operate with limited causal knowledge or utilize post-hoc interventions, this work seeks to balance strict fairness constraints with overall model accuracy in complex, real-world deployments.
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