Simple Unsupervised Grammar Induction from Raw Text with Cascaded Finite State Models

Elias Ponvert, Jason Baldridge, Katrin ErkACL 2011

Abstract

We consider a new subproblem of unsupervised parsing from raw text, unsupervised partial parsing—the unsupervised version of text chunking. We show that addressing this task directly, using probabilistic finite-state methods, produces better results than relying on the local predictions of a current best unsupervised parser, Seginer's (2007) CCL. These finite-state models are combined in a cascade to produce more general (full-sentence) constituent structures; doing so outperforms CCL by a wide margin in unlabeled PARSEVAL scores for English, German and Chinese. Finally, we address the use of phrasal punctuation as a heuristic indicator of phrasal boundaries, both in our system and in CCL.

Introduction

Unsupervised grammar induction—the task of learning linguistic structure without labeled training data—remains a significant challenge in natural language processing. A common criticism of existing research is its reliance on "gold-standard" Part-of-Speech (POS) tags, which effectively bypasses the difficulty of processing raw text. In real-world scenarios, particularly for low-resource languages, such tags are rarely available.

This paper addresses the problem of unsupervised parsing directly from raw text. The authors propose a shift from complex, non-probabilistic "black box" heuristics, such as those used in Seginer’s Common Cover Links (CCL) parser, toward simpler, well-understood probabilistic models. Specifically, they investigate whether unsupervised partial parsing (chunking) can serve as a robust foundation for building full hierarchical sentence structures.

Methodology

The proposed system employs a bottom-up approach using cascaded finite-state models. Two primary models are evaluated: standard Hidden Markov Models (HMMs) and Probabilistic Right Linear Grammars (PRLGs). The PRLG model is a more sophisticated variant of an HMM that relaxes independence assumptions between emissions and transitions, allowing it to better capture boundary phenomena in language.

The BIO Tagging Strategy

The task of chunking is framed as a sequence labeling problem using the BIO tagset. In this framework, words are assigned tags indicating their position within a chunk: B (Begin) for the start of a multi-word chunk, I (Inside) for subsequent words, and O (Outside) for words not belonging to a multi-word chunk. A special STOP tag is used to denote phrasal boundaries and the end of sentences.

State transition diagram for the BIO tagging model used in unsupervised chunking.

The Cascaded Approach

To derive full trees from simple chunks, the models are arranged in a cascade. Once the first model identifies low-level chunks (e.g., "the red apple"), these chunks are collapsed into a single "pseudoword." The pseudoword is typically the most frequent word within the chunk. The process is then repeated on the resulting sequence of words and pseudowords. This iterative collapsing continues until no further chunks are identified, effectively constructing a constituent tree from the leaves up to the root.

Evaluation and Results

The models were evaluated on three major corpora: the Wall Street Journal (WSJ) for English, the Negra corpus for German, and the Penn Chinese Treebank (CTB) for Chinese. To ensure rigorous results, the authors maintained a strict separation between training and test data.

The cascaded PRLG model significantly outperformed the CCL benchmark across all three languages in unlabeled PARSEVAL scores. In English (WSJ), the PRLG cascade achieved an F-score of 54.2 (vs. CCL's 51.7). The gains were even more pronounced in German (42.7 vs. 33.0) and Chinese (39.8 vs. 27.3).

The "Chunking First" Hypothesis

A key insight of this work is that accurate local structures (chunks) are critical for overall parsing success. The PRLG model was particularly effective at identifying Noun Phrases (NPs), achieving an F-score of 76.7 on English text—nearly 30 points higher than CCL.

Comparison of unsupervised chunks and gold-standard Noun Phrases (NPs) across the WSJ, Negra, and CTB corpora, demonstrating significant overlap.

As shown in the figure above, there is a high degree of overlap between the unsupervised chunks identified by the model and gold-standard NPs, validating the hypothesis that chunking is a powerful proxy for higher-level syntactic structure.

Discussion

The success of this approach highlights several important factors in unsupervised induction:

  • Simplicity and Efficiency: Using Expectation-Maximization (EM) on finite-state models is computationally efficient and more interpretable than complex recursive structures.
  • Punctuation as a Constraint: Phrasal punctuation acts as a vital "hard constraint," preventing the model from proposing constituents that cross natural boundaries.
  • Model Selection: The superiority of PRLGs over HMMs suggests that conditioning word probabilities on both current and next states is crucial for capturing phrase boundaries.

Despite these successes, challenges remain. The system struggles with Prepositional Phrase (PP) attachment and occasionally over-predicts nested structures in languages like German that favor flatter trees. Future work may involve more sophisticated head-finding heuristics for pseudoword selection and the incorporation of unsupervised discriminative learning.

Conclusion

This research demonstrates that complex grammar induction does not necessarily require complex algorithms. By leveraging simple, cascaded finite-state models for unsupervised chunking, it is possible to build a parser that outperforms the state-of-the-art across multiple languages, providing a transparent and extensible framework for future research in raw-text parsing.

Summary updated

BibTeX
@inproceedings{ponvert2011simple,
  author = {Elias Ponvert and Jason Baldridge and Katrin Erk},
  title = {{Simple Unsupervised Grammar Induction from Raw Text with Cascaded Finite State Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
  url = {https://openreview.net/forum?id=B1-992lOWS},
}
Figure