NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving Reduction Techniques in Pseudo-Boolean Conflict Analysis

Orestis Lomis, Jo Devriendt, Hendrik Bierlee, Tias GunsSAT 2025

TL;DR

This paper introduces novel techniques to improve the "reduction" step in pseudo-Boolean (PB) constraint solvers. By making learned constraints stronger, these new methods aim to prune the search space more effectively, leading to faster solving times for complex problems.

What Problem Does This Paper Address?

Pseudo-Boolean (PB) constraint solvers are powerful tools for tackling problems that can be expressed as weighted linear inequalities over Boolean variables. A key component of these solvers is "conflict analysis," where the solver learns new constraints to avoid repeating mistakes. A crucial part of this learning process is "reducing" a learned constraint to make it as strong as possible while still being a valid consequence of the original conflict. Existing reduction techniques, while effective, can sometimes weaken these learned constraints, limiting their pruning power. This paper addresses the challenge of developing reduction techniques that preserve or even enhance the strength of these learned constraints, thereby improving the overall performance of PB solvers.

Methods

The paper proposes two main categories of novel reduction techniques:

  • Division-Based Reduction Variants:
    • Weaken Superfluous (WS): This technique identifies and weakens "superfluous" literals in a constraint. A literal is superfluous if its coefficient, when divided by the divisor, would be rounded down, potentially making the constraint weaker. WS weakens these literals to the nearest divisible value, leading to a stronger constraint after division.
  • Anti-Weaken Anti-Superfluous (AW): This method addresses "anti-superfluous" literals in a constraint. Instead of weakening, it "anti-weakens" these literals, effectively increasing their coefficients without increasing the constraint's slack. This also results in a stronger constraint.
  • The paper also shows how WS and AW can be combined and how they relate to Mixed Integer Rounding (MIR).
  • Saturation-Based Reduction Variants:
    • Multiply and Weaken Direct (MWD): This approach first multiplies the reason and conflict constraints to bring their coefficients for the reason literal closer. Then, it weakens the reason literal directly to satisfy a "negative slack condition."
    • Multiply and Weaken Indirect (MWI): Similar to MWD, but instead of directly weakening the reason literal, it weakens other non-falsified literals and then applies saturation. This can be more efficient as it might achieve the desired effect on the reason literal indirectly.
  • A combined algorithm is presented that integrates these saturation-based methods with division-based reduction.

Datasets

The paper evaluates its techniques on three benchmark sets:

  • KNAP: Crafted knapsack instances (783 instances).
  • DEC-LIN: The decision linear track of the PB'24 competition (398 instances).
  • OPT-LIN: The optimization linear track of the PB'24 competition (489 instances).

Key Insights and Ideas

  • Superfluous and Anti-Superfluous Literals: The paper introduces precise definitions for "superfluous" and "anti-superfluous" literals, which are key to developing stronger reduction techniques.
  • WS and AW as Complementary: WS and AW are presented as two sides of the same coin, addressing different types of literals to strengthen constraints in division-based reduction.
  • Theoretical Dominance: The paper provides theoretical proofs that the proposed WS and AW techniques result in constraints that are at least as strong as existing division-based reduction methods. Similarly, MWD and MWI are shown to be stronger than or equivalent to existing saturation-based methods.
  • Combined Techniques: Combining WS and AW can lead to compounding improvements in division-based reduction. However, combining division-based and saturation-based techniques is more complex and may require better heuristics.
  • Impact of Constraint Strength: The experiments highlight that while stronger constraints are theoretically beneficial, their empirical impact can vary significantly across different problem types and solvers.

Key Results

  • Individual Techniques:
    • On KNAP, WS and AW improved the number of solved instances and speed, respectively. MWD and MWD+MWI also showed performance improvements.
  • On DEC-LIN, WS consistently improved performance, while AW offered speedups on some instances. MWD helped, but MWD+MWI showed a negative performance trend.
  • On OPT-LIN, the impact of individual techniques was less pronounced, with some configurations showing marginal performance degradation.
  • Combined Techniques:
    • Combining WS+AW generally yielded the best results for division-based reduction across all benchmarks.
  • Combining division-based and saturation-based techniques did not consistently outperform individual techniques, suggesting a need for better heuristics.
  • Solver Performance: The proposed techniques, when integrated into the Exact solver (a fork of RoundingSat), showed improvements in solving more instances and/or solving them faster on various benchmarks.

Limitations and Future Work

  • Empirical Variability: The paper notes that while theoretical guarantees of stronger constraints exist, the empirical impact on solver performance is not uniform and can vary significantly across benchmarks and solvers.
  • Heuristics for Combinations: The authors suggest that developing better heuristics for choosing between division- and saturation-based reduction for specific constraints is a promising avenue for future work.
  • Relationship between Constraint Strength and Solver Performance: The complex interplay between the strength of reduced constraints, learned constraints, and overall solver performance requires further investigation.
  • Relaxing Requirements: Relaxing Requirement 2 (Negative Slack Condition) in division-based reduction could potentially lead to smaller divisors or more opportunities for weakening, further strengthening constraints.

Summary updated

BibTeX
@inproceedings{lomis2025improving,
  author = {Orestis Lomis and Jo Devriendt and Hendrik Bierlee and Tias Guns},
  title = {{Improving Reduction Techniques in Pseudo-Boolean Conflict Analysis}},
  booktitle = {SAT},
  year = {2025},
  doi = {10.4230/lipics.sat.2025.21},
}

Loading related content...

Figure