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

基于逐层注意力与高斯混合模型增强的BERT中文拼写检查模型

Make BERT-based Chinese Spelling Check Model Enhanced by Layerwise Attention and Gaussian Mixture Model

National Key Laboratory for Novel Software Technology(计算机软件新技术全国重点实验室);Nanjing University(南京大学)

Yongchang Cao, Liang He, Zhen Wu, Xinyu Dai

AI总结:

针对BERT中文拼写检查中显式词性噪声与隐式层次信息利用不足的问题,提出异构知识注入框架,以高斯混合模型辅助任务和n-gram逐层自注意力提升性能,超越多个基线。

摘要:

基于BERT的模型近年来在中文拼写检查(CSC)任务中展现了显著的能力。然而,传统的基于BERT的方法仍存在两个局限。首先,尽管先前的工作已指出显式的先验知识(如词性标注(POS))能在CSC任务中带来益处,但他们忽略了CSC数据中固有的拼写错误可能导致错误的词性标签,从而误导模型。此外,他们忽视了BERT中间层编码的隐式层次化信息与不同语言现象之间的关联,这导致了次优的准确率。为缓解上述两个问题,我们设计了一个异构知识注入框架以增强基于BERT的CSC模型。为融入显式词性知识,我们采用了一种由高斯混合模型驱动的辅助任务策略。同时,为在编码器内融入隐式的层次化语言知识,我们提出了一种新颖的基于n-gram的逐层自注意力形式来生成多层表示。实验结果表明,我们提出的框架在四个强基线模型上带来了稳定的性能提升,并在两个数据集上超越了先前的最先进方法。

英文摘要:

BERT-based models have shown a remarkable ability in the Chinese Spelling Check (CSC) task recently. However, traditional BERT-based methods still suffer from two limitations. First, although previous works have identified that explicit prior knowledge like Part-Of-Speech (POS) tagging can benefit in the CSC task, they neglected the fact that spelling errors inherent in CSC data can lead to incorrect tags and therefore mislead models. Additionally, they ignored the correlation between the implicit hierarchical information encoded by BERT's intermediate layers and different linguistic phenomena. This results in sub-optimal accuracy. To alleviate the above two issues, we design a heterogeneous knowledge-infused framework to strengthen BERT-based CSC models. To incorporate explicit POS knowledge, we utilize an auxiliary task strategy driven by Gaussian mixture model. Meanwhile, to incorporate implicit hierarchical linguistic knowledge within the encoder, we propose a novel form of n-gram-based layerwise self-attention to generate a multilayer representation. Experimental results show that our proposed framework yields a stable performance boost over four strong baseline models and outperforms the previous state-of-the-art methods on two datasets.

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

↑