Preferential Bayesian Optimization With Crash Feedback

Johanna Menn, David A. Stenger, Sebastian Trimpe

TL;DR

This paper introduces CrashPBO, a novel method that enhances Preferential Bayesian Optimization (PBO) by allowing users to report "crashes" alongside preferences. This significantly reduces undesirable experimental failures in real-world robotics, leading to more efficient and safer parameter tuning without requiring explicit objective functions.

What Problem Does This Paper Address?

Optimizing parameters for complex systems like robots often relies on Bayesian Optimization (BO). However, defining a precise numerical objective function can be difficult or impossible in real-world scenarios. Preferential Bayesian Optimization (PBO) offers a solution by using human preferences (e.g., "this outcome was better than that one") to guide the optimization. While PBO is powerful, applying it to physical robots introduces a new challenge: experiments can fail catastrophically (crash). Standard PBO methods treat these crashes as just another data point, potentially leading the optimization to repeatedly explore dangerous or unstable parameter regions, wasting time and resources on resets and repairs. This paper addresses the need for a PBO method that can effectively learn from human preferences while explicitly avoiding parameters that lead to crashes.

Methods

The core contribution is CrashPBO, a hyperparameter-free mechanism that extends PBO. When a human user provides feedback, they can now flag an experiment as a "crash" in addition to expressing a preference. A crash is defined as any user-defined unwanted behavior that requires a reset but doesn't permanently damage the system.

CrashPBO integrates this crash information by introducing "virtual comparisons." Essentially, any crashed experiment is algorithmically treated as being worse than all successful experiments. This is achieved by adding virtual preference data points to the optimization's dataset, ensuring that the model (a Gaussian Process) learns to avoid the regions that led to crashes. This is conceptually similar to "crash constraints" in standard BO but adapted for the preferential setting.

The paper also investigates different comparison modalities for selecting experimental "duels" (pairs of parameters to test). These include comparing two new parameters, comparing a new parameter to the "best seen so far," and comparing a new parameter to the "last used" parameter.

Datasets

The paper does not introduce new datasets but rather uses synthetic functions and real-world robotic experiments for evaluation.

  • Synthetic Functions: Standard test functions like Ackley 2D, Branin 2D, Hartmann 6D, and Cosine 8D were used, along with sampled paths from a Gaussian Process.
  • Robotic Platforms:
    • Quadcopter Backflips: Tuning two timing parameters for a geometric backflip controller.
  • Furuta Pendulum: Tuning three parameters for a swing-up controller.
  • Mini Wheelbot: Tuning four parameters for a self-balancing unicycle robot's driving experience.

Key Insights and Ideas

  • Crashes as Strong Negative Preferences: The key insight is that crashes can be treated as a very strong negative preference without losing the subjective nature of PBO. This avoids the need for explicit, hard-to-define constraint functions.
  • Virtual Comparisons for Crash Avoidance: The mechanism of adding virtual comparisons is a clever way to "teach" the optimization model to avoid problematic regions without requiring a formal constraint function.
  • User-Friendly and Flexible: CrashPBO is designed to be easily integrated into existing PBO frameworks and requires no specific hyperparameter tuning, making it practical for real-world deployment.
  • Personalized Tuning: The experiments show that different users can converge to distinct, subjectively preferred outcomes, demonstrating the system's ability to cater to individual preferences.

Key Results

  • Crash Reduction: CrashPBO reduced crashes by 63% on synthetic functions compared to standard PBO.
  • Data Efficiency: The method showed increased data efficiency, meaning it achieved good results with fewer experiments.
  • Performance: CrashPBO achieved comparable or slightly better performance than standard PBO (EUBO) and outperformed non-preferential methods like MES and random search, while also yielding fewer crashes than SafeOpt in some settings.
  • Hardware Experiments:
    • Quadcopter Backflips: Demonstrated personalized tuning, with different users achieving distinct backflip styles. Crashes were significantly reduced, and the median time for a crashed experiment was much longer (75s) than a successful one (25s), highlighting the time-saving benefit.
  • Furuta Pendulum: Showed that CrashPBO leads to more stable and less aggressive behavior, avoiding potentially damaging states.
  • Mini Wheelbot: Demonstrated effective tuning for subjective driving experience, with CrashPBO showing fewer failed swing-ups compared to baselines.

Limitations and Future Work

  • No Safety Guarantee: CrashPBO helps avoid crashes but does not provide a formal safety guarantee.
  • Feedback Variability: The authors suggest future work should investigate how variations in feedback quality and consistency affect CrashPBO's robustness.
  • "Cannot Decide" Option: An extension could include a "cannot decide" option for uncertain comparisons, which is not currently supported.
  • Comparison Modalities: While "compare to best" was found to be effective, further exploration of other comparison strategies might be beneficial.

Summary updated

Abstract

Bayesian optimization is a popular black-box optimization method for parameter learning in control and robotics. It typically requires an objective function that reflects the user's optimization goal. However, in practical applications, this objective function is often inaccessible due to complex or unmeasurable performance metrics. Preferential Bayesian optimization (PBO) overcomes this limitation by leveraging human feedback through pairwise comparisons, eliminating the need for explicit performance quantification. When applying PBO to hardware systems, such as in quadcopter control, crashes can cause time-consuming experimental resets, wear and tear, or otherwise undesired outcomes. Standard PBO methods cannot incorporate feedback from such crashed experiments, resulting in the exploration of parameters that frequently lead to experimental crashes. We thus introduce CrashPBO, a user-friendly mechanism that enables users to both express preferences and report crashes during the optimization process. Benchmarking on synthetic functions shows that this mechanism reduces crashes by 63 % and increases data efficiency. Through experiments on three robotics platforms, we demonstrate the wide applicability and transferability of CrashPBO, highlighting that it provides a flexible, user-friendly framework for parameter learning with human feedback on preferences and crashes. Video: <uri xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">https://www.youtube.com/watch?v=2FTbzqT4wP8</uri>
BibTeX
@article{menn2026preferential,
  author = {Johanna Menn and David A. Stenger and Sebastian Trimpe},
  title = {{Preferential Bayesian Optimization With Crash Feedback}},
  journal = {IEEE Robotics and Automation Letters},
  year = {2026},
  doi = {10.1109/lra.2026.3665446},
}
Figure