paper-with-me

Papers

FLEXITOKENS: Flexible Tokenization for Evolving Language Models

2025-07-17 · Abraham Toluase Owodunni, Orevaoghene Ahia, Sachin Kumar

Language models (LMs) are challenging to adapt to new data distributions by simple finetuning. This is due to the rigidity of their subword tokenizers, which typically remain unchanged during adaptation. This inflexibility often leads to inefficient tokenization, causing overfragmentation of out-of-distribution domains, unseen languages, or scripts. In this work, we develop byte-level LMs with learnable tokenizers to make tokenization adaptive. Our models include a submodule that learns to predict boundaries between the input byte sequence, encoding it into variable-length segments. Existing tokenizer-free methods train this boundary predictor using an auxiliary loss that enforces a fixed compression rate across the training corpus, introducing a new kind of rigidity. We propose FLEXITOKENS, a simplified training objective that enables significantly greater flexibility during adaptation. Evaluating across multiple multilingual benchmarks, morphologically diverse tasks, and domains, we demonstrate that FLEXITOKENS consistently reduces token over-fragmentation and achieves up to 10\% improvements on downstream task performance compared to subword and other gradient-based tokenizers. Code and data for our experiments will be released at https://github.com/owos/flexitokens

📄 PDF Abstract BibTeX arXiv:2507.12720

Code (1)

owos/flexitokens 공식 구현

Similar Papers 제목 키워드 기반

Incorporating Feature Pyramid Tokenization and Open Vocabulary Semantic Segmentation

2024-12-18 · Jianyu Zhang, Li Zhang, Shijian Li

The visual understanding are often approached from 3 granular levels: image, patch and pixel. Visual Tokenization, trained by self-supervised reconstructive learning, compresses visual data by codebook in patch-level wit…

Open Vocabulary Semantic SegmentationOpen-Vocabulary Semantic SegmentationSegmentationSemantic Segmentation

Flexibly Scaling Large Language Models Contexts Through Extensible Tokenization

2024-01-15 · Ninglu Shao, Shitao Xiao, Zheng Liu, Peitian Zhang

Large language models (LLMs) are in need of sufficient contexts to handle many critical applications, such as retrieval augmented generation and few-shot learning. However, due to the constrained window size, the LLMs ca…

Few-Shot LearningLanguage ModelingLanguage ModellingRetrieval-augmented Generation

A Cross-Task Flexible Transition Model for Arabic Tokenization, Affix Detection, Affix Labeling, POS Tagging, and Dependency Parsing

2013-10-01 · WS 2013 10 · Stephen Tratz
Dependency ParsingPart-Of-Speech TaggingPOSPOS Tagging+1

Lattice-Based Recurrent Neural Network Encoders for Neural Machine Translation

2016-09-25 · Jinsong Su, Zhixing Tan, Deyi Xiong, Rongrong Ji 외

Neural machine translation (NMT) heavily relies on word-level modelling to learn semantic representations of input sentences. However, for languages without natural word delimiters (e.g., Chinese) where input sentences h…

Machine TranslationNMTSentenceTranslation

ChannelTok: Efficient Flexible-Length Vision Tokenization

2026-06-03 · Sukriti Paul, Arpit Bansal, Tom Goldstein arxiv

Leading flexible vision tokenizers achieve SOTA quality at an extreme cost, relying on parameter-heavy backbones and slow, multi-step generative decoders. We depart from this complex, spatial-token paradigm and introduce…

Image Generation