arXiv AI

pico-type: A 1.5M-Parameter Byte-Level Multi-Head Content Classifier

arXiv:2608. 14658v1 Announce Type: cross Abstract: We introduce pico-type, a byte-level multi-head content classifier with approximately 1.

arXiv Machine Learning
Nov 11

One Byte, One Token: Byteifying a 27B Hybrid-Attention LLM with Self-Generated Data

The paper reports converting a 27‑billion‑parameter subword language model (Qwen3.8‑27B) into a pure byte‑level model by reducing its vocabulary to 384 tokens and retraining on self‑generated byte‑level data. The resulting byte model retains most of the original performance on benchmarks such as MATH‑500, HumanEval+, and MMLU‑Pro, while achieving superior results on character‑level Chinese tasks but suffering from slower throughput and reduced knowledge lookup for Chinese characters. The study also identifies and remedies four failure modes specific to byte‑level modeling.

By Liwei Zhang, ZhiMing Tong
arXiv Computation and Language
Oct 19

Pearl-Chat: Engineering a native Luganda language model from first principles in JAX and Flax NNX

Pearl-Chat is an 8.5‑million‑parameter causal decoder‑only transformer built from first principles in JAX and Flax NNX, specifically engineered for the low‑resource Bantu language Luganda. It uses a byte‑level BPE tokenizer trained from scratch on curated Luganda corpora, achieving a two‑fold compression improvement over larger models like LLaMA‑3 and Gemma. The model is trained in two stages—pre‑training on diverse Luganda text and instruction fine‑tuning on dialogues—reaching a validation perplexity of 1.20 and high ROUGE‑L and BLEU scores on a held‑out diagnostic benchmark, with all weights, tokenizers, and code released openly.

By Wesley Kambale, Roland Sankara
arXiv Machine Learning
Oct 16

Patch where the text is new: a compression view of where byte-level models should spend compute

The paper introduces a novel patching strategy for byte‑level language models, called novelty patching, which starts a new patch when upcoming bytes are unlikely to repeat recent context, inspired by LZ77 compression. Experiments on a 1.9 GB math corpus show that novelty patching improves final‑answer accuracy from 47 % to 72 % at 12 M parameters and raises computed‑result accuracy from 21 % to 57 % at 50 M parameters, while having limited impact on prose and source code. The study also analyzes patch boundary distributions and reports several failed approaches, such as typed uncertainty and context‑aware novelty prediction. whyItMatters":"The findings demonstrate that a simple, data‑driven patching rule can significantly enhance the performance of byte‑level models on tasks involving computed results, offering a practical improvement for large language models that process raw text without explicit labels."

By Nicol\'as Vera Z\'u\~niga
Hugging Face Trending Papers
Nov 10

One Byte, One Token: Byteifying a 27B Hybrid-Attention LLM with Self-Generated Data

The paper explores converting a 27B subword language model (Qwen3.8-27B) into a pure byte‑level model by shrinking its vocabulary to 384 byte symbols and retraining on self‑generated byte‑level data. The resulting model retains most of the original performance on benchmarks such as MATH‑500 and HumanEval+, while improving character‑level tasks in Chinese but losing some knowledge about Chinese characters. The conversion incurs a throughput penalty, producing fewer tokens per step and slower prefill performance, and the authors identify and address four failure modes specific to byte‑level modeling.

arXiv Machine Learning
Oct 16

TurboMamba: Faster Inference, Faster Training, and Better Prediction with Lexical Memory

TurboMamba is a new language‑model architecture that combines a global Mamba‑3 model with a small Transformer to achieve faster inference, faster training, and better token prediction. It introduces three lightweight enhancements—direct access to the previous block’s last token, a small correction to next‑token scores, and a learned mixture with recent‑token frequencies—to improve local predictions. In experiments on FineWeb‑Edu, TurboMamba outperforms Transformer, Mamba‑3, Jamba, and Zamba, achieving the lowest mean test prediction loss and significantly higher training throughput and batch latency speedups.

By Hanxin Zhang
arXiv Machine Learning
Sep 14

Breaking the Token Ceiling: Distilling Smaller, Stronger Byte Models

The paper investigates whether small models distilled from larger ones behave similarly when using byte versus token tokenization. It introduces two methods—Marginalize‑It (approximate) and End‑Of‑Token (exact)—to convert token logits to byte logits, and conducts a large‑scale study on decoder‑only dense transformers ranging from 1 billion to 1 trillion bytes of data. Results show that while token‑based models excel early, byte‑based models eventually surpass them with more compute, achieving higher performance ceilings, greater data efficiency, and lower logit storage costs.

By Kalyani Marathe, Artidoro Pagnoni, Tomasz Limisiewicz, Margaret Li, Mike Lewis, Luke Zettlemoyer, Srinivasan Iyer
arXiv Machine Learning
Oct 3

Universal Byte-Level Encoding: UTF-8/UTF-16 Routing to Reduce Cross-Script Token-Budget Disparities

The paper introduces Universal Byte-Level Encoding (UBE), a dual‑alphabet tokenizer that routes 3‑4‑byte UTF‑8 characters through UTF‑16 while keeping 1‑2‑byte characters on the UTF‑8 path. This design lowers the worst‑case token‑budget disparity for high‑premium scripts without increasing costs for efficient English spans, and it preserves standard BPE merges and exact decoding. In extensive Unicode audits and multilingual language‑model experiments, UBE matches or improves token‑count efficiency and context usability compared to traditional byte‑pair encoding.

By Hyunsik Kim, Youngmoon Jung
arXiv Machine Learning
Oct 16

The Right Byte First: How UTF-16 Helps Multilingual Boundary Prediction

The paper investigates how the order of bytes in UTF-16 encoding influences the performance of byte‑level language models that predict grapheme boundaries. By converting UTF‑8 codepoints into two UTF‑16 bytes with the low byte first (Universal Byte‑Level Encoding, UBE), the authors show that the first symbol contains more low‑order codepoint bits, enabling a boundary predictor to distinguish continuations more accurately. Experiments on FineWeb‑2 and FLORES‑200 across 17 languages demonstrate that UBE reduces grapheme‑boundary error from 8.76% (UTF‑8) to 0.06% with only one‑symbol lookahead, and yields substantial error reductions in Korean, Chinese, and other scripts. whyItMatters:"The study reveals that the byte order in UTF‑16 encoding directly affects how much lookahead a byte‑level boundary predictor needs, offering a simple yet powerful way to improve multilingual boundary prediction in language models."

By Hyunsik Kim
arXiv Computation and Language
1d ago

How Many Bytes Has a BPE Model Seen? Estimating Byte-Token Exposure in Pretraining from Corpus Statistics and Embedding Norms

The paper investigates how many times byte‑level BPE tokens have been exposed during pretraining of large language models. By tokenizing 540 MB of public corpora across 40 domains and 33 languages, the authors estimate that single‑byte tokens comprise 13–36% of tokens, while genuine UTF‑8 fallback bytes (0x80–0xFF) appear only 0.15–0.27% of the time, roughly 2 billion occurrences per trillion pretraining tokens. A second, independent method compares embedding and output‑matrix row norms to infer exposure, confirming that high‑frequency legal bytes have larger norms while the 13 invalid UTF‑8 bytes remain at initialization; the two estimates agree within a factor of four for the Qwen3.8 model.

By Liwei Zhang, ZhiMing Tong, Mochen Guan, Linzhe Li