paper-with-me

Papers

A Vocabulary-Free Multilingual Neural Tokenizer for End-to-End Task Learning

2022-04-22 · RepL4NLP (ACL) 2022 5 · Md Mofijul Islam, Gustavo Aguilar, Pragaash Ponnusamy, Clint Solomon Mathialagan, Chengyuan Ma, Chenlei Guo

Subword tokenization is a commonly used input pre-processing step in most recent NLP models. However, it limits the models' ability to leverage end-to-end task learning. Its frequency-based vocabulary creation compromises tokenization in low-resource languages, leading models to produce suboptimal representations. Additionally, the dependency on a fixed vocabulary limits the subword models' adaptability across languages and domains. In this work, we propose a vocabulary-free neural tokenizer by distilling segmentation information from heuristic-based subword tokenization. We pre-train our character-based tokenizer by processing unique words from multilingual corpus, thereby extensively increasing word diversity across languages. Unlike the predefined and fixed vocabularies in subword methods, our tokenizer allows end-to-end task learning, resulting in optimal task-specific tokenization. The experimental results show that replacing the subword tokenizer with our neural tokenizer consistently improves performance on multilingual (NLI) and code-switching (sentiment analysis) tasks, with larger gains in low-resource languages. Additionally, our neural tokenizer exhibits a robust performance on downstream tasks when adversarial noise is present (typos and misspelling), further increasing the initial improvements over statistical subword tokenizers.

📄 PDF Abstract BibTeX arXiv:2204.10815

Code (0)

등록된 구현이 없습니다.

Tasks

DiversitySentiment Analysis

Similar Papers 제목 키워드 기반

Tokenization Impacts Multilingual Language Modeling: Assessing Vocabulary Allocation and Overlap Across Languages

2023-05-26 · Tomasz Limisiewicz, Jiří Balhar, David Mareček

Multilingual language models have recently gained attention as a promising solution for representing multiple languages in a single model. In this paper, we propose new criteria to evaluate the quality of lexical represe…

Language ModelingLanguage ModellingNERPOS+2

Prune or Retrain: Optimizing the Vocabulary of Multilingual Models for Estonian

2025-01-05 · Aleksei Dorkin, Taido Purason, Kairit Sirts

Adapting multilingual language models to specific languages can enhance both their efficiency and performance. In this study, we explore how modifying the vocabulary of a multilingual encoder model to better suit the Est…

named-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NER

MUTANT: A Recipe for Multilingual Tokenizer Design

2025-11-05 · Souvik Rana, Arul Menezes, Ashish Kulkarni, Chandra Khatri 외 arxiv

Tokenizers play a crucial role in determining the performance, training efficiency, and the inference cost of Large Language Models (LLMs). Designing effective tokenizers for multilingual LLMs is particularly challenging…

Jamo Pair Encoding: Subcharacter Representation-based Extreme Korean Vocabulary Compression for Efficient Subword Tokenization

2020-05-01 · LREC 2020 5 · Sangwhan Moon, Naoaki Okazaki

In the context of multilingual language model pre-training, vocabulary size for languages with a broad set of potential characters is an unsolved problem. We propose two algorithms applicable in any unsupervised multilin…

Language ModelingLanguage Modelling

Training and Evaluation of a Multilingual Tokenizer for GPT-SW3

2023-04-28 · Felix Stollenwerk

This paper provides a detailed discussion of the multilingual tokenizer used for GPT-SW3. It was trained on the Nordic Pile using the SentencePiece library and the BPE algorithm. We outline the tokenizer's most important…