Introduction
Algorithm configuration (AC) is a critical process for optimizing the performance of high-performance AI systems, ranging from SAT solvers to deep neural networks. These algorithms often feature hundreds of hyperparameters that must be tuned for specific problem domains. Traditionally, automated tools like Sequential Model-based Algorithm Configuration (SMAC) treat every new benchmark set as a "blank slate." This approach ignores valuable historical data from previous optimization runs on similar tasks, leading to significant computational waste. This paper addresses this inefficiency by introducing "warmstarting" techniques that leverage past experience to accelerate the configuration of solvers.
The Challenge of Start-from-Scratch Configuration
When human experts tune solvers, they rely on intuition and past experience. In contrast, standard automated AC tools traditionally ignore previous knowledge. For instance, optimizing a solver for hardware verification might take weeks; if the problem set changes slightly, the optimization process starts over. This "start-from-scratch" paradigm is expensive and fails to capture the underlying similarities in the configuration landscapes of related problem sets.
Proposed Warmstarting Methods
The authors propose two complementary methods to integrate historical data into the model-based AC loop, illustrated by the transfer of information between successive configuration tasks.
1. Warmstarting Initial Design (INIT)
Instead of beginning with a random configuration or a single default, the INIT method selects a diverse set of "incumbents" (successful configurations) from previous AC runs on different benchmarks. It employs a greedy, submodular optimization approach to identify a small subset of configurations that collectively performed well across a variety of historical tasks, providing a high-quality starting point for the new search.
2. Data-Driven Model-Warmstarting (DMW)
Model-based AC typically relies on an Empirical Performance Model (EPM)—often a Random Forest—to predict configuration performance. DMW enhances this by creating an ensemble of models. It combines EPMs trained on historical tasks with a new EPM trained on the current task using a weighted linear combination (stacking).
- Dynamic Weighting: The weights for these models are learned via Stochastic Gradient Descent. Early in the run, historical models are given higher weight to guide the search. As more data is collected on the current task, the weight of the new model increases, allowing the system to automatically phase out historical data that may be misleading for the specific new task.
The authors also evaluate IDMW, which combines both INIT and DMW strategies for maximum efficiency.
Experimental Evaluation
The methods were tested using the SparrowToRiss SAT solver (222 parameters) across 12 instance sets from the Configurable SAT Solver Challenge. These sets included Application (e.g., BMC, IBM), Hand-crafted (e.g., N-Rooks, LABS), and Random distributions. When configuring for a specific set, the system was warmstarted using data from other sets within the same category.
Results and Performance Gains
The experimental results demonstrate that warmstarting significantly outperforms the standard SMAC baseline across various benchmarks.
Key findings include:
- Massive Speedups: The combined IDMW approach achieved a geometric average speedup of 4.3x. In the most extreme case (7SAT90), it reached performance levels in 20 minutes that took standard SMAC two days—a 165x speedup.
- Superior Final Performance: In 50% of the scenarios, warmstarted AC found significantly better final configurations than the baseline within the same time budget.
- Self-Correction: The weighting mechanism in DMW effectively acted as a safety valve; if historical data was irrelevant, its weight dropped to near-zero, ensuring warmstarting rarely performed worse than the baseline.
Conclusion and Future Work
Warmstarting transforms algorithm configuration from a series of isolated tasks into a continuous learning process. By leveraging ensembles and intelligent initial designs, the proposed methods achieve dramatic speedups with negligible overhead. Future research directions include using instance features to automatically select the most relevant historical models to reduce memory consumption and integrating these techniques into portfolio-building procedures like Hydra.
Summary updated