Abstract
Traditional constituency parsing relies heavily on human-labeled data, which is expensive and time-consuming to produce. This paper presents an unsupervised approach that utilizes Large Language Models (LLMs) to generate multiple variations of a sentence while preserving its core meaning (Predicate-Argument Structure). By analyzing the frequency of word sequences across these variations, the proposed "span-overlap" parser identifies grammatical constituents with high accuracy. The method achieves state-of-the-art performance in 8 out of 10 languages, highlighting a fundamental link between semantic stability and grammatical structure.
Introduction
Constituency parsing—the task of identifying functional units like noun or verb phrases within a sentence—is a cornerstone of natural language processing. Unsupervised parsing remains a significant challenge because natural language lacks sufficient statistical signals to identify "units" in isolation. Previous attempts often struggled with the "messiness" of language, where a phrase might appear only once in a specific context. The authors hypothesize that if we could observe numerous ways to express the same meaning, the stable grammatical units would reveal themselves through repetition.
Methodology: The Span-Overlap Parser
The core of this research is the span-overlap method, which identifies constituents by searching for word sequences that remain intact across semantic transformations. The process follows a four-step pipeline:
- PAS-Equivalent Generation: Using GPT-3.5, the system generates a set of sentences with the same Predicate-Argument Structure (PAS) as the target sentence. Instructions include changing voice (active to passive), reordering phrases, or transforming the sentence into a question.
- Normalization: Text is normalized via stemming and contraction expansion to ensure consistent counting of word sequences.
- Span-Overlap Scoring: Every possible word sequence (span) in the original sentence is assigned a score based on its frequency across the generated variations.
- Maximum Tree Decoding: The Viterbi algorithm identifies the optimal tree structure that maximizes the total overlap scores.
Experimental Setup
The parser was evaluated across 10 languages to test its cross-lingual robustness:
- English: Penn Treebank (PTB).
- Chinese: Penn Chinese Treebank (CTB) 5.1.
- Multilingual: The SPMRL dataset, covering German, French, Hungarian, Swedish, Polish, Basque, Hebrew, and Korean.
Key Insights and Results
The research yielded several critical findings regarding the nature of grammar and the utility of LLMs:
Grammatical Stability
Constituents are essentially patterns that survive semantic shifts. For example, while a sequence like "John ate" might be broken up in a passive construction ("An apple was eaten by John"), the noun phrase "an apple" remains a cohesive unit. This stability is the foundation of the span-overlap scoring mechanism.
Participants vs. Events
A notable cross-lingual discovery is that "participant-denoting" constituents (Noun Phrases, Prepositional Phrases) consistently exhibit higher overlap scores than "event-denoting" constituents (Verb Phrases or full Sentences). This suggests that human languages treat actors and objects as more stable structural units than the actions themselves.
Performance
The span-overlap parser established a new state-of-the-art for unsupervised parsing in 8 of the 10 languages tested. In the multilingual SPMRL dataset, it achieved a mean F1 score of 50.1, a significant improvement over the previous benchmark of 45.7. Furthermore, the method is computationally efficient, parsing standard development sets in approximately 14 minutes, significantly faster than some previous language-model-based methods.
Limitations and Future Directions
The parser's performance is currently limited by the instruction-following capabilities of the underlying LLM. In languages like Chinese and Korean, "hallucinations" or semantic drift in generated sentences can negatively impact accuracy. Future work will explore language-specific transformation instructions and the integration of more advanced models like GPT-4, which preliminary tests suggest will further enhance parsing precision.
Summary updated