Elamur Research

Aman Saini; Artem Chernodub; Vipul Raheja; Vivek Kulkarni. Spivavtor: An Instruction Tuned Ukrainian Text Editing Model // UNLP 2024 @ LREC-COLING

Paper · 2024 · Aman Saini, Artem Chernodub, Vipul Raheja et al.

Summary

A Ukrainian sentence may need a spelling or grammar correction, a simpler explanation, or a rewrite that makes its connection to the next sentence clear. Each request gives an editor a different reason to change the same words. Spivavtor adapts CoEdIT, an English editing system, to handle such requests in Ukrainian. It takes an instruction in ordinary Ukrainian followed by the text to edit and returns a revised version. The paper studies grammatical error correction and fluency, simplification, coherence, and paraphrasing through this common interface.

To teach those operations, the authors built Spivavtor-Instruct from pairs of original and revised passages. They used the Ukrainian UA-GEC corpus for correction. For the other tasks, they adapted English data using the Google Cloud Translation API. Ukrainian-speaking specialists wrote several ways to request each kind of edit, and the authors randomly drew an instruction from the appropriate set for each example. Native speakers judged a random check of 100 translated instances mostly satisfactory, and gross translation errors were corrected by hand. The authors used the resulting corpus for fine-tuning, testing systems with separate components for reading and generating text alongside systems built around generation alone. The sizes considered ranged from about 1B to 13B parameters.

The clearest result is in grammatical correction. On the UA-GEC test set, Spivavtor-aya-101 reached 64.57 on the correction measure, compared with GPT4 at 27.18 and the starting Aya system at 21.98. A different Spivavtor variant led the aggregate coherence comparison. On paraphrasing, fine-tuning generally increased overlap with the reference rewrites relative to the corresponding starting systems, although overlap varied by dataset and the revisions frequently stayed close to the source. Simplification was the exception to the general advantage of specialization. GPT-3.5-Turbo scored 40.18 on the aggregate simplification measure, ahead of the strongest Spivavtor variant at 38.44. Removing each task from Spivavtor-aya-101’s training in turn reduced its score on that task’s own test measure.

The examples help explain both the gains and their limits. The specialized editor frequently makes a small correction and returns just the revised text, whereas general assistants sometimes explain their changes, answer in English, or rewrite more than the correction benchmark calls for. A fluent revision can still omit a name, change the implied relation between sentences, or lose a detail. The authors report BLEU scores against both the source and the reference for paraphrasing. They leave semantic similarity unscored because they found no clear choice of method for Ukrainian. They released the editing systems and data through the Grammarly collection on Hugging Face.

Deep dive: Aman Saini; Artem Chernodub; Vipul Raheja; Vivek Kulkarni. Spivavtor: An Instruction Tuned Ukrainian Text Editing Model // UNLP 2024 @ LREC-COLING

Spivavtor adapts instruction-based editing to Ukrainian and tests how well it corrects, simplifies, connects, and rephrases text. · about 31 minutes to read

The problem and its context

What does an editing instruction authorize?

Consider a sentence whose speaker addresses someone using the wrong form of a noun. A grammar request licenses a local change to that form. A request for simpler wording might license changes to the whole sentence. A paraphrase could keep the sentence just as complex while expressing it differently. With a passage about events, a coherence request might ask the editor to make the relationship between the events explicit. The vocabulary of the original passage gives clues about what can be changed, and the instruction specifies what kind of change the writer wants.

The paper’s Ukrainian correction example makes this distinction concrete. The output changes the form of address to a vocative and switches the form of a nearby preposition. The surrounding question remains recognizable. In a coherence example, a traveler visits islands and has to return to Rome because of illness. The revision links the visit and the return in a single construction that contrasts the trip with its interruption. The grammatical correction can be inspected at the changed words. The coherence revision also has to be read as a statement about how events fit together. A correct connective depends on what the reader should infer from the passage.

A shared editor therefore needs to learn several standards for intervention. Fluency is relevant across the tasks, but it cannot define them all. A grammar edit that recasts a whole passage may sound polished while going beyond the request. A simplification that preserves every original construction may offer little help to the intended reader. A paraphrase can be clear without becoming shorter. A coherence edit might add only a connective, yet that small addition can change what the passage asserts or implies.

This is the setting for instruction-based editing. The authors treat the instruction as part of the input, alongside the words that the writer wants revised. A writer can ask for an operation in ordinary language, and the output is the revised passage. On the training side, the editor sees what an example revision looks like under that request. This arrangement makes it possible to put tasks with different objectives in one corpus while giving each example a signal about which objective applies.

Ukrainian resources and the gap the authors identify

The paper describes Ukrainian natural language processing as an area with growing resources. It points to the Ukrainian Brown Corpus, the NLP-UK toolkit, and work on representations of words, tagging, named entities, and translation. It also notes manually curated resources for particular tasks. UA-GEC supplies material for grammatical correction, NER-UK supports named entity recognition, and UA-SQUAD supplies material for question answering. Other resources were built by selecting Ukrainian material from broader multilingual collections.

These efforts gave the authors a starting point. UA-GEC already provided the original and revised Ukrainian sentences needed to teach correction. The other editing operations in the study required their own kinds of paired examples. A collection of grammatically corrected sentences cannot by itself supply targets for rewriting technically difficult prose in easier language. A paraphrase pair may teach a different way to express a sentence while giving little guidance on how to signal the connection between adjacent sentences. To build a shared editor, the authors needed coverage of the operations as well as coverage of the language.

