paper-with-me

Papers

Instantaneous Grammatical Error Correction with Shallow Aggressive Decoding

2021-06-09 · ACL 2021 5 · Xin Sun, Tao Ge, Furu Wei, Houfeng Wang

In this paper, we propose Shallow Aggressive Decoding (SAD) to improve the online inference efficiency of the Transformer for instantaneous Grammatical Error Correction (GEC). SAD optimizes the online inference efficiency for GEC by two innovations: 1) it aggressively decodes as many tokens as possible in parallel instead of always decoding only one token in each step to improve computational parallelism; 2) it uses a shallow decoder instead of the conventional Transformer architecture with balanced encoder-decoder depth to reduce the computational cost during inference. Experiments in both English and Chinese GEC benchmarks show that aggressive decoding could yield the same predictions as greedy decoding but with a significant speedup for online inference. Its combination with the shallow decoder could offer an even higher online inference speedup over the powerful Transformer baseline without quality loss. Not only does our approach allow a single model to achieve the state-of-the-art results in English GEC benchmarks: 66.4 F0.5 in the CoNLL-14 and 72.9 F0.5 in the BEA-19 test set with an almost 10x online inference speedup over the Transformer-big model, but also it is easily adapted to other languages. Our code is available at https://github.com/AutoTemp/Shallow-Aggressive-Decoding.

📄 PDF Abstract BibTeX arXiv:2106.04970

Code (1)

AutoTemp/Shallow-Aggressive-Decoding 공식 구현 pytorch

Tasks

DecoderGrammatical Error Correction

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Adam 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Lossless Acceleration for Seq2seq Generation with Aggressive Decoding

2022-05-20 · Tao Ge, Heming Xia, Xin Sun, Si-Qing Chen 외

We study lossless acceleration for seq2seq generation with a novel decoding algorithm -- Aggressive Decoding. Unlike the previous efforts (e.g., non-autoregressive decoding) speeding up seq2seq generation at the cost of …

Abstractive Text SummarizationGPUGrammatical Error CorrectionMachine Translation+3

Numerically Grounded Language Models for Semantic Error Correction

2016-08-14 · EMNLP 2016 11 · Georgios P. Spithourakis, Isabelle Augenstein, Sebastian Riedel

Semantic error detection and correction is an important task for applications such as fact checking, speech-to-text or grammatical error correction. Current approaches generally focus on relatively shallow semantics and …

Fact CheckingGrammatical Error CorrectionLanguage ModelingLanguage Modelling+1

N-gram Model for Chinese Grammatical Error Diagnosis

2017-12-01 · WS 2017 12 · Jianbo Zhao, Hao liu, Zuyi Bao, Xiaopeng Bai 외

Detection and correction of Chinese grammatical errors have been two of major challenges for Chinese automatic grammatical error diagnosis.This paper presents an N-gram model for automatic detection and correction of Chi…

Language ModelingLanguage Modellingmodel

Chinese Grammatical Error Correction Based on Hybrid Models with Data Augmentation

2020-12-01 · AACL (NLP-TEA) 2020 12 · Yi Wang, Ruibin Yuan, Yan‘gen Luo, Yufang Qin 외

A better Chinese Grammatical Error Diagnosis (CGED) system for automatic Grammatical Error Correction (GEC) can benefit foreign Chinese learners and lower Chinese learning barriers. In this paper, we introduce our soluti…

Data AugmentationGrammatical Error Correction

Dynamic Negative Example Construction for Grammatical Error Correction using Contrastive Learning

2022-10-01 · CCL 2022 10 · He Junyi, Zhuang Junbin, Li Xia

“Grammatical error correction (GEC) aims at correcting texts with different types of grammatical errors into natural and correct forms. Due to the difference of error type distribution and error density, current grammati…

Contrastive LearningGrammatical Error Correction