Skip to main content
QUICK REVIEW

[论文解读] Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challenge

Khuyagbaatar Batsuren, Ekaterina Vylomova|arXiv (Cornell University)|Apr 20, 2024
Natural Language Processing TechniquesComputer Science被引用 5
一句话总结

本文提出 umLabeller,用于将子词标记分为形态学的或外来(alien),以及一个 Out-of-Vocabulary (OOV) 泛化挑战,以评估分词对多种语言模型下游任务的影响。

ABSTRACT

The popular subword tokenizers of current language models, such as Byte-Pair Encoding (BPE), are known not to respect morpheme boundaries, which affects the downstream performance of the models. While many improved tokenization algorithms have been proposed, their evaluation and cross-comparison is still an open problem. As a solution, we propose a combined intrinsic-extrinsic evaluation framework for subword tokenization. Intrinsic evaluation is based on our new UniMorph Labeller tool that classifies subword tokenization as either morphological or alien. Extrinsic evaluation, in turn, is performed via the Out-of-Vocabulary Generalization Challenge 1.0 benchmark, which consists of three newly specified downstream text classification tasks. Our empirical findings show that the accuracy of UniMorph Labeller is 98%, and that, in all language models studied (including ALBERT, BERT, RoBERTa, and DeBERTa), alien tokenization leads to poorer generalizations compared to morphological tokenization for semantic compositionality of word meanings.

研究动机与目标

  • 激励一个统一的内在与外在框架来评估子词标记质量。
  • 开发 umLabeller,利用 UniMorph 资源将子词序列归类为词汇、形态、外来或不适用(n/a)。
  • 提出 OOV 泛化挑战 1.0,包含三个下游文本分类子任务以测试 OOV 泛化。
  • 展示外来子词组合如何影响语义组合性和跨多种语言模型的泛化能力。

提出的方法

  • 引入 umLabeller,一种基于 UniMorph 及相关资源的形态合并来标注一个单词的子词序列为词汇、外来、形态或 n/a 的算法。
  • 通过生成所有形态素的 n-gram 并将它们合并为单字(unigram),在 UniMorph 和 SIGMORPHON 数据的引导下计算形态合并列表。
  • 使用规则对 w, s 进行分类:若 w 在词汇表中则为 vocab;若 UniMorph 缺少信息则为 n/a;若形态子词少于 n-1 个则为 alien;若至少有 n-1 个形态子词则为 morph。
  • 用人工标注者对 umLabeller 进行验证,在抽样的 UniMorph 数据上达到 98.0% 的准确率。
  • 定义 OOV 泛化挑战 1.0,包含三个下游任务(WaD、WaM、WaW)以在协变量偏移下测试组成性和形态学泛化。
  • 在 OOV 任务上评估四种模型(BERT、RoBERTa、ALBERT、DeBERTa)并使用不同的分词器,按 umLabeller 分类进行分析。

实验结果

研究问题

  • RQ1与形态子词组成相比,外来子词组成是否会降低语义组合性和下游任务表现?
  • RQ2基于 umLabeller 的内在标注是否能预测跨不同语言模型体系结构的 OOV 单词的外在泛化性能?
  • RQ3不同的分词方案(BPE 与 ULM)如何与形态 vs 外来子词组成交互影响准确性?
  • RQ4在 WaD、WaM、WaW 任务中,形态性组成的 OOV 单词是否比词汇或外来组成具有更好的泛化能力?

主要发现

  • umLabeller 在人工验证中的子词组成标注准确率为 98.0%。
  • 在所有研究的模型(ALBERT、BERT、RoBERTa、DeBERTa)中,外来分词在语义组合性方面的泛化能力低于形态分词。
  • 在 WaD 中,整体最佳表现出现在词汇,但形态组成在各模型中的平均绝对提升为 5.4%。
  • 在 WaM 中,所有模型在屈折、派生和复合类别中,形态组成相对于外来有更大提升(范围最高达 7.2%)。
  • 在 WaW 中,当两个单词均为形态性合成时模型表现最好,表明带有形态线索的 OOV 单词比词汇单词在该任务中更具信息量。
  • 与 WiC 相比,外来组成在各模型中导致显著的性能下降(某些情况下高达约 10%)。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。