Open this publication in new window or tab >>2026 (English)In: Implementation and Application of Automata: 29th International Conference, CIAA 2025, Palermo, Italy, September 22–25, 2025, Proceedings, Cham: Springer, 2026, p. 27-40Conference paper, Published paper (Refereed)
Abstract [en]
Byte pair encoding (BPE) tokenization is a popular technique for subdividing text into relevant subwords and is frequently used in large language model systems. Since the tokenization procedure is deterministic and produces regular languages, it is beneficial to characterize it in terms of finite automata to allow for further automata-aided processing, such as pattern matching. In this paper, we demonstrate how to build such automata efficiently in practice, applying a series of optimization techniques to represent them compactly.
Place, publisher, year, edition, pages
Cham: Springer, 2026
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 15981
National Category
Computer Sciences
Identifiers
urn:nbn:se:umu:diva-243943 (URN)10.1007/978-3-032-02602-6_3 (DOI)2-s2.0-105014493742 (Scopus ID)978-3-032-02601-9 (ISBN)978-3-032-02602-6 (ISBN)
Conference
29th International Conference on Implementation and Application of Automata, CIAA 2025, Palermo, Italy, September 22-25, 2025
Funder
Wallenberg AI, Autonomous Systems and Software Program (WASP)
2025-09-092025-09-092025-09-09Bibliographically approved