Proceedings

Learning Logic Programs by Discovering Higher-Order Abstractions

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 3421-3429.

https://doi.org/10.24963/ijcai.2024/379

Abstract

We introduce the higher-order refactoring problem, where the goal is to compress a logic program by discovering higher-order abstractions, such as map, filter, and fold. We implement our approach in Stevie, which formulates the refactoring problem as a constraint optimisation problem. Our experiments on multiple domains, including program synthesis and visual reasoning, show that refactoring can improve the learning performance of an inductive logic programming system, specifically improving predictive accuracies by 27% and reducing learning times by 47%. We also show that Stevie can discover abstractions that transfer to multiple domains.

  1. [Adé et al., 1994] Hilde Adé, Bart Malfait, and Luc De Raedt. RUTH: an ILP theory revision system. In Zbigniew W. Ras and Maria Zemankova, editors, Methodologies for Intelli- gent Systems, 8th International Symposium, ISMIS, Char- lotte, North Carolina, USA, volume 869 of Lecture Notes in Computer Science, pages 336-345. Springer, 1994.
  2. [Blockeel and Raedt, 1998] Hendrik Blockeel and Luc De Raedt. Top-down induction of first-order logical decision trees. Artif. Intell., 101(1-2):285-297, 1998.
  3. [Bowers et al., 2023] Matthew Bowers, Theo X. Olausson, Lionel Wong, Gabriel Grand, Joshua B. Tenenbaum, Kevin Ellis, and Armando Solar-Lezama. Top-down synthesis for library learning. Proc. ACM Program. Lang., 7(POPL), jan 2023.
  4. [Bundy and Li, 2023] Alan Bundy and Xue Li. Representa- tional change is integral to reasoning. Philos Trans A Math Phys Eng Sci. ., 2023.
  5. [Cao et al., 2023] David Cao, Rose Kunkel, Chandrakana Nandi, Max Willsey, Zachary Tatlock, and Nadia Polikar- pova. Babble: learning better abstractions with e-graphs and anti-unification. Proceedings of the ACM on Program- ming Languages, 7(POPL):396-424, 2023.
  6. [Chaitin, 2006] Gregory Chaitin. The limits of reason. Scien- tific American, 294(3):74-81, 2006.
  7. [Cretu and Cropper, 2022] Bogdan Cretu and Andrew Crop- per. Constraint-driven multi-task learning. arXiv preprint arXiv:2208.11656, 2022.
  8. [Cropper and Morel, 2021] Andrew Cropper and Rolf Morel. Learning programs by learning from failures. Mach. Learn., 110(4):801-856, 2021.
  9. [Cropper et al., 2020] Andrew Cropper, Rolf Morel, and Stephen H. Muggleton. Learning higher-order logic pro- grams. Mach. Learn., 109(7):1289-1322, 2020.
  10. [Cropper et al., 2022] Andrew Cropper, Sebastijan Duman- cic, Richard Evans, and Stephen H. Muggleton. Inductive logic programming at 30. Mach. Learn., 111(1):147-172, 2022.
  11. [Dai and Muggleton, 2021] Wang-Zhou Dai and Stephen H. Muggleton. Abductive knowledge induction from raw data. In Proceedings of the Thirtieth International Joint Confer- ence on Artificial Intelligence, IJCAI 2021, Virtual Event / Montreal, Canada, pages 1845-1851, 2021. IJCAI
  12. [De Raedt et al., 2015] Luc De Raedt, Anton Dries, Ingo Thon, Guy Van den Broeck, and Mathias Verbeke. Inducing probabilistic relational rules from probabilistic examples. In Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI, Buenos Aires, Argentina, pages 1835-1843, 2015. IJCAI
  13. [Dumančić et al., 2019] Sebastijan Dumančić, Tias Guns, Wannes Meert, and Hendrik Blockeel. Learning relational representations with auto-encoding logic programs. In 28th International Joint Conference on Artificial Intelligence, IJCAI, pages 6081-6087, 2019. IJCAI
  14. [Dumančić et al., 2021] Sebastijan Dumančić, Tias Guns, and Andrew Cropper. Knowledge refactoring for inductive program synthesis. In Thirty-Fifth AAAI Conference on Artificial Intelligence, AAAI, pages 7271-7278, 2021.
  15. [Ellis et al., 2018] Kevin Ellis, Lucas Morales, Mathias Sablé-Meyer, Armando Solar-Lezama, and Josh Tenen- baum. Learning libraries of subroutines for neurally-guided bayesian program induction. In Advances in Neural Infor- mation Processing Systems 31: Annual Conference on Neu- ral Information Processing Systems, NeurIPS, Montréal, Canada, pages 7816-7826, 2018.
  16. [Evans and Grefenstette, 2018] Richard Evans and Edward Grefenstette. Learning explanatory rules from noisy data. J. Artif. Intell. Res., 61:1-64, 2018.
  17. [Evans et al., 2021] Richard Evans, José Hernández-Orallo, Johannes Welbl, Pushmeet Kohli, and Marek Sergot. Making sense of sensory input. Artificial Intelligence, 293:103438, 2021.
  18. [Feng and Muggleton, 1992] Cao Feng and Stephen H. Mug- gleton. Towards inductive generalization in higher order logic. In Proceedings of the Ninth International Workshop on Machine Learning (ML 1992), Aberdeen, Scotland, UK, pages 154-162.
  19. Morgan Kaufmann, 1992.
  20. [Jain et al., 2021] Arcchit Jain, Clément Gautrais, Angelika Kimmig, and Luc De Raedt. Learning CNF theories using MDL and predicate invention. In Proceedings of the Thirti- eth International Joint Conference on Artificial Intelligence, IJCAI 2021, pages 2599-2605, 2021. IJCAI
  21. [Kaminski et al., 2019] Tobias Kaminski, Thomas Eiter, and Katsumi Inoue. Meta-interpretive learning using hex- programs. In Sarit Kraus, editor, Proceedings of the Twenty- Eighth International Joint Conference on Artificial Intelli- gence, IJCAI, Macao, China, pages 6186-6190, 2019.
  22. [Kok and Domingos, 2007] Stanley Kok and Pedro M. Domingos. Statistical predicate invention. In Zoubin Ghahramani, editor, Machine Learning, Proceedings of the Twenty-Fourth International Conference (ICML), Corvallis, Oregon, USA, volume 227 of ACM International Confer- ence Proceeding Series, pages 433-440. ACM, 2007.
  23. [Kramer, 2020] Stefan Kramer. A brief history of learning symbolic higher-level representations from data (and a cu- rious look forward). In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI 2020, pages 4868-4876, 2020. IJCAI
  24. [Kumaraswamy et al., 2015] Raksha Kumaraswamy, Phillip Odom, Kristian Kersting, David Leake, and Sriraam Natara- jan. Transfer learning via relational type matching. In IEEE International Conference on Data Mining, ICDM, Atlantic City, NJ, USA, pages 811-816. IEEE Computer Society, 2015.
  25. [Lavrac and Dzeroski, 1994] Nada Lavrac and Saso Dzeroski. Inductive logic programming -techniques and applications.
  26. Ellis Horwood series in artificial intelligence. Ellis Hor- wood, 1994.
  27. [Lin et al., 2014] Dianhuan Lin, Eyal Dechter, Kevin Ellis, Joshua B. Tenenbaum, and Stephen H. Muggleton. Bias reformulation for one-shot function induction. In ECAI 2014 -21st European Conference on Artificial Intelligence, 18-22 August 2014, Prague, Czech Republic -Including Prestigious Applications of Intelligent Systems (PAIS 2014), volume 263 of Frontiers in Artificial Intelligence and Ap- plications, pages 525-530. IOS Press, 2014.
  28. [Lloyd, 2012] John W Lloyd. Foundations of logic program- ming. Springer Science & Business Media, 2012.
  29. [Marcus, 2020] Gary Marcus. The next decade in AI: four steps towards robust artificial intelligence. CoRR, abs/2002.06177, 2020.
  30. [McCarthy, 1995] John McCarthy. Making robots conscious of their mental states. In Machine Intelligence 15, 1995.
  31. [Mitchell, 2021] Melanie Mitchell. Abstraction and analogy- making in artificial intelligence. CoRR, abs/2102.10717, 2021.
  32. [Muggleton and Buntine, 1988] Stephen H. Muggleton and Wray L. Buntine. Machine invention of first order pred- icates by inverting resolution. In John E. Laird, editor, Machine Learning, Proceedings of the Fifth International Conference on Machine Learning, Ann Arbor, Michigan, USA, pages 339-352.
  33. Morgan Kaufmann, 1988.
  34. [Muggleton et al., 2012] Stephen H. Muggleton, Luc De Raedt, David Poole, Ivan Bratko, Peter A. Flach, Katsumi Inoue, and Ashwin Srinivasan. ILP turns 20 -biography and future challenges. Mach. Learn., 86(1):3-23, 2012.
  35. [Muggleton et al., 2015] Stephen H. Muggleton, Dianhuan Lin, and Alireza Tamaddoni-Nezhad. Meta-interpretive learning of higher-order dyadic datalog: predicate invention revisited. Mach. Learn., 100(1):49-73, 2015.
  36. [Paes et al., 2006] Aline Paes, Filip Zelezný, Gerson Za- verucha, C. David Page Jr., and Ashwin Srinivasan. ILP through propositionalization and stochastic k-term DNF learning. In Inductive Logic Programming, 16th Interna- tional Conference, ILP Santiago de Compostela, Spain, Revised Selected Papers, volume 4455 of Lecture Notes in Computer Science, pages 379-393. Springer, 2006.
  37. [Paes et al., 2017] Aline Paes, Gerson Zaverucha, and Vítor Santos Costa. On the use of stochastic local search techniques to revise first-order logic theories from exam- ples. Mach. Learn., 106(2):197-241, 2017.
  38. [Perron and Furnon, 2019] Laurent Perron and Vincent Furnon. Or-tools. Google.[Online]. Available: https://developers. google. com/optimization, 2019. Link
  39. [Plotkin, 1971] G.D. Plotkin. Automatic Methods of Inductive Inference. PhD thesis, Edinburgh University, August 1971.
  40. [Purgal et al., 2022] Stanislaw J. Purgal, David M. Cerna, and Cezary Kaliszyk. Learning higher-order logic programs from failures. In Luc De Raedt, editor, Proceedings of the Thirty-First International Joint Conference on Artifi- cial Intelligence, IJCAI, Vienna, Austria, pages 2726-2733, 2022. IJCAI
  41. [Raedt and Bruynooghe, 1992] Luc De Raedt and Maurice Bruynooghe. Interactive concept-learning and constructive induction by analogy. Mach. Learn., 8:107-150, 1992.
  42. [Raedt et al., 2008] Luc De Raedt, Kristian Kersting, Ange- lika Kimmig, Kate Revoredo, and Hannu Toivonen. Com- pressing probabilistic prolog programs. Mach. Learn., 70(2- 3):151-168, 2008.
  43. [Richards and Mooney, 1995] Bradley L. Richards and Ray- mond J. Mooney. Automated refinement of first-order horn- clause domain theories. Mach. Learn., 19(2):95-131, 1995.
  44. [Rossi et al., 2006] Francesca Rossi, Peter van Beek, and Toby Walsh. Handbook of Constraint Programming (Foun- dations of Artificial Intelligence). Elsevier Science Inc., USA, 2006.
  45. [Russell, 2019] Stuart Russell. Human compatible: Artificial intelligence and the problem of control. Penguin, 2019.
  46. [Saitta and Zucker, 2013] Lorenza Saitta and Jean-Daniel Zucker. Abstraction in artificial intelligence and complex systems. Springer, 2013.
  47. [Silver et al., 2023] Tom Silver, Rohan Chitnis, Nishanth Ku- mar, Willie McClinton, Tomás Lozano-Pérez, Leslie Pack Kaelbling, and Joshua B. Tenenbaum. Predicate invention for bilevel planning. In Thirty-Seventh AAAI Conference on Artificial Intelligence, AAAI , Thirty-Fifth Conference on In- novative Applications of Artificial Intelligence, IAAI, Thir- teenth Symposium on Educational Advances in Artificial Intelligence, EAAI, Washington, DC, USA, pages 12120- 12129. AAAI Press, 2023.
  48. [Simon, 1981] Herbert A Simon. The sciences of the artificial. MIT press, 1981.
  49. [Sommer, 1995] Edgar Sommer. FENDER: an approach to theory restructuring (extended abstract). In Machine Learn- ing: ECML-95, 8th European Conference on Machine Learning, Heraclion, Crete, Greece, volume 912 of Lec- ture Notes in Computer Science, pages 356-359. Springer, 1995.
  50. [Srinivasan, 2001] Ashwin Srinivasan. The ALEPH manual. Machine Learning at the Computing Laboratory, Oxford University, 2001.
  51. [Torrey and Shavlik, 2009] Lisa Torrey and Jude Shavlik. Transfer learning. Handbook of Research on Machine Learning Applications and Trends: Algorithms, Methods, and Techniques, 1:242, 2009.
  52. [Wrobel, 1996] Stefan Wrobel. First-order theory refinement. In Advances in Inductive Logic Programming, pages 14-33, 1996.

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

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