SynGEC: Syntax-Enhanced Grammatical Error Correction with a Tailored GEC-Oriented Parser
31350Authors
nan
Abstract
AbstractThis work proposes a syntax-enhanced grammatical error correction (GEC) approach named SynGEC that effectively incorporates dependency syntactic information into the encoder part of GEC models. The key challenge for this idea is that off-the-shelf parsers are unreliable when processing ungrammatical sentences. To confront this challenge, we propose to build a tailored GEC-oriented parser (GOPar) using parallel GEC training data as a pivot. First, we design an extended syntax representation scheme that allows us to represent both grammatical errors and syntax in a unified tree structure. Then, we obtain parse trees of the source incorrect sentences by projecting trees of the target correct sentences. Finally, we train GOPar with such projected trees. For GEC, we employ the graph convolution network to encode source-side syntactic information produced by GOPar, and fuse them with the outputs of the Transformer encoder. Experiments on mainstream English and Chinese GEC datasets show that our proposed SynGEC approach consistently and substantially outperforms strong baselines and achieves competitive performance. Our code and data are all publicly available at https://github.com/HillZhang1999/SynGEC.
Keywords
Full Content
Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 2518 - 2531 December 7-11, 2022 ©2022 Association for Computational Linguistics SynGEC: Syntax-Enhanced Grammatical Error Correction with a Tailored GEC-Oriented Parser Yue Zhang1, Bo Zhang2, Zhenghua Li1˚, Zuyi Bao2, Chen Li2, Min Zhang1 1Institute of Artificial Intelligence, School of Computer Science and Technology, Soochow University, China; 2DAMO Academy, Alibaba Group, China 1yzhang21@stu.suda.edu.cn, 1{zhli13,minzhang}@suda.edu.cn 2{klayzhang.zb,zuyi.bzy,puji.lc}@alibaba-inc.com Abstract This work proposes a syntax-enhanced gram- matical error correction (GEC) approach named SynGEC that effectively incorporates dependency syntactic information into the en- coder part of GEC models.1 The key challenge for this idea is that off-the-shelf parsers are unreliable when processing ungrammatical sen- tences. To confront this challenge, we pro- pose to build a tailored GEC-oriented parser (GOPar) using parallel GEC training data as a pivot. First, we design an extended syntax rep- resentation scheme that allows us to represent both grammatical errors and syntax in a uni- fied tree structure. Then, we obtain parse trees of the source incorrect sentences by projecting trees of the target correct sentences. Finally, we train GOPar with such projected trees. For GEC, we employ the graph convolution net- work to encode source-side syntactic informa- tion produced by GOPar, and fuse them with the outputs of the Transformer encoder. Ex- periments on mainstream English and Chinese GEC datasets show that our proposed SynGEC approach consistently and substantially outper- forms strong baselines and achieves competi- tive performance. Our code and data are all pub- licly available at https://github.com/ HillZhang1999/SynGEC. 1 Introduction Given an ungrammatical sentence, the grammat- ical error correction (GEC) task aims to produce a grammatical target sentence with the intended meaning (Grundkiewicz et al., 2020; Wang et al., 2021). Recent mainstream approaches treat GEC as a monolingual machine translation (MT) task (Yuan and Briscoe, 2016; Junczys-Dowmunt et al., 2018). Standard encoder-decoder based MT mod- els, e.g., Transformer (Vaswani et al., 2017), have ˚ Corresponding author. 1Although this work focuses on the dependency syntax structure, SynGEC can also be extended to the constituency syntax structure straightforwardly. emerged as a dominant paradigm and achieved state-of-the-art (SOTA) results on various GEC benchmarks (Rothe et al., 2021; Stahlberg and Ku- mar, 2021; Sun et al., 2022; Zhang et al., 2022). Despite their impressive achievements, most work treats the input sentence as a sequence of tokens, without explicitly exploiting syntactic or semantic information. Compared with MT, GEC has two peculiarities that directly motivate this work. First, the training data for GEC models is much less abundant, which may be alleviated by incorporating linguistic struc- ture knowledge like syntax. As shown in Table 1 and Table 5, the English and Chinese GEC tasks only have about 126K and 157K high-quality la- belled source/target sentence pairs for training, if not considering the highly noisy crowd-annotated Lang8 data (Mita et al., 2020). Second, according to our preliminary observation, many errors in un- grammatical sentences are intrinsically correlated with syntactic information. For example, errors like inconsistency in tense or singular-vs-plural forms can be better …
Content truncated to 500 words
Labeled Text
AbstractThis work proposes a syntax-enhanced grammatical error correction (GEC) approach named SynGEC that effectively incorporates dependency syntactic information into the encoder part of GEC models. The key challenge for this idea is that off-the-shelf parsers are unreliable when processing ungrammatical sentences. To confront this challenge, we propose to build a tailored GEC-oriented parser (GOPar) using parallel GEC training data as a pivot. First, we design an extended syntax representation scheme that allows us to represent both grammatical errors and syntax in a unified tree structure. Then, we obtain parse trees of the source incorrect sentences by projecting trees of the target correct sentences. Finally, we train GOPar with such projected trees. For GEC, we employ the graph convolution network to encode source-side syntactic information produced by GOPar, and fuse them with the outputs of the Transformer encoder. Experiments on mainstream English and Chinese GEC datasets show that our proposed SynGEC approach consistently and substantially outperforms strong baselines and achieves competitive performance. Our code and data are all publicly available at
Publication Details
- Paper ID:
- 31350
- Year:
- 2022
- Publication:
- TIPSTER
- Publication Type:
- conf
- DOI:
- nan