Metraipolis › archive › dc_169de9ea6f48

Adaptive Frequency Threshold Byte Pair Encoding for Mixed Natural Language and Structured Symbolic Corpora — arXiv:2610.32921

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.32921
License (as archived)
CC0-1.0
Archived
2026-10-26T19:53:43.897Z
SHA-256 of the archived text
880a18b2caee05d2f7f57eab0262a0ebba3930c5e4cdfcd6318f850851951375
Stable URL of this page
https://metraipolis.com/documento/dc_169de9ea6f48

How to cite

Adaptive Frequency Threshold Byte Pair Encoding for Mixed Natural Language and Structured Symbolic Corpora — arXiv:2610.32921 — arXiv (en), https://arxiv.org/abs/2610.32921 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_169de9ea6f48 (Metraipolis archive dc_169de9ea6f48, sha256 880a18b2caee05d2f7f57eab0262a0ebba3930c5e4cdfcd6318f850851951375)
BibTeX
@misc{dc169de9ea6f48,
  title = {Adaptive Frequency Threshold Byte Pair Encoding for Mixed Natural Language and Structured Symbolic Corpora — arXiv:2610.32921},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.32921},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_169de9ea6f48; sha256 880a18b2caee05d2f7f57eab0262a0ebba3930c5e4cdfcd6318f850851951375},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.32921. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Modern language models rely on subwording tokenization to define the discrete units of input processing, typically using methods like Byte Pair Encoding (BPE) that treat whitespace as a fixed semantic boundary. This design is inherently limited, as many meaningful concepts---including multiword expressions and the structured environments of formal languages like LaTeX---frequently span across whitespaces. While recent superword tokenization methods attempt to address this by relaxing whitespace constraints, they often rely on greedy frequency-driven merging that fails to account for token length or the specific needs of underrepresented domain-specific languages. In this paper, we introduce Adaptive Frequency Threshold Byte Pair Encoding (AdaBPE), a new tokenization method that leverages an adaptive frequent-pattern mining approach. AdaBPE features a twofold dynamicity: it adapts minimum frequency thresholds based on both the length of a candidate token, to prevent favoring frequent short patterns, and its type, to distinguish between general and formal language patterns, using LaTeX as case in point. This allows the model to efficiently allocate vocabulary capacity to domain-specific notations, such as LaTeX, even when they represent a small fraction of the training data. We evaluate AdaBPE across five datasets spanning LaTeX and natural language, showing consistent gains in encoding efficiency and downstream language-model performance on domain-specific content without compromising general-language performance.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.32921 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-26T19:45:48.375Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).