[Paper Review] Effidit: Your AI Writing Assistant
Effidit is an AI-powered writing assistant that enhances text quality and efficiency through five core functions: text completion (generation-, retrieval-, and phrase-based), error checking, text polishing, keywords-to-sentences (K2S), and cloud input methods. It outperforms baselines in K2S generation, achieving higher fluency and diversity, with human evaluation showing a 4.32/5.00 average score for diversity and 3.57/5.00 for quality in Chinese tasks using a fine-tuned language modeling approach.
In this technical report, we introduce Effidit (Efficient and Intelligent Editing), a digital writing assistant that facilitates users to write higher-quality text more efficiently by using artificial intelligence (AI) technologies. Previous writing assistants typically provide the function of error checking (to detect and correct spelling and grammatical errors) and limited text-rewriting functionality. With the emergence of large-scale neural language models, some systems support automatically completing a sentence or a paragraph. In Effidit, we significantly expand the capacities of a writing assistant by providing functions in five categories: text completion, error checking, text polishing, keywords to sentences (K2S), and cloud input methods (cloud IME). In the text completion category, Effidit supports generation-based sentence completion, retrieval-based sentence completion, and phrase completion. In contrast, many other writing assistants so far only provide one or two of the three functions. For text polishing, we have three functions: (context-aware) phrase polishing, sentence paraphrasing, and sentence expansion, whereas many other writing assistants often support one or two functions in this category. The main contents of this report include major modules of Effidit, methods for implementing these modules, and evaluation results of some key methods.
Motivation & Objective
- To develop a comprehensive AI writing assistant that extends beyond basic error checking and sentence rewriting to support advanced writing tasks.
- To improve writing efficiency and quality for both native and non-native speakers through multi-functional AI assistance in multiple languages.
- To address the limitations of existing writing assistants by integrating diverse, context-aware, and high-quality text generation and correction capabilities.
- To support users with conceptual ideation through the keywords-to-sentences (K2S) function, enabling expression of ideas from minimal input.
- To enhance input efficiency via a cloud-based IME that leverages large-scale language models for richer, real-time suggestions.
Proposed method
- Effidit employs a unified language modeling framework for text infilling, where masked segments in input sentences are replaced with [blank] tokens and the model predicts missing spans using [ans] tokens during inference.
- The system trains a GPT-2 model with 12 Transformer layers on 3 billion Chinese and English sentences, using a masked sequence input format to enable end-to-end text infilling.
- For K2S, the model generates semantically coherent and diverse sentences by filling in [blank] tokens with contextually relevant phrases, ensuring keyword retention and fluency.
- Phrase completion is context-aware, considering both prefix and suffix context, unlike most systems that only use prefix information.
- Error correction in Chinese is optimized for word substitution, insertion, and deletion errors, with state-of-the-art performance on substitution and superior results on insertion/deletion.
- Text polishing includes context-aware phrase refinement, sentence paraphrasing, and sentence expansion, all driven by fine-tuned language models.
Experimental results
Research questions
- RQ1How can a writing assistant be extended beyond basic error checking and sentence rewriting to support richer, context-aware writing functions?
- RQ2To what extent can a unified language modeling approach improve the quality and diversity of text infilling in both Chinese and English?
- RQ3Can a cloud-based IME powered by large-scale language models outperform local input methods in suggestion richness and relevance?
- RQ4How does retrieval-based K2S compare to generation-based and BERT-based methods in terms of fluency, diversity, and keyword consistency?
- RQ5What is the impact of context-aware phrase completion on writing efficiency and user satisfaction?
Key findings
- The language modeling-based K2S method achieved a 4.32/5.00 average diversity score and 3.57/5.00 quality score in human evaluation on Chinese sentences, outperforming retrieval and BERT baselines.
- In English K2S, the language modeling approach achieved a 4.02/5.00 diversity score and 4.28/5.00 quality score, significantly outperforming retrieval (1.76 diversity) and BERT (2.15 diversity).
- The model achieved high distinctness with 0.76 and 0.92 for Distinct-1 and Distinct-2 on Chinese, indicating strong output diversity.
- On English, the model achieved 0.87 and 0.94 for Distinct-1 and Distinct-2, showing robustness across languages.
- The system demonstrated superior performance in Chinese error correction, particularly in handling insertion and deletion errors, placing it in the first tier among existing systems.
- The phrase completion function supports both prefix and suffix context, enabling more accurate and relevant suggestions than prefix-only systems.
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.