The paper situates this problem alongside the development of large language models that can produce fluent text and respond to tasks described in a prompt. The authors cite studies applying such systems to grammatical correction and simplification. They also point to earlier multilingual work on individual operations, including correction, paraphrasing, simplification, and changes in formality. These studies help establish what a specialized task can look like. Spivavtor asks whether related editing operations can share an instruction interface and a common round of training in Ukrainian.

There were also general-purpose systems able to follow Ukrainian prompts. UAlpaca was built by further training a LLaMA system on Ukrainian translations of Alpaca instructions. Its purpose was broad instruction following. The paper describes other multilingual efforts that seek extensive language coverage through pretraining and instruction tuning. Such coverage gives an interface in which a Ukrainian request is possible. The authors identify a separate question about what examples are needed for the response to be a restrained, accurate revision of the supplied text.

This question matters because the format of an answer and the scope of an edit are part of the task. A general assistant might read a correction request as an invitation to talk the writer through their mistakes. A benchmark expects text that can be compared directly with the original and its annotated revision. The authors’ approach teaches the desired response through examples in which the answer consists of the edited passage. The paired texts also show how much alteration a particular instruction ordinarily calls for.

From English editing to a Ukrainian training corpus

CoEdIT provides the direct precedent. It used task-specific instructions to teach an English editor multiple operations. The Spivavtor authors retain the basic arrangement in which a request and a passage lead to a revised passage. Their task is to obtain the corresponding supervision in Ukrainian. The paper also discusses mEdIT, a multilingual extension of CoEdIT that covers similar operations across six languages. Ukrainian was outside its core language focus.

The authors give two reasons for choosing correction, simplification, coherence, and paraphrasing. The operations represent common editing requests, and resources suitable for adaptation could be found in Ukrainian or English. The second reason sets a practical boundary on the experiment. A task such as coherence can refer broadly to the development of a long argument, for instance, but the available data give the authors a way to study localized revisions. In the paper’s examples, the editor joins adjacent sentences or makes their connection more explicit.

Turning English benchmarks into Ukrainian editing resources depends on what survives translation. The source and the revision must still make sense together after they change languages. If the source was harder to read in English because of a particular word choice, a translation can preserve that difficulty, flatten it, or introduce a different one. The instruction can remain clear in all of these cases, while the example it governs varies in quality. The authors use machine translation to make the experiment feasible and retain native Ukrainian supervision for the task for which it was already available. This choice defines the kind of evidence that the subsequent tests can provide.

The method, step by step

From a pair of texts to a training example

Each example has three pieces. There is a source passage, a target revision, and an instruction identifying the operation that connects them. The authors put the instruction before the source. During training, the target gives the system an example of the text to produce. At use time, the editor receives the instruction and source and generates the revision. The same arrangement works when the answer changes a single inflected word or restructures a passage.

Suppose the training pair contains an original question and a version with the correct form of address. A grammar instruction tells the editor to treat the differences as examples of correction. A pair for simplification has the same format but teaches another relationship between input and output. It can show how to remove a cumbersome construction or use easier wording. Paraphrasing pairs teach alternative expression, while coherence pairs can show how an added connective makes adjacent statements read together. The instruction is the part that names the intended transformation.

The paper calls the instruction variants verbalizers. Ukrainian-speaking domain experts made a task-specific collection of them. Some grammar verbalizers ask directly for errors to be fixed, while others ask for the wording to be made grammatical. The simplification set has requests centered on general readability as well as requests for easier words. The coherence set asks for better connected text. The paraphrasing set includes requests for a rewording and broader language about rewriting. The variants remain attached to their respective tasks even when their wording differs in specificity.

For a given example, the authors draw one verbalizer randomly from its task’s set. The randomization concerns the instruction attached to the instance. The paired passage and revision retain their original roles. A coherence instance can therefore appear under any of the available coherence requests, while its answer is still the coherence target supplied by the corpus. The design spreads the training examples over several phrasings of an operation. The experiment does not separately measure how much of the eventual performance comes from this variation in wording.

Building and using Spivavtor

The steps in order.

Building and using SpivavtorStep 1: Gather source passages and their edited counterparts1. Gather source passages and their edited counterpartsStep 2: Translate English datasets into Ukrainian2. Translate English datasets into UkrainianStep 3: Check sampled translations and repair gross errors3. Check sampled translations and repair gross errorsStep 4: Draw a Ukrainian instruction for each example4. Draw a Ukrainian instruction for each exampleStep 5: Train on the requested edits5. Train on the requested editsStep 6: Select checkpoints by validation loss6. Select checkpoints by validation lossStep 7: Generate revised text from Ukrainian requests7. Generate revised text from Ukrainian requests

Correction starts with Ukrainian sentences

For grammar and fluency, the authors use UA-GEC as the source of paired sentences. They describe the corpus as containing 33k pairs, originally organized into 31k training pairs and 2k test pairs. Their experiment needed a validation set, so they randomly divided the original training material into portions they describe as 28k for training and 3k for validation. The original test material remains the basis for the correction evaluation.

