← Latest papers
💻 computer science

Which Optimizer, At What Budget? A Tournament of Optimizers for Search-Based SE

This paper demonstrates that no single optimizer is universally optimal for software engineering configuration tasks, as the best choice depends on the labeling budget, and proposes a cost-effective table lookup method using two task attributes to predict the optimal optimizer with accuracy comparable to a hindsight oracle.

Original authors: Kishan Kumar Ganguly, Tim Menzies

Published 2026-07-14
📖 4 min read☕ Coffee break read

Original authors: Kishan Kumar Ganguly, Tim Menzies

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 trying to tune a super-complex video game. You have 460 different switches, dials, and hidden codes. Changing just one setting might require the computer to rebuild the entire game and run a massive test to see if it works better. You can't try every single combination because there are more possibilities than there are stars in the sky. So, you need a smart "tuner" (an optimizer) to guess which settings are worth testing.

The problem? There are dozens of different tuners available, and nobody knows which one is the best for your specific game. Some experts say, "Just use this famous one!" But this paper says, "Hold on, that's a trap."

The Great Optimizer Tournament

The authors, Kishan Kumar Ganguly and Tim Menzies, decided to settle this by running a massive tournament. They didn't just pick a few; they gathered 20 different optimizers and pitted them against 106 different software engineering tasks.

They didn't just run the tournament once. They tested it at four different "budgets" (how many times the computer is allowed to try a setting): 30, 50, 100, and 200 tries. To run all these tests, they burned through 14,000 CPU hours. That's a lot of computer time!

The Big Surprise: There Is No "Best" Tuner

Here is the most important thing they found: No single optimizer wins everything.

In fact, the "champion" changes depending on how much time (or budget) you have.

  • When you are broke on time (only 30 tries): The winner is a clever, fast learner called EZR. It's like a scout that quickly checks the most promising areas.
  • When you have plenty of time (200 tries): The winner switches to a brute-force powerhouse called Differential Evolution (DE). It's like a team of explorers that slowly but surely maps out the whole map.

The paper measured that for 58% of the tasks, the best optimizer changed at least once as the budget grew. If you picked the "champion" for a small budget and stuck with it for a big budget, you would be wrong on up to half of your tasks.

The "One-Size-Fits-All" Myth

The authors also tested a popular idea: that complex "Multi-Objective" tuners (which try to balance many goals at once) are always better than simple "Single-Objective" tuners.

  • The Result: They were wrong. At the same budget, the simple tuners often beat the complex ones.
  • The Catch: To catch up to a simple tuner that had 200 tries, a complex tuner needed 1,000 tries (five times more work) to get the same result.

The "Magic Map" vs. The "Crystal Ball"

So, how do you know which tuner to pick without spending 14,000 hours?

The Failed Crystal Ball:
Scientists often try to predict the winner by analyzing the "shape" of the problem using complex math (called instance clustering). The authors tried this, too.

  • The Result: It failed miserably. It only predicted the right winner 44.2% of the time. It's like trying to guess the winner of a race by looking at the color of the runners' shoes; it just doesn't work.

The Winning Magic Map:
Instead of complex math, the authors found a simple cheat sheet based on two things you can see immediately in your data table:

  1. Do your goals fight each other? (e.g., making the game faster but also cheaper?)
  2. What kind of numbers are your settings? (Are they simple Yes/No switches, or big, messy numbers?)

By looking at these two things plus your budget, they created a Heatmap Guide.

  • If you have a small budget and simple settings, pick EZR.
  • If you have a big budget or complex settings, pick DE or SMAC.

This simple guide was surprisingly accurate. It matched or beat a "hindsight oracle" (a perfect predictor that already knows the answer) on 74.2% of the tasks, without needing to run any expensive tests first.

The Takeaway

The paper concludes that choosing an optimizer isn't about finding the one "magic tool." It's about matching the tool to your budget and the shape of your data.

  • Don't waste money on complex math to analyze your problem before you start.
  • Do look at your data table, check your budget, and use the simple guide.
  • Remember: If you only have a few tries, use a fast scout. If you have many tries, use a thorough explorer.

The authors suggest that in the future, we might build a "meta-scheduler" that starts with the scout and then hands off to the explorer as the budget grows, getting the best of both worlds. But for now, the simple guide is the best way to save time and get good results.

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 →