Solving Set Optimization Problems by Cardinality Optimization via Weak Constraints with an Application to Argumentation

Wolfgang Faber, Mauro Vallati, Federico Cerutti, Massimiliano GiacominarXiv 2016

Abstract

Finding subset-optimal solutions is a fundamental task in many areas of Artificial Intelligence, including abstract argumentation, diagnosis, and nonmonotonic reasoning. However, direct optimization for subset-inclusion is often computationally more demanding than cardinality-based optimization. This paper introduces a general framework that leverages high-performance cardinality optimization tools, such as Answer Set Programming (ASP) with weak constraints and MaxSAT, to solve subset optimization problems iteratively. Our empirical evaluation on argumentation benchmarks demonstrates that this approach is highly competitive with specialized state-of-the-art solvers.

1. Introduction

In many AI domains, the goal is to find solutions that are "best" according to some preference. A common criterion is subset-optimality, where one seeks solutions that are maximal or minimal by set inclusion. For example, in abstract argumentation, one might seek a maximal set of consistent arguments. While conceptually straightforward, finding subset-optimal solutions is often $\Sigma^P_2$-hard, whereas finding cardinality-optimal solutions (the largest or smallest set by count) typically resides in $\Delta^P_2$. Despite this complexity gap, modern declarative solvers like MaxSAT and ASP have highly optimized engines for cardinality optimization but often lack native, efficient support for subset-inclusion optimization.

2. Methodology

The core contribution of this work is an iterative algorithm that bridges the gap between cardinality and subset optimization. The approach is based on the fundamental observation that every cardinality-optimal solution is necessarily a subset-optimal solution.

The algorithm proceeds by repeatedly invoking a cardinality optimizer as a "black box" subroutine. In each iteration, the solver finds all solutions with the maximum possible number of elements. These solutions are added to the result set. To ensure the algorithm progresses toward finding all subset-maximal solutions, new constraints are added to the knowledge base to forbid the previously found solutions and any of their subsets. This process repeats until no further solutions can be found.

Algorithm 1: Iterative enumeration of subset-maximal solutions using cardinality-optimal subroutines.

The authors implemented this framework in two tools:

  • prefASP: Utilizes the ASP solver clingo and its weak constraints feature.
  • prefMaxSAT: Employs a MaxSAT solver to achieve the same goal.

In ASP, weak constraints allow the user to specify penalties for violating certain conditions. By assigning a penalty to every element excluded from a set, the solver is naturally driven to find cardinality-maximal sets.

3. Experimental Evaluation

To assess the performance of the proposed framework, the authors used benchmarks from the 2015 International Competition on Computational Models of Argumentation (ICCMA). The dataset consisted of 192 randomly generated Argumentation Frameworks (AFs) across three different graph models, providing a diverse range of structural complexities.

The evaluation compared prefASP and prefMaxSAT against several state-of-the-art tools, including:

  • Cegartix: A specialized state-of-the-art solver for abstract argumentation.
  • asprin: A general-purpose preference handling framework for ASP.
  • D-FLAT^2: A tool for solving problems via tree decompositions.
  • ASPARTIX-V: A previous leading ASP-based solver for argumentation.

4. Results and Discussion

The results indicate that prefASP is remarkably effective. It achieved an IPC score of 191.2, significantly outperforming other general-purpose tools like asprin (157.8). Furthermore, prefASP demonstrated high robustness, successfully analyzing 100% of the benchmark instances. In contrast, ASPARTIX-V only managed 94% and was substantially slower, with a PAR10 score of 630.9 compared to prefASP's 23.1.

When compared to the specialized competition winner, Cegartix, prefASP was only slightly slower, with an average overhead of approximately 8 seconds. This performance is particularly impressive given that prefASP is a general-purpose framework that does not rely on domain-specific argumentation logic.

A key insight from the experiments was the efficiency of ASP's "one-go" search. Unlike standard MaxSAT solvers that typically return solutions one by one, ASP solvers can often return all cardinality-optimal solutions in a single search pass, which significantly reduces the number of iterations required by the algorithm.

5. Conclusion

This paper presents a simple yet powerful iterative framework for solving subset optimization problems using cardinality optimization subroutines. By shifting the complexity from $\Sigma^P_2$ to a sequence of $\Delta^P_2$ tasks, the approach leverages the high-performance optimization engines of modern ASP and MaxSAT solvers. The competitive performance of prefASP on argumentation benchmarks suggests that this methodology is a viable alternative to specialized solvers and can be readily applied to other domains such as model-based diagnosis and nonmonotonic reasoning. Future work includes extending the framework to higher complexity classes ($\Sigma^P_3$-hard) and integrating it into broader preference frameworks like asprin.

Summary updated

BibTeX
@misc{faber2016solving,
  author = {Wolfgang Faber and Mauro Vallati and Federico Cerutti and Massimiliano Giacomin},
  title = {{Solving Set Optimization Problems by Cardinality Optimization via Weak Constraints with an Application to Argumentation}},
  year = {2016},
  eprint = {1612.07589},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.07589},
}
Figure