扶摇AI知识笔记AI 前沿知识库
大模型基础

Objective vs. Search: Decomposing What Makes a Good Tokeniser

来源:arXiv cs.AI 论文速递 约 1769 字 token
arXiv cs.AI
转载

本文转载自 arXiv cs.AI,版权归原作者及原发布平台所有。本站仅作知识整理与转载分享,如涉版权问题请联系客服删除。

01核心要点

  • Two dominant tokenisation algorithms are used by modern language models: byte-pair encoding (BPE) and UnigramLM.
  • These differ along two orthogonal axes: their optimisation objective (compression vs.
  • log-likelihood) and their search procedure (bottom-up merging vs.

02正文全文

Abstract:Two dominant tokenisation algorithms are used by modern language models: byte-pair encoding (BPE) and UnigramLM. These differ along two orthogonal axes: their optimisation objective (compression vs. log-likelihood) and their search procedure (bottom-up merging vs. top-down pruning). Existing comparisons confound these axes, making it unclear whether their observed differences stem from what is being optimised vs. how it is being optimised. We disentangle the two by introducing two new tokenisation algorithms that complete this 2x2 design space: BottomUpLL, a bottom-up likelihood-based tokeniser, and TopDownComp, a top-down compression-based tokeniser. We train language models with tokenisers produced by each algorithm, varying: model size, vocabulary sizes, and domain (English-only vs. multilingual). Evaluating models on bits-per-byte, we find that the search procedure -- not the objective -- is the dominant factor: bottom-up tokenisers consistently achieve lower bits-per-byte in most settings. Evaluating models on the BLiMP task, however, shows no consistent relationship between design choice and performance. Overall, our results disentangle the effect of tokeniser design choices on language modelling performance, offering concrete guidance for their more principled construction.

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

03原文直达

本文内容转载自 arXiv cs.AI,如需查看原排版、配图与最新修订,请访问原始出处。

阅读原文(arXiv cs.AI)

下载论文 PDF

正在校验阅读权限…
RELATED

相关阅读

更多 大模型基础