Elamur Research⌕
☰
home / papers / 2006 / Parser Combination by Reparsing

Parser Combination by Reparsing

Summary

The paper addresses how to merge the outputs of several strong parsers into one analysis that beats each of them, while still producing a valid syntactic structure. Simple voting has a flaw. Word-level voting on heads can yield a graph that is not a tree, and constituent-level majority voting tends to favor precision at the cost of recall. Sagae and Lavie propose reparsing instead. The sentence is parsed a second time, but the search space and scores come only from the candidate analyses proposed by the first-stage parsers. For unlabeled dependencies, weighted edges from all parsers are pooled into a graph, and a maximum spanning tree is extracted. For Penn Treebank constituents, weighted constituents are merged into a chart, and a bottom-up search finds the heaviest well-formed tree. A weight threshold tuned on held-out data controls the precision/recall balance. On WSJ section 23, the combinations outperform every input parser: 92.7 unlabeled dependency accuracy and 92.1 constituent f-score. This shows that ensembles can respect structural constraints and still gain accuracy.

Key points

  • Data: Penn Treebank WSJ, with sections 02–21 for training and section 23 for testing. For dependencies, section 00 was held out and section 22 used for development. Section 22 also served as held-out data for constituent tuning. Dependencies were converted using the Yamada & Matsumoto head-table.
  • Dependency ensemble: six parsers in total, including Nivre & Scholz–style shift-reduce parsers run left-to-right (LR) and right-to-left (RL), an alternating-direction Yamada & Matsumoto variant (LRRL), and McDonald et al.'s large-margin MST parser. The best single parser reached 91.0 accuracy (LR).
  • Dependency reparsing results by weighting scheme:
    • Equal weights: 91.8
    • Per-parser accuracy weights: 92.1
    • Per-parser, per-POS-of-dependent weights: 92.7, with root accuracy of 96.6
  • Constituent ensemble: Charniak/Johnson reranker, Henderson's neural network parser, Bikel's Collins model 2, and two Sagae/Lavie shift-reduce parsers (MaxEnt and SVM). Individual f-scores ranged from 86.7 to 91.0. Reparsing tuned for maximum f-score reached 92.1 (93.2 precision, 91.0 recall).
  • The earlier Henderson & Brill majority vote is a special case of the method: all weights set to 1 and threshold t = (m+1)/2. Tuning t gives better results. Note that the extracted Table 2 row for this setting is garbled, so its exact numbers are unreliable.

Interesting ideas

  • I1. Combine at the decoder level, not by voting on outputs. Pooling candidate parts into a scored graph or chart and running a structured search guarantees well-formed output. The same idea applies to other structured tasks, such as merging NER spans or alignments from several systems.
  • I2. Reuse the base algorithm's own decoder. The MST algorithm (Chu-Liu/Edmonds) handles non-projective trees, and Eisner's algorithm handles projective ones. The choice of structural constraint becomes a simple switch rather than a redesign.
  • I3. Get diversity cheaply. Running the same deterministic parser in the opposite direction produces errors different enough to help the ensemble. This is useful when only one model architecture is available, for example for a low-resource language like Ukrainian.
  • I4. Weight votes by fine-grained reliability. Measuring each system's accuracy per POS tag or per label on held-out data lets the ensemble exploit each component's specific strengths. This gave the largest dependency gain.
  • I5. Expose a threshold as a precision/recall dial. A single cutoff on accumulated weight, tuned by hill-climbing on development data, lets the ensemble target either balanced precision and recall or maximum f-score.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Natural language processing

Cited by

96 papers of our library cite it (of the 140884 whose bibliographies we read); 13 of them have a page here, 83 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{sagae2006parser,
  title = {{Parser Combination by Reparsing}},
  author = {Sagae, Kenji and Lavie, Alon},
  booktitle = {Proceedings of the Human Language Technology Conference of the NAACL, Companion Volume: Short Papers},
  year = {2006},
  doi = {10.3115/1614049.1614082},
  url = {https://doi.org/10.3115/1614049.1614082}
}

References

14 references, 5 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Allen, J. (1995). Natural Language Understanding (2nd ed.). Redwood City, CA: The Benjamin/Cummings Publishing Company, Inc. find
  2. Bikel, D. (2002). Design of a multi-lingual, parallel-processing statistical parsing engine. In Proceedings of HLT2002. San Diego, CA. find
  3. Charniak, E., & Johnson, M. (2005). Coarse-to-fine nbest parsing and MaxEnt discriminative reranking. In Proceedings of the 43rd meeting of the Association for Computational Linguistics. Ann Arbor, MI. find
  4. Chu, Y. J., & Liu, T. H. (1965). On the shortest arborescence of a directed graph. Science Sinica(14), 1396-1400. find
  5. Edmonds, J. (1967). Optimum branchings. Journal of Research of the National Bureau of Standards(71B), 233-240. find
  6. Eisner, J. (1996). Three new probabilistic models for dependency parsing: An exploration. In Proceedings of the International Conference on Computational Linguistics (COLING'96). Copenhagen, Denmark. find our card
  7. Henderson, J. (2004). Discriminative training of a neural network statistical parser. In Proceedings of the 42nd Meeting of the Association for Computational Linguistics. Barcelona, Spain. find
  8. Henderson, J., & Brill, E. (1999). Exploiting diversity in natural language processing: combining parsers. In Proceedings of the Fourth Conference on Empirical Methods in Natural Language Processing (EMNLP). find
  9. Marcus, M. P., Santorini, B., & Marcinkiewics, M. A. (1993). Building a large annotated corpus of English: The Penn Treebank. Computational Linguistics, 19. find our card
  10. McDonald, R., Pereira, F., Ribarov, K., & Hajic, J. (2005). Non-Projective Dependency Parsing using Spanning Tree Algorithms. In Proceedings of the Conference on Human Language Technologies/Empirical Methods in Natural Language Processing (HLT-EMNLP). Vancouver, Canada. find our card
  11. Nivre, J., & Scholz, M. (2004). Deterministic dependency parsing of English text. In Proceedings of the 20th International Conference on Computational Linguistics (pp. 64-70). Geneva, Switzerland. find our card
  12. Sagae, K., & Lavie, A. (2005). A classifier-based parser with linear run-time complexity. In Proceedings of the Ninth International Workshop on Parsing Technologies. Vancouver, Canada. find our card
  13. Yamada, H., & Matsumoto, Y. (2003). Statistical dependency analysis using support vector machines. In Proceedings of the Eighth International Workshop on Parsing Technologies. Nancy, France. find
  14. Zeman, D., & Žabokrtský, Z. (2005). Improving Parsing Accuracy by Combining Diverse Dependency Parsers. In Proceedings of the International Workshop on Parsing Technologies. Vancouver, Canada. find

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/sagae-2006-parser-combination-reparsing/