arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.03583cs.CLcs.LG
收藏

ByteFlow:通过自适应字节压缩实现语言建模而不使用分词器

ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizer

Rice University(里士德大学);Amazon Science(亚马逊科学)

Chunyuan Deng, Sanket Lokegaonkar, Colin Lockard, Besnik Fetahu, Nasser Zalmout, Xian Li

AI总结:

ByteFlow通过自适应字节压缩实现无分词器的语言建模,提升模型性能与适应性。

摘要:

现代语言模型仍然依赖于固定、预定义的子词分词。一旦训练了一个分词器,LM只能在这一固定粒度级别上操作,这往往导致即使在其他较强的推理模型中,也出现脆弱且反直觉的行为。我们介绍了ByteFlow Net,这是一种新的分层架构,完全去除了分词器,而是使模型能够学习自己将原始字节流分割成具有语义意义的单元。ByteFlow Net通过潜在表示的编码率进行压缩驱动的分割,从而在通过Top-K选择保持静态计算图的同时实现自适应的边界。与以往依赖脆弱启发式方法和人为设计的归纳偏置的自分词方法不同,ByteFlow Net会根据输入本身调整其内部表示的粒度。实验表明,这种基于压缩的分块策略带来了显著的性能提升,ByteFlow Net在BPE-based Transformer和先前的字节级架构上均表现出色。这些结果表明,端到端、无分词器的建模不仅可行,而且更有效,为更适应和信息基础的语言模型开辟了道路。

英文摘要:

Modern language models still rely on fixed, pre-defined subword tokenizations. Once a tokenizer is trained, the LM can only operate at this fixed level of granularity, which often leads to brittle and counterintuitive behaviors even in otherwise strong reasoning models. We introduce \textbf{ByteFlow Net}, a new hierarchical architecture that removes tokenizers entirely and instead enables models to learn their own segmentation of raw byte streams into semantically meaningful units. ByteFlow Net performs compression-driven segmentation based on the coding rate of latent representations, yielding adaptive boundaries \emph{while preserving a static computation graph via Top-$K$ selection}. Unlike prior self-tokenizing methods that depend on brittle heuristics with human-designed inductive biases, ByteFlow Net adapts its internal representation granularity to the input itself. Experiments demonstrate that this compression-based chunking strategy yields substantial performance gains, with ByteFlow Net outperforming both BPE-based Transformers and previous byte-level architectures. These results suggest that end-to-end, tokenizer-free modeling is not only feasible but also more effective, opening a path toward more adaptive and information-grounded language models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