[Paper Review] Activity-Based Search for Black-Box Contraint-Programming Solvers
This paper introduces Activity-Based Search (Abs), a robust variable selection heuristic for black-box constraint-programming solvers that uses dynamic variable activity—measured by domain filtering during propagation—to guide search. Abs outperforms impact-based search and wdeg heuristics in terms of robustness and performance, especially on complex problems, by avoiding explicit domain tracking and constraint instrumentation while naturally handling global constraints.
Robust search procedures are a central component in the design of black-box constraint-programming solvers. This paper proposes activity-based search, the idea of using the activity of variables during propagation to guide the search. Activity-based search was compared experimentally to impact-based search and the WDEG heuristics. Experimental results on a variety of benchmarks show that activity-based search is more robust than other heuristics and may produce significant improvements in performance.
Motivation & Objective
- Address the need for robust, general-purpose search heuristics in black-box constraint-programming solvers to reduce user burden and improve usability.
- Overcome limitations of existing heuristics like impact-based search (Ibs) and weighted-degree (wdeg), which require complex domain tracking or struggle with global constraints.
- Develop a search procedure that is efficient, scalable, and naturally integrates with global constraints without explicit constraint instrumentation.
- Improve solver performance and robustness across diverse constraint satisfaction problems, particularly as problem complexity increases.
Proposed method
- Define variable activity as the number of times a variable's domain is filtered during constraint propagation, incremented each time filtering occurs.
- Initialize variable activities via a probing process that samples variable-value assignments and measures their impact on domain reduction.
- Apply an aging mechanism to decay activity values over time, controlled by a parameter γ, to prevent stagnation and favor recent propagation behavior.
- Use a confidence interval parameter δ to control the number of probes during initialization, balancing accuracy and initialization cost.
- Select variables for branching based on their current activity level, prioritizing the most active variables to guide search toward promising regions.
- Integrate the heuristic into a black-box solver framework without modifying constraint implementations or tracking per-variable/value impacts explicitly.
Experimental results
Research questions
- RQ1Can variable activity during propagation serve as an effective and robust heuristic for guiding search in black-box constraint solvers?
- RQ2How does Activity-Based Search compare in performance and robustness to impact-based search and wdeg across diverse constraint problems?
- RQ3To what extent does Abs handle global constraints more naturally than wdeg, which assigns equal weights to all variables in a failed constraint?
- RQ4How sensitive is Abs to initialization parameters such as the confidence interval δ and aging factor γ?
- RQ5Does Abs exhibit behavior indicative of discovering structural properties like backdoors or cycle-cutsets in hard problem instances?
Key findings
- Activity-Based Search (Abs) significantly outperforms impact-based search (Ibs) and wdeg on a wide range of benchmarks, particularly as problem complexity increases.
- On the msq-10 benchmark, Abs with restarts (R(2)) achieved a mean runtime of 14.87 seconds, compared to 23.6 seconds for Ibs and 21.3 seconds for wdeg.
- For the knap1-4 optimization problem, Abs with restarts reduced mean runtime from 33.70 seconds (Ibs) to 14.87 seconds, demonstrating substantial performance gains.
- The initialization parameter δ had a measurable effect: reducing δ from 0.8 to 0.05 improved robustness and convergence of median and mean runtimes, especially on knap1-4.
- The aging parameter γ showed that slower aging (γ = 0.999) reduced timeouts and improved performance, with 9 timeouts at γ = 0.5 compared to 0 at γ = 0.999 on msq-10.
- Behavioral analysis on radiation #9 showed Abs quickly reached the optimal solution within 1 second (with restarts), while Ibs required significantly longer to converge, indicating Abs's superior search guidance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.