Masked Part-Of-Speech Model: Does Modeling Long Context Help Unsupervised POS-tagging?

Xiang Zhou, Shiyue Zhang, Mohit Bansal
6/30/2022
cs.CLcs.AIcs.LG

Official code: owenzx/MPoSM (3 stars, Python, MIT, last commit 2022-07-01).

Abstract

Previous Part-Of-Speech (POS) induction models usually assume certain independence assumptions (e.g., Markov, unidirectional, local dependency) that do not hold in real languages. For example, the subject-verb agreement can be both long-term and bidirectional.

Show full abstract

To facilitate flexible dependency modeling, we propose a Masked Part-of-Speech Model (MPoSM), inspired by the recent success of Masked Language Models (MLM). MPoSM can model arbitrary tag dependency and perform POS induction through the objective of masked POS reconstruction. We achieve competitive results on both the English Penn WSJ dataset as well as the universal treebank containing 10 diverse languages. Though modeling the long-term dependency should ideally help this task, our ablation study shows mixed trends in different languages. To better understand this phenomenon, we design a novel synthetic experiment that can specifically diagnose the model's ability to learn tag agreement. Surprisingly, we find that even strong baselines fail to solve this problem consistently in a very simplified setting: the agreement between adjacent words. Nonetheless, MPoSM achieves overall better performance. Lastly, we conduct a detailed error analysis to shed light on other remaining challenges. Our code is available at https://github.com/owenzx/MPoSM

View on arXivView PDF

Code Implementations(1)

owenzx/MPoSMOfficial100%
MIT
30Python, ShellApr 26, 20224 years agoMIT

Similar Papers

Cite this paper

@article{zhou2022masked,
  title  = {Masked Part-Of-Speech Model: Does Modeling Long Context Help Unsupervised POS-tagging?},
  author = {Xiang Zhou and Shiyue Zhang and Mohit Bansal},
  year   = {2022},
  eprint = {2206.14969},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.14969}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.14969.svg)](https://codeofpaper.com/paper/2206.14969)

Discussion