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

将语境转化为子词汇

Incorporating Context into Subword Vocabularies

Blavatnik School of Computer Science(布拉瓦特尼克计算机科学学院);Tel-Aviv University(特拉维夫大学);Department of Computer Science(计算机科学系);Ben-Gurion University of the Negev(内盖夫本-古里安大学)

Shaked Yehezkel, Yuval Pinter

摘要:

目前最流行的子词分词器是基于语料库上的词频统计来训练的,而不考虑有关共现或上下文的信息。尽管如此,最终的词汇表是在语言模型的高度上下文化的设置中使用的。我们提出了SaGe,一个标记器,它通过在词汇创建阶段烘焙上下文化信号来定制子词以供下游使用。我们表明,SaGe在保持令牌上下文的凝聚力方面比当前广泛使用的令牌化器做得更好,同时在编码效率或域鲁棒性方面不会付出很大的代价。SaGe提高了英语胶水分类任务以及NER的性能,并在土耳其语中的推理和NER,证明了其对语言属性(如形态指数和凝集)的鲁棒性。

英文摘要:

Most current popular subword tokenizers are trained based on word frequency statistics over a corpus, without considering information about co-occurrence or context. Nevertheless, the resulting vocabularies are used in language models' highly contextualized settings. We present SaGe, a tokenizer that tailors subwords for their downstream use by baking in the contextualized signal at the vocabulary creation phase. We show that SaGe does a better job than current widespread tokenizers in keeping token contexts cohesive, while not incurring a large price in terms of encoding efficiency or domain robustness. SaGe improves performance on English GLUE classification tasks as well as on NER, and on Inference and NER in Turkish, demonstrating its robustness to language properties such as morphological exponence and agglutination.

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

↑