[Paper Review] Parallel Iterative Edit Models for Local Sequence Transduction
The paper proposes the Parallel Iterative Edit (PIE) model, a non-autoregressive sequence labeling approach for local sequence transduction tasks like Grammatical Error Correction (GEC). By predicting edit operations (e.g., copy, append, replace) instead of tokens, refining predictions iteratively, and factorizing BERT logits over edits and their arguments, PIE achieves near-state-of-the-art accuracy while reducing decoding latency by 5–15× compared to autoregressive models.
We present a Parallel Iterative Edit (PIE) model for the problem of local sequence transduction arising in tasks like Grammatical error correction (GEC). Recent approaches are based on the popular encoder-decoder (ED) model for sequence to sequence learning. The ED model auto-regressively captures full dependency among output tokens but is slow due to sequential decoding. The PIE model does parallel decoding, giving up the advantage of modelling full dependency in the output, yet it achieves accuracy competitive with the ED model for four reasons: 1.~predicting edits instead of tokens, 2.~labeling sequences instead of generating sequences, 3.~iteratively refining predictions to capture dependencies, and 4.~factorizing logits over edits and their token argument to harness pre-trained language models like BERT. Experiments on tasks spanning GEC, OCR correction and spell correction demonstrate that the PIE model is an accurate and significantly faster alternative for local sequence transduction.
Motivation & Objective
- To address the high inference latency of auto-regressive encoder-decoder models in local sequence transduction tasks like GEC.
- To develop a fast, parallel decoding alternative that maintains competitive accuracy without sequential generation.
- To reframe sequence transduction as in-place edit labeling on input tokens, reducing complexity and improving efficiency.
- To effectively leverage pre-trained bidirectional language models like BERT in a non-autoregressive edit prediction framework.
- To demonstrate the effectiveness of iterative refinement and edit-space factorization in capturing dependencies without autoregressive generation.
Proposed method
- The model frames local sequence transduction as a sequence labeling task, assigning edit operations (e.g., copy, append, replace) to each input token instead of generating output tokens.
- It uses a compact edit space that generalizes across tokens, including compound edits to merge insertions with preceding operations for higher accuracy.
- The model performs iterative refinement by feeding its own predictions back into the network for multiple rounds of correction.
- It factorizes the final logit layer over edit types and their token arguments, enabling effective use of pre-trained BERT-style bidirectional encoders.
- The architecture supports parallel decoding by predicting all edits simultaneously, significantly reducing inference time.
- It leverages a large corpus of correct sentences for pre-training the language model component, enhancing generalization.
Experimental results
Research questions
- RQ1Can a non-autoregressive, parallel decoding model achieve competitive accuracy with autoregressive models in local sequence transduction tasks?
- RQ2How effective is predicting edit operations instead of output tokens in reducing model complexity and improving inference speed?
- RQ3To what extent can iterative refinement compensate for the lack of full autoregressive dependency modeling?
- RQ4Can pre-trained bidirectional language models like BERT be effectively adapted for edit prediction through logit factorization?
- RQ5How does the proposed method compare in speed and accuracy to existing state-of-the-art models on GEC, OCR correction, and spell correction?
Key findings
- The PIE model achieves decoding speeds 5 to 15 times faster than a competitive autoregressive model like Lichtarge et al. (2019), which uses beam search.
- On standard GEC datasets, PIE attains near-state-of-the-art performance, matching or closely approaching the accuracy of autoregressive models.
- The use of compound edits that merge insertions with preceding edits leads to higher accuracy than independent prediction of insertions.
- Iterative refinement significantly improves prediction quality by implicitly modeling dependencies across edits.
- Factorizing BERT logits over edit types and their arguments enables effective use of bidirectional context for edit prediction.
- The model demonstrates strong generalization on OCR correction and spell correction tasks, outperforming or matching existing models designed specifically for these tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.