Glyce: Glyph-vectors for Chinese Character Representations

Yuxian Meng, Wei Wu, Fei Wang, Xiaoya Li, Ping Nie +6 more
1/29/2019
223 citations
cs.CLcs.AIcs.CV

Official code: ShannonAI/glyce (428 stars, Python, Apache-2.0, last commit 2023-10-03).

Abstract

It is intuitive that NLP tasks for logographic languages like Chinese should benefit from the use of the glyph information in those languages. However, due to the lack of rich pictographic evidence in glyphs and the weak generalization ability of standard computer vision models on character data, an effective way to utilize the glyph information remains to be found.

Show full abstract

In this paper, we address this gap by presenting Glyce, the glyph-vectors for Chinese character representations. We make three major innovations: (1) We use historical Chinese scripts (e.g., bronzeware script, seal script, traditional Chinese, etc) to enrich the pictographic evidence in characters; (2) We design CNN structures (called tianzege-CNN) tailored to Chinese character image processing; and (3) We use image-classification as an auxiliary task in a multi-task learning setup to increase the model's ability to generalize. We show that glyph-based models are able to consistently outperform word/char ID-based models in a wide range of Chinese NLP tasks. We are able to set new state-of-the-art results for a variety of Chinese NLP tasks, including tagging (NER, CWS, POS), sentence pair classification, single sentence classification tasks, dependency parsing, and semantic role labeling. For example, the proposed model achieves an F1 score of 80.6 on the OntoNotes dataset of NER, +1.5 over BERT; it achieves an almost perfect accuracy of 99.8\% on the Fudan corpus for text classification. Code found at https://github.com/ShannonAI/glyce.

View on arXivView PDF

Code Implementations(1)

ShannonAI/glyceOfficial100%
Apache-2.0

Code for NeurIPS 2019 - Glyce: Glyph-vectors for Chinese Character Representations

42872Python, ShellJun 26, 20193 years agoApache-2.0
bertglycenlp

Similar Papers

Cite this paper

@article{meng2019glyce,
  title  = {Glyce: Glyph-vectors for Chinese Character Representations},
  author = {Yuxian Meng and Wei Wu and Fei Wang and Xiaoya Li and Ping Nie and Fan Yin and Muyu Li and Guoyin Wang and Qinghong Han and Xiaofei Sun and Jiwei Li},
  year   = {2019},
  eprint = {1901.10125},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.10125}
}

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

Discussion