Proceedings

Relational Decomposition for Program Synthesis

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 4526-4534.

https://doi.org/10.24963/ijcai.2025/504

Abstract

We introduce a relational approach to program synthesis. The key idea is to decompose synthesis tasks into simpler relational synthesis subtasks. Specifically, our representation decomposes a training input-output example into sets of input and output facts respectively. We then learn relations between the input and output facts. We demonstrate our approach using an off-the-shelf inductive logic programming (ILP) system on four challenging synthesis datasets. Our results show that (i) our representation can outperform a standard one, and (ii) an off-the-shelf ILP system with our representation can outperform domain-specific approaches.

  1. [Aleixo and Lelis, 2023] David S. Aleixo and Levi H. S. Lelis. Show me the way! bilevel search for synthesizing programmatic strategies. In AAAI 2023, pages 4991-4998, 2023.
  2. [Ameen and Lelis, 2023] Saqib Ameen and Levi H. S. Lelis. Program synthesis with best-first bottom-up search. J. Artif. Intell. Res., 77:1275-1310, 2023.
  3. [Blumer et al., 1987] Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K. Warmuth. Occam's razor. Inf. Process. Lett., (6):377-380, 1987.
  4. [Bundy, 2013] Alan Bundy. The interaction of represen- tation and reasoning. Proceedings of the Royal Soci- ety A: Mathematical, Physical and Engineering Sciences, 469(2157):20130194, 2013.
  5. [Chen et al., 2021] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, et al. Evaluating large language models trained on code. CoRR, abs/2107.03374, 2021.
  6. [Chollet, 2019] Franc ¸ois Chollet. On the measure of intelli- gence. CoRR, abs/1911.01547, 2019.
  7. [Cohen, 1990] William W. Cohen. An analysis of representa- tion shift in concept learning. In Machine Learning, Pro- ceedings of the Seventh International Conference on Ma- chine Learning, Austin, Texas, USA, June 21-23, 1990, pages 104-112.
  8. Morgan Kaufmann, 1990.
  9. [Cropper and Dumančić, 2020] Andrew Cropper and Sebasti- jan Dumančić. Learning large logic programs by going be- yond entailment. In IJCAI 2020, pages 2073-2079, 2020. IJCAI
  10. [Cropper and Dumančić, 2022] Andrew Cropper and Sebasti- jan Dumančić. Inductive logic programming at 30: A new introduction. J. Artif. Intell. Res., 74:765-850, 2022.
  11. [Cropper and Hocquette, 2023] Andrew Cropper and Céline Hocquette. Learning logic programs by combining pro- grams. In ECAI 2023, pages 501-508, 2023.
  12. [Cropper and Morel, 2021] Andrew Cropper and Rolf Morel. Learning programs by learning from failures. Mach. Learn., 110(4):801-856, 2021.
  13. [Curtis et al., 2022] Aidan Curtis, Tom Silver, Joshua B. Tenenbaum, Tomás Lozano-Pérez, and Leslie Pack Kael- bling. Discovering state and action abstractions for gen- eralized task and motion planning. In AAAI 2022, pages 5377-5384, 2022.
  14. [Devlin et al., 2017] Jacob Devlin, Jonathan Uesato, Surya Bhupatiraju, Rishabh Singh, Abdel-rahman Mohamed, and Pushmeet Kohli. Robustfill: Neural program learning under noisy I/O. In ICML 2017, volume 70, pages 990-998, 2017.
  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 NeurIPS 2018, pages 7816- 7826, 2018.
  16. [Ellis et al., 2019] Kevin Ellis, Maxwell I. Nye, Yewen Pu, Felix Sosa, Josh Tenenbaum, and Armando Solar-Lezama. Write, execute, assess: Program synthesis with a REPL. In NeurIPS 2019, pages 9165-9174, 2019.
  17. [Evans et al., 2021] Richard Evans, José Hernández-Orallo, Johannes Welbl, Pushmeet Kohli, and Marek J. Sergot. Making sense of sensory input. Artif. Intell., 293:103438, 2021.
  18. [Franzen et al., 2024] Daniel Franzen, Jan Disselhoff, and David Hartmann. The llm architect: Solving arc-agi is a matter of perspective. 2024.
  19. [Gulwani et al., 2017] Sumit Gulwani, Oleksandr Polozov, Rishabh Singh, et al. Program synthesis. Foundations and Trends® in Programming Languages, 4(1-2):1-119, 2017.
  20. [Gulwani, 2011] Sumit Gulwani. Automating string process- ing in spreadsheets using input-output examples. In POPL 2011, pages 317-330, 2011.
  21. [Hodel, 2024] Michael Hodel. RE-ARC: Reverse- engineering the abstraction and reasoning corpus, 2024.
  22. [Katayama, 2008] Susumu Katayama. Efficient exhaustive generation of functional programs using monte-carlo search with iterative deepening. In PRICAI 2008, pages 199-210, 2008.
  23. [Kim et al., 2022] Subin Kim, Prin Phunyaphibarn, Donghyun Ahn, and Sundong Kim. Playgrounds for abstraction and reasoning. In NeurIPS 2022 Workshop on Neuro Causal and Symbolic AI (nCSI), 2022.
  24. [Lei et al., 2024] Chao Lei, Nir Lipovetzky, and Krista A. Ehinger. Generalized planning for the abstraction and rea- soning corpus. In AAAI 2024, pages 20168-20175, 2024.
  25. [Li et al., 2024] Wen-Ding Li, Keya Hu, Carter Larsen, Yuqing Wu, Simon Alford, Caleb Woo, Spencer M Dunn, Hao Tang, Michelangelo Naim, Dat Nguyen, et al. Com- bining induction and transduction for abstract reasoning. arXiv preprint arXiv:2411.02272, 2024.
  26. [Lin et al., 2014] Dianhuan Lin, Eyal Dechter, Kevin Ellis, Joshua B. Tenenbaum, and Stephen Muggleton. Bias refor- mulation for one-shot function induction. In ECAI 2014, pages 525-530, 2014.
  27. [Lloyd, 2012] John W Lloyd. Foundations of logic program- ming. Springer Science & Business Media, 2012.
  28. [Manna and Waldinger, 1980] Zohar Manna and Richard J. Waldinger. A deductive approach to program synthesis. ACM Trans. Program. Lang. Syst., 2(1):90-121, 1980. IJCAI
  29. [Muggleton et al., 2015] Stephen H. Muggleton, Dianhuan Lin, and Alireza Tamaddoni-Nezhad. Meta-interpretive learning of higher-order dyadic Datalog: predicate inven- tion revisited. Mach. Learn., (1):49-73, 2015.
  30. [Muggleton, 1991] Stephen H. Muggleton. Inductive logic programming. New Gener. Comput., 8(4):295-318, 1991.
  31. [Raedt, 2008] Luc De Raedt. Logical and relational learning. Cognitive Technologies. Springer, 2008.
  32. [Reiter, 1977] Raymond Reiter. On closed world data bases. In Logic and Data Bases, Symposium on Logic and Data Bases, Centre d'études et de recherches de Toulouse, France, 1977, pages 55-76, New York, 1977.
  33. [Rule et al., 2024] Joshua S. Rule, Steven T. Piantadosi, An- drew Cropper, Kevin Ellis, Maxwell Nye, and Joshua B. Tenenbaum. Symbolic metaprogram search improves learn- ing efficiency and explains rule learning in humans. Nature Communications, 15(1):6847, 2024.
  34. [Rule, 2020] Joshua Stewart Rule. The child as hacker: build- ing more human-like models of learning. PhD thesis, MIT, 2020.
  35. [Shapiro, 1983] Ehud Y. Shapiro. Algorithmic Program De- Bugging. Cambridge, MA, USA, 1983.
  36. [Shi et al., 2022] Kensen Shi, Hanjun Dai, Kevin Ellis, and Charles Sutton. Crossbeam: Learning to search in bottom- up program synthesis. In International Conference on Learning Representations, 2022.
  37. [Silver et al., 2020] Tom Silver, Kelsey R. Allen, Alex K. Lew, Leslie Pack Kaelbling, and Josh Tenenbaum. Few- shot bayesian imitation learning with logical program poli- cies. In AAAI 2020, pages 10251-10258, 2020.
  38. [Summers, 1977] Phillip D. Summers. A methodology for LISP program construction from examples. J. ACM, 24(1):161-175, 1977.
  39. [Tian et al., 2019] Yonglong Tian, Andrew Luo, Xingyuan Sun, Kevin Ellis, William T. Freeman, Joshua B. Tenen- baum, and Jiajun Wu. Learning to infer and execute 3d shape programs. In ICLR 2019, 2019.
  40. [Wang et al., 2024] Ruocheng Wang, Eric Zelikman, Gabriel Poesia, Yewen Pu, Nick Haber, and Noah Goodman. Hy- pothesis search: Inductive reasoning with language models. In ICLR 2024, 2024.
  41. [Wind, 2022] J. S. Wind. 1st place solution. https:// www.kaggle.com/c/abstraction-and-reasoning-challenge/ discussion/154597, 2022. Kaggle Forums, accessed 21 May 2025. Link
  42. [Witt et al., 2025] Jonas Witt, Sebastijan Dumancic, Tias Guns, and Claus-Christian Carbon. A divide, align and conquer strategy for program synthesis. J. Artif. Intell. Res., 82:1961-1997, 2025.
  43. [Xu et al., 2023] Yudong Xu, Elias B. Khalil, and Scott San- ner. Graphs, constraints, and search for the abstraction and reasoning corpus. In AAAI 2023, pages 4115-4122, 2023.
  44. [Xu et al., 2024] Yudong Xu, Wenhao Li, Pashootan Vaezipoor, Scott Sanner, and Elias Boutros Khalil. LLMs and the abstraction and reasoning corpus: Successes, fail- ures, and the importance of object-based representations. Transactions on Machine Learning Research, 2024.
  45. [Yang and Piantadosi, 2022] Yuan Yang and Steven T. Pianta- dosi. One model for the learning of language. Proceedings of the National Academy of Sciences, 119(5):e2021865119, 2022.

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

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