Searching for Optimal Subword Tokenization in Cross-domain NER

Ruotian Ma, Yiding Tan, Xin Zhou, Xuanting Chen, Di Liang +4 more
6/7/2022
cs.CLcs.AI

Official code: rtmaww/X-Piece (3 stars, Python, last commit 2022-09-08).

Abstract

Input distribution shift is one of the vital problems in unsupervised domain adaptation (UDA). The most popular UDA approaches focus on domain-invariant representation learning, trying to align the features from different domains into similar feature distributions.

Show full abstract

However, these approaches ignore the direct alignment of input word distributions between domains, which is a vital factor in word-level classification tasks such as cross-domain NER. In this work, we shed new light on cross-domain NER by introducing a subword-level solution, X-Piece, for input word-level distribution shift in NER. Specifically, we re-tokenize the input words of the source domain to approach the target subword distribution, which is formulated and solved as an optimal transport problem. As this approach focuses on the input level, it can also be combined with previous DIRL methods for further improvement. Experimental results show the effectiveness of the proposed method based on BERT-tagger on four benchmark NER datasets. Also, the proposed method is proved to benefit DIRL methods such as DANN.

View on arXivView PDF

Code Implementations(1)

rtmaww/X-PieceOfficial100%
30Python, ShellMay 1, 20224 years ago

Similar Papers

Cite this paper

@article{ma2022searching,
  title  = {Searching for Optimal Subword Tokenization in Cross-domain NER},
  author = {Ruotian Ma and Yiding Tan and Xin Zhou and Xuanting Chen and Di Liang and Sirui Wang and Wei Wu and Tao Gui and Qi Zhang},
  year   = {2022},
  eprint = {2206.03352},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.03352}
}

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

Discussion