NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Resource-aware Distributed Gaussian Process Regression for Real-time Machine Learning

Zhenyuan Yuan, Minghui ZhuarXiv 2021

Abstract

In this paper, we study the problem where a group of agents aim to collaboratively learn a common static latent function through streaming data. We propose a lightweight distributed Gaussian process regression (GPR) algorithm that is cognizant of agents' limited capabilities in communication, computation and memory. Each agent independently runs agent-based GPR using local streaming data to predict test points of interest; then the agents collaboratively execute distributed GPR to obtain global predictions over a common sparse set of test points; finally, each agent fuses results from distributed GPR with agent-based GPR to refine its predictions. By quantifying the transient and steady-state performances in predictive variance and error, we show that limited inter-agent communication improves learning performances in the sense of Pareto. Monte Carlo simulation is conducted to evaluate the developed algorithm.

Introduction: The Scaling Challenge in GPR

Gaussian Process Regression (GPR) is widely regarded as a gold standard for machine learning due to its ability to provide both point predictions and rigorous measures of uncertainty (variance). However, standard GPR suffers from a significant computational bottleneck: its complexity grows cubically ($O(n_s^3)$) with the number of data points. For decentralized robot swarms—such as autonomous drones or underwater sensor networks—this complexity, combined with limited memory and unreliable communication, makes real-time deployment of standard GPR unfeasible.

This paper introduces LiDGPR (Lightweight Distributed Gaussian Process Regression), a decentralized, online learning algorithm designed for resource-constrained agents. LiDGPR enables a network of agents to collaboratively learn a shared function from streaming data without the computational overhead of centralized or full-history GPR.

The LiDGPR Framework

The LiDGPR algorithm operates in three distinct stages, designed to balance local efficiency with global accuracy:

  1. Agent-based GPR (Local): Each agent performs a "nearest-neighbor" GPR. To maintain a lightweight profile, it utilizes only the data point closest to the current test point, reducing local complexity from $O(t^3)$ to $O(t)$.
  2. Distributed GPR (Global): Agents maintain a common, sparse set of "aggregation points" ($Z_{agg}$). They utilize a First-Order Dynamic Average Consensus (FODAC) filter to share local predictions over these points with their neighbors, allowing global information to propagate through the network over time.
  3. Fused GPR: In the final stage, each agent fuses its local, high-resolution prediction with the "global wisdom" derived from the distributed consensus process.
Architecture of the LiDGPR algorithm within a single agent, illustrating the flow from local streaming data to fused global predictions.

Fusing Local and Global Intelligence

The fusion process is the core innovation of LiDGPR. It allows agents to refine their local estimates using the collective knowledge of the swarm. This is particularly beneficial for agents with high observation noise, as they can leverage cleaner data from their peers. The algorithm ensures that the swarm acts as a single, distributed sensor that is more accurate than any individual unit.

The Fused GPR (fGPR) procedure, which integrates local agent-based predictions with global consensus data to refine predictive mean and variance.

Theoretical Insights and Simulation Results

The paper provides a rigorous proof (Theorem IV.3) that the predictive variance of LiDGPR is strictly lower than that of independent agent-based GPR, provided the network remains periodically strongly connected. This leads to a Pareto improvement: agents with high-noise sensors see significant performance gains, while those with high-quality data do not suffer degradation from their noisier neighbors.

Monte Carlo Evaluation

The algorithm was evaluated using a simulation of four mobile robots following spiral trajectories in a 2D space to learn a complex spatial signal (a latent function of 10 sine waves). Key results include:

  • Scaling: Wall-clock time for LiDGPR scales linearly with the number of test points, enabling real-time performance (up to 1 kHz in simulations).
  • Accuracy: LiDGPR achieved predictive errors and variances nearly as low as centralized "Full GPR" but at a fraction of the computational cost.
  • Spatial Decay: The benefit of fusion is strongest near the common aggregation points ($Z_{agg}$) and decays as agents move further away, suggesting that aggregation points should be strategically placed in areas requiring high accuracy.

Conclusion

LiDGPR offers a robust, scalable solution for decentralized online learning in robot swarms. By combining local nearest-neighbor GPR with a sparse global consensus mechanism, it achieves significant accuracy gains and uncertainty reduction within the constraints of real-time hardware. Future work will explore adapting the framework for dynamic (non-static) functions and active learning strategies for aggregation point selection.

Summary updated

BibTeX
@misc{yuan2021resource,
  author = {Zhenyuan Yuan and Minghui Zhu},
  title = {{Resource-aware Distributed Gaussian Process Regression for Real-time Machine Learning}},
  year = {2021},
  eprint = {2105.04738},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.04738},
}
Figure