WordPiece
A subword tokenization algorithm that determines symbol merges by maximizing language model likelihood. It serves as the core tokenization method adopted by models such as BERT, producing a vocabulary of subword units that balances coverage and compactness.
Core Facts
Modern LLMs generally use BPE (Byte Pair Encoding) or WordPiece algorithms for tokenization.
Subword tokenization cuts words into smaller segments, common algorithms include BPE, WordPiece and Unigram, and SentencePiece is one language-agnostic engineering implementation among them.
The byte pair encoding (BPE) or WordPiece algorithms widely used in modern large models are essentially data-driven morphological segmentation methods.
Timeline (last 90 days)
Mainstream subword tokenizers (such as BPE and WordPiece) assume that meaningful linguistic units can be recovered by learning boundaries, but this assumption is better suited to concatenative morphology and does not apply to the Semitic root-pattern system.
The model uses individual characters as the smallest token unit (character-level processing) rather than subword units such as BPE or WordPiece.
WordPiece and SentencePiece are different implementations of the same line of thinking in subword tokenization, among which SentencePiece supports training directly from raw text without pre-splitting words by spaces, making it friendlier to languages without spaces such as Chinese.
Mainstream large models rely on tokenizers (such as the BPE algorithm) to split text into subword units, with each token corresponding to an ID in the vocabulary, which typically contains tens of thousands to hundreds of thousands of entries.
Porting LLaVA-1.5's token IDs as-is to two models with disjoint vocabularies drops F1 straight to 0.00, whereas using tokenizer-derived readings keeps F1 stable between 0.80 and 0.92.
The researchers conducted a four-reading audit on another four VLMs covering three tokenizer families, concluding that the Yes/No reading confusion is a protocol-level rather than model-level issue.
Subword tokenizers (such as BPE, WordPiece) split identifiers like E4012 into common fragments such as E, 40, 12, diluting exact character information and causing identifiers to lose discriminability in embedding space.
Different models have different tokenizers, such as BPE and WordPiece.
Subword tokenization cuts words into smaller segments, common algorithms include BPE, WordPiece and Unigram, and SentencePiece is one language-agnostic engineering implementation among them.
In a warm English encoding with bert-base-uncased, Normalization consumed 88% of the encoding time, while WordPiece accounted for only 8%.
8 more timeline events
All Facts (20)
Modern LLMs generally use BPE (Byte Pair Encoding) or WordPiece algorithms for tokenization.
80%VerifiedSubword tokenization cuts words into smaller segments, common algorithms include BPE, WordPiece and Unigram, and SentencePiece is one language-agnostic engineering implementation among them.
70%VerifiedThe byte pair encoding (BPE) or WordPiece algorithms widely used in modern large models are essentially data-driven morphological segmentation methods.
70%VerifiedDifferent models use different tokenization schemes (such as BPE, SentencePiece, etc.), and the same piece of text may be counted as a different number of tokens across different models.
65%UnverifiedMainstream subword tokenizers (such as BPE and WordPiece) assume that meaningful linguistic units can be recovered by learning boundaries, but this assumption is better suited to concatenative morphology and does not apply to the Semitic root-pattern system.
70%UnverifiedA Tokenizer is responsible for splitting raw text into token sequences that the model can process; mainstream approaches include BPE, WordPiece, and SentencePiece.
60%UnverifiedThe model uses individual characters as the smallest token unit (character-level processing) rather than subword units such as BPE or WordPiece.
50%UnverifiedWordPiece and SentencePiece are different implementations of the same line of thinking in subword tokenization, among which SentencePiece supports training directly from raw text without pre-splitting words by spaces, making it friendlier to languages without spaces such as Chinese.
50%UnverifiedMainstream large models rely on tokenizers (such as the BPE algorithm) to split text into subword units, with each token corresponding to an ID in the vocabulary, which typically contains tens of thousands to hundreds of thousands of entries.
50%UnverifiedPorting LLaVA-1.5's token IDs as-is to two models with disjoint vocabularies drops F1 straight to 0.00, whereas using tokenizer-derived readings keeps F1 stable between 0.80 and 0.92.
50%UnverifiedThe researchers conducted a four-reading audit on another four VLMs covering three tokenizer families, concluding that the Yes/No reading confusion is a protocol-level rather than model-level issue.
50%UnverifiedSubword tokenizers (such as BPE, WordPiece) split identifiers like E4012 into common fragments such as E, 40, 12, diluting exact character information and causing identifiers to lose discriminability in embedding space.
50%UnverifiedDifferent models have different tokenizers, such as BPE and WordPiece.
50%UnverifiedIn a warm English encoding with bert-base-uncased, Normalization consumed 88% of the encoding time, while WordPiece accounted for only 8%.
50%UnverifiedBAAI/bge-small-en-v1.5 uses a WordPiece tokenizer, which splits snake_case and camelCase into meaningless fragments.
50%UnverifiedThe WordPiece tokenizer's ## prefix marks the latter part of a subword; for example, gatito is split into ga, ##ti, ##to, and gato also contains ##to, causing shared tokens between the query and the document and producing false similarity.
50%UnverifiedWordPiece was proposed by Google and adopted by BERT; its merge criterion maximizes the likelihood of a language model rather than purely counting frequencies.
50%UnverifiedThe choice among the three tokenization algorithms involves different trade-offs among vocabulary size, rare-word coverage, and cross-lingual generalization ability.
50%UnverifiedMainstream subword tokenizers (such as BPE and WordPiece) treat different written forms of the same word (e.g., hello, Hello, HELLO, Héllo) as independent, mutually unrelated vocabulary entries.
50%UnverifiedWordPiece determines its merging strategy with the objective of maximizing language model likelihood.
50%