arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.05628cs.CLcs.AI
收藏

H-Net++:面向形态丰富语言的无分词器语言建模的分层动态分块

H-Net++: Hierarchical Dynamic Chunking for Tokenizer-Free Language Modelling in Morphologically-Rich Languages

Mehrdad Zakershahrak, Samira Ghodratnama

AI总结:

H-NET++通过分层动态分块和端到端训练,在波斯语等形态丰富语言上实现无分词器建模,显著提升压缩率、下游任务性能和鲁棒性。

摘要:

字节级语言模型消除了脆弱的分词器,但在形态丰富语言(MRLs)中面临计算挑战,因为在这些语言中,单词跨越多个字节。我们提出了H-NET++,一种分层动态分块模型,通过端到端训练学习具有语言学信息的分割。关键创新包括:(1)一个轻量级Transformer上下文混合器(1.9M参数),用于跨块注意力;(2)一个两级潜在超先验,用于文档级一致性;(3)对正字法伪影(如波斯语ZWNJ)的专门处理;以及(4)基于课程学习的分阶段序列长度训练。在1.4B-token的波斯语语料库上,H-NET++取得了最先进的结果:与基于BPE的GPT-2-fa相比,BPB降低0.159(压缩率提高12%),在ParsGLUE上提升5.4个百分点,对ZWNJ损坏的鲁棒性提高53%,在黄金形态边界上F1达到73.8%。我们学习到的分块在没有显式监督的情况下与波斯语形态对齐,表明分层动态分块为MRLs提供了一种有效的无分词器解决方案,同时保持了计算效率。

英文摘要:

Byte-level language models eliminate fragile tokenizers but face computational challenges in morphologically-rich languages (MRLs), where words span many bytes. We propose H-NET++, a hierarchical dynamic-chunking model that learns linguistically-informed segmentation through end-to-end training. Key innovations include: (1) a lightweight Transformer context-mixer (1.9M parameters) for cross-chunk attention, (2) a two-level latent hyper-prior for document-level consistency, (3) specialized handling of orthographic artifacts (e.g. Persian ZWNJ), and (4) curriculum-based training with staged sequence lengths. On a 1.4B-token Persian corpus, H-NET++ achieves state-of-the-art results: 0.159 BPB reduction versus BPE-based GPT-2-fa (12% better compression), 5.4pp gain on ParsGLUE, 53% improved robustness to ZWNJ corruption, and 73.8% F1 on gold morphological boundaries. Our learned chunks align with Persian morphology without explicit supervision, demonstrating that hierarchical dynamic chunking provides an effective tokenizer-free solution for MRLs while maintaining computational efficiency.

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

↑