Introduction
In Natural Language Processing (NLP), many fundamental tasks involve a two-step process: text segmentation followed by tagging. For instance, Chinese word segmentation (CWS) identifies word boundaries, which are then assigned Part-of-Speech (POS) tags. Traditionally, researchers have faced a trade-off between two suboptimal approaches. The pipeline approach performs segmentation and tagging sequentially, leading to irreversible error propagation. Conversely, the joint cross-label approach merges all possible segmentation and tagging labels into a single massive state space. While this prevents error propagation, it causes a "label explosion" that increases parameter complexity, slows down inference, and risks overfitting.
Researchers from Fudan University propose a "Coupled Sequences Labeling" (CSL) model to bridge this gap. CSL performs joint segmentation and tagging using interacting Markov chains, maintaining efficiency while capturing the dependencies necessary for high accuracy.
The Coupled Sequences Labeling (CSL) Model
The core innovation of CSL is the use of two dependent Markov chains—one for segmentation ($s$) and one for tagging ($t$)—rather than a single merged label set.
Hybrid Graphic Structure
The model introduces specific dependencies (edges) between the two chains. By utilizing 3-variable cliques that link the previous state of one chain to the current state of the other, the model allows tagging information to inform segmentation decisions and vice versa. This coupling effectively breaks the "label bias" found in simpler factorial models, where chains are mostly independent.
Inference and Learning
To find the optimal sequence across both chains simultaneously, the authors adapted a second-order Viterbi algorithm. This ensures the mathematically optimal path is found through the coupled state space. For training, the model employs an online Passive-Aggressive (PA) algorithm, which offers faster convergence and greater robustness for structured prediction compared to standard perceptrons.
One significant advantage of this architecture is its support for heterogeneous training. The model can leverage datasets that only contain segmentation labels to improve the segmentation chain, even if tagging information is missing. This data synergy allows the model to transfer knowledge between related tasks effectively.
Experimental Evaluation
The authors evaluated CSL on two distinct NLP tasks:
- English Shallow Parsing: Using the CoNLL 2000 dataset.
- Chinese Word Segmentation and POS Tagging (S&T): Using the Chinese Treebank (CTB) corpus from the SIGHAN Bakeoff.
Key Results
The CSL model consistently outperformed both pipeline and traditional joint models across both languages:
- Accuracy: In English Shallow Parsing, CSL achieved an F1 score of 93.94, surpassing Cross-Label CRFs (93.88). In Chinese S&T, it reached an F1 score of 89.32, beating the pipeline baseline (89.04) and the cross-label model (89.18).
- Efficiency: While joint inference is computationally intensive, the modular nature of CSL allows it to perform segmentation-only tasks over 10 times faster than the joint version by ignoring the tagging chain.
- Complexity: By keeping the chains separate but coupled, the state space complexity is reduced from $(|S| \times |T|)^2$ in cross-label models to approximately $O(|S|^2|T| + |T|^2|S|)$. This reduction is critical when dealing with large tag sets.
Conclusion
The Coupled Sequences Labeling model provides a robust solution to the label explosion problem in joint NLP tasks. By decomposing the joint task into interacting sequences, it achieves state-of-the-art accuracy while maintaining the flexibility and efficiency required for real-world applications. Future work may involve integrating deep learning-based feature representations to further enhance the model's predictive power.
Summary updated