The distinction between validation and testing matters because the authors use validation loss to select checkpoints. Loss measures how poorly a training system predicts the target revisions under its training objective. Checking it on validation examples gives the authors a basis for deciding which saved version to keep. The test set serves a separate purpose. Its annotated corrections are used to score the chosen systems.

In the exact counts for Spivavtor-Instruct, correction has 27,929 training examples, 3,103 validation examples, and 2,682 test examples. The table reports 9 verbalizers for the task. These exact counts and the abbreviated figures in the dataset description refer to the split at different levels of precision. The Ukrainian source and target come from UA-GEC. The additional supervision introduced here is the request that tells the editor what to do with the source.

The correction examples show how spare the output can be. In one, a speaker thanks someone and then mentions having just left home with Nadia. The next sentence begins with a lower-case letter and lacks a closing period. The specialized system capitalizes the initial word and supplies the punctuation, preserving the statement. This illustrates what the target format teaches about the scope of a reply. The requested correction is carried out inside the text itself.

Translation supplies simplification and coherence examples

For simplification training, the authors use WikiLarge and WikiAuto. Both are English sources of paired text for this task. WikiAuto comes from work on aligning sentences for simplification, which gives the adaptation original sentences and their simpler counterparts. For evaluation, the authors translate ASSET and Turk. ASSET is designed around multiple kinds of rewriting for simplification. These benchmark choices give the editor translated targets that reflect different ways of making a sentence easier to understand.

The corpus table lists 11,501 simplification examples for training, 1,278 for validation, and 533 for testing, with 11 verbalizers. In this task, the revised sentence can be shorter or have a more direct structure. An example in the paper removes a relative interval from a sentence about a death while retaining its calendar date. A reader with the surrounding narrative might care about the interval as well as the date. The pair illustrates how a simplification target can embody a decision about which detail to keep.

For coherence, the paper focuses on edits that improve how sentences connect. The authors translate DiscoFuse and the coherence portion of IteraTeR. DiscoFuse supplies examples of sentence fusion based on the relationship between statements. The coherence portion of IteraTeR contributes examples selected for that kind of revision. In the resulting task, a target can join sentences or signal how a following sentence relates to an earlier one. A connective makes that relationship overt, and its choice affects the reading of the passage.

The coherence portion contains 9,278 training examples, 1,031 validation examples, and 551 test examples. The reported instruction set has 7 verbalizers. A coherence example concerns a visit to Greek islands followed by a forced return to Rome. Adding a contrastive connective presents the return as an interruption of the visit. The edit changes the relationship that the passage makes explicit while keeping the events themselves. This is the kind of localized discourse analysis relevant to the task.

Paraphrasing supplies a different kind of revision

For paraphrasing, the authors translate PAWS and describe preserving its train and test organization in the adapted resource. The evaluation results are reported on MRPC, STS, and QQP. The paper identifies MRPC with earlier work on a corpus of sentential paraphrases, and STS with the Semantic Textual Similarity evaluation. These sources give the authors different collections of paired text on which to examine the generated rewrites. MRPC and STS also represent distinct sources of reference wording.

The paraphrasing portion of Spivavtor-Instruct has 14,076 training examples, 1,564 validation examples, and 6,244 test examples. The authors report 13 verbalizers. A paraphrase target gives the editor another way of expressing the input. For instance, the paper shows a question about a memorable compliment being reworded so that the idea of ever having received it carries the force previously expressed by an explicit reference to anyone. The resulting question is recognizable as a reformulation of the same request.

Paraphrasing sits close to simplification because both can substitute words or remove some wording. Their intended standards differ. A paraphrase is judged partly by whether it expresses the original meaning in another form. A simplification is judged in part by whether a reader has an easier time understanding the text. The instruction names the distinction for each training example. How reliably the editor observes it is a matter for the tests and the qualitative examples.

Combining the data and checking the translations

The authors use Google Cloud Translation for the English-derived data. Both parts of an editing pair matter to the result. A natural rendering of a target is valuable only if it still illustrates a suitable edit of the translated source. The authors arranged for native speakers to verify a random sample of 100 translated instances. The review found the sample broadly satisfactory. The paper also reports that grossly wrong translations were corrected manually. Its description establishes a spot check for translation quality and a manual repair step for severe errors.

The authors say that time constraints kept them from exploring other translation services. Their translated examples therefore represent one way to transfer the datasets into Ukrainian. The instructions were written directly by Ukrainian-speaking specialists. This gives the corpus a native instruction layer even where the passage and its revision come from an English pair.

The full corpus contains 62,784 training examples, 6,976 validation examples, and 10,010 test examples. Task sizes differ across the splits. Correction is the largest component of training, while paraphrasing is the largest component of the test set by example count. The evaluation reports separate task scores, so a grammar score and a paraphrase score still have to be read on their own terms. The shared split names organize the examples for training and evaluation. They do not turn the tasks into a common scoring problem.

The systems that learn the editing task

The authors compare encoder–decoder and decoder-only systems based on the Transformer. An encoder–decoder system uses an encoder to process the input sequence and a decoder to generate the output from that representation. For Spivavtor, the input sequence carries the request and the text to edit. The decoder generates a separate target sequence. A decoder-only system generates the revision as a continuation conditioned on the prompt. Both approaches can return edited text from the same kind of request, with different ways to organize the computation.

