TL;DR
This paper introduces "tree-shape uncertainty" to disentangle a model's inherent branching bias from biases learned from training data. By constructing "unbiased" text corpora, they can directly measure how much unsupervised parsing models favor left or right branching structures, revealing surprising model-specific biases.
What Problem Does This Paper Address?
Unsupervised parsing models learn to construct syntactic trees from raw text without explicit linguistic supervision. A key characteristic of these trees is their "branching bias" – whether they tend to grow deeper on the left or right side. This bias is crucial for applications, as it can affect a model's performance on languages with different natural branching tendencies (e.g., English vs. Japanese).
Previous methods for analyzing this bias relied on comparing model performance on gold-standard treebanks of different languages or on artificially reversed treebanks. However, this approach conflates the model's intrinsic bias with biases present in the training data itself. The core problem is that a given text corpus might be generatable by grammars with different tree structures, making it difficult to isolate the model's true preference.
Methods
The paper's central contribution is the formalization of tree-shape uncertainty. This concept describes a property of text corpora where the underlying syntactic tree structures are not uniquely determined, even by a given grammar. They extend this to branching non-neighborhoods, which specifically capture uncertainty in branching directions.
To create corpora with no potential branching bias, they leverage probabilistic context-free grammars (PCFGs) and a theorem that establishes sufficient conditions for tree-shape uncertainty. Essentially, they construct datasets by combining original text with transformed versions (e.g., flipped and remapped sequences) such that the resulting corpus is ambiguous regarding its inherent branching direction. This allows them to train parsers on texts where any learned bias must stem from the model itself, not the data.
They also adapt existing tree imbalance measures (Colles index, Rogers J index) to quantify branching directions for general n-ary trees, creating metrics like CC±, EWC±, and RJ±.
Datasets
The experiments utilize the following natural language corpora:
- English Penn Treebank (PTB): Used as a representative of right-branching languages.
- Japanese Keyaki Treebank (KTB): Used as a representative of left-branching languages.
These corpora are preprocessed into various versions (e.g., PTB10, PTB40, KTB10, KTB40) with different maximum sentence lengths. The core of their experimental setup involves creating synthetically generated datasets (DZϕ) by applying vocabulary automorphisms (permutations of words) to the base corpora. These DZϕ datasets are designed to be tree-shape uncertain.
Key Insights and Ideas
- Disentangling Model vs. Data Bias: The most significant insight is the successful formalization of tree-shape uncertainty, providing a principled way to create unbiased training data and thus isolate the inherent branching bias of unsupervised parsing models.
- Model-Specific Biases Revealed: The experiments reveal that different unsupervised parsing models exhibit distinct branching biases. DIORA shows no significant bias, PRPN consistently favors right-branching, and URNNG's bias is surprisingly sensitive to dataset characteristics.
- URNNG's Sensitivity: URNNG's branching bias varies significantly across different datasets and even sentence lengths, suggesting its behavior is influenced by factors beyond just the inherent branching direction of the language. This highlights the complex interplay of model architecture and data properties.
- Limitations of Gold Trees: The paper reinforces that relying solely on gold trees for bias analysis can be misleading, as the "true" branching direction of a corpus might not be as clear-cut as assumed.
Key Results
- DIORA: Shows near-zero average branching scores across all measures and datasets, indicating no inherent branching bias.
- PRPN: Consistently exhibits a strong right-branching bias across all datasets and measures, aligning with theoretical predictions.
- URNNG: Demonstrates variable branching biases. It shows a right-branching bias on English-derived datasets (PTB) and a left-branching bias on Japanese-derived datasets (KTB), but its behavior is also affected by sentence length and dataset size. For example, on PTB40 with shorter sentences, its bias shifts towards zero.
- The adapted branching measures (CC±, EWC±, RJ±) successfully quantify the branching differences between English and Japanese gold trees.
Limitations and Future Work
- Tree-Shape Uncertainty in Natural Language: It remains an open question whether natural language corpora are truly tree-shape uncertain. The paper suggests quantifying the degree of uncertainty rather than a binary true/false.
- Generalizing Tree-Shape Uncertainty: The current work focuses on branching direction. Future work could extend tree-shape uncertainty to other tree properties, like center embedding.
- Grammar Formalisms: The study uses PCFGs, which have limitations (e.g., independence assumptions). Exploring other grammar formalisms is a promising direction.
- Model Performance Correction: While the bias analysis is valuable, its direct application to "correcting" model performance scores is theoretically non-trivial due to unclear linear relationships between bias and performance.
Summary updated