paper-with-me

Papers

Lattice-BERT: Leveraging Multi-Granularity Representations in Chinese Pre-trained Language Models

2021-04-15 · NAACL 2021 4 · Yuxuan Lai, Yijia Liu, Yansong Feng, Songfang Huang, Dongyan Zhao

Chinese pre-trained language models usually process text as a sequence of characters, while ignoring more coarse granularity, e.g., words. In this work, we propose a novel pre-training paradigm for Chinese -- Lattice-BERT, which explicitly incorporates word representations along with characters, thus can model a sentence in a multi-granularity manner. Specifically, we construct a lattice graph from the characters and words in a sentence and feed all these text units into transformers. We design a lattice position attention mechanism to exploit the lattice structures in self-attention layers. We further propose a masked segment prediction task to push the model to learn from rich but redundant information inherent in lattices, while avoiding learning unexpected tricks. Experiments on 11 Chinese natural language understanding tasks show that our model can bring an average increase of 1.5% under the 12-layer setting, which achieves new state-of-the-art among base-size models on the CLUE benchmarks. Further analysis shows that Lattice-BERT can harness the lattice structures, and the improvement comes from the exploration of redundant information and multi-granularity representations. Our code will be available at https://github.com/alibaba/pretrained-language-models/LatticeBERT.

📄 PDF Abstract BibTeX arXiv:2104.07204

Code (2)

alibaba/AliceMind 공식 구현 pytorch
Erutan-pku/LCN-for-Chinese-QA tf

Tasks

Natural Language UnderstandingSentence

Similar Papers 제목 키워드 기반

LATTE: Lattice ATTentive Encoding for Character-based Word Segmentation

2023-06-01 · Journal of Natural Language Processing 2023 6 · Thodsaporn Chay-intr, Hidetaka Kamigaito, Kotaro Funakoshi, Manabu Okumura

A character sequence comprises at least one or more segmentation alternatives. This can be considered segmentation ambiguity and may weaken segmentation performance in word segmentation. Proper handling of such ambiguity…

Chinese Word SegmentationJapanese Word SegmentationSegmentationThai Word Segmentation

Lattice-Based Recurrent Neural Network Encoders for Neural Machine Translation

2016-09-25 · Jinsong Su, Zhixing Tan, Deyi Xiong, Rongrong Ji 외

Neural machine translation (NMT) heavily relies on word-level modelling to learn semantic representations of input sentences. However, for languages without natural word delimiters (e.g., Chinese) where input sentences h…

Machine TranslationNMTSentenceTranslation

Character, Word, or Both? Revisiting the Segmentation Granularity for Chinese Pre-trained Language Models

2023-03-20 · Xinnian Liang, Zefan Zhou, Hui Huang, Shuangzhi Wu 외

Pretrained language models (PLMs) have shown marvelous improvements across various NLP tasks. Most Chinese PLMs simply treat an input text as a sequence of characters, and completely ignore word information. Although Who…

Porous Lattice Transformer Encoder for Chinese NER

2020-12-01 · COLING 2020 8 · Xue Mengge, Bowen Yu, Tingwen Liu, Yue Zhang 외

Incorporating lexicons into character-level Chinese NER by lattices is proven effective to exploitrich word boundary information. Previous work has extended RNNs to consume lattice inputsand achieved great success. Howev…

NER

Lattice CNNs for Matching Based Chinese Question Answering

2019-02-25 · Yuxuan Lai, Yansong Feng, Xiaohan Yu, Zheng Wang 외

Short text matching often faces the challenges that there are great word mismatch and expression diversity between the two texts, which would be further aggravated in languages like Chinese where there is no natural spac…

DiversityQuestion AnsweringText Matching