| { |
| "paper_id": "W04-0303", |
| "header": { |
| "generated_with": "S2ORC 1.0.0", |
| "date_generated": "2023-01-19T06:48:21.589430Z" |
| }, |
| "title": "Efficient incremental beam-search parsing with generative and discriminative models", |
| "authors": [ |
| { |
| "first": "Brian", |
| "middle": [], |
| "last": "Roark", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "Oregon Health & Science University", |
| "location": {} |
| }, |
| "email": "" |
| } |
| ], |
| "year": "", |
| "venue": null, |
| "identifiers": {}, |
| "abstract": "", |
| "pdf_parse": { |
| "paper_id": "W04-0303", |
| "_pdf_hash": "", |
| "abstract": [], |
| "body_text": [ |
| { |
| "text": "This talk will present several issues related to incremental (left-to-right) beam-search parsing of natural language using generative or discriminative models, either individually or in combination. The first part of the talk will provide background in incremental top-down and (selective) left-corner beamsearch parsing algorithms, and in stochastic models for such derivation strategies. Next, the relative benefits and drawbacks of generative and discriminative models with respect to heuristic pruning and search will be discussed. A range of methods for using multiple models during incremental parsing will be detailed. Finally, we will discuss the potential for effective use of fast, finite-state processing, e.g. partof-speech tagging, to reduce the parsing search space without accuracy loss. POS-tagging is shown to improve efficiency by as much as 20-25 percent with the same accuracy, largely due to the treatment of unknown words. In contrast, an 'islands-of-certainty' approach, which quickly annotates labeled bracketing over low-ambiguity word sequences, is shown to provide little or no efficiency gain over the existing beam-search.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| }, |
| { |
| "text": "The basic parsing approach that will be described in this talk is stochastic incremental top-down parsing, using a beam-search to prune the search space. Grammar induction occurs from an annotated treebank, and non-local features are extracted from each derivation to enrich the stochastic model. Left-corner grammar and tree transforms can be applied to the treebank or the induced grammar, either fully or selectively, to change the derivation order while retaining the same underlying parsing algorithm. This approach has been shown to be accurate, relatively efficient, and robust using both generative and discriminative models (Roark, 2001; Roark, 2004; Collins and Roark, 2004) .", |
| "cite_spans": [ |
| { |
| "start": 633, |
| "end": 646, |
| "text": "(Roark, 2001;", |
| "ref_id": "BIBREF8" |
| }, |
| { |
| "start": 647, |
| "end": 659, |
| "text": "Roark, 2004;", |
| "ref_id": "BIBREF9" |
| }, |
| { |
| "start": 660, |
| "end": 684, |
| "text": "Collins and Roark, 2004)", |
| "ref_id": "BIBREF1" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| }, |
| { |
| "text": "The key to effective beam-search parsing is comparability of analyses when the pruning is done. If two competing parses are at different points in their respective derivations, e.g. one is near the end of the derivation and another is near the beginning, then it will be difficult to evaluate which of the two is likely to result in a better parse. With a generative model, comparability can be accomplished by the use of a look-ahead statistic, which estimates the amount of probability mass required to extend a given derivation to include the word(s) in the look-ahead. Every step in the derivation decreases the probability of the derivation, but also takes the derivation one step closer to attaching to the look-ahead. For good parses, the look-ahead statistic should increase with each step of the derivation, ensuring a certain degree of comparability among competing parses with the same look-ahead.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| }, |
| { |
| "text": "Beam-search parsing using an unnormalized discriminative model, as in Collins and Roark (2004) , requires a slightly different search strategy than the original generative model described in Roark (2001; 2004) . This alternate search strategy is closer to the approach taken in Costa et al. (2001; 2003) , in that it enumerates a set of possible ways of attaching the next word before evaluating with the model. This ensures comparability for models that do not have the sort of behavior described above for the generative models, rendering look-ahead statistics difficult to estimate. This approach is effective, although somewhat less so than when a look-ahead statistic is used.", |
| "cite_spans": [ |
| { |
| "start": 70, |
| "end": 94, |
| "text": "Collins and Roark (2004)", |
| "ref_id": "BIBREF1" |
| }, |
| { |
| "start": 191, |
| "end": 203, |
| "text": "Roark (2001;", |
| "ref_id": "BIBREF8" |
| }, |
| { |
| "start": 204, |
| "end": 209, |
| "text": "2004)", |
| "ref_id": "BIBREF9" |
| }, |
| { |
| "start": 278, |
| "end": 297, |
| "text": "Costa et al. (2001;", |
| "ref_id": "BIBREF3" |
| }, |
| { |
| "start": 298, |
| "end": 303, |
| "text": "2003)", |
| "ref_id": "BIBREF4" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| }, |
| { |
| "text": "A generative parsing model can be used on its own, and it was shown in Collins and Roark (2004) that a discriminative parsing model can be used on its own. Most discriminative parsing approaches, e.g. (Johnson et al., 1999; Collins, 2000; Collins and Duffy, 2002) , are re-ranking approaches, in which another model (typically a generative model) presents a relatively small set of candidates, which are then re-scored using a second, discriminatively trained model. There are other ways to combine a generative and discriminative model apart from waiting for the former to provide a set of completed candidates to the latter. For example, the scores can be used simultaneously; or the generative model can present candidates to the discriminative model at intermediate points in the string, rather than simply at the end. We discuss these options and their potential benefits.", |
| "cite_spans": [ |
| { |
| "start": 71, |
| "end": 95, |
| "text": "Collins and Roark (2004)", |
| "ref_id": "BIBREF1" |
| }, |
| { |
| "start": 201, |
| "end": 223, |
| "text": "(Johnson et al., 1999;", |
| "ref_id": "BIBREF5" |
| }, |
| { |
| "start": 224, |
| "end": 238, |
| "text": "Collins, 2000;", |
| "ref_id": "BIBREF2" |
| }, |
| { |
| "start": 239, |
| "end": 263, |
| "text": "Collins and Duffy, 2002)", |
| "ref_id": "BIBREF0" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| }, |
| { |
| "text": "Finally, we discuss and present a preliminary evaluation of the use of rapid finite-state tagging to reduce the parsing search space, as was done in (Ratnaparkhi, 1997; Ratnaparkhi, 1999) . When the parsing algorithm is integrated with model training, such efficiency improvements can be particularly important. POS-tagging using a simple bi-tag model improved parsing efficiency by nearly 25 percent without a loss in accuracy, when 1.2 tags per word were produced on average by the tagger. Producing a single tag sequence for each string resulted in further speedups, but at the loss of 1-2 points of accuracy. We show that much, but not all, of the speedup from POS-tagging is due to more constrained tagging of unknown words.", |
| "cite_spans": [ |
| { |
| "start": 149, |
| "end": 168, |
| "text": "(Ratnaparkhi, 1997;", |
| "ref_id": "BIBREF6" |
| }, |
| { |
| "start": 169, |
| "end": 187, |
| "text": "Ratnaparkhi, 1999)", |
| "ref_id": "BIBREF7" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| }, |
| { |
| "text": "In a second set of trials, we make use of what we are calling 'syntactic collocations', i.e. collocations that are (nearly) unambiguously associated with a particular syntactic configuration. For example, a chain of auxiliaries in English will always combine in a particular syntactic configuration, modulo noise in the annotation. In our approach, the labeled bracketing spanning the sub-string is treated as a tag for the sequence. A simple, finite-state method for finding such collocations, and an efficient longest match algorithm for labeling strings will be presented. The labeled-bracketing 'tags' are integrated with the parse search as follows: when a derivation reaches the first word of such a collocation, the remaining words are attached in the given configuration. This has the effect of extending the look-ahead beyond the collocation, as well as potentially reducing the amount of search required to extend the derivations to include the words in the collocation. However, while POS-tagging improved efficiency, we find that using syntactic collocations does not, indicating that 'islands-of-certainty' approaches are not what is needed from shallow processing; rather genuine dis-ambiguation of the sort provided by the POS-tagger.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| } |
| ], |
| "back_matter": [ |
| { |
| "text": "Most of this work was done while the author was at AT&T Labs -Research. Some of it was in collaboration with Michael Collins.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Acknowledgments", |
| "sec_num": null |
| } |
| ], |
| "bib_entries": { |
| "BIBREF0": { |
| "ref_id": "b0", |
| "title": "New ranking algorithms for parsing and tagging: Kernels over discrete structures and the voted perceptron", |
| "authors": [ |
| { |
| "first": "Michael", |
| "middle": [], |
| "last": "Collins", |
| "suffix": "" |
| }, |
| { |
| "first": "Nigel", |
| "middle": [], |
| "last": "Duffy", |
| "suffix": "" |
| } |
| ], |
| "year": 2002, |
| "venue": "Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics", |
| "volume": "", |
| "issue": "", |
| "pages": "263--270", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Michael Collins and Nigel Duffy. 2002. New rank- ing algorithms for parsing and tagging: Kernels over discrete structures and the voted perceptron. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 263-270.", |
| "links": null |
| }, |
| "BIBREF1": { |
| "ref_id": "b1", |
| "title": "Incremental parsing with the perceptron algorithm", |
| "authors": [ |
| { |
| "first": "Michael", |
| "middle": [], |
| "last": "Collins", |
| "suffix": "" |
| }, |
| { |
| "first": "Brian", |
| "middle": [], |
| "last": "Roark", |
| "suffix": "" |
| } |
| ], |
| "year": 2004, |
| "venue": "Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Michael Collins and Brian Roark. 2004. Incremen- tal parsing with the perceptron algorithm. In Pro- ceedings of the 42nd Annual Meeting of the Asso- ciation for Computational Linguistics. To appear.", |
| "links": null |
| }, |
| "BIBREF2": { |
| "ref_id": "b2", |
| "title": "Discriminative reranking for natural language parsing", |
| "authors": [ |
| { |
| "first": "Michael", |
| "middle": [ |
| "J" |
| ], |
| "last": "Collins", |
| "suffix": "" |
| } |
| ], |
| "year": 2000, |
| "venue": "The Proceedings of the 17th International Conference on Machine Learning", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Michael J. Collins. 2000. Discriminative reranking for natural language parsing. In The Proceedings of the 17th International Conference on Machine Learning.", |
| "links": null |
| }, |
| "BIBREF3": { |
| "ref_id": "b3", |
| "title": "Wide coverage incremental parsing by learning attachment preferences", |
| "authors": [ |
| { |
| "first": "Fabrizio", |
| "middle": [], |
| "last": "Costa", |
| "suffix": "" |
| }, |
| { |
| "first": "Vincenzo", |
| "middle": [], |
| "last": "Lombardo", |
| "suffix": "" |
| }, |
| { |
| "first": "Paolo", |
| "middle": [], |
| "last": "Frasconi", |
| "suffix": "" |
| }, |
| { |
| "first": "Giovanni", |
| "middle": [], |
| "last": "Soda", |
| "suffix": "" |
| } |
| ], |
| "year": 2001, |
| "venue": "Conference of the Italian Association for Artificial Intelligence (AIIA)", |
| "volume": "", |
| "issue": "", |
| "pages": "297--307", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Fabrizio Costa, Vincenzo Lombardo, Paolo Frasconi, and Giovanni Soda. 2001. Wide coverage in- cremental parsing by learning attachment prefer- ences. In Conference of the Italian Association for Artificial Intelligence (AIIA), pages 297-307.", |
| "links": null |
| }, |
| "BIBREF4": { |
| "ref_id": "b4", |
| "title": "Towards incremental parsing of natural language using recursive neural networks", |
| "authors": [ |
| { |
| "first": "Fabrizio", |
| "middle": [], |
| "last": "Costa", |
| "suffix": "" |
| }, |
| { |
| "first": "Paolo", |
| "middle": [], |
| "last": "Frasconi", |
| "suffix": "" |
| }, |
| { |
| "first": "Vincenzo", |
| "middle": [], |
| "last": "Lombardo", |
| "suffix": "" |
| }, |
| { |
| "first": "Giovanni", |
| "middle": [], |
| "last": "Soda", |
| "suffix": "" |
| } |
| ], |
| "year": 2003, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Fabrizio Costa, Paolo Frasconi, Vincenzo Lombardo, and Giovanni Soda. 2003. Towards incremental parsing of natural language using recursive neural networks. Applied Intelligence. to appear.", |
| "links": null |
| }, |
| "BIBREF5": { |
| "ref_id": "b5", |
| "title": "Estimators for stochastic \"unification-based\" grammars", |
| "authors": [ |
| { |
| "first": "Mark", |
| "middle": [], |
| "last": "Johnson", |
| "suffix": "" |
| }, |
| { |
| "first": "Stuart", |
| "middle": [], |
| "last": "Geman", |
| "suffix": "" |
| }, |
| { |
| "first": "Steven", |
| "middle": [], |
| "last": "Canon", |
| "suffix": "" |
| }, |
| { |
| "first": "Zhiyi", |
| "middle": [], |
| "last": "Chi", |
| "suffix": "" |
| }, |
| { |
| "first": "Stefan", |
| "middle": [], |
| "last": "Riezler", |
| "suffix": "" |
| } |
| ], |
| "year": 1999, |
| "venue": "Proceedings of the 37th Annual Meeting of the Association for Computational Linguistics", |
| "volume": "", |
| "issue": "", |
| "pages": "535--541", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Mark Johnson, Stuart Geman, Steven Canon, Zhiyi Chi, and Stefan Riezler. 1999. Estimators for stochastic \"unification-based\" grammars. In Pro- ceedings of the 37th Annual Meeting of the Asso- ciation for Computational Linguistics, pages 535- 541.", |
| "links": null |
| }, |
| "BIBREF6": { |
| "ref_id": "b6", |
| "title": "A linear observed time statistical parser based on maximum entropy models", |
| "authors": [ |
| { |
| "first": "Adwait", |
| "middle": [], |
| "last": "Ratnaparkhi", |
| "suffix": "" |
| } |
| ], |
| "year": 1997, |
| "venue": "Proceedings of the Second Conference on Empirical Methods in Natural Language Processing (EMNLP-97)", |
| "volume": "", |
| "issue": "", |
| "pages": "1--10", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Adwait Ratnaparkhi. 1997. A linear observed time statistical parser based on maximum entropy mod- els. In Proceedings of the Second Conference on Empirical Methods in Natural Language Process- ing (EMNLP-97), pages 1-10.", |
| "links": null |
| }, |
| "BIBREF7": { |
| "ref_id": "b7", |
| "title": "Learning to parse natural language with maximum entropy models. Machine Learning", |
| "authors": [ |
| { |
| "first": "Adwait", |
| "middle": [], |
| "last": "Ratnaparkhi", |
| "suffix": "" |
| } |
| ], |
| "year": 1999, |
| "venue": "", |
| "volume": "34", |
| "issue": "", |
| "pages": "151--175", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Adwait Ratnaparkhi. 1999. Learning to parse natu- ral language with maximum entropy models. Ma- chine Learning, 34:151-175.", |
| "links": null |
| }, |
| "BIBREF8": { |
| "ref_id": "b8", |
| "title": "Probabilistic top-down parsing and language modeling", |
| "authors": [ |
| { |
| "first": "Brian", |
| "middle": [], |
| "last": "Roark", |
| "suffix": "" |
| } |
| ], |
| "year": 2001, |
| "venue": "Computational Linguistics", |
| "volume": "27", |
| "issue": "2", |
| "pages": "249--276", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Brian Roark. 2001. Probabilistic top-down parsing and language modeling. Computational Linguis- tics, 27(2):249-276.", |
| "links": null |
| }, |
| "BIBREF9": { |
| "ref_id": "b9", |
| "title": "Robust garden path parsing", |
| "authors": [ |
| { |
| "first": "Brian", |
| "middle": [], |
| "last": "Roark", |
| "suffix": "" |
| } |
| ], |
| "year": 2004, |
| "venue": "Natural Language Engineering", |
| "volume": "10", |
| "issue": "1", |
| "pages": "1--24", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Brian Roark. 2004. Robust garden path parsing. Natural Language Engineering, 10(1):1-24.", |
| "links": null |
| } |
| }, |
| "ref_entries": {} |
| } |
| } |