Lune

ACL2021顶会

Instantaneous Grammatical Error Correction with Shallow Aggressive Decoding

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 F 0.5 in the CoNLL-14 and 72.9 F 0.5 in the BEA-19 test set with an almost 10× 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 .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • DistillSpec: Improving Speculative Decoding via Knowledge Distillation 引用了 Fast Inference from Transformers via Speculative Decoding
  • UniTabE: A Universal Pretraining Protocol for Tabular Foundation Model in Data Science 引用了 An Efficient Transformer Decoder with Compressed Sub-layers
  • EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test 引用了 EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
  • EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test 引用了 Fast Inference from Transformers via Speculative Decoding
  • EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty 引用了 DistillSpec: Improving Speculative Decoding via Knowledge Distillation
  • EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty 引用了 Fast Inference from Transformers via Speculative Decoding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper26

  1. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  2. EAGLE: Speculative Sampling Requires Rethinking Feature UncertaintyYuhui Li, Fangyun Wei, Chao Zhang, Hongyang ZhangICML 2024 · 424 次引用
  3. EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time TestYuhui Li, Fangyun Wei, Chao Zhang, Hongyang ZhangNeurIPS 2025 · 347 次引用
  4. DistillSpec: Improving Speculative Decoding via Knowledge DistillationYongchao Zhou, Kaifeng Lyu, Ankit Singh Rawat, Aditya Krishna Menon 等ICLR 2024 · 143 次引用
  5. UniTabE: A Universal Pretraining Protocol for Tabular Foundation Model in Data ScienceYazheng Yang, Yuqi Wang, Guang Liu, Ledell Wu 等ICLR 2024 · 35 次引用

它引用的 Paper4

  1. Fully Non-autoregressive Neural Machine Translation: Tricks of the TradeJiatao Gu, Xiang KongACL Findings 2021 · 84 次引用
  2. Improving Grammatical Error Correction with Machine Translation PairsWangchunshu Zhou, Tao Ge, Chang Mu, Ke Xu 等EMNLP Findings 2020 · 44 次引用
  3. An Efficient Transformer Decoder with Compressed Sub-layersYanyang Li, Ye Lin, Tong Xiao, Jingbo ZhuAAAI 2021 · 32 次引用
  4. Seq2Edits: Sequence Transduction Using Span-level Edit OperationsFelix Stahlberg, Shankar KumarEMNLP 2020 · 1 次引用

相关 Paper

  1. GEC-DePenD: Non-Autoregressive Grammatical Error Correction with Decoupled Permutation and DecodingKonstantin Yakovlev, Alexander Podolskiy, Andrey Bout, Sergey I. Nikolenko 等ACL 2023 · 4 次引用
  2. MaskGEC: Improving Neural Grammatical Error Correction via Dynamic MaskingZewei Zhao, Houfeng WangAAAI 2020 · 71 次引用
  3. Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine TranslationJungo Kasai, Nikolaos Pappas, Hao Peng, James Cross 等ICLR 2021 · 154 次引用
  4. Improving Autoregressive Grammatical Error Correction with Non-autoregressive ModelsHang Cao, Zhiquan Cao, Chi Hu, Baoyu Hou 等ACL Findings 2023 · 1 次引用
  5. Glancing Transformer for Non-Autoregressive Neural Machine TranslationLihua Qian, Hao Zhou, Yu Bao, Mingxuan Wang 等ACL 2021
黄昏的海面,两侧是细线勾勒的悬崖