SpelLM: Augmenting Chinese Spell Check Using Input Salience
The task of Chinese Spell Check (CSC) has a goal of detecting and correcting the misspelled Chinese characters in a sentence. Due to the complex nature of Chinese characters, the CSC task is very challenging and has attracted great attention in the literature. Recent works have shown that the masked language models (e.g. BERT), if combined with the use of confusion sets or filtering mechanisms, can be used for handling the error sparsity and domain shift issues inherent in the CSC task.However, the confusion sets require human intervention and have to be regularly updated to cater for new errors. Also, the filtering methods are sensitive to the similarity measurement between characters. Moreover, the manually-determined filters rely on expert experience and are not adaptable to changed errors. To overcome the shortcomings, we develop a two-stage model, SpelLM, which can exploit BERT for the CSC task without relying on the confusion sets or filtering mechanisms. Specifically, in the first stage, we tune BERT as a binary classifier to predict whether a sentence contains spell errors. Then, we can compute the ``salience'' of each character in the input sentence, which measures how much a character contributes to the prediction. In the second stage, we tune another BERT using error pairs and incorporate at each self-attention layer the salience information of each input sentence. We train a linear layer to distribute the salience information into the query vectors, which serves as prior knowledge pertaining to spell errors for the attention computation. Finally, for each character we use the encoding output by the second BERT to predict the correction. As shown in our empirical study, our model-only method outperforms existing BERT solutions with the confusion sets and the filtering scheme by a notable margin.
Code (0)
등록된 구현이 없습니다.
Tasks
SentenceMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
SpeLLM: Character-Level Multi-Head Decoding
Scaling LLM vocabulary is often used to reduce input sequence length and alleviate attention's quadratic cost. Yet, current LLM architectures impose a critical bottleneck to this procedure: the output projection layer sc…
SpellMapper: A non-autoregressive neural spellchecker for ASR customization with candidate retrieval based on n-gram mappings
Contextual spelling correction models are an alternative to shallow fusion to improve automatic speech recognition (ASR) quality given user vocabulary. To deal with large user vocabularies, most of these models include c…
Automatic Speech RecognitionAutomatic Speech Recognition (ASR)Retrievalspeech-recognition+2Read, Listen, and See: Leveraging Multimodal Information Helps Chinese Spell Checking
Chinese Spell Checking (CSC) aims to detect and correct erroneous characters for user-generated text in the Chinese language. Most of the Chinese spelling errors are misused semantically, phonetically or graphically simi…
Chinese Spell CheckingSpell Checking for Chinese
This paper presents some novel results on Chinese spell checking. In this paper, a concise algorithm based on minimized-path segmentation is proposed to reduce the cost and suit the needs of current Chinese input systems…
Chinese Spell CheckingRSpell: Retrieval-augmented Framework for Domain Adaptive Chinese Spelling Check
Chinese Spelling Check (CSC) refers to the detection and correction of spelling errors in Chinese texts. In practical application scenarios, it is important to make CSC models have the ability to correct errors across di…
Retrieval