Skip to main content

Towards Meta-interpretive Learning of Programming Language Semantics

  • Conference paper
  • First Online:
Inductive Logic Programming (ILP 2019)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 11770))

Included in the following conference series:

Abstract

We introduce a new application for inductive logic programming: learning the semantics of programming languages from example evaluations. In this short paper, we explore a simplified task in this domain using the Metagol meta-interpretive learning system. We highlight the challenging aspects of this scenario, including abstracting over function symbols, nonterminating examples, and learning non-observed predicates, and propose extensions to Metagol helpful for overcoming these challenges, which may prove useful in other domains.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Cheney, J., Urban, C.: Nominal logic programming. ACM Trans. Program. Lang. Syst. 30(5), 26:1–26:47 (2008)

    Article  Google Scholar 

  2. Cropper, A., Muggleton, S.H.: Learning higher-order logic programs through abstraction and invention. In: IJCAI, pp. 1418–1424. AAAI Press (2016)

    Google Scholar 

  3. Cropper, A., Muggleton, S.H.: Metagol System (2016). https://github.com/metagol/metagol

  4. Cropper, A., Tamaddoni-Nezhad, A., Muggleton, S.H.: Meta-interpretive learning of data transformation programs. In: Inoue, K., Ohwada, H., Yamamoto, A. (eds.) ILP 2015. LNCS (LNAI), vol. 9575, pp. 46–59. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-40566-7_4

    Chapter  Google Scholar 

  5. Cropper, A., Tourret, S.: Derivation reduction of metarules in meta-interpretive learning. In: Riguzzi, F., Bellodi, E., Zese, R. (eds.) ILP 2018. LNCS (LNAI), vol. 11105, pp. 1–21. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-99960-9_1

    Chapter  Google Scholar 

  6. Felleisen, M., Findler, R.B., Flatt, M.: Semantics Engineering with PLT Redex, 1st edn. The MIT Press, Cambridge (2009)

    MATH  Google Scholar 

  7. Krishnamurthi, S., Lerner, B.S., Elberty, L.: The next 700 semantics: a research challenge. In: SNAPL (2019)

    Google Scholar 

  8. Law, M., Russo, A., Broda, K.: The ILASP system for learning answer set programs (2015). https://www.doc.ic.ac.uk/~ml1909/ILASP

  9. Lin, D., Dechter, E., Ellis, K., Tenenbaum, J., Muggleton, S.: Bias reformulation for one-shot function induction. In: ECAI, pp. 525–530 (2014)

    Google Scholar 

  10. Miller, D., Nadathur, G.: Programming with Higher-Order Logic, 1st edn. Cambridge University Press, New York (2012)

    Book  Google Scholar 

  11. Mosses, P.D.: Modular structural operational semantics. J. Logic Algebraic Program. 60–61, 195–228 (2004)

    Article  MathSciNet  Google Scholar 

  12. Muggleton, S.H., Lin, D., Pahlavi, N., Tamaddoni-Nezhad, A.: Meta-interpretive learning: application to grammatical inference. Mach. Learn. 94(1), 25–49 (2014). https://doi.org/10.1007/s10994-013-5358-3

    Article  MathSciNet  MATH  Google Scholar 

  13. Muggleton, S.H., Lin, D., Tamaddoni-Nezhad, A.: Meta-interpretive learning of higher-order dyadic datalog: predicate invention revisited. Mach. Learn. 100(1), 49–73 (2015)

    Article  MathSciNet  Google Scholar 

  14. Plotkin, G.D.: A structural approach to operational semantics. J. Logic Algebraic Program. 60–61, 17–139 (2004)

    MathSciNet  MATH  Google Scholar 

  15. Ray, O.: Nonmonotonic abductive inductive learning. J. Appl. Logic 7(3), 329–340 (2009). https://doi.org/10.1016/j.jal.2008.10.007

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgments

The authors wish to thank Andrew Cropper, Vaishak Belle, and anonymous reviewers for comments. This work was supported by ERC Consolidator Grant Skye (grant number 682315).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sándor Bartha .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bartha, S., Cheney, J. (2020). Towards Meta-interpretive Learning of Programming Language Semantics. In: Kazakov, D., Erten, C. (eds) Inductive Logic Programming. ILP 2019. Lecture Notes in Computer Science(), vol 11770. Springer, Cham. https://doi.org/10.1007/978-3-030-49210-6_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-49210-6_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-49209-0

  • Online ISBN: 978-3-030-49210-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics