Joint Word Segmentation and POS Tagging Using a Single Perceptron
Paper · 2008 · Yue Zhang and Stephen Clark
Summary
Chinese text has no explicit word boundaries, so POS tagging usually runs after a separate segmentation step. Segmentation mistakes then pass into the tagger and cannot be fixed. Earlier joint systems shrank the combined search space by tagging at the character level (Ng and Low, 2004) or by reranking N-best segmentations (Shi and Wang, 2007). Both approaches limit how much word-level and POS evidence can interact. Zhang and Clark build a single discriminative linear model over full segmented-and-tagged outputs. Its feature set is simply the union of the templates from their baseline perceptron segmentor and baseline POS tagger. The model is trained with one averaged perceptron. Because a standard beam search decoder performs poorly on this joint space, they introduce a multiple-beam search algorithm. On the Chinese Treebank (CTB 3), evaluated with 10-fold cross validation, the joint model cuts segmentation errors by about 14.6% and overall tagging errors by about 12.2% relative to the pipeline. Its accuracy is competitive with systems that rely on outside resources, even though it is purely data-driven.
Key points
- With the 10-fold split, the pipeline baseline reaches 95.20 segmentation F-score (SF), 90.33 overall F-score (TF) and 92.17 tagging accuracy by character (TA). The joint model reaches 95.90 SF, 91.34 TF and 93.02 TA, and it beats the baseline in every one of the ten folds.
- The single-beam decoder from Zhang and Clark (2007) was enough for segmentation alone with an agenda of 8. In the joint model it lowered segmentation accuracy below the baseline segmentor, even with a beam size of 1024.
- Shi and Wang (2007) report slightly higher absolute scores (96.05 SF, 91.86 TF). However, they use special-character knowledge and a semantic net from outside CTB, and their data partition differs. The authors follow Ng and Low's even split of sentences ordered by sentence ID.
- In the error analysis, confusions between NN and VV (in both directions) and between NR and NN make up 14.92% of all errors. Roughly half of all errors (51.47%) are segmentation errors.
- The authors also tried SVM struct for training the parameters, but it was far too slow to be practical.
Interesting ideas
- I1. Fair joint-vs-pipeline comparison: the joint model uses only the features already present in the two pipeline components. Any gain can therefore be credited to joint inference rather than to extra information. This is a clean experimental design for any study of whether merging two tasks helps.
- I2. Rethinking which hypotheses compete in a beam: the authors asked which partial candidates are fairly comparable when items mix words and tags. Their answer was to keep several agendas instead of a single beam ranked across everything. This lesson carries over to other joint decoding problems where hypotheses differ in structure.
- I3. Pruning the search with training statistics: the decoder limits where a word may start using a maximum observed word length for each tag. A tag dictionary further restricts frequent words and closed-set tags to the tags seen in training. Both are cheap constraints that speed up decoding without hand-written rules.
- I4. Character categories as features: a character's category is defined as the set of tags it carried in the training data. This gives morphology-like features without needing external web corpora, which is attractive for languages with few resources.
- I5. POS features that also inform segmentation: in a joint model, a tagger feature such as a number word followed by a measure word also signals where word boundaries fall. Features from one task can thus supervise the other at no extra cost.
Institutions
📚 Shelves 4 Computer Science · 9,086 works Artificial Intelligence · 8,889 works Arts and Humanities · 9,296 works Language and Linguistics · 9,206 works
🧭 Topics 2 Part-of-speech tagging · 91 works Tokenization & segmentation · 77 works
Cite
Cite as Yue Zhang and Stephen Clark. 2008. Joint Word Segmentation and POS Tagging Using a Single Perceptron. Proceedings of ACL-08: HLT.
@inproceedings{zhang2008joint,
title = {{Joint Word Segmentation and POS Tagging Using a Single Perceptron}},
author = {Yue Zhang and Stephen Clark},
booktitle = {Proceedings of ACL-08: HLT},
year = {2008},
url = {https://aclanthology.org/P08-1101/}
}References
- Michael Collins. 2002. Discriminative training methods for hidden Markov models: Theory and experiments with perceptron algorithms. In Proceedings of the EMNLP conference, pages 1–8, Philadelphia, PA.
- Hal Daumé III and Daniel Marcu. 2005. Learning as search optimization: Approximate large margin methods for structured prediction. In Proceedings of the ICML Conference, pages 169–176, Bonn, Germany. find
- Jenny Rose Finkel, Christopher D. Manning, and Andrew Y. Ng. 2006. Solving the problem of cascading errors: Approximate Bayesian inference for linguistic annotation pipelines. In Proceedings of the EMNLP Conference, pages 618–626, Sydney, Australia. find
- Tetsuji Nakagawa and Kiyotaka Uchimoto. 2007. A hybrid approach to word segmentation and pos tagging. In Proceedings of ACL Demo and Poster Session, pages 217–220, Prague, Czech Republic. find
- Hwee Tou Ng and Jin Kiat Low. 2004. Chinese part-of-speech tagging: One-at-a-time or all-at-once? Word-based or character-based? In Proceedings of the EMNLP Conference, pages 277–284, Barcelona, Spain.
- Adwait Ratnaparkhi. 1996. A maximum entropy model for part-of-speech tagging. In Proceedings of the EMNLP Conference, pages 133–142, Philadelphia, PA.
- Murat Saraclar and Brian Roark. 2005. Joint discriminative language modeling and utterance classification. In Proceedings of the ICASSP Conference, volume 1, Philadelphia, USA. find
- Yanxin Shi and Mengqiu Wang. 2007. A dual-layer CRF based joint decoding method for cascade segmentation and labelling tasks. In Proceedings of the IJCAI Conference, Hyderabad, India. find
- Nobuyuki Shimizu and Andrew Haas. 2006. Exact decoding for jointly labeling and chunking sequences. In Proceedings of the COLING/ACL Conference, Poster Sessions, Sydney, Australia. find
- Charles Sutton, Khashayar Rohanimanesh, and Andrew McCallum. 2004. Dynamic conditional random fields: Factorized probabilistic models for labeling and segmenting sequence data. In Proceedings of the ICML Conference, Banff, Canada. find
- Huihsin Tseng, Daniel Jurafsky, and Christopher Manning. 2005. Morphological features help POS tagging of unknown words across language varieties. In Proceedings of the Fourth SIGHAN Workshop, Jeju Island, Korea. find
- I. Tsochantaridis, T. Hofmann, T. Joachims, and Y. Altun. 2004. Support vector machine learning for interdependent and structured output spaces. In Proceedings of the ICML Conference, Banff, Canada. find
- Fei Xia. 2000. The part-of-speech tagging guidelines for the Chinese Treebank (3.0). IRCS Report, University of Pennsylvania. find
- Yue Zhang and Stephen Clark. 2007. Chinese segmentation with a word-based perceptron algorithm. In Proceedings of the ACL Conference, pages 840–847, Prague, Czech Republic. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/zhang-2008-joint-word-segmentation-pos-tagging/