mlsanityData to 14 Oct 2026

From Characters to Tokens: Dynamic Grouping with Hierarchical BPE

arXiv 2510.15517 ↗First posted 17 Oct 2025cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Subword tokenization methods like Byte Pair Encoding (BPE) are widely used in large language models due to their balance of vocabulary compactness and representational power. However, they suffer from inefficiencies in representing rare words and require large embedding matrices. Character-level models address these issues but introduce performance bottlenecks, particularly in Transformer-based architectures. Recent hierarchical models attempt to merge the benefits of both paradigms by grouping characters into patches, but existing patching strategies either rely on whitespace-limiting applicability to certain languages, or require auxiliary models that introduce new dependencies. In this paper, we propose a dynamic character grouping method that leverages the structure of existing BPE tokenization without requiring additional models. By appending explicit end-of-patch markers to BPE tokens and introducing a second-level BPE compression stage to control patch granularity, our method offers efficient, flexible, and language-agnostic representations. Empirical results demonstrate that our approach matches or exceeds the performance of dynamic entropy- and whitespace-based patching strategies, while maintaining a compact vocabulary.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 18 references that are in the map. First posted on arXiv 17 Oct 2025.

Builds on

14 of 18 references.

References · 14

  1. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  2. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  3. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  4. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  5. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  6. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
  7. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 170
  8. 2023Skywork: A More Open Bilingual Foundation Modelcited by 112
  9. 2022Efficient Transformers with Dynamic Token Poolingcited by 76
  10. 2021Robust Open-Vocabulary Translation from Visual Text Representationscited by 47
  11. 2024Block Transformer: Global-to-Local Language Modeling for Fast Inferencecited by 32
  12. 2025Hierarchical Autoregressive Transformers: Combining Byte- and Word-Level Processing for Robust, Adaptable Language Modelscited by 22
2 more
  1. 2023Learn Your Tokens: Word-Pooled Tokenization for Language Modelingcited by 8
  2. 2023From Characters to Words: Hierarchical Pre-trained Language Model for Open-vocabulary Language Understandingcited by 4

Built on by

Not cited yet.