BERTifying the Hidden Markov Model for Multi-Source Weakly Supervised Named Entity Recognition

Yinghao Li, Pranav Shetty, Lucas Liu, Chao Zhang, Le Song
5/26/2021
41 citations
cs.CL

Official code: Yinghao-Li/CHMM-ALT (32 stars, Python, Apache-2.0, last commit 2023-06-20).

Abstract

We study the problem of learning a named entity recognition (NER) tagger using noisy labels from multiple weak supervision sources. Though cheap to obtain, the labels from weak supervision sources are often incomplete, inaccurate, and contradictory, making it difficult to learn an accurate NER model.

Show full abstract

To address this challenge, we propose a conditional hidden Markov model (CHMM), which can effectively infer true labels from multi-source noisy labels in an unsupervised way. CHMM enhances the classic hidden Markov model with the contextual representation power of pre-trained language models. Specifically, CHMM learns token-wise transition and emission probabilities from the BERT embeddings of the input tokens to infer the latent true labels from noisy observations. We further refine CHMM with an alternate-training approach (CHMM-ALT). It fine-tunes a BERT-NER model with the labels inferred by CHMM, and this BERT-NER's output is regarded as an additional weak source to train the CHMM in return. Experiments on four NER benchmarks from various domains show that our method outperforms state-of-the-art weakly supervised NER models by wide margins.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for "BERTifying the Hidden Markov Model for Multi-Source Weakly Supervised Named Entity Recognition"

328Python, ShellMay 13, 20213 years agoApache-2.0
hmmnernlpweak-supervisionweakly-supervised-learning

Similar Papers

Cite this paper

@article{li2021bertifying,
  title  = {BERTifying the Hidden Markov Model for Multi-Source Weakly Supervised Named Entity Recognition},
  author = {Yinghao Li and Pranav Shetty and Lucas Liu and Chao Zhang and Le Song},
  year   = {2021},
  eprint = {2105.12848},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.12848}
}

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/2105.12848.svg)](https://codeofpaper.com/paper/2105.12848)

Discussion