Safe Active Learning for Multi-Output Gaussian Processes

Cen-You Li, Barbara Rakitsch, Christoph Zimmer

Abstract

Multi-output regression problems are commonly encountered in science and engineering. In particular, multi-output Gaussian processes have been emerged as a promising tool for modeling these complex systems since they can exploit the inherent correlations and provide reliable uncertainty estimates. In many applications, however, acquiring the data is expensive and safety concerns might arise (e.g. robotics, engineering). We propose a safe active learning approach for multi-output Gaussian process regression. This approach queries the most informative data or output taking the relatedness between the regressors and safety constraints into account. We prove the effectiveness of our approach by providing theoretical analysis and by demonstrating empirical results on simulated datasets and on a real-world engineering dataset. On all datasets, our approach shows improved convergence compared to its competitors.

Introduction

In modern engineering and robotics, the process of data acquisition is often a significant bottleneck. Whether tuning a high-performance engine or training a robotic arm, collecting labels is not only expensive in terms of time and resources but can also be inherently dangerous. Exploration in unknown environments risks system failures, such as overheating or mechanical crashes, which can lead to costly damage or safety hazards.

Active Learning (AL) offers a solution by intelligently selecting the most informative data points to label, thereby reducing the total amount of data required to reach a target accuracy. However, standard AL often ignores safety constraints. While "Safe AL" methods exist, they typically focus on single-output systems. Real-world systems are frequently multi-output, where multiple sensors provide correlated data. Treating these outputs as independent is inefficient as it ignores shared knowledge between tasks. This paper introduces the first safe AL framework specifically designed for Multi-Output Gaussian Processes (MOGPs), enabling efficient exploration while strictly adhering to safety boundaries.

Methodology

The proposed framework integrates Multi-Output Gaussian Processes with a safety-constrained acquisition strategy. The core components include:

  • The Linear Model of Coregionalization (LMC): The system models multiple outputs as weighted sums of shared latent Gaussian Processes. This structure allows the model to infer information about one output even when only a correlated output is measured, exploiting the inherent relationships between different sensors.
  • Probabilistic Safety Constraints: A dedicated GP models a safety function $h(x)$. The algorithm only considers querying points where the probability of safety (e.g., $P(h(x) < \text{threshold})$) exceeds a high confidence level (e.g., 95%). This acts as a probabilistic filter for exploration.
  • Asynchronous Acquisition: Unlike traditional methods that require measuring all outputs at once, this framework uses predictive entropy to select specific input-output pairs. This allows the algorithm to query only the most informative sensor at a given location, optimizing the measurement budget.
  • Robust Inference: To ensure reliable uncertainty estimates in low-data regimes, the authors employ a Bayesian treatment via Hamiltonian Monte Carlo (HMC) for hyperparameter tuning, providing more robust results than standard maximum likelihood estimation.

Experimental Evaluation

The framework was rigorously tested across three distinct scenarios to prove its versatility:

  1. Sin & Sigmoid Simulation: A 1D environment with two outputs and a hidden safety constraint.
  2. MOGP Samples: A 2D environment with four outputs generated from a known MOGP to evaluate performance under ideal correlation conditions.
  3. Engine Emission (EngE) Dataset: A 14-dimensional real-world dataset where the goal was to learn emission levels while keeping engine temperature below a critical safe threshold.

Key Results and Discussion

The empirical results demonstrate that the proposed AL_MOGP approach consistently outperforms both random selection and independent GP models in terms of data efficiency and convergence speed.

RMSE performance comparison on simulated datasets: sin & sigmoid (left) and MOGP samples (right).

As illustrated in the simulations above, AL_MOGP (blue line) achieves a lower Root Mean Square Error (RMSE) with significantly fewer training points than the competitors. In the real-world EngE dataset, AL_MOGP reached the target error threshold in just 54 points, compared to 63 for independent GPs and hundreds for random selection.

Furthermore, the safety mechanism proved highly effective. In simulations, the safe AL approach maintained a query safety rate of 96-99%. In contrast, exploration without safety constraints resulted in a safety rate of only 26%, highlighting the critical importance of the probabilistic filter in preventing system failure during the learning phase.

Conclusion and Future Work

This work provides a robust foundation for safe exploration in multi-output systems. By leveraging correlations through MOGPs and employing a flexible, asynchronous acquisition strategy, the framework achieves superior data efficiency without compromising safety. Future work will focus on scaling the approach using sparse GP approximations for larger datasets and exploring batch query selection for industrial applications where simultaneous measurements are preferred.

Summary updated

BibTeX
@inproceedings{li2022safe,
  author = {Cen-You Li and Barbara Rakitsch and Christoph Zimmer},
  title = {{Safe Active Learning for Multi-Output Gaussian Processes}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=Svk8Yf125g},
}
Figure