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

基于错误一致性预训练的通用和领域自适应汉语拼写检查

General and Domain Adaptive Chinese Spelling Check with Error Consistent Pretraining

Soochow University(苏州大学)

Qi Lv, Ziqiang Cao, Lei Geng, Chunhui Ai, Xu Yan, Guohong Fu

摘要:

标注数据的缺乏是中文拼写检查的一个重要瓶颈。现有的研究多采用利用未标记数据自动生成的方法来扩充监督语料库。然而,真实的输入场景与自动生成的语料库之间存在很大的差距。因此,我们开发了一个有竞争力的通用拼写器ECSpell,它采用错误一致性掩蔽策略来创建用于预训练的数据。该错误一致性掩蔽策略用于指定自动生成的句子中与真实场景一致的错误类型。实验结果表明,我们的模型优于以前的国家的最先进的模型在一般的基准。此外,在现实生活中,拼写者经常在特定的领域内工作。由于大量的不常见的领域术语,我们建立的特定领域的数据集上的实验表明,一般的模型表现得很糟糕。受一般输入法的启发,我们提出加入一个可变的使用者字典来处理zero-shot领域的适应问题。具体来说,我们附加一个用户字典引导推理模块(UD)的一般令牌分类的拼写。实验结果表明,ECSpell $^{UD}$,即结合UD的ECSpell,大大超过了所有其他基准,甚至接近一般基准的性能。

英文摘要:

The lack of label data is one of the significant bottlenecks for Chinese Spelling Check (CSC). Existing researches use the method of automatic generation by exploiting unlabeled data to expand the supervised corpus. However, there is a big gap between the real input scenario and automatic generated corpus. Thus, we develop a competitive general speller ECSpell which adopts the Error Consistent masking strategy to create data for pretraining. This error consistency masking strategy is used to specify the error types of automatically generated sentences which is consistent with real scene. The experimental result indicates our model outperforms previous state-of-the-art models on the general benchmark. Moreover, spellers often work within a particular domain in real life. Due to lots of uncommon domain terms, experiments on our built domain specific datasets show that general models perform terribly. Inspired by the common practice of input methods, we propose to add an alterable user dictionary to handle the zero-shot domain adaption problem. Specifically, we attach a User Dictionary guided inference module (UD) to a general token classification based speller. Our experiments demonstrate that ECSpell$^{UD}$, namely ECSpell combined with UD, surpasses all the other baselines largely, even approaching the performance on the general benchmark.

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

↑