Abstract
We describe a new method for the representation of NLP structures within reranking approaches. We make use of a conditional log-linear model, with hidden variables representing the assignment of lexical items to word clusters or word senses. The model learns to automatically make these assignments based on a discriminative training criterion. Training and decoding with the model requires summing over an exponential number of hidden-variable assignments: the required summations can be computed efficiently and exactly using dynamic programming. As a case study, we apply the model to parse reranking. The model gives an F-measure improvement of a 1.25% beyond the base parser, and an a 0.25% improvement beyond the Collins (2000) reranker. Although our experiments are focused on parsing, the techniques described generalize naturally to NLP structures other than parse trees.
What Problem Does This Paper Address?
In many Natural Language Processing (NLP) tasks, a two-stage approach is standard: a "base" model generates a list of candidate outputs (such as possible parse trees for a sentence), and a "reranker" uses more complex features to select the best one.
The success of a reranker depends heavily on its data representation. Traditionally, researchers relied on hand-crafted features or complex kernels. However, these methods often treat words as "atoms"—unique, indivisible units. This leads to two major issues:
- Data Sparsity: Rare words appear so infrequently that the model cannot learn meaningful patterns about them.
- Polysemy: A single word can have multiple meanings (e.g., "bank" as a financial institution vs. a river bank), but an atomic representation treats them as identical.
The authors aim to create a model that can automatically discover word categories or senses to solve these representation problems without requiring manually labeled data for those categories.
Methods
The authors propose a conditional log-linear model augmented with hidden variables.
- Hidden Variables: Each word in a candidate parse tree is assigned a hidden value. Depending on the configuration, these values can represent word clusters (grouping "president" and "chairman" together) or word senses (distinguishing between different uses of "bank").
- Feature Representation: Features are restricted to "local" scopes—looking only at a single word or a pair of words connected in a dependency tree. This locality is crucial for computational efficiency.
- The Technical Challenge: Training requires summing over every possible assignment of hidden values to every word in a sentence. Because the number of combinations grows exponentially with sentence length, a brute-force approach is impossible.
- Dynamic Programming: The authors show that by restricting feature scopes, they can compute these sums efficiently and exactly using the Belief Propagation algorithm.
- Training: The model is trained discriminatively using Stochastic Gradient Descent (SGD). It learns to cluster words in a way that specifically improves the final reranking accuracy.
Datasets and Evaluation
The model was evaluated on the Penn Treebank (Wall Street Journal sections), using Sections 2–21 for training (~35,500 sentences) and Sections 22–24 for testing (~5,400 sentences). An N-best version of the Collins (1999) parser served as the base model to generate initial candidate lists.
Key Results
The hidden-variable model demonstrated significant improvements in parsing accuracy, measured by Labeled Recall (LR) and Labeled Precision (LP).
- Vs. Base Parser: An improvement of ~1.25% F-measure over the Collins (1999) base parser.
- Vs. Previous Rerankers: An improvement of ~0.25% over the state-of-the-art Collins (2000) reranker.
- Statistical Significance: The gains were statistically significant (p < 0.01) across multiple test sets.
- Additive Gains: The model could be combined with existing reranking methods to achieve even better results (the "MIX+" model in the table), suggesting that the hidden-variable approach captures information that standard features miss.
Key Insights and Ideas
- Discriminative Clustering: Unlike standard word clustering, this model discovers clusters that are specifically "useful" for the task of parsing.
- Structural Constraints: By tying hidden variable interactions to the dependency structure of the parse tree, the authors make exponential sums tractable.
- Linguistic Emergence: Post-hoc analysis showed the model learned meaningful linguistic distinctions, such as distinguishing between infinitival verbs following "to" versus those following modal verbs.
Limitations and Future Work
The model currently operates on pre-generated N-best lists; extending this to "packed forests" is difficult because the features are not strictly local to the forest structure. Additionally, while Belief Propagation is efficient, training remains computationally intensive. The authors suggest that future work could incorporate large-scale unlabeled data to "pre-seed" word clusters, a concept that foreshadowed modern word embeddings.
Summary updated