paper-with-me

홈 › Papers

AMBERT: A Pre-trained Language Model with Multi-Grained Tokenization

2020-08-27 · Findings (ACL) 2021 8 · Xinsong Zhang, Pengshuai Li, Hang Li

Pre-trained language models such as BERT have exhibited remarkable performances in many tasks in natural language understanding (NLU). The tokens in the models are usually fine-grained in the sense that for languages like English they are words or sub-words and for languages like Chinese they are characters. In English, for example, there are multi-word expressions which form natural lexical units and thus the use of coarse-grained tokenization also appears to be reasonable. In fact, both fine-grained and coarse-grained tokenizations have advantages and disadvantages for learning of pre-trained language models. In this paper, we propose a novel pre-trained language model, referred to as AMBERT (A Multi-grained BERT), on the basis of both fine-grained and coarse-grained tokenizations. For English, AMBERT takes both the sequence of words (fine-grained tokens) and the sequence of phrases (coarse-grained tokens) as input after tokenization, employs one encoder for processing the sequence of words and the other encoder for processing the sequence of the phrases, utilizes shared parameters between the two encoders, and finally creates a sequence of contextualized representations of the words and a sequence of contextualized representations of the phrases. Experiments have been conducted on benchmark datasets for Chinese and English, including CLUE, GLUE, SQuAD and RACE. The results show that AMBERT can outperform BERT in all cases, particularly the improvements are significant for Chinese. We also develop a method to improve the efficiency of AMBERT in inference, which still performs better than BERT with the same computational cost as BERT.

📄 PDF Abstract BibTeX arXiv:2008.11869

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingNatural Language Understanding

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Weight Decay 설명 없음
Adam 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
WordPiece 설명 없음
Multi-Head Attention 설명 없음
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

LICHEE: Improving Language Model Pre-training with Multi-grained Tokenization

2021-08-02 · Findings (ACL) 2021 8 · Weidong Guo, Mingjun Zhao, Lusheng Zhang, Di Niu 외

Language model pre-training based on large corpora has achieved tremendous success in terms of constructing enriched contextual representations and has led to significant performance gains on a diverse range of Natural L…

Language ModelingLanguage ModellingNatural Language Understanding

BPEmb: Tokenization-free Pre-trained Subword Embeddings in 275 Languages

2017-10-05 · LREC 2018 5 · Benjamin Heinzerling, Michael Strube

We present BPEmb, a collection of pre-trained subword unit embeddings in 275 languages, based on Byte-Pair Encoding (BPE). In an evaluation using fine-grained entity typing as testbed, BPEmb performs competitively, and f…

Entity TypingWord Embeddings

MVP-BERT: Multi-Vocab Pre-training for Chinese BERT

2021-08-01 · ACL 2021 5 · Wei Zhu

Despite the development of pre-trained language models (PLMs) significantly raise the performances of various Chinese natural language processing (NLP) tasks, the vocabulary (vocab) for these Chinese PLMs remains to be t…

Chinese Word SegmentationLanguage ModelingLanguage Modelling

Unveiling the Impact of Multimodal Features on Chinese Spelling Correction: From Analysis to Design

2025-04-10 · Xiaowu Zhang, Hongfei Zhao, Jingyi Hou, Zhijie Liu

The Chinese Spelling Correction (CSC) task focuses on detecting and correcting spelling errors in sentences. Current research primarily explores two approaches: traditional multimodal pre-trained models and large languag…

Spelling Correction

lamBERT: Language and Action Learning Using Multimodal BERT

2020-04-15 · Kazuki Miyazawa, Tatsuya Aoki, Takato Horii, Takayuki Nagai

Recently, the bidirectional encoder representations from transformers (BERT) model has attracted much attention in the field of natural language processing, owing to its high performance in language understanding-related…

Reinforcement Learning