跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2608.08847 · v3

Explicit Boundary Markers for Subword Vocabularies

首次提交 2026-08-10 02:16
版本更新 2026-11-22 17:27
雷达观测 2026-11-24 12:47
arXiv ↗PDF ↗

摘要

Subword tokenizers represent many common words twice in space-using writing systems, once with a leading space and once without. The two entries have separate embeddings, so occurrences of one word are divided across rows that are trained independently, and the two forms need not even segment the string the same way: " together" may be a single entry while the same word without a preceding space is tokenized as "to" + "gether". Capitalization divides a word further, into as many as six forms. We introduce an alternative to standard whitespace conventions using an explicit word boundary marker, which prevents such duplication. Words are delimited by the boundary markers, and spaces between words are represented as pairs of such markers. Two shift codes do the same for title case and upper case. Switching to this convention mitigates the duplicate-entry issue, but does not improve compression: for both vocabulary-learning algorithms, the best marker scheme stays within one percent of the baseline in characters per token, averaged across six languages. It does result in better language modeling performance for some languages. In English and Russian, language models trained with every marker scheme tested have lower bits per byte than the baseline, suggesting that duplication carries a cost that compression does not capture.

作者备注:Accepted at EACL 2027. Code available at https://github.com/sanderland/script_tok

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v3,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v3 · 2026-11-22 17:27 · 最新观测版本

Explicit Boundary Markers for Subword Vocabularies

Subword tokenizers represent many common words twice in space-using writing systems, once with a leading space and once without. The two entries have separate embeddings, so occurrences of one word are divided across rows that are trained independently, and the two forms need not even segment the string the same way: " together" may be a single entry while the same word without a preceding space is tokenized as "to" + "gether". Capitalization divides a word further, into as many as six forms. We introduce an alternative to standard whitespace conventions using an explicit word boundary marker, which prevents such duplication. Words are delimited by the boundary markers, and spaces between words are represented as pairs of such markers. Two shift codes do the same for title case and upper case. Switching to this convention mitigates the duplicate-entry issue, but does not improve compression: for both vocabulary-learning algorithms, the best marker scheme stays within one percent of the baseline in characters per token, averaged across six languages. It does result in better language modeling performance for some languages. In English and Russian, language models trained with every marker scheme tested have lower bits per byte than the baseline, suggesting that duplication carries a cost that compression does not capture.

查看此版本解读 →查看此版本原文 ↗