The Acquisition and Application of Context Sensitive Grammar for English
Paper · 1991 · Robert F. Simmons and Yeong-Ho Yu
Summary
The authors argue that hand-built augmented context-free grammars are complex and fragile. They propose a context-sensitive phrase structure grammar (CSG) that is learned from example parses of English news stories. Each parse is treated as a chain of shift/reduce states. A rule pairs a 10-symbol window (five stack symbols and five input symbols, all part-of-speech or phrase labels) with the next operation: shift, or reduce the top two stack items to a named phrase.
Rules live in a hash table keyed on the top two stack elements. A deterministic bottom-up parser picks the stored rule whose remaining context best matches the current state, using position weights inspired by NETtalk.
Grammar acquisition is interactive. A linguist steps through parses while the grammar collected so far proposes each next move. From 92 sentences they gathered about 4000 rules. The parser reproduced the linguist's meaning-based structures almost exactly and predicted about 80% of new parse states. The work matters because it replaces slow neural-network training with a cheap, scalable lookup that still captures contextual preferences.
Key points
- About 4000 CSG rules were collected from 92 newspaper sentences. An earlier neural-network version needed several days to train on only about 2000 rules.
- Rule format: 5 stack symbols + 5 input symbols map to S or (R label). If the window were cut to the two stack items and one input item, the system would reduce to a CFG.
- After 2–3 thousand rules, about 80% of later parse states were predicted correctly. Keeping only the rules the grammar did not already predict shrank 3430 rules to 895, a ratio of roughly 3.8:1.
- The grammar holds 551 binary context-free pairs, estimated as about 95% of the roughly 580 that actually occur, out of 4096 possible. These pairs have 421 distinct left sides, averaging about 1.3 operations per stack pair.
- A log-log growth curve projects that about 25,000 example rules would cover nearly all context-free pairs found in news text. Most parse failures were dead ends caused by one wrong choice midway, so the authors suggest a beam-search parser.
Interesting ideas
- I1. Each parser action is chosen by best-match lookup over stored contexts. Exact match is required on the two focus stack slots, and other positions count less the farther they are from that focus, which makes every decision traceable to a concrete precedent.
- I2. Annotation runs as prediction-plus-correction: the grammar learned so far proposes the next step, and the human only confirms or fixes it, so the annotator's effort drops as the model improves.
- I3. The grammar is compressed by keeping only the examples the current model would have gotten wrong. This is a simple way to find the informative cases and discard redundant ones.
- I4. Coverage is estimated by plotting how fast new rule types appear as examples accumulate, then extrapolating on a log-log scale to judge how much more data is needed.
- I5. Errors are diagnosed as dead ends caused by a single early wrong choice, which points directly to a beam over a greedy path as the remedy.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (tree): The perceptron parser could record, for each transition, the nearest stored training configuration, giving a human-readable justification for each arc.
- I2 (learn): LLM teacher tiers or human reviewers could correct parser proposals step by step rather than write full trees, which speeds up silver data creation.
- I3 (learn): Self-induced repair rules could be kept only when they fix an error the base parser makes, keeping the rule set small and auditable.
- I4 (learn): Tracking the arrival rate of new label/head-pair types in treebank growth could tell when more annotation stops paying off.
- I5 (tree): Logging the states where no transition scores well could show where gparse or the perceptron parser would gain most from a small beam.
Institutions
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 works
🧭 Topics 1Research subjects and languages the work is about.English · 2,263 works
Cite
Cite as Robert F. Simmons and Yeong-Ho Yu. 1991. The Acquisition and Application of Context Sensitive Grammar for English. 29th Annual Meeting of the Association for Computational Linguistics.
@inproceedings{simmons1991acquisition,
title = {{The Acquisition and Application of Context Sensitive Grammar for English}},
author = {Robert F. Simmons and Yeong-Ho Yu},
booktitle = {29th Annual Meeting of the Association for Computational Linguistics},
year = {1991},
doi = {10.3115/981344.981360},
url = {https://doi.org/10.3115/981344.981360}
}References
- Alien, Robert, "Several Studies on Natural Language and Back Propagation", Proc. Int. Conf. on Neural Networks, San Diego, Calif., 1987. find
- Allen, James, Natural Language Understanding, Benjamin Cummings, Menlo Park, Calif., 1987.. find
- Chomsky, Noam, Syntactic Structures, Mouton, The Hague, 1957. find
- Gazdar, Gerald, Klein E., Pullum G., and Sag I., Generalized Phrase Structure Grammar, Harvard Univ. Press, Boston, 1985. find
- Joshi, Aravind K., "An Introduction to Tree Adjoining Grammars." In Manaster-Ramer Ed.),Mathematics of Language, John Benjamins, msterdam, Netherlands, 1985. find
- McClelland, J.L., and Kawamoto, A.H., "Mechanisms of Sentence Processing: Assigning Roles to Constituents," In McClelland J. L. and Rumelhart, D. E., Parallel Distributed Processing, Vol. 2. 1986. find
- Miikkulainen, Risto, and Dyer, M., "A Modular Neural Network Architecture for Sequential Paraphrasing of Script-Based Stories", Artif. Intell. Lab., Dept. Comp. Sci., UCLA, 1989. find
- Shieber, Stuart M., An Introduction to Unification Based Approaches to Grammar, Chicago Univ. Press, Chicago, 1986. find
- Sejnowski, Terrence J., and Rosenberg, C., "NETtalk: A Parallel Network that Learns to Read Aloud", in Anderson and Rosenfeld (Eds.) Nearocomputing, MIT Press., Cambridge Mass., 1988. find
- Simmons, Robert F. Computations from the English, Prentice-Hall, Engelwood Cliffs, New Jersey, 1984. find
- Simmons, Robert F. and Yu, Yeong-Ho, "Training a Neural Network to be a Context Sensitive Grammar," Proc. 5th Rocky Mountain AI Conf. Las Cruces, N.M., 1990. find
- Tomita, M. Efficient Parsing for Natural Language, Kluwer Academic Publishers, Boston, Ma., 1985. find
- Yu, Yeong-Ho, and Simmons, R.F. "Descending Epsilon in Back-Propagation: A Technique for Better Generalization," In Press, Proc. Int. Jr. Conf. Neural Networks, San Diego, Calif., 1990. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/simmons-1991-acquisition-application-context-sensitive-grammar/