The encoder–decoder experiments include mT5-large at 1.2B parameters and mT5-xxl at 13B. mT5 is the multilingual version of T5 discussed in the paper. Its pretraining collection, mC4, extends the underlying corpus to 101 languages. This gives the authors smaller and larger starting points from the same named family to compare after adaptation. mT5

The mT0 family starts from mT5 and adds training on a cross-lingual collection of prompted tasks. The paper describes the standard xP3 mixture as using English prompts, in spite of including multilingual data. The authors use mt0-large at 1.2B parameters and include mt0-xxl-mt at 13B. The latter was trained with xP3mt, which the paper presents as better suited to instructions in languages other than English. In the editing comparison, a change from mt0-large to mt0-xxl-mt therefore also changes the earlier instruction-training recipe. Crosslingual Generalization through Multitask Finetuning

Aya 101 is the other 13B encoder–decoder starting point. It uses the architecture of mt5-xxl and comes with prior instruction training across 101 languages. Starting from Aya means that Spivavtor’s training specializes a system already designed for multilingual requests. The authors also choose the resulting Spivavtor-aya-101 for the task-removal experiment and for the illustrative outputs. Aya

Among the decoder-only choices, the authors use the merged Bactrian-X variant built on the 7B LLaMA system. They describe Bactrian-X as a collection of adapters trained on 3.4 million instruction–response pairs across 52 languages. Its earlier adaptation uses LoRA, a method that limits the number of parameters trained during adaptation. The paper also includes the instruction-tuned Mistral variant, Mistral-7B-Instruct-v0.2. Both starting systems have already received instruction training before exposure to Spivavtor-Instruct.

The other decoder-only configurations are the 7B and 13B Llama2 Chat variants. The authors specify full-parameter fine-tuning for these experiments, meaning that adaptation can update the system’s existing parameters throughout. This is a different starting and adaptation history from the adapter-based Bactrian-X line. Parameter count and architecture are useful categories for reading the results. The comparison still involves systems with their own histories of pretraining and instruction tuning.

Training, selection, and generation

The authors train with DeepSpeed on 8xA100 GPUs using the AdamW optimizer. AdamW controls how the parameters are updated during training. The per-device batch size is 8 and the learning rate is 5e-5. Batch size here describes the number of examples assigned to a device at a time. The learning rate controls the scale of the updates. The paper reports these as common training settings for the comparison.

For decoder-only systems, the maximum sequence length is 512 tokens. A token is a unit of text in the representation processed by the system. For encoder–decoder systems, the paper sets a limit of 256 tokens for the source sequence and 256 tokens for the target sequence. These limits govern how much material the system processes in its training format. The benchmark examples show the resulting editor mainly at the scale of a sentence or a short passage.

The authors select the saved version of each trained system using validation loss. At inference, they mostly retain the generation defaults of each starting system, including its temperature and beam-size settings where applicable. Temperature affects how generation distributes probability over alternative next tokens. Beam size governs how many candidate continuations are considered when beam search is used. The authors set the output limit from the maximum sequence length used in training and use the appropriate end-of-sequence marker for decoder-only generation to curb repetition. The output evaluated in each task is the resulting Ukrainian text.

Experiments and results

What counts as a successful edit?

The tests use the task-specific Spivavtor-Instruct splits. Correction is evaluated on UA-GEC. Simplification uses the Ukrainian adaptations of ASSET and Turk. The coherence breakdown distinguishes Sports and Wiki subsets. Paraphrasing is reported separately on MRPC, STS, and QQP. The authors give aggregate scores by task and include the dataset breakdowns for the translated tasks. Scores in the results tables are scaled between 0 and 100. Each task has its own scoring rule, so a score from one column cannot be interpreted as the equivalent level of success in another.

For grammar, the evaluation section reports ERRANT correction F₀.₅. The correction score compares edits identified in the generated and reference revisions. Precision reflects how many proposed corrections match the reference edits, while recall reflects how many reference edits are recovered. The authors describe the score as weighting precision twice as much as recall. This makes the metric sensitive to unnecessary or mismatched changes, which is relevant to proofreading. A system that rewrites a large portion of a sentence can make it harder for a span-based comparison to identify the corrections that would have been credited in a more conservative revision.

Simplification and coherence use SARI. For these tasks, the scoring procedure looks at how the output uses material relative to the original and the reference, including additions, deletions, and what remains. In simplification, this lets a score reflect choices about what to keep and what to remove. In coherence, a useful change may consist of adding a connective while preserving much of the original wording. The numerical result captures the fit to reference edits under that procedure. Whether the chosen connective expresses the right logical relation can require direct reading.

For paraphrasing, the paper uses BLEU as a measure of wording overlap at the level of sequences of tokens. Reference-free BLEU in the paper compares the generated text with the source. Reference-based BLEU compares the output with the dataset’s reference paraphrase. When a pair of scores is given, the source comparison comes first. A higher score against the source indicates greater surface similarity to the original. A higher score against the reference indicates that the rewrite shares more wording with that target. These measures can move together, and their joint interpretation depends on the dataset and the desired amount of rewording.

The Copy baseline makes the distinction vivid. Its aggregate source-based BLEU is 100, because the returned text is the original. It also obtains 31.4 BLEU against the references, reflecting the overlap that already exists between source and target. An editor can score below Copy on reference-based BLEU while changing far more of the wording. Evaluating the two comparisons together helps identify this behavior. Judging whether the changes preserve the meaning requires evidence beyond surface overlap.

How the comparison was set up

The paper compares the fine-tuned systems with several of their starting versions, including Aya, mt0-large, Bactrian-X, and Mistral. A before-and-after comparison within a named starting system tests the practical effect of the additional training. The paper also includes general instruction followers and the Copy baseline. Copy returns the input unchanged. It measures how far preservation alone can go, which is relevant to tasks where good outputs frequently retain most of the source.

UAlpaca serves as a general Ukrainian instruction baseline. It uses a 7B LLaMA starting point and was trained on Ukrainian translations of 52K varied Alpaca instructions. The authors use its recommended prompt format with the assigned Ukrainian editing verbalizer in the instruction slot. This lets UAlpaca receive the request in the format it was trained to follow. Its broader instruction history makes it an informative comparison for editing specialization, although it differs from the Spivavtor configurations in more than its examples.

For the hosted baselines, the paper uses gpt-3.5-turbo version 0301 and gpt-4-0613. Reports put the latter’s context window at 8192 tokens and its training data cutoff in September 2021. For GPT4, the authors evaluate every available verbalizer for a task and report the result for the best wording. These are zero-shot comparisons in the sense that the systems attempt the editing task from the prompt without Spivavtor-Instruct training. The GPT4 score additionally benefits from selecting the best tested instruction. Where content filtering prevents a response, the authors score the original text as the output.

Correction shows the largest separation

On UA-GEC, all reported Spivavtor variants outperform the general and starting systems listed with numeric correction scores. Spivavtor-aya-101 reaches 64.57, closely followed by Spivavtor-mt0-xxl-mt at 64.55. The starting Aya system scores 21.98. GPT4 records 27.18, the strongest baseline correction result in the comparison. UAlpaca records 0.57, and GPT-3.5-Turbo records 1.17. These are scores on detecting and applying the reference corrections, with the generated answer evaluated as edited text.

Correction F₀.₅ on the UA-GEC test split

The specialized Aya editor leads the comparison, including against its own starting system.

Correction F₀.₅ on the UA-GEC test splitUAlpaca-7b: 0.57UAlpaca-7b0.57GPT-3.5-Turbo: 1.17GPT-3.5-Turbo1.17Aya 101: 21.98Aya 10121.98GPT4: 27.18GPT427.18Spivavtor-aya-101 (this paper): 64.57Spivavtor-aya-101 (this paper)64.57
The numbers
System or settingF₀.₅ Correction
UAlpaca-7b0.57
GPT-3.5-Turbo1.17
Aya 10121.98
GPT427.18
Spivavtor-aya-101 (this paper)64.57

The correction improvement also appears away from the top of the ranking. The 1.2B Spivavtor-mt5-large scores 61.83, while Spivavtor-mt0-large scores 61.44 at the same parameter count. Among the tuned decoder-only systems, the 13B Llama2 variant reaches 56.48, and the 7B variant reaches 55.88. These comparisons show strong performance across the specialized configurations under the paper’s correction measure. The qualitative examination suggests that correct output format and restraint contribute alongside the ability to locate and repair errors.

Simplification favors the hosted baselines

The highest aggregate simplification SARI score in the main comparison is GPT-3.5-Turbo’s 40.18. GPT4 scores 40.08. Mistral-7b, before Spivavtor adaptation, reaches 38.96, and the best Spivavtor result is 38.44 from Spivavtor-mt0-xxl-mt. Copy scores 21.98. Fine-tuned Spivavtor-aya-101 reaches 37.87, compared with the starting Aya system’s 35.59. Thus specialization improves the Aya comparison on this benchmark while the strongest aggregate results still belong to the hosted baselines.

Aggregate simplification SARI on the ASSET and Turk test data

The hosted baselines lead the strongest specialized Ukrainian editor on this task.

Aggregate simplification SARI on the ASSET and Turk test dataCopy: 21.98Copy21.98Aya 101: 35.59Aya 10135.59Spivavtor-mt0-xxl-mt (this paper): 38.44Spivavtor-mt0-xxl-mt (this paper)38.44Mistral-7b: 38.96Mistral-7b38.96GPT4: 40.08GPT440.08GPT-3.5-Turbo: 40.18GPT-3.5-Turbo40.18
The numbers
System or settingSARI
Copy21.98
Aya 10135.59
Spivavtor-mt0-xxl-mt (this paper)38.44
Mistral-7b38.96
GPT440.08
GPT-3.5-Turbo40.18

The dataset breakdown gives a more specific view. On ASSET, GPT-3.5-Turbo scores 42.52 SARI and GPT4 scores 42.20. The strongest specialized ASSET result is the tuned Llama2 7B variant’s 39.29. On Turk, GPT4 scores 39.05 and GPT-3.5-Turbo scores 39.04. Spivavtor-mt0-xxl-mt reaches 38.20 on Turk, the strongest result among the tuned variants there. The same specialized system leads their aggregate result while another specialized variant leads them on ASSET. The main text treats simplification as the exception to Spivavtor’s broader gains, and the table places the hosted systems ahead on both constituent tests.

Mistral illustrates why the before-and-after comparison is worth making for each task. Its starting system scores 38.96 on aggregate simplification SARI, and Spivavtor-Mistral-7b scores 34.55. The correction scores for that pair move from 0.3 to 51.54. The same specialized training produces a large change in the desired direction for correction and a lower score for simplification. An overall claim about the benefit of specialization has to retain that difference in behavior.

Coherence improves under most specialized configurations

On the aggregate coherence test, Spivavtor-mt0-xxl-mt reaches 49.48 SARI. Spivavtor-mt5-xxl scores 48.97, and the tuned Llama2 7B variant scores 48.73. GPT-3.5-Turbo reaches 44.93 and GPT4 reaches 43.44. Copy obtains 26.89. The specialized Mistral variant reaches 44.12, which puts it below GPT-3.5-Turbo in spite of improving sharply on the starting Mistral result of 32.41. The aggregate advantage is strongest as a statement about the leading configurations and their general pattern.

Aggregate coherence SARI on the Sports and Wiki test data

The strongest specialized configurations lead the hosted baselines on the coherence benchmark.

Aggregate coherence SARI on the Sports and Wiki test dataCopy: 26.89Copy26.89Aya 101: 38.30Aya 10138.30GPT4: 43.44GPT443.44GPT-3.5-Turbo: 44.93GPT-3.5-Turbo44.93Spivavtor-mt5-xxl: 48.97Spivavtor-mt5-xxl48.97Spivavtor-mt0-xxl-mt (this paper): 49.48Spivavtor-mt0-xxl-mt (this paper)49.48
The numbers
System or settingSARI
Copy26.89
Aya 10138.30
GPT443.44
GPT-3.5-Turbo44.93
Spivavtor-mt5-xxl48.97
Spivavtor-mt0-xxl-mt (this paper)49.48

The leading variant varies across the coherence subsets. On Sports, Spivavtor-mt5-xxl scores 48.87 and Spivavtor-mt0-xxl-mt scores 48.67. On Wiki, the tuned Llama2 13B variant reaches 53.94 and Spivavtor-mt0-xxl-mt reaches 53.80. For comparison, GPT-3.5-Turbo scores 44.84 on Sports and 45.44 on Wiki. The aggregate leader is strong across both subsets, and each subset has its own highest-scoring configuration. These differences also show why architecture claims are best read alongside the individual benchmarks.

Paraphrasing gains depend on the comparison text

On the aggregate paraphrasing test, Spivavtor-mt0-large has source-based BLEU of 77.83 and reference-based BLEU of 26.73. The starting mt0-large scores 6.70 and 2.68 on the same comparisons. Spivavtor-mt5-large obtains 77.31 and 26.68. GPT-3.5-Turbo reaches 26.60 and 12.51, and GPT4 reaches 23.23 and 11.7. On this aggregate measure, the specialized variants can reproduce more reference wording than the hosted baselines while also retaining considerably more of the original wording. Copy still has the highest aggregate reference overlap among the rows, at 31.4.

Within the individual datasets, reference overlap tells a more varied story. On MRPC, the starting Aya system reaches 34.5 reference-based BLEU. Spivavtor-aya-101 reaches 31.6, and Spivavtor-mt0-large reaches 32.3. These results put the unadapted Aya above the specialized variants on MRPC for that metric. The same starting system scores 78.5 against the source there. Its high reference overlap comes with substantial source overlap, a combination that occurs elsewhere in the table too.

On STS, Spivavtor-mt5-large and Spivavtor-mt0-xxl-mt both reach 34.8 reference-based BLEU. Their source-based scores are 78 and 69.6, respectively. The reference score alone gives them the same standing under the metric, while the source score shows that their outputs retain different amounts of original wording. On QQP, Spivavtor-mt5-large gets 23.3 reference-based BLEU, while the starting Aya system gets 9.8 and GPT-3.5-Turbo gets 9. The fine-tuned systems’ reference-overlap advantage is much clearer on QQP than it is on MRPC.

Taken together, the task scores support the paper’s main claim that Ukrainian editing instructions and examples can produce a stronger specialized editor. The correction ranking is especially clear, and the strongest coherence variants lead the comparisons. The tables also refine the paper’s broader wording about superiority across the tasks. The simplification leaders are general hosted systems. The paraphrasing comparisons depend both on the test collection and on whether the intended criterion is overlap with a reference or a departure from the input.

What the ablations show

What happens when a task is removed?

The authors use Spivavtor-aya-101 to test the importance of task-specific training examples. For each run, they leave out one task from the training corpus and train on the remaining tasks. They then score the resulting editor on all of the tasks, including the one it did not encounter during Spivavtor training. Its held-out task performance tests whether the other editing examples, together with the starting Aya system’s multilingual instruction capabilities, support the missing operation. Here zero-shot describes the held-out task within this additional training, since the system has still been trained on the other Ukrainian editing requests.

With grammar omitted, the system scores 18.47 correction F₀.₅ on the UA-GEC test, compared with 64.57 for the full mixture. When the authors instead omit simplification, the correction score is 64.95. The large drop when correction itself is absent locates the main benefit in exposure to correction examples. It also shows how differently training on general rewriting and training on specifically annotated corrections can affect a metric that rewards matching edits.

With simplification omitted, the aggregate simplification SARI score is 32.84, compared with 37.87 for the full mixture. Leaving out grammar yields 37.41 on simplification. This is evidence that simplification supervision helps Aya on the translated tests even though the fully trained variant trails the hosted simplification leaders. The ablation asks whether the system benefits from exposure to the task. The baseline comparison asks how it ranks against other systems. The paper’s results give distinct answers to these questions.

With coherence omitted, the system records 39.48 SARI on the aggregate coherence test. The full mixture gives 48.51. Omitting correction instead results in 52.11 coherence SARI. Leaving out paraphrasing gives 51.84 on the same metric. This pattern indicates both the value of direct coherence supervision and variation in how other examples affect the resulting editor. The ablation alone cannot identify whether changes in the mixture, its size, or particular overlaps among tasks account for the gains seen when some other tasks are removed.

With paraphrasing removed, the resulting editor still scores 74.61 BLEU against the source and 25.90 against the reference on the aggregate paraphrasing test. With all tasks included, it scores 73.28 against the source and 26.17 against the reference. The score against the reference falls when paraphrasing is held out, while overlap with the original rises. The direct contribution looks different here than in correction or coherence. Much of the capacity to generate a surface-level rewrite remains available when the system has received examples of the other editing operations.

These runs support including examples of each operation when the aim is to improve its own measured performance in this system. Benefits for an individual task vary. The largest losses in the reported held-out conditions are associated with highly task-specific criteria, such as matching grammatical edits. Some off-task scores rise when another task is removed. The experiment therefore gives evidence about the consequences of including and excluding task data in this mixture, while leaving the best balance of examples among tasks open.

What size and architecture comparisons reveal

The paper also compares families and sizes trained on the same editing corpus. Encoder–decoder systems generally score higher than decoder-only systems in the reported comparison. Correction provides a particularly consistent pattern. Spivavtor-mt5-large at 1.2B scores 61.83 on UA-GEC, ahead of the 13B decoder-only Llama2 variant at 56.48. The aggregate coherence leader is an encoder–decoder system too, while the strongest Wiki coherence result belongs to the tuned Llama2 13B variant. The architecture comparison is a tendency among the tested configurations, with the more detailed rankings depending on the task.

Within mT5, the tuned large and xxl variants score 61.83 and 63.00 on UA-GEC correction, respectively. They score 36.40 and 37.84 on aggregate simplification SARI, and 48.27 and 48.97 on aggregate coherence SARI. Reference-based BLEU for aggregate paraphrasing moves from 26.68 in the smaller variant to 25.64 in the larger one. This gives a family-level example of how greater scale accompanies gains on several measures while the rank on another goes the other way.

The tuned Llama2 Chat sizes also show a mixed pattern. On correction, the 7B variant scores 55.88 and the 13B variant scores 56.48. On aggregate coherence, they score 48.73 and 48.55, respectively. The authors characterize larger systems as generally stronger. These comparisons give that tendency a concrete meaning. It is possible to see an advantage on correction and a lower coherence score in the same pair of configurations.

Comparing shares of training data through task removal is a more direct intervention than comparing architecture families. The task ablation keeps the starting Aya system fixed and changes which editing examples it sees. The architecture and scale comparisons involve different starting configurations. Details of their previous training can influence how readily they adapt to Ukrainian prompts and how closely they follow the requested answer format. The paper recognizes the resulting uncertainty in attributing performance to architectural properties or parameter counts alone.

The examples explain where the metrics come from

The authors inspect responses to understand why many general assistants score poorly on correction. They find examples of repeated output, English responses to Ukrainian requests, explanations of changes, and messages that say no edit is required. The task expects the passage itself as the output. This makes response-format errors consequential. A system can demonstrate some understanding of the request while returning prose that cannot readily be matched to the expected corrected sentence.

Overcorrection is a separate problem. Some systems paraphrase or polish the entire source when the benchmark expects local edits. The paper notes that a conservative span-based metric may then fail to capture corrections that are embedded in larger changes. Spivavtor tends to make more localized edits and avoid several of the formatting problems, which makes its outputs easier to score as corrections. The examples also include faulty local edits. In the sentence about paying in September, a change to the form of the month and to the opening phrase leaves the sentence awkward. A short edit can still be an incomplete repair.

The simplification examples make the coverage of the metric especially important. The output about a death retains a calendar date while dropping the elapsed time given in the source. In another example, a sentence about Jeddah becomes easier to read in some respects, but the rewrite removes the city name, changes the description of the gateway, and omits details about Mecca and the people subject to the stated obligation. The authors identify excessive truncation and the replacement of named entities with pronouns as recurring problems. A simplification score can reward some of the same deletions that a reader would care about checking in context.

In the coherence analysis, the authors find that the editor often improves the connection or leaves the passage unchanged. Their error example joins a statement that a change seemed certain with a statement that a vote was expected. The chosen connective implies opposition between those facts, although the passage supplies no clear reason to read them that way. The words on both sides remain mostly intact. The connective is enough to change how the reader interprets their relationship.

In paraphrasing, the authors frequently see lexical substitution or changes in the ordering of words and phrases. They report occasional shifts of meaning in longer MRPC examples and closer alignment with reference rewrites on shorter STS and QQP inputs. One illustrated rewrite removes the word that identifies a keyboard as musical. For a reader who sees the sentence on its own, the result is less specific about the object. The example shows how a locally fluent rephrasing can stay close to its source in wording while losing part of its meaning.

Limitations

Limits the authors identify

The authors identify the quality of translated data as a constraint. Their pipeline supplied Ukrainian training and evaluation material for operations with limited available resources. The translations depend on the behavior of a single service, and manual verification covered a random sample. The authors suggest that data written or revised directly by native Ukrainian speakers could provide better supervision. They also identify corpus size as a possible area for expansion. Their experiment demonstrates the feasibility of assembling the dataset and training from it at the scale reported.

The authors give particular attention to automatic evaluation. A good paraphrase should convey the original meaning and should function as a rewording. BLEU can capture elements of overlap with either the input or the reference. Earlier work cited by the paper found that the relationship between those scores and human judgments can depend on the benchmark. The authors report both scores and leave a separate semantic measure out of the evaluation because they found no clear choice of method for Ukrainian. They suggest direct human judgments as a way to assess qualities the automatic measures miss.

The search over settings was limited by time and computation. The authors examined prompt phrasings and training settings, including batch size and learning rate, within that budget. Choices of checkpoints followed validation loss for the experiments they ran. The comparisons establish results for those configurations. The best possible performance for each architecture, each instruction set, or each data mixture remains an open question.

Time also matters for the hosted systems. The paper identifies the specific GPT versions used and acknowledges that provider updates can change behavior. For systems with public artifacts, the authors point to different pretraining collections as another source of variation. The effect of those collections on downstream Ukrainian editing is unknown. The reported architecture and scale patterns describe systems that differ in what they have seen before the shared editing experiment.

Boundaries visible in the experiments

The evaluation gives its strongest direct evidence for UA-GEC and the translated test collections. In the latter, both the source passage and the desired revision inherit choices made in adapting English text. A benchmark can therefore test whether the editor has learned to produce the kinds of revisions represented in that collection. The results leave open how readers would assess similar edits in Ukrainian material originally written for other settings. This matters particularly for simplification, where judgments about ease and about which details to keep can depend on the target reader.

The spot check of translations and the qualitative review of outputs address different questions. The first asks whether the material used to build the resource is broadly acceptable. The second examines specific patterns in responses. A few examples can reveal mechanisms that a score hides, such as a connective adding an unjustified contrast. Estimating how frequently a writer would encounter that error would require a different evaluation. The paper’s qualitative findings are most informative as descriptions of behavior to look for in individual revisions.

The correction results are strong under a benchmark that rewards conservative span edits. Some of the baseline gap arises because responses include explanations, change language, or rewrite too broadly. For an editing interface that requires just the revised passage, these are genuine failures of instruction following. A reader interested specifically in whether a system can identify a grammar problem could ask a different question of such responses. The study measures the ability to return a usable revision in the benchmark’s expected form, with matched edits as the criterion.

The paraphrasing baseline reveals another limit. Copy receives substantial reference overlap because the reference can retain wording from the input. Conversely, a rewrite can change a great deal and score poorly against a particular reference. The paper gives both BLEU perspectives to make these patterns visible. The source-based comparison cannot tell whether altered words introduce an error, and the reference-based comparison cannot directly establish meaning preservation. The examples of lost details show why those questions remain important even where both overlap scores appear favorable.

The task-removal study isolates one change in the composition of Spivavtor-aya-101’s training mixture at a time. Removing a task also removes its instances and instructions. The experiment provides evidence for the usefulness of the removed supervision as a package. It leaves unresolved how much comes from the task’s target pairs, from the exposure to its particular prompts, or from the changed balance among the examples. There is also no reported matched comparison between the randomly varied verbalizers and a single fixed wording per task. The benchmark results therefore establish editing quality under the chosen instruction procedure, with the contribution of prompt variation still unmeasured.

Finally, the task definitions and examples set the scale at which the results apply. The coherence benchmarks involve localized relationships, and the source and output lengths used in training are bounded. A system that can improve a connection between adjacent sentences has demonstrated a specific skill. Maintaining coherence across a long document, carrying consistent decisions across repeated revisions, and preserving a writer’s intended emphasis throughout a larger passage are further questions. The published examples and scores locate the contribution at the level of the Ukrainian text edits the authors evaluated.

What came after

No later citing work is documented here. The paper’s contribution available for follow-up is Spivavtor-Instruct and the released Ukrainian editing systems. The authors identify native Ukrainian editing data and human judgments of proposed revisions as directions for further research.

Cite

Cite as Aman Saini, Artem Chernodub, Vipul Raheja and Vivek Kulkarni. 2024. Aman Saini; Artem Chernodub; Vipul Raheja; Vivek Kulkarni. Spivavtor: An Instruction Tuned Ukrainian Text Editing Model // UNLP 2024 @ LREC-COLING. UNLP 2024 @ LREC-COLING.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{saini2024aman,
  title = {{Aman Saini; Artem Chernodub; Vipul Raheja; Vivek Kulkarni. Spivavtor: An Instruction Tuned Ukrainian Text Editing Model // UNLP 2024 @ LREC-COLING}},
  author = {Aman Saini, Artem Chernodub, Vipul Raheja and Vivek Kulkarni},
  booktitle = {UNLP 2024 @ LREC-COLING},
  year = {2024},
  url = {https://aclanthology.org/2024.unlp-1.12/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/saini-2024-spivavtor/