ResearchResearch paperLarge Language Models1 source · Oct 15, 2026

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

Many hierarchical byte-level language models group bytes into patches using a learned boundary predictor whose view of the next codepoint depends on encoding and lookahead.

Key points

  • In UTF-8, codepoints of many scripts take three bytes: 8 of 24 bits mark length and continuation, and the first byte carries only 4 high codepoint bits.
  • Universal Byte-Level Encoding (UBE) keeps one- and two-byte UTF-8 encodings but writes these codepoints as two UTF-16 bytes, low byte first, so its first symbol carries 8 low codepoint bits that can distinguish such continuations.
  • At one-symbol lookahead, balanced grapheme-boundary error at codepoint boundaries across 17 languages in 13 Brahmic scripts is 8.76% with UTF-8, 8.62% with the big-endian variant, and 0.06% with UBE.
  • When the target instead retains a parent tokenizer's subword cuts at grapheme boundaries, UBE lowers the mean error relative to UTF-8 at the same lookahead by 72.91% in Korean, 35.29% in Chinese, and 67.32-99.55% in eight more scripts.

Sources (1)

  • [1]The Right Byte First: How UTF-16 Helps Multilingual Boundary Prediction
    arXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 15, 03:31 PM
    Many hierarchical byte-level language models group bytes into patches using a learned boundary predictor whose view of the next codepoint depends on encoding and lookahead.
    In UTF-8, codepoints of many scripts take three bytes: 8 of 24 bits mark length and continuation, and the first byte carries only 4 high codepoint bits.

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 15, 2026Prism-1: Position- and Rival-Independent Scoring for System One Models
  2. Oct 14, 2026ReferFlow: Beyond Final-Target Localization for Complex Referring Expressions
  3. Oct 14, 2026P2Patch: Exploit-Guided Vulnerability Repair
  4. Oct 14, 2026TreeSpark: Learning to Draft the Trees You Verify for Speculative Decoding
  5. Oct 14, 2026mistralai/Timestral-209M
  6. Oct 14, 2026JetSpec++: Foresight Parallel Drafting with Self Refinements

Related