AlgorithmsMachine learningEdit on GitHubEdit history
BPE Subword Tokenization
Byte-Pair Encoding tokenization2015
A tokenization method that starts from characters and repeatedly merges the most frequent adjacent symbol pair in the corpus to build a subword vocabulary. It adapts the BPE compression algorithm to neural machine translation.
Origin
Rico Sennrich, Barry Haddow, Alexandra Birch (2015). Neural Machine Translation of Rare Words with Subword Units. ACL 2016.arXiv:1508.07909 — checked against arXiv, 2026-11-08
Lineage
Algorithms 4 · Relations 3
Derived algorithms
What it led to
SentencePiece2018
CitationSentencePiece provides an implementation that trains BPE subword segmentation directly from raw text — arXiv:1808.06226
GPT2018
CitationGPT uses a BPE vocabulary with 40,000 merges, citing Sennrich et al.
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…