FLAT: Chinese NER Using Flat-Lattice Transformer

Xiaonan Li, Hang Yan, Xipeng Qiu, Xuanjing Huang
4/24/2020
cs.CL
transformer-attention

Official code: LeeSureman/Flat-Lattice-Transformer (1,003 stars, Python, last commit 2022-05-10).

Abstract

Recently, the character-word lattice structure has been proved to be effective for Chinese named entity recognition (NER) by incorporating the word information. However, since the lattice structure is complex and dynamic, most existing lattice-based models are hard to fully utilize the parallel computation of GPUs and usually have a low inference-speed.

Show full abstract

In this paper, we propose FLAT: Flat-LAttice Transformer for Chinese NER, which converts the lattice structure into a flat structure consisting of spans. Each span corresponds to a character or latent word and its position in the original lattice. With the power of Transformer and well-designed position encoding, FLAT can fully leverage the lattice information and has an excellent parallelization ability. Experiments on four datasets show FLAT outperforms other lexicon-based models in performance and efficiency.

View on arXivView PDF

Code Implementations(1)

code for ACL 2020 paper: FLAT: Chinese NER Using Flat-Lattice Transformer

1,003170PythonApr 29, 20204 years ago

Similar Papers

Cite this paper

@article{li2020flat,
  title  = {FLAT: Chinese NER Using Flat-Lattice Transformer},
  author = {Xiaonan Li and Hang Yan and Xipeng Qiu and Xuanjing Huang},
  year   = {2020},
  eprint = {2004.11795},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.11795}
}

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

Discussion