QuickEdit: Editing Text & Translations by Crossing Words Out

David Grangier, Michael Auli

Abstract

QuickEdit is a neural sequence-to-sequence framework designed to improve text and translation through a "digital red pen" interface. By allowing users to simply cross out undesired words in a draft, the system leverages a dual-attention architecture to generate high-quality revisions. Experimental results show that QuickEdit outperforms standard post-editing baselines by over 5 BLEU points on translation tasks and achieves significantly higher accuracy in paraphrasing compared to existing models.

Introduction

Editing machine-generated text typically requires a binary choice: either accepting the output as-is or manually retyping significant portions. While computer-assisted translation (CAT) tools exist, they often involve complex interactions like prefix-matching or manual phrase selection, which can be cognitively demanding. QuickEdit addresses this gap by introducing a low-friction interaction model based on "negative feedback." The core question is: can we improve a sentence if the user only identifies what is wrong, without providing the correct alternative? This approach aims to minimize human effort while maximizing the utility of neural machine translation (NMT) models.

Methodology

QuickEdit is built upon a modified neural sequence-to-sequence architecture based on the Convolutional Sequence-to-Sequence (ConvS2S) model.

Dual-Encoder Architecture

Unlike standard NMT systems that utilize a single encoder for the source sentence, QuickEdit employs two distinct encoders:

  1. Source Encoder: Processes the original sentence (e.g., the German source text).
  2. Guess Encoder: Processes the "initial guess" (the machine translation) along with binary markers indicating which tokens the user has "crossed out."
The QuickEdit dual-encoder architecture showing how source and guess inputs are combined via dual attention.

Key Innovations

  • Marked Positional Embeddings: To distinguish between words to be kept and those to be changed, the guess encoder uses specialized positional embeddings. It learns different vectors for positions marked for change versus those the user intends to retain.
  • Dual Attention: At every layer of the decoder, the model performs "multi-hop" attention over both encoders. It calculates attention weights for the source and the guess independently, then averages the resulting context vectors. This allows the model to balance the original meaning with the user's structural preferences.
  • Simulated Training: To train without massive human-logged edit datasets, the authors simulate the process. Using standard translation bitext, they generate a "guess" with a base NMT model and automatically mark words that do not appear in the gold-standard reference as "to be changed."

Experimental Evaluation

The model was evaluated on standard translation benchmarks, including IWSLT’14 (German-English) and WMT’14 (German-English and English-French). Additionally, the Multiple-translation Chinese corpus (MTC) was used for a paraphrasing user study.

Quantitative Results

QuickEdit demonstrated significant improvements over baselines. On the WMT’14 English-German task, QuickEdit achieved 36.6 BLEU, a substantial increase over the 30.7 BLEU achieved by a baseline that simply constrained beam search to avoid marked words.

Quantitative results showing BLEU scores for initial translation, post-edit baselines, and QuickEdit across multiple datasets.

Key Insights

  • The Power of Negative Feedback: Identifying errors provides sufficient signal for a neural model to perform complex operations like reordering, word insertion, and morphological inflection.
  • Monolingual Flexibility: By removing the source encoder, the architecture works effectively for paraphrasing. The model can take a single sentence, identify crossed-out words, and find synonyms or alternative phrasings that maintain original intent. In human evaluations on the MTC dataset, QuickEdit's paraphrases were judged accurate 72% of the time, compared to 56% for the ParaNet model.

Conclusion and Future Work

QuickEdit demonstrates that a simple "crossing out" interaction can significantly enhance text editing and translation quality. While powerful, the current model operates at a word-level granularity and does not yet support context-specific rejections or span substitutions. Future work will explore these interaction types and optimize the dual-attention mechanism for real-time latency in interactive editors. Furthermore, extensive testing with professional translators will be necessary to compare this "red pen" approach against traditional typing in real-world workflows.

Summary updated

BibTeX
@inproceedings{grangier2018quickedit,
  author = {David Grangier and Michael Auli},
  title = {{QuickEdit: Editing Text \& Translations by Crossing Words Out}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/n18-1025},
}
Figure