arXiv Computation and Language

When does text encoding matter for language modeling?

The paper investigates how different text encodings affect byte-level language model performance, comparing UTF‑8 with various Unicode‑based, language‑specific, and custom encodings. It introduces Aether, a hybrid scheme that uses script‑specific encodings with UTF‑8 fallbacks, and evaluates it on four orthographically diverse languages. Results show that compressive encodings help information‑dense scripts like Chinese and Korean, while scripts with less information per character such as Georgian and Tamil are largely unaffected, suggesting encoding should be chosen per language rather than universally.

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 AI
Sep 17

Objective vs. Search: Decomposing What Makes a Good Tokeniser

The paper introduces two new tokenisation algorithms—BottomUpLL and TopDownComp—to systematically explore the 2x2 design space defined by optimisation objective (compression vs. log‑likelihood) and search procedure (bottom‑up merging vs. top‑down pruning). Experiments across model sizes, vocabularies, and domains show that the search procedure, rather than the objective, consistently yields lower bits‑per‑byte, while no clear pattern emerges on the BLiMP benchmark. These findings clarify how tokeniser design choices influence language‑model performance and provide guidance for constructing tokenisers more principledly.

By Ahmetcan Yavuz, Clara Meister, Tiago Pimentel
arXiv Computation and Language
Aug 27

One Form to Transfer Them All: Pretraining Multilingual Language Models Beyond Native Orthography

The study evaluates how different input representations—orthographic text, IPA transcription, and romanization—affect cross‑lingual transfer in autoregressive multilingual language models. Across three model sizes and eight languages grouped into typologically motivated pairs, romanized pretraining consistently outperforms native orthography and IPA, especially as model scale increases. Fine‑tuning a text‑pretrained model on romanized data can harm performance on languages already covered by the base model, suggesting romanization should be integrated at pretraining rather than applied later.

By Muge Zhang, Aaron Jencks, Krishna Badikela, Yulia Tsvetkov, Sachin Kumar
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
Oct 22

Scaling Multilingual Pretraining of Pixel Language Models

Pixel language models treat text as rendered images, enabling strong cross‑lingual transfer. This study trains MPIXEL models varying languages, scripts, and capacity while keeping per‑language compute constant, and evaluates them on five tasks across 83 languages. Results show that scaling improves performance on added languages and scripts, mitigates the curse of multilinguality, and outperforms subword and character baselines on typologically distant low‑resource languages, though transfer to unseen scripts does not benefit further from scaling.

By Ilker Kesen, Jenny Kunz, Kasra Malihi, Desmond Elliott
arXiv AI
Jul 17

Large Language Models for Code Generation from Multilingual Prompts: A Curated Benchmark and a Study on Code Quality

arXiv:2607. 14816v1 Announce Type: cross Abstract: Large Language Models (LLMs) perform differently on identical programming tasks when prompted in different natural languages, a phenomenon known as language bias.

By Saima Afrin, Alessandro Midolo, Camilo Escobar-Vel\'asquez, Mario Linares-V\'asquez, Weiyuan Ding, Bowen Xu, Massimiliano Di Penta, Antonio Mastropaolo
arXiv Computation and Language
Sep 2

Toppling the Hierarchy in Byte-level Language Modeling

The paper investigates why current byte‑level language models, which use a hierarchical structure that down‑samples to words and then upsamples back to bytes, struggle with precise character manipulation. Experiments show that pure byte‑level models outperform hierarchical variants on character‑level tasks, and that byte‑level attention is the key component driving this advantage. The study explains the trade‑off between computational efficiency and fine‑grained character understanding in hierarchical byte models.

By Lukas Edman, Alexander Fraser
arXiv Computation and Language
Oct 7

Are Language Models Script-Aware?

arXiv:2610.08037v1 Announce Type: new Abstract: Language models frequently generate outputs in unintended languages or scripts, a phenomenon known as off-target generation. While existing research ha...

By David Kletz, Sandra Mitrovi\'c, Ljiljana Dolami\'c, Fabio Rinaldi
arXiv AI
Jun 12

Authorship Attribution in Multilingual Machine-Generated Texts

arXiv:2508. 01656v2 Announce Type: replace-cross Abstract: As Large Language Models (LLMs) have reached human-like fluency and coherence, distinguishing machine-generated text (MGT) from human-written content becomes increasingly difficult.

By Lucio La Cava, Dominik Macko, R\'obert M\'oro, Ivan Srba, Andrea Tagarelli