{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,27]],"date-time":"2026-06-27T15:00:41Z","timestamp":1782572441752,"version":"3.54.5"},"reference-count":42,"publisher":"MIT Press","issue":"4","license":[{"start":{"date-parts":[[2023,7,7]],"date-time":"2023-07-07T00:00:00Z","timestamp":1688688000000},"content-version":"vor","delay-in-days":187,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/"}],"content-domain":{"domain":["direct.mit.edu"],"crossmark-restriction":true},"short-container-title":[],"published-print":{"date-parts":[[2023,12,1]]},"abstract":"<jats:title>Abstract<\/jats:title>\n               <jats:p>Graph-based semantic representations are popular in natural language processing, where it is often convenient to model linguistic concepts as nodes and relations as edges between them. Several attempts have been made to find a generative device that is sufficiently powerful to describe languages of semantic graphs, while at the same allowing efficient parsing. We contribute to this line of work by introducing graph extension grammar, a variant of the contextual hyperedge replacement grammars proposed by Hoffmann et al. Contextual hyperedge replacement can generate graphs with non-structural reentrancies, a type of node-sharing that is very common in formalisms such as abstract meaning representation, but that context-free types of graph grammars cannot model. To provide our formalism with a way to place reentrancies in a linguistically meaningful way, we endow rules with logical formulas in counting monadic second-order logic. We then present a parsing algorithm and show as our main result that this algorithm runs in polynomial time on graph languages generated by a subclass of our grammars, the so-called local graph extension grammars.<\/jats:p>","DOI":"10.1162\/coli_a_00488","type":"journal-article","created":{"date-parts":[[2023,7,7]],"date-time":"2023-07-07T14:56:58Z","timestamp":1688741818000},"page":"841-882","update-policy":"https:\/\/doi.org\/10.1162\/mitpressjournals.corrections.policy","source":"Crossref","is-referenced-by-count":4,"title":["Generation and Polynomial Parsing of Graph Languages with Non-Structural Reentrancies"],"prefix":"10.1162","volume":"49","author":[{"given":"Johanna","family":"Bj\u00f6rklund","sequence":"first","affiliation":[{"name":"Department of Computing Science, Ume\u00e5 University. johanna@cs.umu.se"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Frank","family":"Drewes","sequence":"additional","affiliation":[{"name":"Department of Computing Science, Ume\u00e5 University. drewes@cs.umu.se"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Anna","family":"Jonsson","sequence":"additional","affiliation":[{"name":"Department of Computing Science, Ume\u00e5 University, aj@cs.umu.se"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"281","published-online":{"date-parts":[[2023,12,1]]},"reference":[{"issue":"1","key":"2024013020224687200_bib1","doi-asserted-by":"publisher","first-page":"79","DOI":"10.1016\/0166-218X(86)90070-3","article-title":"On the membership problem for regular DNLC grammars","volume":"13","author":"Aalbersberg","year":"1986","journal-title":"Discrete Applied Mathematics"},{"key":"2024013020224687200_bib2","first-page":"17","article-title":"Learning to represent programs with graphs","volume-title":"Conference Track Proceedings of the 6th International Conference on Learning Representations, ICLR 2018","author":"Allamanis","year":"2018"},{"key":"2024013020224687200_bib3","doi-asserted-by":"publisher","first-page":"97","DOI":"10.1007\/978-3-319-09108-2_7","article-title":"From core OCL invariants to nested graph constraints","volume-title":"7th International Conference on Graph Transformation (ICGT 2014)","author":"Arendt","year":"2014"},{"key":"2024013020224687200_bib4","first-page":"178","article-title":"Abstract meaning representation for sembanking","volume-title":"Proceedings of the 7th Linguistic Annotation Workshop and Interoperability with Discourse","author":"Banarescu","year":"2013"},{"issue":"1","key":"2024013020224687200_bib5","doi-asserted-by":"publisher","first-page":"83","DOI":"10.1007\/BF01692060","article-title":"Graph expressions and graph rewritings","volume":"20","author":"Bauderon","year":"1987","journal-title":"Mathematical Systems Theory"},{"key":"2024013020224687200_bib6","first-page":"17","article-title":"Analyzing and pumping hyperedge replacement formalisms in a common framework","volume-title":"Proceedings of the Tenth International Workshop on Graph Computation Models (GCM@STAF 2019)","author":"Berglund","year":"2019"},{"key":"2024013020224687200_bib7","doi-asserted-by":"publisher","first-page":"521","DOI":"10.1007\/978-3-319-30000-9_40","article-title":"Between a rock and a hard place \u2013 uniform parsing for hyperedge replacement DAG grammars","volume-title":"the 10th International Conference on Language and Automata Theory and Applications, LATA 2016","author":"Bj\u00f6rklund","year":"2016"},{"key":"2024013020224687200_bib8","doi-asserted-by":"publisher","first-page":"1","DOI":"10.18653\/v1\/W19-5701","article-title":"Parsing weighted order-preserving hyperedge replacement grammars","volume-title":"Proceedings of the 16th Meeting on the Mathematics of Language","author":"Bj\u00f6rklund","year":"2019"},{"key":"2024013020224687200_bib9","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1016\/j.jcss.2020.10.002","article-title":"Uniform parsing for hyperedge replacement grammars","volume":"118","author":"Bj\u00f6rklund","year":"2021","journal-title":"Journal of Computer and System Sciences"},{"key":"2024013020224687200_bib10","article-title":"Polynomial graph parsing with non-structural reentrancies","volume":"abs\/2105.02033","author":"Bj\u00f6rklund","year":"2021","journal-title":"CoRR"},{"key":"2024013020224687200_bib11","doi-asserted-by":"publisher","first-page":"57","DOI":"10.1016\/j.ic.2017.07.011","article-title":"Language theoretic properties of regular DAG languages","volume":"265","author":"Blum","year":"2019","journal-title":"Information and Computation"},{"key":"2024013020224687200_bib12","first-page":"4493","article-title":"Mapping between English strings and reentrant semantic graphs","volume-title":"Proceedings of the Ninth International Conference on Language Resources and Evaluation, LREC 2014","author":"Braune","year":"2014"},{"key":"2024013020224687200_bib13","doi-asserted-by":"publisher","first-page":"217","DOI":"10.3115\/977035.977080","article-title":"Parsing with an extended domain of locality","volume-title":"Ninth Conference of the European Chapter of the Association for Computational Linguistics","author":"Carroll","year":"1999"},{"key":"2024013020224687200_bib14","first-page":"924","article-title":"Parsing graphs with hyperedge replacement grammars","volume-title":"Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)","author":"Chiang","year":"2013"},{"issue":"1","key":"2024013020224687200_bib15","doi-asserted-by":"publisher","first-page":"119","DOI":"10.1162\/COLI_a_00309","article-title":"Weighted DAG automata for semantic graphs","volume":"44","author":"Chiang","year":"2018","journal-title":"Computational Linguistics"},{"key":"2024013020224687200_bib16","doi-asserted-by":"publisher","first-page":"153","DOI":"10.1016\/0304-3975(91)90387-H","article-title":"The monadic second-order logic of graphs V: On closing the gap between definability and recognizability","volume":"80","author":"Courcelle","year":"1991","journal-title":"Theoretical Computer Science"},{"key":"2024013020224687200_bib17","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511977619","volume-title":"Graph Structure and Monadic Second-Order Logic \u2013 A Language-Theoretic Approach","author":"Courcelle","year":"2012"},{"key":"2024013020224687200_bib18","volume-title":"Grammatical Picture Generation \u2013 A Tree-Based Approach","author":"Drewes","year":"2006"},{"issue":"6","key":"2024013020224687200_bib19","doi-asserted-by":"publisher","first-page":"497","DOI":"10.1007\/s00236-015-0223-4","article-title":"Contextual hyperedge replacement","volume":"52","author":"Drewes","year":"2015","journal-title":"Acta Informatica"},{"key":"2024013020224687200_bib20","doi-asserted-by":"publisher","first-page":"3090","DOI":"10.1016\/j.tcs.2010.04.038","article-title":"Adaptive star grammars and their languages","volume":"411","author":"Drewes","year":"2010","journal-title":"Theoretical Computer Science"},{"key":"2024013020224687200_bib21","doi-asserted-by":"publisher","first-page":"182","DOI":"10.1007\/978-3-642-34176-2_16","article-title":"Contextual hyperedge replacement","volume-title":"Applications of Graph Transformations with Industrial Relevance: 4th International Symposium, Revised Selected and Invited Papers","author":"Drewes","year":"2012"},{"key":"2024013020224687200_bib22","doi-asserted-by":"publisher","first-page":"55","DOI":"10.1007\/978-3-030-23611-3_4","article-title":"Extending predictive shift-reduce parsing to contextual hyperedge replacement grammars","volume-title":"Proceedings of the 12th International Conference on Graph Transformation, ICGT 2017, Eindhoven, The Netherlands","author":"Drewes","year":"2017"},{"key":"2024013020224687200_bib23","doi-asserted-by":"publisher","first-page":"303","DOI":"10.1016\/j.jlamp.2018.12.006","article-title":"Formalization and correctness of predictive shift-reduce parsers for graph grammars based on hyperedge replacement","volume":"104","author":"Drewes","year":"2019","journal-title":"Journal of Logical and Algebraic Methods in Programming"},{"key":"2024013020224687200_bib24","doi-asserted-by":"publisher","first-page":"164","DOI":"10.1007\/978-3-030-78946-6_9","article-title":"Rule-based top-down parsing for acyclic contextual hyperedge replacement grammars","volume-title":"Proceedings of the 14th International Conference on Graph Transformation, ICGT 2021","author":"Drewes","year":"2021"},{"key":"2024013020224687200_bib25","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1007\/978-3-031-09843-7_1","article-title":"Acyclic contextual hyperedge replacement: Decidability of acyclicity and generative power","volume-title":"Proceedings of the 15th International Conference on Graph Transformation (ICGT 2022)","author":"Drewes","year":"2022"},{"key":"2024013020224687200_bib26","first-page":"102","article-title":"Contextual hyperedge replacement grammars for abstract meaning representations","volume-title":"Proceedings of the 13th International Workshop on Tree Adjoining Grammars and Related Formalisms","author":"Drewes","year":"2017"},{"key":"2024013020224687200_bib27","doi-asserted-by":"publisher","first-page":"95","DOI":"10.1142\/9789812384720_0002","article-title":"Hyperedge replacement graph grammars","volume-title":"Handbook of Graph Grammars and Computing by Graph Transformation","author":"Drewes","year":"1997"},{"key":"2024013020224687200_bib28","first-page":"13","article-title":"A constrained graph algebra for semantic parsing with AMRs","volume-title":"Proceedings of the 12th International Conference on Computational Semantics (Long papers), IWCS 2017","author":"Groschwitz","year":"2017"},{"key":"2024013020224687200_bib29","doi-asserted-by":"publisher","first-page":"1481","DOI":"10.3115\/v1\/P15-1143","article-title":"Graph parsing with s-graph grammars","volume-title":"Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)","author":"Groschwitz","year":"2015"},{"key":"2024013020224687200_bib30","doi-asserted-by":"publisher","first-page":"1831","DOI":"10.18653\/v1\/P18-1170","article-title":"AMR dependency parsing with a typed semantic algebra","volume-title":"Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Long Papers), ACL 2018","author":"Groschwitz","year":"2018"},{"key":"2024013020224687200_bib31","doi-asserted-by":"publisher","first-page":"287","DOI":"10.3233\/FI-1996-263404","article-title":"Graph grammars with negative application conditions","volume":"26","author":"Habel","year":"1996","journal-title":"Fundamenta Informaticae"},{"key":"2024013020224687200_bib32","doi-asserted-by":"publisher","first-page":"207","DOI":"10.1007\/BFb0039608","article-title":"Some structural aspects of hypergraph languages generated by hyperedge replacement","volume-title":"STACS 1987","author":"Habel","year":"1987"},{"issue":"1","key":"2024013020224687200_bib33","first-page":"1","article-title":"Phrase structure trees bear more fruit than you would have thought","volume":"8","author":"Joshi","year":"1982","journal-title":"American Journal of Computational Linguistics"},{"key":"2024013020224687200_bib34","first-page":"173","article-title":"Lexical-functional grammar: A formal system for grammatical representation","volume-title":"The Mental Representation of Grammatical Relations","author":"Kaplan","year":"1982"},{"key":"2024013020224687200_bib35","doi-asserted-by":"publisher","first-page":"153","DOI":"10.3115\/100964.100979","article-title":"A flexible interface for linking applications to Penman\u2019s sentence generator","volume-title":"Proceedings of the workshop on Speech and Natural Language, HLT 1989","author":"Kasper","year":"1989"},{"issue":"1","key":"2024013020224687200_bib36","doi-asserted-by":"publisher","first-page":"17","DOI":"10.1016\/0166-218X(87)90051-5","article-title":"String grammars with disconnecting or a basic root of the difficulty in graph grammar parsing","volume":"16","author":"Lange","year":"1987","journal-title":"Discrete Applied Mathematics"},{"key":"2024013020224687200_bib37","doi-asserted-by":"publisher","first-page":"704","DOI":"10.3115\/980845.980963","article-title":"Generation that exploits corpus-based statistical knowledge","volume-title":"Proceedings of the 36th Annual Meeting of the Association for Computational Linguistics and 17th International Conference on Computational Linguistics (Volume 1)","author":"Langkilde","year":"1998"},{"issue":"5","key":"2024013020224687200_bib38","doi-asserted-by":"publisher","first-page":"399","DOI":"10.1007\/BF00289017","article-title":"The complexity of graph languages generated by hyperedge replacement","volume":"27","author":"Lautemann","year":"1990","journal-title":"Acta Informatica"},{"key":"2024013020224687200_bib39","doi-asserted-by":"publisher","first-page":"4576","DOI":"10.18653\/v1\/P19-1450","article-title":"Compositional semantic parsing across graphbanks","volume-title":"Proceedings of the 57th Conference of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2019","author":"Lindemann","year":"2019"},{"key":"2024013020224687200_bib40","doi-asserted-by":"publisher","first-page":"3929","DOI":"10.18653\/v1\/2020.emnlp-main.323","article-title":"Fast semantic parsing with well-typedness guarantees","volume-title":"Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP","author":"Lindemann","year":"2020"},{"issue":"1\u20132","key":"2024013020224687200_bib41","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1016\/S0019-9958(67)90353-1","article-title":"Algebraic automata and context-free sets","volume":"11","author":"Mezei","year":"1967","journal-title":"Information and Control"},{"key":"2024013020224687200_bib42","first-page":"76","article-title":"Towards probabilistic acceptors and transducers for feature structures","volume-title":"Proceedings of the Sixth Workshop on Syntax, Semantics and Structure in Statistical Translation","author":"Quernheim","year":"2012"}],"container-title":["Computational Linguistics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/direct.mit.edu\/coli\/article-pdf\/49\/4\/841\/2269479\/coli_a_00488.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/direct.mit.edu\/coli\/article-pdf\/49\/4\/841\/2269479\/coli_a_00488.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,1,30]],"date-time":"2024-01-30T20:23:27Z","timestamp":1706646207000},"score":1,"resource":{"primary":{"URL":"https:\/\/direct.mit.edu\/coli\/article\/49\/4\/841\/116636\/Generation-and-Polynomial-Parsing-of-Graph"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023]]},"references-count":42,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2023,12,1]]},"published-print":{"date-parts":[[2023,12,1]]}},"URL":"https:\/\/doi.org\/10.1162\/coli_a_00488","relation":{},"ISSN":["0891-2017","1530-9312"],"issn-type":[{"value":"0891-2017","type":"print"},{"value":"1530-9312","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2023]]},"published":{"date-parts":[[2023]]}}}