paper-with-me

홈 › Papers

Tokenization with Factorized Subword Encoding

2023-06-13 · David Samuel, Lilja Øvrelid

In recent years, language models have become increasingly larger and more complex. However, the input representations for these models continue to rely on simple and greedy subword tokenization methods. In this paper, we propose a novel tokenization method that factorizes subwords onto discrete triplets using a VQ-VAE model. The effectiveness of the proposed tokenization method, referred to as the Factorizer, is evaluated on language modeling and morpho-syntactic tasks for 7 diverse languages. Results indicate that this method is more appropriate and robust for morphological tasks than the commonly used byte-pair encoding (BPE) tokenization algorithm.

📄 PDF Abstract BibTeX arXiv:2306.07764

Code (1)

ltgoslo/factorizer 공식 구현 pytorch

Tasks

Language ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

VQ-VAE VQ-VAE is a type of variational autoencoder that uses vector quantisation to obtain a discrete latent representation. It differs from…

Similar Papers 제목 키워드 기반

From Words to Music: A Study of Subword Tokenization Techniques in Symbolic Music Generation

2023-04-18 · Adarsh Kumar, Pedro Sarmento

Subword tokenization has been widely successful in text-based natural language processing (NLP) tasks with Transformer-based models. As Transformer models become increasingly popular in symbolic music-related studies, it…

Music Generation

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

Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challenge

2024-04-20 · Khuyagbaatar Batsuren, Ekaterina Vylomova, Verna Dankers, Tsetsuukhei Delgerbaatar 외

The popular subword tokenizers of current language models, such as Byte-Pair Encoding (BPE), are known not to respect morpheme boundaries, which affects the downstream performance of the models. While many improved token…

text-classificationText Classification

Assessing the Importance of Frequency versus Compositionality for Subword-based Tokenization in NMT

2023-06-02 · Benoist Wolleb, Romain Silvestri, Giorgos Vernikos, Ljiljana Dolamic 외

Subword tokenization is the de facto standard for tokenization in neural language models and machine translation systems. Three advantages are frequently cited in favor of subwords: shorter encoding of frequent tokens, c…

de-enMachine TranslationNMTTranslation

An Analysis of BPE Vocabulary Trimming in Neural Machine Translation

2024-03-30 · Marco Cognetta, Tatsuya Hiraoka, Naoaki Okazaki, Rico Sennrich 외

We explore threshold vocabulary trimming in Byte-Pair Encoding subword tokenization, a postprocessing step that replaces rare subwords with their component subwords. The technique is available in popular tokenization lib…

Machine TranslationTranslation