ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizer

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Deng, Chunyuan, Lokegaonkar, Sanket, Lockard, Colin, Fetahu, Besnik, Zalmout, Nasser, Li, Xian
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908865201700864
author Deng, Chunyuan
Lokegaonkar, Sanket
Lockard, Colin
Fetahu, Besnik
Zalmout, Nasser
Li, Xian
author_facet Deng, Chunyuan
Lokegaonkar, Sanket
Lockard, Colin
Fetahu, Besnik
Zalmout, Nasser
Li, Xian
contents Modern language models still rely on fixed, pre-defined subword tokenizations. Once a tokenizer is trained, the LM can only operate at this fixed level of granularity, which often leads to brittle and counterintuitive behaviors even in otherwise strong reasoning models. We introduce \textbf{ByteFlow Net}, a new hierarchical architecture that removes tokenizers entirely and instead enables models to learn their own segmentation of raw byte streams into semantically meaningful units. ByteFlow Net performs compression-driven segmentation based on the coding rate of latent representations, yielding adaptive boundaries \emph{while preserving a static computation graph via Top-$K$ selection}. Unlike prior self-tokenizing methods that depend on brittle heuristics with human-designed inductive biases, ByteFlow Net adapts its internal representation granularity to the input itself. Experiments demonstrate that this compression-based chunking strategy yields substantial performance gains, with ByteFlow Net outperforming both BPE-based Transformers and previous byte-level architectures. These results suggest that end-to-end, tokenizer-free modeling is not only feasible but also more effective, opening a path toward more adaptive and information-grounded language models.
format Preprint
id arxiv_https___arxiv_org_abs_2603_03583
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizer
Deng, Chunyuan
Lokegaonkar, Sanket
Lockard, Colin
Fetahu, Besnik
Zalmout, Nasser
Li, Xian
Computation and Language
Machine Learning
Modern language models still rely on fixed, pre-defined subword tokenizations. Once a tokenizer is trained, the LM can only operate at this fixed level of granularity, which often leads to brittle and counterintuitive behaviors even in otherwise strong reasoning models. We introduce \textbf{ByteFlow Net}, a new hierarchical architecture that removes tokenizers entirely and instead enables models to learn their own segmentation of raw byte streams into semantically meaningful units. ByteFlow Net performs compression-driven segmentation based on the coding rate of latent representations, yielding adaptive boundaries \emph{while preserving a static computation graph via Top-$K$ selection}. Unlike prior self-tokenizing methods that depend on brittle heuristics with human-designed inductive biases, ByteFlow Net adapts its internal representation granularity to the input itself. Experiments demonstrate that this compression-based chunking strategy yields substantial performance gains, with ByteFlow Net outperforming both BPE-based Transformers and previous byte-level architectures. These results suggest that end-to-end, tokenizer-free modeling is not only feasible but also more effective, opening a path toward more adaptive and information-grounded language models.
title ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizer
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2603.03583