Proceedings

Learning SMT(LRA) Constraints using SMT Solvers

Download BibTeX Cite

Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence. Main track. Pages 2333-2340.

https://doi.org/10.24963/ijcai.2018/323

Abstract

We introduce the problem of learning SMT(LRA) constraints from data. SMT(LRA) extends propositional logic with (in)equalities between numerical variables.

Many relevant formal verification problems can be cast as SMT(LRA) instances and SMT(LRA) has supported recent developments in optimization and counting for hybrid Boolean and numerical domains. We introduce SMT(LRA) learning, the task of learning SMT(LRA) formulas from examples of feasible and infeasible instances, and we contribute INCAL, an exact non-greedy algorithm for this setting. Our approach encodes the learning task itself as an SMT(LRA) satisfiability problem that can be solved directly by SMT solvers. INCAL is an incremental algorithm that achieves exact learning by looking only at a small subset of the data, leading to significant speed-ups. We empirically evaluate our approach on both synthetic instances and benchmark problems taken from the SMT-LIB benchmarks repository.

  1. [Alur et al., 2013] Rajeev Alur, Rastislav Bodik, Garvit Ju- niwal, Milo MK Martin, Mukund Raghothaman, Sanjit A Seshia, Rishabh Singh, Armando Solar-Lezama, Emina Torlak, and Abhishek Udupa. Syntax-guided synthesis. In Formal Methods in Computer-Aided Design (FMCAD), 2013, pages 1-8. IEEE, 2013.
  2. [Barrett et al., 2009] Clark W Barrett, Roberto Sebastiani, Sanjit A Seshia, and Cesare Tinelli. Satisfiability modulo theories. Handbook of satisfiability, 185:825-885, 2009.
  3. [Barrett et al., 2010] Clark Barrett, Aaron Stump, Cesare Tinelli, et al. The smt-lib standard: Version 2.0. In Pro- ceedings of the 8th International Workshop on Satisfiabil- ity Modulo Theories (Edinburgh, England), volume 13, page 14, 2010.
  4. [Belle et al., 2015] Vaishak Belle, Andrea Passerini, and Guy Van den Broeck. Probabilistic inference in hybrid domains by weighted model integration. In Proceedings of 24th International Joint Conference on Artificial Intelligence (IJCAI), pages 2770-2776, 2015. IJCAI
  5. [Bennett, 1994] Kristin P Bennett. Global tree optimization: A non-greedy decision tree algorithm. Computing Science and Statistics, pages 156-156, 1994.
  6. [Bertsimas and Dunn, 2017] Dimitris Bertsimas and Jack Dunn. Optimal classification trees. Machine Learning, pages 1-44, 2017.
  7. [Bessiere et al., 2005] Christian Bessiere, Remi Coletta, Frédéric Koriche, and Barry O'Sullivan. A sat-based ver- sion space algorithm for acquiring constraint satisfaction problems. Machine Learning: ECML 2005, pages 23-34, 2005.
  8. [Bessiere et al., 2013] Christian Bessiere, Remi Coletta, Em- manuel Hebrard, George Katsirelos, Nadjib Lazaar, Nina Narodytska, Claude-Guy Quimper, Toby Walsh, et al. Con- straint acquisition via partial queries. In IJCAI, volume 13, pages 475-481, 2013. IJCAI
  9. [Beyer et al., 2009] Dirk Beyer, Alessandro Cimatti, Alberto Griggio, M Erkan Keremoglu, and Roberto Sebastiani. Soft- ware model checking via large-block encoding. In Formal Methods in Computer-Aided Design, 2009. FMCAD 2009, pages 25-32. IEEE, 2009.
  10. [Campigotto et al., 2011] Paolo Campigotto, Andrea Passerini, and Roberto Battiti. Active learning of combina- torial features for interactive optimization. In International Conference on Learning and Intelligent Optimization, pages 336-350. Springer, 2011.
  11. [Chavira and Darwiche, 2008] Mark Chavira and Adnan Dar- wiche. On probabilistic inference by weighted model count- ing. Artificial Intelligence, 172(6-7):772-799, 2008.
  12. [Cimatti et al., 2013] Alessandro Cimatti, Alberto Griggio, Bastiaan Joost Schaafsma, and Roberto Sebastiani. The mathsat5 smt solver. In TACAS, volume 7795, pages 93- 107. Springer, 2013.
  13. [Cussens, 2008] James Cussens. Bayesian network learning by compiling to weighted MAX-SAT. Proc. UAI, pages 105-112, 2008.
  14. [De Moura and Bjørner, 2008] Leonardo De Moura and Nikolaj Bjørner. Z3: An efficient smt solver. Tools and Algorithms for the Construction and Analysis of Systems, pages 337-340, 2008.
  15. [Fagerberg et al., 2012] Rolf Fagerberg, Christoph Flamm, Daniel Merkle, and Philipp Peters. Exploring chemistry using smt. In Principles and Practice of Constraint Pro- gramming, pages 900-915. Springer, 2012.
  16. [Gulwani et al., 2011] Sumit Gulwani, Vijay Anand Kor- thikanti, and Ashish Tiwari. Synthesizing geometry con- structions. In ACM SIGPLAN Notices, volume 46, pages 50-61. ACM, 2011.
  17. [Gulwani et al., 2017] Sumit Gulwani, Oleksandr Polozov, Rishabh Singh, et al. Program synthesis. Foundations and Trends R in Programming Languages, 4(1-2):1-119, 2017.
  18. [Harada et al., 1995] Mikako Harada, Andrew Witkin, and David Baraff. Interactive physically-based manipulation of discrete/continuous models. In Proceedings of the 22nd annual conference on Computer graphics and interactive techniques, pages 199-208. ACM, 1995.
  19. [Jaakkola et al., 2010] Tommi Jaakkola, David Sontag, Amir Globerson, and Marina Meila. Learning Bayesian network structure using LP relaxations. In Proc. of the Thirteenth In- ternational Conference on Artificial Intelligence and Statis- tics, pages 358-365, 2010.
  20. [Jabbari et al., 2016] Shahin Jabbari, Ryan M Rogers, Aaron Roth, and Steven Z Wu. Learning from rational behavior: Predicting solutions to unknown linear programs. In Ad- vances in Neural Information Processing Systems, pages 1570-1578, 2016.
  21. [Kantchelian et al., 2014] Alex Kantchelian, Michael C Tschantz, Ling Huang, Peter L Bartlett, Anthony D Joseph, and J Doug Tygar. Large-margin convex polytope machine. In Advances in Neural Information Processing Systems, pages 3248-3256, 2014.
  22. [Lee, 2008] Edward A Lee. Cyber physical systems: Design challenges. In Object oriented real-time distributed com- puting (isorc), 2008 11th ieee international symposium on, pages 363-369. IEEE, 2008.
  23. [Monostori et al., 1996] L Monostori, A Márkus, Hendrik Van Brussel, and E Westkämpfer. Machine learning ap- proaches to manufacturing. CIRP Annals-Manufacturing Technology, 45(2), 1996.
  24. [Mooney, 1995] Raymond J Mooney. Encouraging experi- mental results on learning cnf. Machine Learning, 19(1):79- 92, 1995.
  25. [Muggleton and De Raedt, 1994] Stephen Muggleton and Luc De Raedt. Inductive logic programming: Theory and methods. The Journal of Logic Programming, 19:629-679, 1994.
  26. [Norouzi et al., 2015] Mohammad Norouzi, Maxwell Collins, Matthew A Johnson, David J Fleet, and Pushmeet Kohli. Efficient non-greedy optimization of decision trees. In Advances in Neural Information Processing Systems, pages 1729-1737, 2015.
  27. [Pawlak and Krawiec, 2017] Tomasz P Pawlak and Krzysztof Krawiec. Automatic synthesis of constraints from examples using mixed integer linear programming. European Journal of Operational Research, 261(3):1141-1157, 2017.
  28. [Quinlan, 1990] J Ross Quinlan. Learning logical definitions from relations. Machine learning, 5(3):239-266, 1990.
  29. [Sebastiani and Tomasi, 2015] Roberto Sebastiani and Silvia Tomasi. Optimization modulo theories with linear rational costs. ACM Transactions on Computational Logic (TOCL), 16(2):12, 2015.
  30. [Teso et al., 2015] Stefano Teso, Roberto Sebastiani, and An- drea Passerini. Structured learning modulo theories. Artifi- cial Intelligence, 2015.
  31. [Valiant, 1984] Leslie G Valiant. A theory of the learnable. Communications of the ACM, 27(11):1134-1142, 1984.
  32. [Yordanov et al., 2013] Boyan Yordanov, Christoph M Win- tersteiger, Youssef Hamadi, and Hillel Kugler. Smt-based analysis of biological computation. In NASA formal meth- ods symposium, pages 78-92. Springer, 2013.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards