[Paper Review] Neural Language Correction with Character-Based Attention
This paper presents a character-level encoder-decoder with attention for language correction, achieving state-of-the-art results on CoNLL-2014 and improving with data augmentation and an edit classifier.
Natural language correction has the potential to help language learners improve their writing skills. While approaches with separate classifiers for different error types have high precision, they do not flexibly handle errors such as redundancy or non-idiomatic phrasing. On the other hand, word and phrase-based machine translation methods are not designed to cope with orthographic errors, and have recently been outpaced by neural models. Motivated by these issues, we present a neural network-based approach to language correction. The core component of our method is an encoder-decoder recurrent neural network with an attention mechanism. By operating at the character level, the network avoids the problem of out-of-vocabulary words. We illustrate the flexibility of our approach on dataset of noisy, user-generated text collected from an English learner forum. When combined with a language model, our method achieves a state-of-the-art $F_{0.5}$-score on the CoNLL 2014 Shared Task. We further demonstrate that training the network on additional data with synthesized errors can improve performance.
Motivation & Objective
- Motivate language correction for noisy, learner-generated text and flexible error handling beyond fixed error-type classifiers.
- Propose a neural encoder-decoder with character-level inputs/outputs and attention to handle orthographic errors and OOVs.
- Demonstrate effectiveness on Lang-8 and CoNLL datasets, and explore data augmentation and precision-focused filtering.
Proposed method
- Use a pyramidal, multi-layer bi-directional encoder to map input to a compressed representation.
- Operate at the character level in both encoder and decoder with a content-based attention mechanism.
- Decode with an attention-equipped GRU-based decoder generating one character at a time.
- Combine neural outputs with a language model via beam search and a tunable weight lambda.
- Train an edit classifier to filter proposed edits and improve precision, using Levenshtein-aligned gold edits.
- Augment training with synthesized errors for ArtOrDet and Nn types to boost recall.
Experimental results
Research questions
- RQ1Can a character-level encoder-decoder with attention handle diverse errors including misspellings, rare words, and punctuation in learner text?
- RQ2Does integrating a language model and edit classification improve precision and overall correction quality on standard benchmarks?
- RQ3What is the impact of data augmentation with synthesized errors on grammatical error correction performance?
Key findings
- Achieves strong results on Lang-8 test set with encoder-decoder alone and with language model (BLEU improvements observed).
- On CoNLL-2014 test set, attested state-of-the-art performance with variants including data augmentation and edit classification, surpassing MT, LM ranking, and rule-based systems.
- Data augmentation (synthesized ArtOrDet and Nn errors) boosts development F0.5 from 31.55 to 34.81, especially recall for targeted error types.
- In CoNLL development, the best system (Ours with EC and augmentation) yields F0.5 around 40.56, with recall improvements for ArtOrDet and Nn error types.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.