← Latest papers
🤖 machine learning

Cost-aware Stopping for Bayesian Optimization

This paper proposes a principled, theoretically grounded stopping rule for Bayesian optimization that adapts to varying evaluation costs without heuristic tuning, proving that it bounds the expected cost-adjusted simple regret and empirically outperforms existing methods across synthetic and real-world benchmarks.

Original authors: Qian Xie, Linda Cai, Alexander Terenin, Peter I. Frazier, Ziv Scully

Published 2026-06-01
📖 4 min read☕ Coffee break read

Original authors: Qian Xie, Linda Cai, Alexander Terenin, Peter I. Frazier, Ziv Scully

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a treasure hunter trying to find the single best spot to dig for gold in a vast, unknown field. You have a metal detector (your Bayesian Optimization algorithm) that helps you guess where the gold might be. However, every time you dig a hole, it costs you money for fuel, equipment wear, and your time.

The big question is: When should you stop digging?

If you stop too early, you might miss the biggest gold nugget (poor solution quality). If you keep digging forever, you might run out of money before you find anything better than what you already have (wasted cost).

This paper introduces a new, smart rule for deciding exactly when to pack up your shovel and go home.

The Problem with Old Rules

Previously, people used two main ways to decide when to stop:

  1. The "Count to Ten" Rule: Just dig 10 holes and stop. This is simple but dumb; sometimes the gold is in hole #11, and sometimes you found it in hole #2 and wasted 8 more digs.
  2. The "It's Good Enough" Rule: Stop when the metal detector stops beeping loudly. This is better, but it often ignores the cost of digging. You might keep digging in a cheap area just because the signal is slightly better, even though the cost of digging there is so high that it's not worth the tiny gain.

The New Solution: The "Fair Value" Rule

The authors propose a new rule called PBGI/LogEIPC. Think of this as a "Fair Value" calculator for every spot in the field.

For every potential spot you haven't dug yet, the rule asks two questions:

  1. How much better could the gold be here compared to what I already found? (The potential gain).
  2. How much will it cost me to dig here? (The price tag).

The rule calculates a "Fair Value" score. If the best remaining spot on the map has a "Fair Value" that is lower than the gold you've already found, the rule says: "Stop! It's not worth the cost to dig anymore."

It's like shopping for a house. If you've already found a house you love for $500k, and the next house on your list costs $600k but is only slightly nicer, you stop looking. You don't keep driving around just to see if there's a slightly better house, because the gas money isn't worth it.

Why This is Special

The paper claims three main things about this new rule:

  1. It's Mathematically Proven to be Safe: The authors proved a theorem (a mathematical guarantee) saying that if you use this rule with their specific "metal detector" settings, you will never end up with a total result (Gold found minus Money spent) that is worse than if you had just dug one hole and stopped immediately. In other words, you can't lose by using this smart rule; at worst, you do the same as the "lazy" approach.
  2. It Adapts to Price Changes: In the real world, digging in a swamp costs more than digging in a dry field. This rule automatically adjusts. If a spot is expensive to dig, the rule demands a much bigger gold nugget to justify the cost. If a spot is cheap, it's willing to settle for a smaller nugget.
  3. It Works in the Real World: The team tested this on real-world problems, like tuning the settings for computer programs (hyperparameter optimization) and designing the size of neural networks. They found that their rule usually found better solutions for less money compared to other popular stopping methods.

The "Moving Average" Safety Net

The authors also noticed that sometimes the metal detector gets a bit jittery, giving a false "stop" signal just because of random noise. To fix this, they added a "moving average" filter.

Think of this like looking at the weather forecast. If it rains for one minute, you don't cancel your picnic. You wait to see if it keeps raining for 20 minutes. Similarly, this rule waits to see if the "stop signal" stays strong for a few turns before actually stopping, preventing you from quitting too early due to a temporary glitch.

Summary

In short, this paper gives treasure hunters a smarter way to decide when to quit digging. Instead of guessing or counting, it constantly weighs the potential reward against the current cost. It guarantees you won't do worse than giving up immediately, and in practice, it usually helps you find the best treasure for the least amount of money.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →