TL;DR
This paper introduces a privacy-preserving collaborative Bayesian Optimization (BO) framework that allows multiple decentralized agents to optimize a shared black-box function without exchanging raw data. By leveraging Wasserstein barycenters, a central server aggregates non-parametric Gaussian Process (GP) surrogate models from individual agents into a unified global model while maintaining explicit uncertainty quantification. Combined with a novel collaborative acquisition function, the method achieves performance competitive with centralized data-sharing approaches while strictly respecting data privacy.
What Problem Does This Paper Address?
Bayesian Optimization (BO) is a powerful tool for optimizing expensive, black-box functions—such as tuning hyperparameters for machine learning models or optimizing control parameters in robotics. Typically, BO relies on a Gaussian Process (GP) as a "surrogate model" to approximate the objective function and guide exploration.
In many real-world scenarios (e.g., autonomous vehicle fleets or distributed power grids), multiple agents need to collaborate to optimize the same global function. While sharing raw data among agents would yield the best optimization performance, data privacy regulations and communication constraints often make direct data sharing impossible.
While Federated Learning (FL) successfully addresses privacy by aggregating model parameters across decentralized agents, standard FL algorithms (like FedAvg) are designed for parametric models like neural networks. GPs are non-parametric—their structure grows with the data—making them notoriously difficult to aggregate without exposing the underlying data points. This paper tackles the challenge of enabling data-private, multi-agent collaboration specifically within the non-parametric BO setting.
Methods
The authors propose a server-client framework that relies on two core innovations:
- Wasserstein Barycenters of GPs: Instead of sharing raw data, each agent shares its locally trained GP surrogate model with a central server. To aggregate these non-parametric models without accessing the underlying data, the server treats the GPs as probability measures. It computes a central GP model by finding the Wasserstein barycenter—a geometric average that minimizes the squared Wasserstein distance to all local models. This ensures the central model remains a valid GP, preserving crucial uncertainty quantification.
- Collaborative Knowledge Gradient (Co-KG): The server uses a novel collaborative acquisition function to select the next optimal sample points for all agents in parallel. The acquisition function takes the form: $$\alpha(\mathbf{x}) = \alpha^c(\mathbf{x}) + \beta_t \sum_{n=1}^N \alpha_n(x_n)$$ where $\alpha^c(\mathbf{x})$ is the parallel knowledge gradient based on the central model, and $\alpha_n(x_n)$ represents the local knowledge gradient for each agent.
A key mechanism is the time-varying hyperparameter $\beta_t$. The authors employ an increasing sequence for $\beta_t$ (e.g., $\beta_t = \log(2t+1)$). Early in the optimization process (low $\beta_t$), agents rely heavily on the central model to overcome local data scarcity. As iterations progress (high $\beta_t$), agents shift focus toward their local models, which minimizes the impact of any approximation biases introduced by the central server. The authors utilize a Monte Carlo method to accurately approximate and optimize this Co-KG function.
Datasets
The framework was evaluated using both synthetic benchmarks and real-world hyperparameter tuning tasks:
- Synthetic Functions: A custom quadratic-trigonometric function ($f_1$) and the standard Rosenbrock function ($f_2$).
- Real-World Datasets (Hyperparameter Tuning): The framework was used to optimize the learning rate and hidden layer size of a 3-layer neural network on:
- Breast Cancer Wisconsin Diagnostic Dataset: A classification task predicting cancer labels.
- California Housing Dataset: A regression task predicting median house values.
Key Insights and Ideas
- Geometric Aggregation over Parameter Averaging: Traditional federated learning averages parameters directly, which fails for non-parametric models. Using optimal transport (Wasserstein barycenters) allows the server to respect the underlying geometry of the Gaussian processes, effectively aligning and combining multimodal distributions without needing the raw data points.
- The Necessity of Dynamic Scheduling ($\beta_t$): The authors discovered that a static balance between central and local models is suboptimal. An increasing $\beta_t$ schedule acts as an algorithmic safety valve: it leverages the power of collaboration early on when data is sparse, but naturally transitions to localized exploitation as individual agents gather enough high-quality data, bypassing central approximation errors.
Key Results
The collaborative framework was compared against several baselines, including Data Communication (centralized BO with full data sharing), No Collaboration (agents optimizing completely independently), and alternative collaborative acquisition functions like Collaborative Expected Improvement (Co-EI) and Collaborative Entropy Search (Co-ES).
- Acquisition Function Superiority: Co-KG consistently achieved lower optimal value differences over time compared to Co-EI and Co-ES, particularly as the number of iterations increased and more data became available.
- Privacy with Minimal Performance Loss: In real-world hyperparameter tuning tasks, the proposed Co-KG approach significantly outperformed the "No Collaboration" baseline and achieved performance remarkably close to the "Data Communication" baseline, proving that collaboration can succeed without sacrificing privacy.
Limitations and Future Work
- Computational Burden of Discretization: To compute the Wasserstein barycenter in practice, the continuous GP models must be discretized onto a mesh grid. This introduces a time complexity of nearly $O(N^2)$ relative to the grid size, making dense grids computationally expensive. The authors suggest exploring adaptive or time-varying discretization strategies in future work.
- Uniform Agent Weighting: The current Co-KG formulation assigns equal weight to all agents. If an agent is initialized in a highly unpromising region of the search space, its suboptimal observations can negatively impact the central model. Developing dynamic weighting schemes to enhance algorithm robustness against poor initializations remains an open direction.
Summary updated