← Latest papers
💬 NLP

How Far Can Prompting Go for Minimal-Edit Ukrainian Grammatical Error Correction?

This paper demonstrates that strategically prompting commercial and open-source LLMs with Ukrainian-specific minimal-edit instructions and few-shot examples can achieve near state-of-the-art performance in Ukrainian grammatical error correction, closing over 90% of the gap to fine-tuned models while revealing specific linguistic overcorrection patterns.

Original authors: Kateryna Karpo, Artem Chernodub

Published 2026-06-09
📖 4 min read☕ Coffee break read

Original authors: Kateryna Karpo, Artem Chernodub

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a friend who is learning to write perfect Ukrainian. You want to help them fix their mistakes, but you have a very specific rule: you can only fix the actual errors. You cannot rewrite their sentences to sound "fancier," change their word choices, or improve their style. You just want to fix the typos, the missing commas, and the wrong grammar, leaving their unique voice exactly as it is.

This paper is about teaching powerful AI "brains" (Large Language Models) to follow that strict rule without needing to be retrained from scratch.

Here is the story of their experiment, explained simply:

The Problem: The Over-enthusiastic Editor

The researchers tried using famous AI models (like those from Google, OpenAI, and Anthropic) to fix Ukrainian text.

  • The Issue: When they just asked the AI, "Fix this sentence," the AI acted like an over-enthusiastic editor. It didn't just fix the typos; it rewrote the whole sentence, swapped words for synonyms, and changed the style.
  • The Result: Because the AI changed things that weren't actually broken, it got a low score. It was "correcting" things that didn't need fixing.

The Solution: The "Minimal-Edit" Rulebook

The researchers realized that to get the AI to behave, they needed to give it a very specific, detailed instruction manual written in Ukrainian. They called this the "Minimal-Edits" strategy.

Think of it like giving a robot a strict recipe:

  1. The Rule: "Only fix obvious mistakes like spelling and punctuation."
  2. The Ban: "Do NOT change the author's words. Do NOT use synonyms. Do NOT rewrite the sentence."
  3. The Specifics: They included tiny, language-specific rules, like "Use a long dash (—) for dialogue, not a short hyphen (-)" or "Change the name 'Nastya' to 'Naste' when talking directly to her."

The Experiment: Testing the Rules

They tested 11 different commercial AI models and one open-source Ukrainian model. They tried four different ways of asking the AI to work:

  1. Zero-shot: Just a simple command ("Fix this").
  2. Few-shot: A simple command plus a few examples of correct fixes.
  3. Minimal-Edits (Zero-shot): The strict rulebook, but no examples.
  4. Minimal-Edits (Few-shot): The strict rulebook plus examples.

The Big Discovery:
The "Minimal-Edits" instructions were the magic key. Even without examples, telling the AI exactly what not to do (in Ukrainian) stopped it from rewriting the text. When they combined the strict rules with a few examples, the AI became incredibly accurate.

The "Coach" (AI-Assisted Optimization)

The researchers didn't stop there. They used one AI to act as a "coach" for the prompts.

  • The coach looked at where the AI made mistakes.
  • It then tweaked the instruction manual to say, "Hey, stop doing this specific thing."
  • It did this over and over until the instructions were perfect.

The Results: Closing the Gap

Before this study, the best AI could only get about 27 points out of 100 on this specific test (using an older model). The best human-tuned AI (which requires expensive computer hardware) got 73 points.

By using these clever prompts and the "coach" method, the researchers got a commercial AI (Gemini 3.1-Pro) to score 69 points.

  • What this means: They closed 90% of the gap between a cheap, easy-to-use AI and the expensive, super-computer-trained AI, just by changing how they asked the question.

The Catch: The "Too-Cautious" AI

There was one downside. The strict rules worked so well that the AI became too careful.

  • It stopped making mistakes on punctuation and grammar (great!).
  • But it also stopped fixing some rare, tricky grammar errors because it was afraid to touch them (bad!).
  • It's like a guard who stops letting in bad people, but accidentally stops letting in some good people too because they look suspicious.

Summary

The paper shows that you don't always need to build a custom, expensive AI to fix Ukrainian grammar perfectly. If you give a standard, powerful AI a very detailed, language-specific set of rules (written in Ukrainian) and a few examples, it can perform almost as well as the best specialized systems. The secret isn't a bigger brain; it's a better instruction manual.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →