mEdIT: Multilingual Text Editing via Instruction Tuning
Vipul Raheja, Dimitris Alikaniotis, Vivek Kulkarni, Bashar Alhafni, Dhruv Kumar
TL;DR
mEdIT tackles multilingual text editing by training instruction-tuned multilingual LLMs on curated, task-diverse data for grammatical correction, paraphrasing, and simplification across seven languages. It combines encoder–decoder and decoder-only architectures and evaluates a broad spectrum of multilingual models against baselines, showing that task- and language-specific fine-tuning yields strong, cross-language editing performance. The study reveals how model scale, data mixtures, and instruction language impact results, and demonstrates generalization to languages unseen during fine-tuning. By releasing data, code, and models, the work advances multilingual intelligent writing assistants and highlights directions for broader language coverage and improved evaluation of editing quality.
Abstract
We introduce mEdIT, a multi-lingual extension to CoEdIT -- the recent state-of-the-art text editing models for writing assistance. mEdIT models are trained by fine-tuning multi-lingual large, pre-trained language models (LLMs) via instruction tuning. They are designed to take instructions from the user specifying the attributes of the desired text in the form of natural language instructions, such as Grammatik korrigieren (German) or Parafrasee la oración (Spanish). We build mEdIT by curating data from multiple publicly available human-annotated text editing datasets for three text editing tasks (Grammatical Error Correction (GEC), Text Simplification, and Paraphrasing) across diverse languages belonging to six different language families. We detail the design and training of mEdIT models and demonstrate their strong performance on many multi-lingual text editing benchmarks against other multilingual LLMs. We also find that mEdIT generalizes effectively to new languages over multilingual baselines. We publicly release our data, code, and trained models at https://github.com/vipulraheja/medit.
