Improving Grammatical Error Correction with Multimodal Feature Integration

Tao Fang, Jinpeng Hu, Derek F. Wong, Xiang Wan, Lidia S. Chao, Tsung-Hui Chang

Introduction

Grammatical Error Correction (GEC) is a cornerstone of modern writing assistants, helping users refine their prose by identifying and fixing linguistic slips. While current state-of-the-art models—primarily based on massive pre-trained Transformers like T5—are highly effective, they operate in a vacuum of text. In contrast, humans often identify grammatical "clunkiness" by hearing a sentence in their heads; acoustic patterns and prosody provide complementary cues that text alone might lack.

This research introduces a novel framework that integrates speech features alongside traditional text to boost GEC performance. By bridging the gap between acoustic signals and textual tokens, the authors demonstrate that "hearing" a mistake can significantly improve a model's ability to catch errors that text-only systems often overlook.

Methodology

The primary challenge in multimodal GEC is the lack of large-scale datasets pairing ungrammatical sentences with spoken audio. To address this, the researchers developed a three-stage approach:

1. Data Synthesis

Using advanced Text-to-Speech (TTS) models—FastSpeech2 for English and gTTS for German—the team generated synthetic audio for millions of ungrammatical sentences from existing GEC corpora (CLang8 and Falko-MERLIN). This created a first-of-its-kind multimodal GEC dataset consisting of triples: ungrammatical text, generated audio, and corrected text.

2. Multimodal Architecture

The system utilizes a dual-backbone architecture. A Text Encoder (based on T5) processes the input tokens, while a Speech Encoder (Hubert for English, wav2vec2 for German) extracts high-level acoustic features.

3. Dynamic Alignment and Fusion

Because speech and text do not always align perfectly—especially when the text contains errors—the core innovation is a Mixture-of-Experts (MoE) layer. This layer selectively extracts acoustic information semantically relevant to the text. A Mean Squared Error (MSE) loss constraint ensures audio features remain aligned with text features, followed by a dot-attention mechanism that fuses these representations before they reach the T5 decoder.

The architecture of the proposed Multimodal GEC framework, highlighting the integration of speech and text encoders via the MoE layer.

Key Results and Insights

The multimodal approach yielded significant performance gains across multiple benchmarks, particularly in German, where it achieved a new state-of-the-art (SOTA) $F_{0.5}$ score of 76.3 on the Falko-MERLIN test set. In English, the model reached an $F_{0.5}$ of 69.3 on CoNLL14, outperforming strong baselines like GECTOR and standard T5-Large.

Error Type Analysis

One of the most compelling findings is that speech modality provides "complementary information" rather than redundant data. The model showed marked improvements in correcting Part-of-Speech (POS) related errors, such as Adjectives, Nouns, and Verbs. These are often errors that might look plausible in text but "sound" incorrect when processed through the acoustic encoder.

F0.5 scores across various grammatical error types, demonstrating the performance boost provided by multimodal integration.

Recall vs. Precision

The multimodal integration significantly boosted recall. This indicates that the model became much more adept at finding errors that text-only models were skipping. While this occasionally led to more aggressive corrections, the overall $F_{0.5}$ gains suggest a more robust understanding of grammatical nuances.

Limitations and Future Directions

Despite its success, the framework faces several hurdles. The reliance on TTS-generated audio means the model does not yet account for the specific disfluencies (like hesitations or stutters) that human speakers might exhibit when making grammatical mistakes. Furthermore, the model struggled with Word Order (WO) errors; the authors hypothesize that correcting syntax requires a global structural understanding that current speech encoders may not capture as effectively as text encoders.

Finally, the computational cost of running dual large-scale encoders and an MoE layer is high. Future work will likely focus on optimizing these multimodal models for real-time deployment and exploring the use of authentic, non-synthetic ungrammatical speech data.

Summary updated

BibTeX
@inproceedings{fang2023improving,
  author = {Tao Fang and Jinpeng Hu and Derek F. Wong and Xiang Wan and Lidia S. Chao and Tsung-Hui Chang},
  title = {{Improving Grammatical Error Correction with Multimodal Feature Integration}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.594},
}
Figure