Byzantine-resilient federated online learning for Gaussian process regression

Xu Zhang, Zhenyuan Yuan, Minghui Zhu

This paper presents a robust framework for Byzantine-resilient federated online learning specifically tailored for Gaussian Process Regression (GPR). It introduces a multi-stage algorithm that allows a network of agents to collaboratively learn a latent function from streaming data, even when a significant portion of those agents (up to 25%) are malicious or faulty.

TL;DR

The authors develop a federated GPR framework that uses a "trimmed" Product of Experts (PoE) aggregation rule to ignore adversarial updates from "Byzantine" agents. By fusing local nearest-neighbor models with this robust global model, the system achieves high accuracy and theoretical stability in real-time, streaming data environments.

What Problem Does This Paper Address?

Federated Learning (FL) is a popular paradigm where agents train models locally and only share parameters with a central cloud, preserving data privacy and reducing communication costs. However, FL is highly vulnerable to Byzantine attacks, where compromised agents send arbitrary or malicious updates to the cloud to sabotage the global model.

While Byzantine resilience has been studied extensively for Deep Neural Networks (DNNs) using gradient-based methods, applying it to Gaussian Process Regression (GPR)—a powerful non-parametric tool for uncertainty-aware regression—is challenging. GPR typically suffers from high computational complexity ($O(t^3)$) and lacks a standard framework for robust aggregation in a streaming, online setting. This paper fills that gap by providing a computationally efficient and secure federated GPR algorithm.

Methods

The proposed algorithm consists of three distinct modules:

  1. Agent-based Local GPR: To handle streaming data efficiently, agents use Nearest-Neighbor GPR (NNGPR). Instead of processing the entire history, they only use the data point closest to the current test input. This reduces the computational complexity of prediction to $O(t)$.
  2. Cloud-based Aggregated GPR: This is the core defensive layer. The cloud receives local predictions (means and variances) from all agents. To defend against attackers, the cloud trims the largest and smallest $\beta$ fraction of these predictions. It then applies a Byzantine-resilient Product of Experts (PoE) rule to fuse the remaining "clean" predictions into a global model.
  3. Agent-based Fused GPR: Finally, agents receive the global model and "fuse" it with their local model. They essentially choose the better prediction based on predictive variance, allowing them to benefit from the cloud's collective knowledge while maintaining a "safety net" of their own local data.

The authors prove that as long as the fraction of Byzantine agents ($\alpha$) is less than $1/4$, the global prediction error remains bounded.

Datasets

The authors evaluated their approach using three primary benchmarks:

  • Synthetic Toy Example: A complex 1D oscillating function used to test consistency and resilience against various attack types (Gaussian, ALTE, mimic, and bit-flipped attacks).
  • SARCOS Dataset: A real-world dataset involving a 7-degree-of-freedom anthropomorphic robot arm. The task is to map 21-dimensional inputs (joint positions, velocities, accelerations) to a 1-dimensional torque output.
  • Kin40k Dataset: A large-scale dataset generated from a robot arm simulator, used to evaluate performance on medium-scale regression tasks.

Key Insights and Ideas

  • Trimming the "Experts": The "aha moment" here is applying trimming—a technique usually used for gradients—directly to the outputs of the "experts" (the agents). By discarding the outliers in the predictive mean and variance, the cloud can form a consensus that is mathematically guaranteed to be influenced by benign agents.
  • The 25% Threshold: The paper establishes a clear theoretical limit: the system can tolerate up to 25% Byzantine agents ($\alpha < 1/4$). This is because the trimming process must ensure that at least one benign agent remains in the set used for the final Product of Experts calculation.
  • Local-Global Fusion: The "Fused GPR" step is crucial. It ensures that if the cloud model is somehow degraded (but still within bounds), an agent with very good local data for a specific region of the input space won't be "pulled away" from the truth by the global average.

Key Results

  • Attack Resilience: In the toy example, a standard (non-resilient) PoE model's Mean Squared Error (MSE) skyrocketed to over 26,000 under attack. The proposed Byzantine-resilient version maintained an MSE of approximately 0.02, comparable to the attack-free scenario.
  • Superiority of Fusion: On the SARCOS dataset, the "Fused GPR" consistently achieved lower MSE (e.g., 0.5613) compared to both the purely local GPR (0.7500) and the cloud-only model (0.6071).
  • Consistency: The experiments demonstrated that the algorithm is "consistent," meaning the prediction error continues to decrease as more data points are collected, even in the presence of active adversaries.

Limitations and Future Work

  • Dimensionality: While the authors state the extension to multi-dimensional GPR is straightforward, the core theoretical proofs are focused on single-dimensional outputs.
  • Communication Costs: Although more efficient than sending raw data, the agents still need to communicate predictions for every test point, which could be a bottleneck in extremely high-frequency real-time systems.
  • Hyperparameter Robustness: The paper assumes hyperparameters are tuned, but the robustness of the tuning process itself (e.g., Maximum Likelihood Estimation) under Byzantine attack is an area that could be explored further.

Summary updated

BibTeX
@article{zhang2026byzantine,
  author = {Xu Zhang and Zhenyuan Yuan and Minghui Zhu},
  title = {{Byzantine-resilient federated online learning for Gaussian process regression}},
  journal = {Automatica},
  year = {2026},
  doi = {10.1016/j.automatica.2025.112554},
}
Figure