Fast WordPiece Tokenization (2021.emnlp-main)

Copied to clipboard

Challenge: Existing methods for tokenization of text are not efficient, but they are based on Aho-Corasick's algorithm.
Approach: They propose an efficient algorithm for WordPiece tokenization using a longest-match-first strategy . they propose an algorithm whose tokenization complexity is strictly O(n)
Outcome: The proposed method is 8.2x faster than HuggingFace Tokenizers and 5.1x faster on average for general text tokenization.

Similar Papers

MaxMatch-Dropout: Subword Regularization for WordPiece (2022.coling-1)

Copied to clipboard

Challenge: Existing subword regularization methods are specialized to a particular tokenizer type.
Approach: They propose a subword regularization method for WordPiece that uses a maximum matching algorithm for tokenization.
Outcome: The proposed method improves the performance of text classification and machine translation tasks as well as other subword regularization methods.
Tokenization Is More Than Compression (2024.emnlp-main)

Copied to clipboard

Challenge: Existing tokenization approaches like Byte-Pair Encoding (BPE) have been suggested that their effectiveness stems from their ability to condense text into a relatively small number of tokens.
Approach: They propose a tokenizer that segments a document’s text into the minimum number of tokens for a given vocabulary and propose fewer tokens to improve downstream performance.
Outcome: The proposed tokenizers can initialize vocabulary construction and pre-tokenization, and the results show that fewer tokens lead to better performance.
Optimizing Word Segmentation for Downstream Task (2020.findings-emnlp)

Copied to clipboard

Challenge: Existing methods to optimize tokenizations for downstream tasks are not suitable for traditional NLP.
Approach: They propose a method to explore a tokenization appropriate for a downstream task . they train a model to assign a high probability to such appropriate tokenization based on the downstream task loss .
Outcome: The proposed method improves sentiment analysis and textual entailment tasks . it is also integrated into state-of-the-art contextualized embeddings and reports a positive effect .
Treepiece: Faster Semantic Parsing via Tree Tokenization (2023.findings-emnlp)

Copied to clipboard

Challenge: Autoregressive (AR) encoder-decoder neural networks are slow in sequential prediction of natural language to machine-readable parse trees.
Approach: They propose a technique that tokenizes a parse tree into subtrees and generates one subtrea per decoding step.
Outcome: The proposed approach shows 4.6 times faster decoding speed and comparable speed but significantly higher accuracy compared to non-autoregressive (NAR) models.
Learn Your Tokens: Word-Pooled Tokenization for Language Modeling (2023.findings-emnlp)

Copied to clipboard

Challenge: Language models typically tokenize text into subwords, using a deterministic, hand-engineered heuristic of combining characters into longer surface-level strings such as ‘ing’ or whole words.
Approach: They propose a 'learn your tokens' scheme which pooles bytes/characters into word representations and decodes individual characters/bytes per word in parallel.
Outcome: The proposed tokenizer outperforms subword models and byte/character models over the word boundary and outperformed on rare words by a factor of 30!
How Important Is Tokenization in French Medical Masked Language Models? (2024.lrec-main)

Copied to clipboard

Challenge: Word tokenization into subword units has become the prevailing standard in the field of natural language processing (NLP) over recent years . the precise factors contributing to its success remain unclear .
Approach: They propose a tokenization strategy that integrates morpheme-enriched word segmentation into existing tokenization methods.
Outcome: The proposed tokenization strategy outperforms character and word tokenization but the precise factors contributing to its success remain unclear.
Should we find another model?: Improving Neural Machine Translation Performance with ONE-Piece Tokenization Method without Model Modification (2021.naacl-industry)

Copied to clipboard

Challenge: Recent studies using pretrain-finetuning approach have achieved state-of-the-art (SOTA) performance in many natural language processing tasks.
Approach: They propose a new tokenization method that combines morphology-considered subword tokenization and vocabulary methods to address this limitation.
Outcome: The proposed method can be used without modifying the model structure.
Which Pieces Does Unigram Tokenization Really Need? (2026.findings-acl)

Copied to clipboard

Challenge: Despite its theoretical elegance, its implementation in practice is complex, limiting its adoption to SentencePiece.
Approach: They propose a Unigram-based probabilistic alternative to the greedy heuristics of Byte-Pair Encoding that is based on C++.
Outcome: The proposed algorithm is remarkably robust to hyperparameter choices and can be simplified to reduce computational costs.
An Empirical Study of Tokenization Strategies for Various Korean NLP Tasks (2020.aacl-main)

Copied to clipboard

Challenge: Traditionally, tokenization is the very first step in most text processing works.
Approach: They propose to use morphological segmentation followed by BPE for Korean NLP tasks . they empirically examine what is the best tokenization strategy for Korean to/from English .
Outcome: The proposed approach is best for Korean to/from English machine translation and natural language understanding tasks.
SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing (D18-2)

Copied to clipboard

Challenge: Existing subword segmentation tools assume input is pre-tokenized into word sequences, but SentencePiece can train subword models directly from raw sentences.
Approach: They propose a language-independent subword tokenizer and detokenizer for Neural-based text processing.
Outcome: The proposed system achieves comparable accuracy to training from raw sentences.

What is GenGO?

GenGO is an NLP powered publication search system. It currenctly indexes 30k+ papers from ACL Anthology, and implements multi-aspect summarization, semantic search, and more!

Information

About
Limitations