Introduction
In natural language processing, dependency parsing—the task of determining the grammatical structure of a sentence—has historically relied on Part-of-Speech (POS) tagging as a prerequisite. Traditional systems typically employ a "pipeline" or "stacking" approach where a tagger first labels words, and these discrete labels are then used as features for the parser. However, this approach suffers from two primary limitations: error cascading, where tagging mistakes lead to parsing failures, and an information bottleneck, where the rich internal representations of the tagger are discarded in favor of coarse discrete tags.
The Stack-propagation Framework
To address these issues, we introduce Stack-propagation, a method that treats POS tags as a regularization signal for internal representations rather than mere input features. Unlike traditional stacking, where the output of one task is the input to the next, stack-propagation feeds the hidden layer of the tagger directly into the parser.
In this framework, the model is trained to minimize a joint loss. Crucially, during the parsing phase, gradients are backpropagated through the parser into the tagger’s hidden layers. This forces the tagger to learn representations that are not only predictive of POS tags but also optimized for the downstream syntactic parsing task. At inference time, the model does not require explicit POS predictions, bypassing the error cascading problem entirely.
Model Architecture
The implementation consists of two primary components: a window-based POS tagger and a transition-based dependency parser. The tagger processes word embeddings and local context to produce hidden activations. These activations, rather than the final softmax outputs, serve as the primary input for the parser network.
As shown in the architecture diagram, the tagger network (bottom) provides continuous state information to the parser network (middle). This allows the parser to leverage nuanced morphological and contextual information that discrete tags might obscure. For instance, ambiguous words like "judge" can maintain a probabilistic representation in the hidden state, allowing the parser to resolve the ambiguity based on broader syntactic context.
Experimental Evaluation
The model was evaluated on the Universal Dependencies (UD) v1.2 treebanks and the Wall Street Journal (WSJ) corpus.
Key Results
- Accuracy: Stack-propagation achieved a 1.3% absolute improvement in accuracy over state-of-the-art graph-based parsers across 19 languages in the UD dataset.
- Robustness: The model demonstrated significant resilience to tagging errors. On tokens where a standard pipeline tagger failed, Stack-propagation improved parsing accuracy by 10.9%, effectively "ignoring" the potential error by utilizing the underlying continuous signal.
- Efficiency: By sharing parameters and reducing the need for complex lexicalized features, the model is approximately half the size and twice as fast as traditional pipeline counterparts.
Conclusion
Stack-propagation represents a shift from viewing POS tagging as a preprocessing step to viewing it as a supervised regularization task. By propagating gradients from the parser back into the tagger, the model learns superior syntactic representations. This approach not only improves state-of-the-art accuracy but also results in faster, more robust models suitable for real-world NLP applications.
Summary updated