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

基于因子化子词编码的分词方法

Tokenization with Factorized Subword Encoding

University of Oslo(奥斯陆大学)

David Samuel, Lilja Øvrelid

AI总结:

针对现有语言模型仍依赖简单贪心法子词分词的问题,提出基于VQ-VAE将子词因子化为离散三元组的Factorizer分词法,在7种语言的相关任务上验证了其相较BPE在形态任务上更适配鲁棒。

摘要:

近年来,语言模型的规模与复杂度持续提升,但这类模型的输入表示仍依赖简单的贪心子词分词方法。本文提出一种新型分词方法,利用VQ-VAE(矢量量化变分自编码器)模型将子词因子化为离散三元组,该方法被命名为Factorizer。研究在7种不同语言的语言建模和形态句法任务上评估了该方法的有效性,结果表明,相较于常用的字节对编码(BPE)分词算法,该方法在形态任务上更具适配性与鲁棒性。

英文摘要:

In recent years, language models have become increasingly larger and more complex. However, the input representations for these models continue to rely on simple and greedy subword tokenization methods. In this paper, we propose a novel tokenization method that factorizes subwords onto discrete triplets using a VQ-VAE model. The effectiveness of the proposed tokenization method, referred to as the Factorizer, is evaluated on language modeling and morpho-syntactic tasks for 7 diverse languages. Results indicate that this method is more appropriate and robust for morphological tasks than the commonly used byte-pair encoding (BPE) tokenization algorithm.

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

↑