Introduction
Grammatical Error Correction (GEC) aims to automatically fix errors in text while preserving its original meaning. Recent research has shown that "syntax-enhanced" models—which consider the structural relationships between words—outperform models that treat sentences as simple sequences. While dependency-based syntax (word-to-word relations) has been widely adopted, this paper explores the untapped potential of constituent-based syntax (hierarchical phrase structures) for GEC.
The Challenge: Parsing Ungrammatical Text
A major obstacle in GEC is the "chicken and egg" problem: high-quality syntactic information requires a high-quality parser. However, most off-the-shelf parsers are trained on perfectly grammatical text. When they encounter ungrammatical input, they often produce "noisy" or incorrect trees, which can mislead the correction model.
Methodology: The CSynGEC Framework
The authors propose CSynGEC (Constituency SynGEC), which integrates constituent syntax through three main components:
1. A Tailored GEC-Oriented Parser (GOPar)
Instead of a standard parser, the researchers developed GOPar, specifically designed for ungrammatical text. They extended the standard constituency syntax scheme to include "pseudo-nodes" that label errors directly within the tree structure:
- SUB: Marks words that require substitution.
- RED: Identifies redundant words to be deleted.
- MISS: Indicates locations where a word is missing.
2. Syntax Encoding with GCNs
To help the model process these trees, a Graph Convolutional Network (GCN) is used. The GCN treats the constituency tree as an undirected graph, allowing the model to learn representations based on the sentence's hierarchical structure.
3. Hybrid Integration Strategies
The authors experimented with two ways to combine constituent and dependency syntax:
- Intra-model: Incorporating two separate GCN encoders within a single Transformer model to improve recall.
- Inter-model: An ensemble approach where multiple models "vote" on edits using logistic regression, which typically improves precision.
Key Results and Insights
The researchers evaluated CSynGEC on standard benchmarks like CoNLL-14 and BEA-19.
- Significant Performance Gains: CSynGEC achieved a boost of +4.2 and +3.2 F0.5 points over a standard Transformer baseline.
- Syntactic Synergy: Dependency and constituent syntax were found to be complementary. Dependency syntax excels at word-level relations, while constituent syntax is better at capturing broader phrase-level context.
- Efficiency: Despite its strong performance, the CSynGEC model is relatively lightweight at 70M parameters, making it significantly more efficient than massive Pre-trained Language Models (PLMs) that require billions of parameters to reach similar results.
Conclusion
CSynGEC demonstrates that constituent-based syntax is a powerful partner to traditional dependency-based approaches in GEC. By using a tailored parser (GOPar) to handle ungrammatical input, the model turns syntactic noise into a valuable asset. Future work may explore more sophisticated error-marking rules and deeper integration of diverse syntactic formalisms to further bridge the gap with the largest language models.
Summary updated