arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.03314cs.CL

阻断标签与噪声:一种面向中文拼写检查的N元掩码拼写器

Block the Label and Noise: An N-Gram Masked Speller for Chinese Spell Checking

Haiyun Yang

AI总结:

针对中文拼写检查中现有BERT类方法存在标签泄露、错误干扰的问题,提出n元掩码层及点积门控机制融合多模态信息,可提升主流模型性能且优于多个前沿模型。

摘要:

近年来,中文拼写检查(Chinese Spell Checking,CSC)——一项检测句子中的错误字符并进行纠错的任务——因其在各类自然语言处理(NLP)任务中的广泛应用而受到广泛关注。现有大多数方法都利用BERT提取语义信息来完成CSC任务。然而,这些方法直接将仅含少量错误的句子作为输入,其中正确字符可能会向模型泄露答案,削弱其捕捉远距离上下文的能力;而错误字符可能会干扰语义编码过程,导致表征效果不佳。基于上述观察,本文提出一种n元掩码层,通过掩码当前和/或周围的token来避免标签泄露和错误干扰。此外,考虑到掩码策略可能会忽略错误所体现的多模态信息,本文提出一种新颖的点积门控机制,将语音和字形信息与语义表征相融合。在SIGHAN数据集上开展的大量实验表明,这种可插拔的n元掩码机制能够提升主流CSC模型的性能,且本文提出的方法优于多个性能强劲的state-of-the-art模型。

英文摘要:

Recently, Chinese Spell Checking(CSC), a task to detect erroneous characters in a sentence and correct them, has attracted extensive interest because of its wide applications in various NLP tasks. Most of the existing methods have utilized BERT to extract semantic information for CSC task. However, these methods directly take sentences with only a few errors as inputs, where the correct characters may leak answers to the model and dampen its ability to capture distant context; while the erroneous characters may disturb the semantic encoding process and result in poor representations. Based on such observations, this paper proposes an n-gram masking layer that masks current and/or surrounding tokens to avoid label leakage and error disturbance. Moreover, considering that the mask strategy may ignore multi-modal information indicated by errors, a novel dot-product gating mechanism is proposed to integrate the phonological and morphological information with semantic representation. Extensive experiments on SIGHAN datasets have demonstrated that the pluggable n-gram masking mechanism can improve the performance of prevalent CSC models and the proposed methods in this paper outperform multiple powerful state-of-the-art models.

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

↑