Papers › Glyce: Glyph-vectors for Chinese Character Representations

Glyce: Glyph-vectors for Chinese Character Representations

29 Jan 2019NeurIPS 2019 12arXiv:1901.10125archive 2025-07-28

Yuxian Meng, Wei Wu, Fei Wang, Xiaoya Li, Ping Nie, Fan Yin, Muyu Li, Qinghong Han, Xiaofei Sun, Jiwei Li

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. 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1901.10125")

Code

Syntology Ran 3 of 8 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong.

By repository: official repository: 8 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ShannonAI/glyce officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 3 ran; 2 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
5unverified

Licence: 0 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ShannonAI/glyce. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

swish ShannonAI/glyce/glyce/layers/bert_basic_model.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 0f786c407fb1ee4c · report
gelu ShannonAI/glyce/glyce/layers/bert_basic_model.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 56a9ab06b860b180 · report
gelu ShannonAI/glyce/glyce/glyph_cnn_models/glyph_group_cnn.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 50e1ffed03f484ec · report
channel_shuffle ShannonAI/glyce/glyce/glyph_cnn_models/downsample.py official repository unverified Apache-2.0 (permissive) · 68147246e5e691bf · report
channel_shuffle ShannonAI/glyce/glyce/glyph_cnn_models/utils.py official repository unverified Apache-2.0 (permissive) · 0438badc6adb3fb8 · report
count_params ShannonAI/glyce/glyce/glyph_cnn_models/utils.py official repository unverified Apache-2.0 (permissive) · 483cee36456abbed · report
masked_softmax ShannonAI/glyce/glyce/glyph_cnn_models/self_attention.py official repository unverified Apache-2.0 (permissive) · 14797096cd0b979b · report
weighted_sum ShannonAI/glyce/glyce/glyph_cnn_models/self_attention.py official repository unverified Apache-2.0 (permissive) · 2f417d486bcad523 · report

Tasks

Chinese Named Entity RecognitionChinese Semantic Role LabelingChinese Sentence Pair ClassificationChinese Word SegmentationClassificationDependency ParsingDocument ClassificationGeneral ClassificationImage ClassificationLanguage ModellingMachine TranslationMulti-Task LearningNERPOSPart-Of-Speech TaggingSemantic Role LabelingSemantic Textual SimilaritySentenceSentence ClassificationSentence-Pair ClassificationSentiment AnalysisText Classificationimage-classificationtext-classification

2 archive task tags without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Chinese Named Entity Recognition MSRA Glyce + BERT F1 95.54 #8 of 21 Archive leaderboard report
Chinese Named Entity Recognition MSRA Glyce + BERT Precision 95.57 #8 of 21 Archive leaderboard report
Chinese Named Entity Recognition MSRA Glyce + BERT Recall 95.51 #8 of 21 Archive leaderboard report
Chinese Named Entity Recognition OntoNotes 4 Glyce + BERT F1 80.62 #8 of 15 Archive leaderboard report
Chinese Named Entity Recognition OntoNotes 4 Glyce + BERT Precision 81.87 #8 of 15 Archive leaderboard report
Chinese Named Entity Recognition OntoNotes 4 Glyce + BERT Recall 81.4 #8 of 15 Archive leaderboard report
Chinese Named Entity Recognition Resume NER Glyce + BERT F1 96.54 #5 of 13 Archive leaderboard report
Chinese Named Entity Recognition Resume NER Glyce + BERT Precision 96.62 #5 of 13 Archive leaderboard report
Chinese Named Entity Recognition Resume NER Glyce + BERT Recall 96.48 #5 of 13 Archive leaderboard report
Chinese Named Entity Recognition Weibo NER Glyce + BERT F1 67.6 #9 of 18 Archive leaderboard report
Chinese Named Entity Recognition Weibo NER Glyce + BERT Precision 67.68 #9 of 18 Archive leaderboard report
Chinese Named Entity Recognition Weibo NER Glyce + BERT Recall 67.71 #9 of 18 Archive leaderboard report
Chinese Word Segmentation AS Glyce + BERT F1 96.7 #1 of 2 Archive leaderboard report
Chinese Word Segmentation AS Glyce + BERT Precision 96.6 #1 of 2 Archive leaderboard report
Chinese Word Segmentation AS Glyce + BERT Recall 96.8 #1 of 2 Archive leaderboard report
Chinese Word Segmentation CITYU Glyce + BERT F1 97.9 #2 of 2 Archive leaderboard report
Chinese Word Segmentation CITYU Glyce + BERT Precision 97.9 #2 of 2 Archive leaderboard report
Chinese Word Segmentation CITYU Glyce + BERT Recall 98 #2 of 2 Archive leaderboard report
Chinese Word Segmentation MSR Glyce + BERT F1 98.3 #5 of 6 Archive leaderboard report
Chinese Word Segmentation MSR Glyce + BERT Precision 98.2 #5 of 6 Archive leaderboard report
Chinese Word Segmentation MSR Glyce + BERT Recall 98.3 #5 of 6 Archive leaderboard report
Chinese Word Segmentation PKU Glyce + BERT F1 96.7 #2 of 4 Archive leaderboard report
Chinese Word Segmentation PKU Glyce + BERT Precision 97.1 #2 of 4 Archive leaderboard report
Chinese Word Segmentation PKU Glyce + BERT Recall 96.4 #2 of 4 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections