Skip to main content

On the Regularity and Learnability of Ordered DAG Languages

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10329))

Abstract

Order-Preserving DAG Grammars (OPDGs) is a subclass of Hyper-Edge Replacement Grammars that can be parsed in polynomial time. Their associated class of languages is known as Ordered DAG Languages, and the graphs they generate are characterised by being acyclic, rooted, and having a natural order on their nodes. OPDGs are useful in natural-language processing to model abstract meaning representations. We state and prove a Myhill-Nerode theorem for ordered DAG languages, and translate it into a MAT-learning algorithm for the same class. The algorithm infers a minimal OPDG G for the target language in time polynomial in G and the samples provided by the MAT oracle.

J. Björklund—Supported by the Swedish Research Council, Grant No. 621-2012-4555.

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

Buying options

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

Learn about institutional subscriptions

Notes

  1. 1.

    The ISI corpus is available at http://amr.isi.edu.

  2. 2.

    In [4], the grammars are called Restricted DAG Grammars, but we prefer to use a name that is more descriptive.

References

  1. Angluin, D.: Learning regular sets from queries and counterexamples. Inf. Comput. 75, 87–106 (1987)

    Article  MathSciNet  MATH  Google Scholar 

  2. Banarescu, L., Bonial, C., Cai, S., Georgescu, M., Griffitt, K., Hermjakob, U., Knight, K., Koehn, P., Palmer, M., Schneider, N.: Abstract meaning representation for sembanking. In: 7th Linguistic Annotation Workshop & Interoperability with Discourse, Sofia, Bulgaria (2013)

    Google Scholar 

  3. Björklund, H., Björklund, J., Ericson, P.: On the regularity and learnability of ordered DAG languages. Technical report UMINF 17.12, Umeå University (2017)

    Google Scholar 

  4. Björklund, H., Drewes, F., Ericson, P.: Between a rock and a hard place - uniform parsing for hyperedge replacement DAG grammars. In: 10th International Conference on Language and Automata Theory and Applications, Prague, Czech Republic, pp. 521–532 (2016)

    Google Scholar 

  5. Björklund, J., Fernau, H., Kasprzik, A.: Polynomial inference of universal automata from membership and equivalence queries. Inf. Comput. 246, 3–19 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  6. Chiang, D., Andreas, J., Bauer, D., Hermann, K.M., Jones, B., Knight, K.: Parsing graphs with hyperedge replacement grammars. In: 51st Annual Meeting of the Association for Computational Linguistics (ACL 2013), Sofia, Bulgaria, pp. 924–932 (2013)

    Google Scholar 

  7. Drewes, F., Björklund, J., Maletti, A.: MAT learners for tree series: an abstract data type and two realizations. Acta Informatica 48(3), 165 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  8. Drewes, F., Högberg, J.: Query learning of regular tree languages: how to avoid dead states. Theory Comput. Syst. 40(2), 163–185 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  9. Drewes, F., Kreowski, H.-J., Habel, A.: Hyperedge replacement graph grammars. In: Rozenberg, G. (ed.), Handbook of Graph Grammars, vol. 1, pp. 95–162. World Scientific (1997)

    Google Scholar 

  10. Drewes, F., Vogler, H.: Learning deterministically recognizable tree series. J. Automata, Lang. Comb 12(3), 332–354 (2007)

    MathSciNet  MATH  Google Scholar 

  11. Hara, S., Shoudai, T.: Polynomial time MAT learning of c-deterministic regular formal graph systems. In: International Conference on Advanced Applied Informatics (IIAI AAI 2014), Kitakyushu, Japan, pp. 204–211 (2014)

    Google Scholar 

  12. Högberg, J.: A randomised inference algorithm for regular tree languages. Nat. Lang. Eng. 17(02), 203–219 (2011)

    Article  Google Scholar 

  13. Kozen, D.: On the Myhill-Nerode theorem for trees. Bull. EATCS 47, 170–173 (1992)

    MATH  Google Scholar 

  14. Maletti, A.: Learning deterministically recognizable tree series — revisited. In: Bozapalidis, S., Rahonis, G. (eds.) CAI 2007. LNCS, vol. 4728, pp. 218–235. Springer, Heidelberg (2007). doi:10.1007/978-3-540-75414-5_14

    Chapter  Google Scholar 

  15. Okada, R., Matsumoto, S., Uchida, T., Suzuki, Y., Shoudai, T.: Exact learning of finite unions of graph patterns from queries. In: Hutter, M., Servedio, R.A., Takimoto, E. (eds.) ALT 2007. LNCS (LNAI), vol. 4754, pp. 298–312. Springer, Heidelberg (2007). doi:10.1007/978-3-540-75225-7_25

    Chapter  Google Scholar 

  16. Rozenberg, G., Welzl, E.: Boundary NLC graph grammars-basic definitions, normal forms, and complexity. Inf. Control 69(1–3), 136–167 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  17. Sakakibara, Y.: Learning context-free grammars from structural data in polynomial time. Theor. Comput. Sci. 76(2–3), 223–242 (1990)

    Article  MathSciNet  MATH  Google Scholar 

  18. Shirakawa, H., Yokomori, T.: Polynomial-time MAT learning of c-deterministic context-free grammars. Trans. Inf. Process. Soc. Jpn. 34, 380–390 (1993)

    Google Scholar 

Download references

Acknowledgments

We thank the anonymous reviewers for their careful reading of our manuscript and their helpful comments.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Henrik Björklund .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Björklund, H., Björklund, J., Ericson, P. (2017). On the Regularity and Learnability of Ordered DAG Languages. In: Carayol, A., Nicaud, C. (eds) Implementation and Application of Automata. CIAA 2017. Lecture Notes in Computer Science(), vol 10329. Springer, Cham. https://doi.org/10.1007/978-3-319-60134-2_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-60134-2_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-60133-5

  • Online ISBN: 978-3-319-60134-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics