paper-with-me

홈 › Papers

Byte Pair Encoding is Suboptimal for Language Model Pretraining

2020-04-07 · Findings of the Association for Computational Linguistics 2020 · Kaj Bostrom, Greg Durrett

The success of pretrained transformer language models (LMs) in natural language processing has led to a wide range of pretraining setups. In particular, these models employ a variety of subword tokenization methods, most notably byte-pair encoding (BPE) (Sennrich et al., 2016; Gage, 1994), the WordPiece method (Schuster and Nakajima, 2012), and unigram language modeling (Kudo, 2018), to segment text. However, to the best of our knowledge, the literature does not contain a direct evaluation of the impact of tokenization on language model pretraining. We analyze differences between BPE and unigram LM tokenization, finding that the latter method recovers subword units that align more closely with morphology and avoids problems stemming from BPE's greedy construction procedure. We then compare the fine-tuned task performance of identical transformer masked language models pretrained with these tokenizations. Across downstream tasks and two languages (English and Japanese), we find that the unigram LM tokenization method matches or outperforms BPE. We hope that developers of future pretrained LMs will consider adopting the unigram LM method over the more prevalent BPE.

📄 PDF Abstract BibTeX arXiv:2004.03720

Code (1)

hltdi/hornmorpho

Tasks

Language ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Theoretical Analysis of Byte-Pair Encoding

2024-11-13 · László Kozma, Johannes Voderholzer

Byte-Pair Encoding (BPE) is a widely used method for subword tokenization, with origins in grammar-based text compression. It is employed in a variety of language processing tasks such as machine translation or large lan…

Language ModelingLanguage ModellingLarge Language ModelMachine Translation+1

From Bytes to Ideas: Language Modeling with Autoregressive U-Nets

2025-06-17 · Mathurin Videau, Badr Youbi Idrissi, Alessandro Leite, Marc Schoenauer 외

Tokenization imposes a fixed granularity on the input text, freezing how a language model operates on data and how far in the future it predicts. Byte Pair Encoding (BPE) and similar schemes split text once, build a stat…

Language ModelingLanguage Modelling

Improving Natural Language Understanding by Reverse Mapping Bytepair Encoding

2019-11-01 · CONLL 2019 11 · Chaodong Tong, Huailiang Peng, Qiong Dai, Lei Jiang 외

We propose a method called reverse mapping bytepair encoding, which maps named-entity information and other word-level linguistic features back to subwords during the encoding procedure of bytepair encoding (BPE). We emp…

Natural Language UnderstandingRTESST-2

ECG-Byte: A Tokenizer for End-to-End Generative Electrocardiogram Language Modeling

2024-12-18 · William Han, Chaojing Duan, Michael A. Rosenberg, Emerson Liu 외

Large Language Models (LLMs) have shown remarkable adaptability across domains beyond text, specifically electrocardiograms (ECGs). More specifically, there is a growing body of work exploring the task of generating text…

Language ModelingLanguage ModellingSelf-Supervised LearningText Generation

Composing Byte-Pair Encodings for Morphological Sequence Classification

2020-12-01 · UDW (COLING) 2020 12 · Adam Ek, Jean-Philippe Bernardy

Byte-pair encodings is a method for splitting a word into sub-word tokens, a language model then assigns contextual representations separately to each of these tokens. In this paper, we evaluate four different methods of…

ClassificationLanguage ModelingLanguage Modelling