Guided Bottom-Up Interactive Constraint Acquisition (2307.06126v1)
Abstract: Constraint Acquisition (CA) systems can be used to assist in the modeling of constraint satisfaction problems. In (inter)active CA, the system is given a set of candidate constraints and posts queries to the user with the goal of finding the right constraints among the candidates. Current interactive CA algorithms suffer from at least two major bottlenecks. First, in order to converge, they require a large number of queries to be asked to the user. Second, they cannot handle large sets of candidate constraints, since these lead to large waiting times for the user. For this reason, the user must have fairly precise knowledge about what constraints the system should consider. In this paper, we alleviate these bottlenecks by presenting two novel methods that improve the efficiency of CA. First, we introduce a bottom-up approach named GrowAcq that reduces the maximum waiting time for the user and allows the system to handle much larger sets of candidate constraints. It also reduces the total number of queries for problems in which the target constraint network is not sparse. Second, we propose a probability-based method to guide query generation and show that it can significantly reduce the number of queries required to converge. We also propose a new technique that allows the use of openly accessible CP solvers in query generation, removing the dependency of existing methods on less well-maintained custom solvers that are not publicly available. Experimental results show that our proposed methods outperform state-of-the-art CA methods, reducing the number of queries by up to 60%. Our methods work well even in cases where the set of candidate constraints is 50 times larger than the ones commonly used in the literature.
- Time-bounded query generator for constraint acquisition. In International Conference on the Integration of Constraint Programming, Artificial Intelligence, and Operations Research, pages 1–17. Springer, 2018.
- Dana Angluin. Queries and concept learning. Machine learning, 2(4):319–342, 1988.
- Multiple constraint aquisition. In IJCAI: International Joint Conference on Artificial Intelligence, pages 698–704, 2016.
- A model seeker: Extracting global constraint models from positive examples. In Principles and practice of constraint programming, pages 141–157. Springer, 2012.
- Learning max-sat models from examples using genetic algorithms and knowledge compilation. In 28th International Conference on Principles and Practice of Constraint Programming (CP 2022), 2022.
- Learning constraints through partial queries. Artificial Intelligence, 319:103896, 2023.
- Leveraging the learning power of examples in automated constraint acquisition. In International Conference on Principles and Practice of Constraint Programming, pages 123–137. Springer, 2004.
- Constraint acquisition via partial queries. In IJCAI, volume 13, pages 475–481, 2013.
- A sat-based version space algorithm for acquiring constraint satisfaction problems. In European Conference on Machine Learning, pages 23–34. Springer, 2005.
- Query-driven constraint acquisition. In IJCAI, volume 7, pages 50–55, 2007.
- Constraint acquisition. Artificial Intelligence, 244:315–342, 2017.
- Eugene C Freuder. Modeling: the final frontier. In The First International Conference on The Practical Application of Constraint Technologies and Logic Programming (PACLP), London, pages 15–21, 1999.
- Eugene C Freuder. Progress towards the holy grail. Constraints, 23(2):158–171, 2018.
- Grand challenges for constraint programming. Constraints, 19(2):150–162, 2014.
- Suggestion strategies for constraint-based matchmaker agents. In International Conference on Principles and Practice of Constraint Programming, pages 192–204. Springer, 1998.
- Tias Guns. Increasing modeling language convenience with a universal n-dimensional array, cppy as python-embedded example. In Proceedings of the 18th workshop on Constraint Modelling and Reformulation at CP (Modref 2019), volume 19, 2019.
- Mohit Kumar et al. Acquiring integer programs from data. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. IJCAI, 2019.
- Learning constraint programming models from data using generate-and-aggregate. In 28th International Conference on Principles and Practice of Constraint Programming (CP 2022). Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2022.
- On learning constraint problems. In Tools with Artificial Intelligence (ICTAI), 2010 22nd IEEE International Conference on, volume 1, pages 45–52. IEEE, 2010.
- Nadjib Lazaar. Parallel constraint acquisition. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 3860–3867, 2021.
- Empirical decision model learning. Artificial Intelligence, 244:343–367, 2017.
- Steven D Prestwich. Robust constraint acquisition by sequential analysis. Frontiers in Artificial Intelligence and Applications, 325:355–362, 2020.
- Classifier-based constraint acquisition. Annals of Mathematics and Artificial Intelligence, pages 1–20, 2021.
- Argumentation based constraint acquisition. In Data Mining, 2009. ICDM’09. Ninth IEEE International Conference on, pages 476–482. IEEE, 2009.
- Efficient multiple constraint acquisition. Constraints, 25(3):180–225, 2020.
- Learning max-csps via active constraint acquisition. In 27th International Conference on Principles and Practice of Constraint Programming (CP 2021). Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2021.
- Structure-driven multiple constraint acquisition. In International Conference on Principles and Practice of Constraint Programming, pages 709–725. Springer, 2019.
- Omissions in constraint acquisition. In International Conference on Principles and Practice of Constraint Programming, pages 935–951. Springer, 2020.
- Efficient methods for constraint acquisition. In 24th International Conference on Principles and Practice of Constraint Programming, 2018.