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

作为改写语言模型的中文拼写纠错

Chinese Spelling Correction as Rephrasing Language Model

Shanghai Jiao Tong University(上海交通大学)

Linfeng Liu, Hongqiu Wu, Hai Zhao

AI总结:

本文针对中文拼写纠错中字符级标注过度依赖错误、泛化与迁移受限的问题,提出通过填充槽位改写整句的 ReLM,在微调和零样本基准上取得显著领先结果。

摘要:

本文研究中文拼写纠错(Chinese Spelling Correction,CSC),其目标是检测并纠正给定句子中潜在的拼写错误。当前最先进的方法将 CSC 视为序列标注任务,并在句子对上微调基于 BERT 的模型。然而,我们注意到在将一个字符标注为另一个字符的过程中存在一个关键缺陷:纠错过度以错误为条件。这与人类的思维方式相反,人类会根据句子的语义改写完整句子,而不是仅仅依赖先前记住的错误模式。这种反直觉的学习过程导致机器拼写纠错在泛化性和可迁移性方面遇到瓶颈。为解决这一问题,我们提出改写语言模型(Rephrasing Language Model,ReLM),在该模型中,训练方式是通过填充额外槽位来改写整个句子,而不是进行字符到字符的标注。这一新颖的训练范式在微调和零样本 CSC 基准测试中均取得了新的最先进结果,并大幅优于此前的同类方法。当 CSC 与其他任务联合训练时,我们的方法还能学习到可迁移的语言表示。

英文摘要:

This paper studies Chinese Spelling Correction (CSC), which aims to detect and correct the potential spelling errors in a given sentence. Current state-of-the-art methods regard CSC as a sequence tagging task and fine-tune BERT-based models on sentence pairs. However, we note a critical flaw in the process of tagging one character to another, that the correction is excessively conditioned on the error. This is opposite from human mindset, where individuals rephrase the complete sentence based on its semantics, rather than solely on the error patterns memorized before. Such a counter-intuitive learning process results in the bottleneck of generalizability and transferability of machine spelling correction. To address this, we propose Rephrasing Language Model (ReLM), where the model is trained to rephrase the entire sentence by infilling additional slots, instead of character-to-character tagging. This novel training paradigm achieves the new state-of-the-art results across fine-tuned and zero-shot CSC benchmarks, outperforming previous counterparts by a large margin. Our method also learns transferable language representation when CSC is jointly trained with other tasks.

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

↑