Probabilistic CFG with Latent Annotations
Summary
Treebank PCFGs make strong independence assumptions. Strong parsers usually weaken these by enriching non-terminals with hand-picked features such as head words, parent labels or subcategorization frames, which requires much trial and error. Matsuzaki, Miyao and Tsujii propose PCFG-LA, a generative model in which every non-terminal carries a hidden annotation drawn from a fixed set. The observed treebank tree is treated as incomplete data. A fine-grained grammar is learned automatically with EM, using an inside-outside-style procedure that runs over the given trees after binarization. Finding the single most probable parse under this model is NP-hard, so the authors compare three approximate decoders:
- reranking N-best PCFG parses,
- choosing the best fully annotated (Viterbi complete) tree,
- an approximate-distribution method.
On the Penn WSJ corpus, the best setup reaches 86.6% F1 on sentences of up to 40 words. This matches an unlexicalized parser built with extensive manual feature engineering (Klein and Manning, 2003). The result shows that useful symbol refinements can be learned rather than hand-designed.
Key points
- Model and training. Each node label becomes a pair of observed category and latent symbol. The tree probability sums over all latent assignments. This sum is computed with backward/forward recursions that are linear in the number of tree nodes once trees are binarized.
- Complexity. Exact best-parse search is NP-hard. The proof represents a stochastic tree substitution grammar (STSG) as a PCFG-LA and relies on the known hardness of STSG parsing.
- WSJ results. On sentences of 40 words or fewer, LR/LP is 86.7/86.6. On sentences of 100 words or fewer, it is 86.0/86.1. Klein and Manning (2003) reach 85.7/86.9, while Collins (1999) and Charniak (1999) remain ahead.
- Binarization and model size. Four binarization schemes were tested: CENTER-PARENT, CENTER-HEAD, LEFT and RIGHT. Accuracy grows with the number of parameters, and models of similar size perform alike regardless of scheme. The exception is small LEFT models.
- Costs and robustness. The largest models took roughly 15–20 hours to train. Different random initializations noticeably changed both log-likelihood and parsing accuracy.
Interesting ideas
- I1. Latent refinement instead of hand-crafted features. Hidden subcategories are learned by EM directly on annotated trees. The same idea could refine POS tags, UD relation labels or morphological categories wherever manual splitting is costly.
- I2. Cheap model as candidate generator. A simple markovised PCFG proposes candidates through N-best lists or a pruned chart, and the richer model only rescores them. This two-stage design suits any expensive scorer that is intractable to search exactly.
- I3. Choosing an approximation by testing. The authors analyse why the best annotated tree usually approximates the best observed tree, then compare decoders by plotting accuracy against parse time. The approximate-distribution method wins unless time is very tight, which is a useful way to evaluate any approximate inference.
- I4. Transform, train, then restore. Trees are binarized to keep computation tractable and converted back after parsing. The authors also check that the binarization choice matters little once models are large enough.
- I5. Initialization from a simpler model. Parameters start from the plain PCFG maximum-likelihood probabilities multiplied by random noise. Training several seeds gives an honest estimate of variance before claiming one configuration beats another.
Cited by
- Learning Accurate, Compact, and Interpretable Tree Annotation
- Task-oriented Evaluation of Syntactic Parsers and Their Representations
- Morphological Features for Parsing Morphologically-rich Languages: A Case of Arabic
- Joint Hebrew Segmentation and Parsing using a PCFGLA Lattice Parser
- Word Segmentation, Unknown-word Resolution, and Morphological Agreement in a Hebrew Parsing System
- Simple Semi-supervised Dependency Parsing
- Improved Inference for Unlexicalized Parsing
Cite
@inproceedings{matsuzaki2005probabilistic,
title = {{Probabilistic CFG with Latent Annotations}},
author = {Matsuzaki, Takuya and Miyao, Yusuke and Tsujii, Jun'ichi},
booktitle = {Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL'05)},
year = {2005},
doi = {10.3115/1219840.1219850},
url = {https://doi.org/10.3115/1219840.1219850}
}References
- Eugene Charniak. 1999. A maximum-entropy-inspired parser. Technical Report CS-99-12. find our card
- David Chiang and Daniel M. Bikel. 2002. Recovering latent information in treebanks. In Proc. COLING, pages 183–189. find
- Stephen Clark and James R. Curran. 2004. Parsing the wsj using ccg and log-linear models. In Proc. ACL, pages 104–111. find our card
- Michael Collins. 1999. Head-Driven Statistical Models for Natural Language Parsing. Ph.D. thesis, University of Pennsylvania. find
- Brendan J. Frey, Relu Patrascu, Tommi Jaakkola, and Jodi Moran. 2000. Sequentially fitting “inclusive” trees for inference in noisy-OR networks. In Proc. NIPS, pages 493–499. find
- Joshua Goodman. 1996a. Efficient algorithms for parsing the DOP model. In Proc. EMNLP, pages 143–152. find
- Joshua Goodman. 1996b. Parsing algorithms and metric. In Proc. ACL, pages 177–183. find
- Joshua Goodman. 1997. Probabilistic feature grammars. In Proc. IWPT. find
- James Henderson. 2003. Inducing history representations for broad coverage statistical parsing. In Proc. HLT-NAACL, pages 103–110. find
- Mark Johnson. 1998. PCFG models of linguistic tree representations. Computational Linguistics, 24(4):613–632. find our card
- Dan Klein and Christopher D. Manning. 2003. Accurate unlexicalized parsing. In Proc. ACL, pages 423–430. find our card
- Fernando Pereira and Yves Schabes. 1992. Inside-outside reestimation from partially bracketed corpora. In Proc. ACL, pages 128–135. find our card
- Libin Shen. 2004. Nondeterministic LTAG derivation tree extraction. In Proc. TAG+7, pages 199–203. find
- Khalil Simaán. 2002. Computational complexity of probabilistic disambiguation. Grammars, 5(2):125– 151. find
- Khalil Simaán. 2003. On maximizing metrics for syntactic disambiguation. In Proc. IWPT. find
- Takehito Utsuro, Syuuji Kodama, and Yuji Matsumoto. 1996. Generalization/specialization of context free grammars based-on entropy of non-terminals. In Proc. JSAI (in Japanese), pages 327–330. find
This page in Markdown → https://md.research.elamur.ai/free/en/papers/matsuzaki-2005-probabilistic-cfg-latent-annotations/