Proceedings

Learning to Learn Programs from Examples: Going Beyond Program Structure

Download BibTeX Cite

Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence. Main track. Pages 1638-1645.

https://doi.org/10.24963/ijcai.2017/227

Abstract

Programming-by-example technologies let end users construct and run

new programs by providing examples of the intended program behavior.

But, the few provided examples seldom uniquely determine the intended

program. Previous approaches to picking a program used a bias toward

shorter or more naturally structured programs. Our work here gives a

machine learning approach for learning to learn programs that departs

from previous work by relying upon features that are independent of

the program structure, instead relying upon a learned bias over

program behaviors, and more generally over program execution

traces. Our approach leverages abundant unlabeled data for

semisupervised learning, and incorporates simple kinds of world

knowledge for common-sense reasoning during program induction. These

techniques are evaluated in two programming-by-example domains,

improving the accuracy of program learners.

  1. [Balog et al., 2016] Matej Balog, Alexander L Gaunt, Marc Brockschmidt, Sebastian Nowozin, and Daniel Tarlow. Deepcoder: Learning to write programs. arXiv preprint arXiv:1611.01989, 2016.
  2. Cheema et al., ] Salman Cheema, Sumit Gulwani, and Joseph LaViola. Quickdraw: improving drawing experi- ence for geometric diagrams. In SIGCHI.
  3. [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. arXiv preprint arXiv:1703.07469, 2017.
  4. Ellis et al., ] Kevin Ellis, Armando Solar-Lezama, and Josh Tenenbaum. Unsupervised learning by program synthesis. In NIPS.
  5. [Feng et al., 2016] Yu Feng, Ruben Martins, Jacob Van Gef- fen, Isil Dillig, and Swarat Chaudhuri. Component-based synthesis of table consolidation and transformation tasks from examples. PLDI, 2016.
  6. Ganchev et al., ] Kuzman Ganchev, Jennifer Gillenwater, Ben Taskar, et al. Posterior regularization for structured latent variable models. JMLR.
  7. [Gershman and Blei, 2012] Samuel J Gershman and David M Blei. A tutorial on bayesian nonparametric mod- els. Journal of Mathematical Psychology, 56(1):1-12, 2012.
  8. [Gulwani et al., 2015] Sumit Gulwani, Jose Hernandez- Orallo, Emanuel Kitzelmann, Stephen Muggleton, Ute Schmid, and Ben Zorn. Inductive programming meets the real world. Commun. ACM, 2015.
  9. [Gulwani, 2011] Sumit Gulwani. Automating string process- ing in spreadsheets using input-output examples. In ACM SIGPLAN Notices, volume 46, pages 317-330. ACM, 2011.
  10. [Gulwani, 2014] Sumit Gulwani. Example-based learning in computer-aided stem education. Communications of the ACM, 57(8):70-80, 2014.
  11. [Hofstadter et al., 1994] Douglas R Hofstadter, Melanie Mitchell, et al. The copycat project: A model of mental fluidity and analogy-making. 1994.
  12. [Lau, 2001] Tessa Lau. Programming by demonstration: a machine learning approach. PhD thesis, University of Washington, 2001.
  13. [Le and Gulwani, 2014] Vu Le and Sumit Gulwani. Flashex- tract: a framework for data extraction by examples. In ACM SIGPLAN Notices, volume 49, pages 542-553. ACM, 2014.
  14. [Le et al., 2013] Vu Le, Sumit Gulwani, and Zhendong Su. Smartsynth: Synthesizing smartphone automation scripts from natural language. In Proceeding of the 11th annual international conference on Mobile systems, applications, and services, pages 193-206. ACM, 2013.
  15. [Liang et al., 2010] Percy Liang, Michael I. Jordan, and Dan Klein. Learning programs: A hierarchical bayesian ap- proach. In Johannes Fürnkranz and Thorsten Joachims, editors, ICML, pages 639-646. Omnipress, 2010.
  16. [Liang et al., 2011] Percy Liang, Michael I. Jordan, and Dan Klein. Learning dependency-based compositional seman- tics. In ACL, pages 590-599, 2011.
  17. [Lieberman, 2001] Henry Lieberman. Your Wish is My Com- mand: Programming by Example. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 2001.
  18. [Lin et al., 2014] Dianhuan Lin, Eyal Dechter, Kevin Ellis, Joshua B. Tenenbaum, and Stephen Muggleton. Bias re- formulation for one-shot function induction. In ECAI 2014, pages 525-530, 2014.
  19. [Mayer et al., 2015] Mikaël Mayer, Gustavo Soares, Maxim Grechkin, Vu Le, Mark Marron, Oleksandr Polozov, Rishabh Singh, Benjamin Zorn, and Sumit Gulwani. User interaction models for disambiguation in programming by example. In Proceedings of the 28th Annual ACM Sympo- sium on User Interface Software & Technology, UIST '15, pages 291-301, New York, NY, USA, 2015. ACM.
  20. [Menon et al., 2013] Aditya Menon, Omer Tamuz, Sumit Gulwani, Butler Lampson, and Adam Kalai. A machine learning framework for programming by example. In ICML, pages 187-195, 2013.
  21. [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. Machine Learning, 100(1):49-73, 2015.
  22. [Parisotto et al., 2016] Emilio Parisotto, Abdel-rahman Mo- hamed, Rishabh Singh, Lihong Li, Dengyong Zhou, and Pushmeet Kohli. Neuro-symbolic program synthesis. arXiv preprint arXiv:1611.01855, 2016.
  23. [Polozov and Gulwani, 2015] Oleksandr Polozov and Sumit Gulwani. Flashmeta: A framework for inductive program synthesis. ACM SIGPLAN Notices, 50(10):107-126, 2015.
  24. [Prince and Smolensky, 2008] Alan Prince and Paul Smolen- sky. Optimality Theory: Constraint interaction in genera- tive grammar. John Wiley & Sons, 2008.
  25. [Raza et al., 2015] Mohammad Raza, Sumit Gulwani, and Natasa Milic-Frayling. Compositional program synthesis from natural language and examples. In IJCAI, 2015. IJCAI
  26. Schmidhuber, ] Jürgen Schmidhuber. The speed prior: a new simplicity measure yielding near-optimal computable predictions. In COLT.
  27. Singh and Gulwani, a] Rishabh Singh and Sumit Gulwani. Predicting a correct program in programming by example. In CAV.
  28. Singh and Gulwani, b] Rishabh Singh and Sumit Gulwani. Synthesizing number transformations from input-output examples. In CAV.
  29. [Singh and Gulwani, 2012] Rishabh Singh and Sumit Gul- wani. Learning semantic string transformations from ex- amples. Proceedings of the VLDB Endowment, 5(8):740- 751, 2012.
  30. [Singh, 2016] Rishabh Singh. Blinkfill: Semi-supervised programming by example for syntactic string transforma- tions. Proceedings of the VLDB Endowment, 2016.
  31. [Solomonoff, 1964] Ray J Solomonoff. A formal theory of inductive inference. Information and control, 7(1):1-22, 1964.
  32. [Št'ava et al., 2010] Ondrej Št'ava, Bedrich Beneš, Radomir Měch, Daniel G Aliaga, and Peter Krištof. Inverse proce- dural modeling by automatic generation of l-systems. In Computer Graphics Forum, volume 29, pages 665-674. Wiley Online Library, 2010.
  33. [Tieleman and Hinton, 2014] Tijmen Tieleman and Geoffrey Hinton. RMSprop Gradient Optimization. 2014.

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

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