---
title: "Estimation of Probabilistic Context-Free Grammars — Chi 1998"
description: "Classical tests based on the expected growth of symbols can detect this. 10 references, cited by 18 papers here."
authors: ["Zhiyi Chi", "Stuart Geman"]
year: 1998
venue: "Computational Linguistics"
source: "https://aclanthology.org/J98-2005/"
licence: "CC BY-NC-SA 3.0 (ACL Anthology, before 2016)"
licence_url: "https://creativecommons.org/licenses/by-nc-sa/3.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/chi-1998-estimation-probabilistic-context-free-grammars/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/chi-1998-estimation-probabilistic-context-free-grammars/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [1998](https://md.research.elamur.ai/free/en/papers/1998/) / Estimation of Probabilistic Context-Free Grammars

# Estimation of Probabilistic Context-Free Grammars

**Authors:** [Zhiyi Chi](https://md.research.elamur.ai/free/en/authors/zhiyi-chi/) and Stuart Geman · **Year:** 1998 · **Venue:** Computational Linguistics · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

**Links:** [Publisher's page](https://aclanthology.org/J98-2005/) · [PDF](https://aclanthology.org/J98-2005.pdf)

**Citations:** [18](https://md.research.elamur.ai/free/en/papers/chi-1998-estimation-probabilistic-context-free-grammars/cited-by/) in our library, of the 140,884 papers whose bibliographies we read

## Summary
A probabilistic context-free grammar (PCFG) can be "improper," or not tight: if production probabilities are chosen carelessly, some probability mass goes to derivations that never terminate, so finite parse trees together receive less than one. Classical tests based on the expected growth of symbols can detect this. Chi and Geman ask a different question: is a PCFG whose probabilities are *estimated from data* automatically tight? They consider two settings. In the first, the corpus contains parse trees, and maximum-likelihood estimation reduces to relative frequencies of productions. In the second, the corpus contains only sentences (yields), and the EM (Baum-Welch / inside-outside) algorithm is used. The paper is purely theoretical and has no experiments. Its proofs bound the non-termination probability of each nonterminal and use the fact that the start symbol S appears as a root more often than as an internal node. The main result is that the estimated distribution is always proper. Practitioners can therefore train PCFGs from treebanks or raw text without separately checking for lost probability mass.

## Key points
- **Toy example:** The grammar A → AA | a is tight only when P(A → AA) ≤ ½. Any finite tree with m leaves uses m−1 AA-rules and m terminal rules, so the relative-frequency estimate always stays below ½.
- **Theorem (parsed corpus):** Maximum-likelihood (relative-frequency) production probabilities always give total probability 1 over finite trees. This holds even when null and unit productions are present.
- **Corollary (unparsed corpus):** Every EM iterate is tight, provided the grammar has no null or unit productions. Under that assumption, symbol counts are bounded by twice the sentence length.
- **Unobserved nonterminals:** Nonterminals that never occur in the sample can receive arbitrary probabilities without affecting the likelihood or tightness, because they are reached with probability zero.
- **Related work:** The result settles a question in the spirit of Wetherell's (1980) conjecture. Sánchez and Benedí (1997, IEEE TPAMI) independently gave another proof of the EM result.

*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](https://md.research.elamur.ai/free/en/shelves/nlp/)

Topics: [📐 Syntax & grammar formalisms](https://md.research.elamur.ai/free/en/topics/syntax-grammar/)

## Cite

Cite as: Zhiyi Chi and Stuart Geman. 1998. Estimation of Probabilistic Context-Free Grammars. Computational Linguistics.

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

```bibtex
@article{chi1998estimation,
  title = {{Estimation of Probabilistic Context-Free Grammars}},
  author = {Zhiyi Chi and Stuart Geman},
  journal = {Computational Linguistics},
  year = {1998},
  url = {https://aclanthology.org/J98-2005/}
}
```

- [← previous Description of the UPENN CAMP System as Used for Coreference](https://md.research.elamur.ai/free/en/papers/baldwin-1998-description-upenn-camp-system-as/)
- [next → Translating near-synonyms: Possibilities and preferences in the interlingua](https://md.research.elamur.ai/free/en/papers/edmonds-1998-translating-near-synonyms-possibilities-preferences/)
- [↑ back to papers of 1998](https://md.research.elamur.ai/free/en/papers/1998/)

## References

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

1. Baker, J. K. 1979. Trainable grammars for speech recognition. In Speech Communications Papers of the 97th Meeting of the Acoustical Society of America, pages 547-550, Cambridge, MA. [find](https://scholar.google.com/scholar?q=Baker%2C+J%2E+K%2E+1979%2E+Trainable+grammars+for+speech+recognition%2E+In+Speech+Communications+Papers+of+the+97th+Meeting+of+the+Acoustical+Society+of+America%2C+pages+547%2D550%2C+Cambridge%2C+MA%2E)
2. Baum, L. E. 1972. An inequality and associated maximization techniques in n (6) statistical estimation of probabilistic functions of Markov processes. Inequalities, 3:1-8. [find](https://scholar.google.com/scholar?q=Baum%2C+L%2E+E%2E+1972%2E+An+inequality+and+associated+maximization+techniques+in+n+%286%29+statistical+estimation+of+probabilistic+functions+of+Markov+processes%2E+Inequalities%2C+3%3A1%2D8%2E)
3. Booth, T. L. and R. A. Thompson. 1973. Applying probability measures to abstract languages. IEEE Trans. on Computers, C-22:442-450. [find](https://scholar.google.com/scholar?q=Booth%2C+T%2E+L%2E+and+R%2E+A%2E+Thompson%2E+1973%2E+Applying+probability+measures+to+abstract+languages%2E+IEEE+Trans%2E+on+Computers%2C+C%2D22%3A442%2D450%2E)
4. Dempster, A., N. Laird, and D. Rubin. 1977. Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society, Series B, 39:1-38. [find](https://scholar.google.com/scholar?q=Dempster%2C+A%2E%2C+N%2E+Laird%2C+and+D%2E+Rubin%2E+1977%2E+Maximum+likelihood+from+incomplete+data+via+the+EM+algorithm%2E+Journal+of+the+Royal+Statistical+Society%2C+Series+B%2C+39%3A1%2D38%2E)
5. Grenander, U. 1976. Lectures in Pattern Theory Volume 1, Pattern Synthesis. [find](https://scholar.google.com/scholar?q=Grenander%2C+U%2E+1976%2E+Lectures+in+Pattern+Theory+Volume+1%2C+Pattern+Synthesis%2E)
6. Harris, T. E. 1963. The Theory of Branching Processes. Springer-Verlag, Berlin. [find](https://scholar.google.com/scholar?q=Harris%2C+T%2E+E%2E+1963%2E+The+Theory+of+Branching+Processes%2E+Springer%2DVerlag%2C+Berlin%2E)
7. Hopcroft, J. E. and J. D. Ullman. 1979. [find](https://scholar.google.com/scholar?q=Hopcroft%2C+J%2E+E%2E+and+J%2E+D%2E+Ullman%2E+1979%2E)
8. Introduction to Automata Theory, Languages, and Computation. Addison Wesley. S~nchez, J. A. and J. M. Benedf. 1997. Consistency of stochastic context-free grammars from probabilistic estimation based on growth transformations. IEEE Transactions on Pattern Analysis and Machine Intelligence, 19:1052-1… [find](https://scholar.google.com/scholar?q=Introduction+to+Automata+Theory%2C+Languages%2C+and+Computation%2E+Addison+Wesley%2E+S%7Enchez%2C+J%2E+A%2E+and+J%2E+M%2E+Benedf%2E+1997%2E+Consistency+of+stochastic+context%2Dfree+grammars+from+probabilistic+estimation+based+)
9. Stolcke, A. 1995. An efficient probabilistic context-free parsing algorithm that computes prefix probabilities. Computational Linguistics, 21:165-201. [our card](https://md.research.elamur.ai/free/en/papers/stolcke-1995-efficient-probabilistic-context-free-parsing/)
10. Wetherell, C. S. 1980. Probabilistic languages: A review and some open questions. Computing Surveys, 12:361-379. [find](https://scholar.google.com/scholar?q=Wetherell%2C+C%2E+S%2E+1980%2E+Probabilistic+languages%3A+A+review+and+some+open+questions%2E+Computing+Surveys%2C+12%3A361%2D379%2E)
