---
title: "Bulgarian Grammar Error Correction with Data Augmentation and"
description: "How a Bulgarian grammar correction study generated training examples, adapted mT5, and tested its corrections against prompted systems."
canonical: "https://research.elamur.ai/free/en/papers/klouchek-2024-bulgarian-grammar-error-correction-data/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/klouchek-2024-bulgarian-grammar-error-correction-data/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Bulgarian Grammar Error Correction with Data Augmentation and Machine Translation Techniques

# Bulgarian Grammar Error Correction with Data Augmentation and Machine Translation Techniques

Paper · 2024 · Bozhidar Klouchek and Riza Batista-Navarro

**Authors:** Bozhidar Klouchek and [Riza Batista-Navarro](https://md.research.elamur.ai/free/en/authors/riza-batista-navarro/) · **Year:** 2024 · **Venue:** Proceedings of the 7th International Conference on Natural Language and Speech Processing (ICNLSP 2024) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Proceedings of the 7th International Conference on Natural Language and Speech Processing (ICNLSP 2024)](https://aclanthology.org/volumes/2024.icnlsp-1/) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.icnlsp-1.38/)
- [PDF](https://aclanthology.org/2024.icnlsp-1.38.pdf)

## Summary

A Bulgarian sentence can contain a grammatical error even when every word is spelled correctly. A noun may carry an ending suited to a different role in the sentence, or a pronoun may have the right meaning but the wrong form. An automatic editor needs examples that show which form belongs in which context. Klouchek and Batista-Navarro tackle a shortage of those examples by generating mistakes from existing Bulgarian text. They then train a system to reverse selected changes and evaluate it both against reference answers and with native speakers. The study concerns [grammatical error correction](https://md.research.elamur.ai/free/en/topics/grammatical-error-correction/).

The authors release a machine-readable dictionary with 1,147,600 entries, a spelling collection with 23,719 sentence pairs, and a grammar collection with 7588 pairs. The dictionary includes inflected forms and distinguishes identical spellings that belong to different parts of speech. To produce the paired data, the authors start with sentences presumed to be correct and alter them according to rules. The spelling rules draw in part on Bulgarian pronunciation. The grammar rules change forms such as noun endings, pronouns, verb suffixes, and adjectives. The unaltered sentence supplies the reference correction for each generated example.

The correction experiment uses 3090 pairs involving article and pronoun misuse. The authors adapt multilingual T5, or mT5, to take a Bulgarian sentence containing an induced error and return the corrected Bulgarian sentence. This is a same-language application of [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). On the 309-pair test split, the adapted system reaches an F₀.₅ score of 68.18%. This score gives more weight to the precision of the edits than to the share of reference errors recovered. The system exceeds gpt3.5-turbo and BgGPT on both measures under the tested prompting conditions. The authors observe that the prompted systems sometimes rewrite already acceptable text, which can lower their precision even when the result reads fluently.

In a survey completed by 67 native Bulgarian speakers, mT5 is also the most preferred system on the selected items, where all the candidate corrections differ. The numerical and human judgments therefore favor the same system under their respective test conditions. The evidence covers a specific kind of editing: recovering article and pronoun forms in sentences drawn from the authors’ augmentation pipeline. The released resources cover more kinds of errors than the correction experiment evaluates.

## Deep dive: Bulgarian Grammar Error Correction with Data Augmentation and Machine Translation Techniques

How a Bulgarian grammar correction study generated training examples, adapted mT5, and tested its corrections against prompted systems. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### The right word can have the wrong ending

The unit an automatic editor must judge is often larger than the word it needs to change. Consider the distinction between recognizing a noun as a Bulgarian word and deciding whether its ending fits a particular sentence. A dictionary can help with recognition. The decision about the ending can depend on the noun’s grammatical role. A pronoun presents a similar problem when its form encodes whether it serves as a subject or an object. A word lookup can accept both forms while leaving the grammatical question entirely open.

Bulgarian [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/) is central to the paper’s motivation. Inflection gives a word different surface forms for properties such as gender, number, definiteness, or tense. The authors illustrate the extent of this variation with the verb *доближавам*, which they gloss as “approach” and report as having 51 forms. An editor has to accommodate that variation before it can judge whether the writer chose a suitable form. A form that is unusual in a particular sentence may be familiar and useful elsewhere.

This division matters when defining an editing task. A spelling example can ask the system to restore a letter that disappeared or to undo a substitution suggested by pronunciation. A grammatical example can ask it to choose between forms that a dictionary might already recognize. Even the spelling collection includes errors whose altered form is a different real word. The collections therefore address related problems with overlapping demands on context. Treating every error as a failed dictionary lookup would miss cases from both collections.

The paper frames the need for these resources in terms of Bulgarian literacy. It cites a literacy rate of 98.7% for Bulgaria as of 2011 and separately points to an international assessment in which young Bulgarian students scored below the participating-country average. These observations serve different purposes. The literacy rate describes a population-level measure, while the assessment concerns student performance on a different measure. The paper uses them to motivate better resources for working with written Bulgarian. Its own experiments ask whether a correction system can repair selected errors, with no assessment of teaching outcomes.

#### What existing Bulgarian resources could provide

The authors describe a substantial history of Bulgarian corpus development. BulTreeBank, developed at the Bulgarian Academy of Sciences, provided a large-scale effort to organize linguistic material. The CLaRK system supported corpus construction through operations such as [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) and dependency extraction. A part-of-speech tag identifies a word’s grammatical category. A detailed tag can also encode properties of the particular form. Both kinds of information matter here because the authors need to find words that can undergo a specified change.

Earlier resources also included corpora for areas such as law and medicine and collections built from speech. The paper distinguishes these resources from sentence pairs designed for correction. A corpus can give a researcher many examples of Bulgarian usage, and a tagged corpus can make it easier to find particular constructions. To train from paired revisions, the researcher additionally needs an erroneous sentence and a corresponding correction. The authors identify the shortage of publicly accessible examples of this kind as a particular obstacle.

A separate obstacle concerns how a dictionary can be used in software. The Institute for Bulgarian Language’s online dictionary offered an official word collection, which the authors describe as centered on base forms. A [lemma](https://md.research.elamur.ai/free/en/concepts/lemma/) is the form under which a word is listed, rather than each form in which it occurs in a sentence. The authors also identify weaknesses in the official resource’s recognition of words of other etymological origins and in access to the whole collection for bulk use. An editor that checks tokens directly benefits from entries for the forms people actually write and from access to those entries as data.

The paper discusses earlier Bulgarian work on detecting noun–adjective disagreement, using grammar-based methods for error checking, and correcting noisy spelling. It notes that the cited spelling investigation relied on historical newspaper material. That material gave researchers Bulgarian text to work with, but its source differs from the contemporary communication that motivates this study. At the time of writing, the authors had found no prior machine translation approach to Bulgarian grammar correction. Their proposal draws on existing Bulgarian linguistic tools while changing how the correction task is framed.

#### How researchers had obtained correction pairs

The related work distinguishes examples collected from people from examples made by altering existing text. A learner corpus can preserve the errors that people actually make, and manual [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) can supply corrections. The authors point to work using learner material for English and Chinese, as well as correction resources in languages such as German. This route depends on having access to suitable writing and a way to annotate it. The Bulgarian project begins from the authors’ assessment that publicly accessible learner data is scarce.

Data augmentation offers a different starting point. It creates additional examples by transforming existing material. One route discussed in the paper is round-trip translation, where a sentence travels through another language and back and the resulting version can contain errors. Another route deliberately changes a selected part of a sentence according to a rule. The authors adopt direct changes. Consequently, they can record the type of disturbance they introduced and retain the original sentence as the reference.

These approaches answer different questions about the source of an error. A learner corpus demonstrates that somebody actually wrote a particular form in context. Direct augmentation demonstrates that an explicitly defined operation can produce an example of the intended kind, given a suitable original. The second approach lets the researchers build pairs from sources that were collected for other purposes. Its relationship to authentic writing then depends on the rules and on the text to which they are applied. The authors cite prior work that motivates augmentation in settings with limited data. [Low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/)

#### Why correction can be treated as translation

In the approach the authors adopt, a flawed Bulgarian sentence is the source and the revised Bulgarian sentence is the target. Many words may be identical across the pair. The analogy to translation lies in the mapping from one sequence to another. This formulation lets the correction depend on the surrounding sentence, and the output is immediately usable as revised text.

The paper traces this framing to statistical machine translation. In that approach, the correction system assigns probabilities to candidate target sequences given the erroneous source. The authors cite an early application that focused on noun errors in English. Keeping the whole sequence in view lets the system consider how a replacement fits its context and use estimates of fluency in selecting an output. [Correcting ESL Errors Using Phrasal SMT Techniques](https://md.research.elamur.ai/free/en/papers/brockett-2006-correcting-esl-errors-phrasal-smt/)

Neural machine translation keeps the source-to-target framing and uses a neural network to generate the target. The paper identifies the work of Yuan and Briscoe as the first use of this approach for grammatical error correction and discusses later uses of recurrent, convolutional, and transformer architectures. The authors present generalization to previously unseen errors as a motivation for neural methods, citing earlier research. That motivation is broader than what they set out to verify on their Bulgarian test. [Grammatical Error Correction Using Neural Machine Translation](https://md.research.elamur.ai/free/en/papers/yuan-2016-grammatical-error-correction-neural-machine/)

For a highly inflected language, the paper also draws on work that connects translation-based correction with the need for substantial training data. The Russian study in the related work provides a precedent for treating rich inflection as a consideration in the design of a correction system. The authors’ response is to use linguistic descriptions of Bulgarian to generate supervision, then adapt a multilingual system with that supervision. They also cite prior work on Ukrainian correction as part of their rationale for choosing mT5. [Grammar Error Correction in Morphologically Rich Languages: The Case of Russian](https://md.research.elamur.ai/free/en/papers/rozovskaya-2019-grammar-error-correction-morphologically-rich/)

### The method, step by step

#### Start with a sentence whose intended form is available

A conventional collection of corrections might start with a mistake and ask an annotator what the writer intended. The authors start at the other end. They take a sentence from an existing source and regard it as the intended finished sentence. They find a word that can be changed by a spelling or grammar rule, then store the altered version alongside the original. When the pair is used for correction, the altered version goes in and the original is the target.

This direction has a practical consequence. The program that generates an error already knows the text it changed, so it can supply a reference without asking someone to reconstruct the intended wording. For example, a sentence can keep its verb, other words, and punctuation while the article ending on a masculine noun changes. The pairing makes the scope of the intended repair explicit. The usefulness of the pair depends on the source being acceptable and on the change creating the intended error in that particular context.

The project produces a dictionary alongside the paired collections. The dictionary is organized around individual word forms. The two collections instead preserve sentence context and label pairs by the kind of change used to create them. Only a filtered part of the grammar collection goes into the correction experiment. The flow below follows that branch from source documents to evaluation.

From Bulgarian source text to evaluated grammar corrections The steps in order.

#### Build a dictionary around forms that occur in text

The authors merge entries from the open Bulgarian collections Slovored and Rechnik. An entry in the resulting dictionary consists of a single written form and its grammatical category. The written form can be the base word or an inflection. This choice gives a token-based application a direct way to look up a surface form, such as a verb form that a person actually typed, without first having to recover the corresponding lemma.

Some entries in the contributing dictionaries contain several words. Bulgarian verb expressions, for instance, can combine forms of a verb with particles or auxiliaries. The paper uses *ям*, meaning “eat,” and its form *ял* to illustrate that a form can occur within several longer expressions. The authors split multiword entries into their components and keep unique character sequences as individual forms. A recurring component can then be recognized without storing every phrase in which it occurred. This is a choice about the lookup unit. The dictionary provides evidence about individual spellings, while a sentence-level check still needs to judge how forms combine.

The dictionary retains grammatical labels inherited from the source collections. For this resource, the authors simplify the BulTreeBank-style labels to 11 categories, expressed with single capital letters. An adjective can therefore be stored with the same broad tag across several detailed inflections. The fine distinctions are less important for a dictionary whose first job is to recognize individual forms. The grammar-generation procedure has a different need and uses more detailed tags there.

Keeping the broad categories still matters. The Bulgarian form *син* can be an adjective meaning “blue” or a noun meaning “son.” The dictionary includes these readings separately, using their different category tags. A lookup can thus preserve evidence that the same spelling belongs to more than one grammatical category. Choosing the intended reading in a particular sentence remains a contextual problem. The machine-readable entry gives an application a way to represent both possibilities.

The dictionary’s design makes its contribution distinct from that of the trained corrector. A lookup system can use the dictionary’s vocabulary independently of the sentence-pair data. A grammatical corrector learns from source and target sentences, where the same dictionary-valid form may be appropriate under one reading and erroneous under another. The paper releases the dictionary and the correction data as resources in their own right. [Word form](https://md.research.elamur.ai/free/en/concepts/word-form/)

#### Define which changes a sentence can support

The common augmentation procedure takes a collection of original sentences and a collection of error types. The type is a rule with prerequisites. A rule for deleting one of a doubled consonant needs a word with the specified doubled letters. A rule for replacing a pronoun needs a candidate from the appropriate group of forms. A sentence can supply opportunities for several types, and some types may have no eligible word in that sentence.

The paper represents an output item as a tuple. The notation below records the fields and the membership relations given for that item.

```
(c, e, t) ∈ P, with c ∈ C and t ∈ T
```

The parentheses enclose the components of the tuple, and the commas separate them. The symbol `c` stands for the original sentence and `e` for its erroneous counterpart. The symbol `t` names the error type used to generate `e`. The collection `C` contains original sentences, and `T` contains the available error types. The collection `P` contains the unique output tuples. The sign `∈` reads as “belongs to.” The final relations say that the original comes from the input sentences and the type comes from the input catalog.

Retaining the error type is useful even though a correction system ultimately needs to produce words. Researchers can select a subset that fits the phenomenon they wish to investigate and understand the reason behind the generation of any particular input. The article and pronoun experiment depends on that filtering. The label describes the operation used for augmentation. It is not a survey of every issue in the original, whose correctness is assumed.

Uniqueness is specified at the level of the tuple. This lets the dataset represent different changes associated with an original sentence while avoiding repeated copies of the same labeled pair. The distinction also matters later when interpreting a split of the pairs. Distinct tuples can in principle share an original. Knowing that an output collection contains unique tuples leaves open the question of whether examples related through the same original were split together.

#### Generate spelling pairs from written Bulgarian

The spelling dataset starts from 28 Bulgarian Wikipedia articles. A Bulgarian preprocessing pipeline implemented in spaCy segments the articles into sentences, splits them into [tokens](https://md.research.elamur.ai/free/en/concepts/tokenization/), and assigns grammatical categories. The authors keep sentences of at least three words that contain a verb. The filters are intended to remove short or noisy candidates, and 5817 sentences remain available for spelling augmentation. Each output pair contains the original and a version with 1-3 changes from the same spelling class.

Several classes reflect patterns in how words sound. For unstressed vowels, the authors substitute the corresponding vowel from a pair. The rule requires information about stress because its target is a vowel in an unstressed position. For neighboring consonants whose voicing differs, they alter the earlier consonant to match the voicing of the following one. The direction of that change is part of the rule. The word-final rule instead looks for a voiced consonant at the end of a word and replaces it with its voiceless partner. The paper illustrates this last operation with *масив* becoming *масиф*.

Other rules change the consonant letters themselves by deletion. Where *т* or *н* is doubled, the double-consonant rule removes a copy. The cluster rule targets specified sequences in which *т* or *д* can be omitted in the generated spelling. For example, the paper changes *местно* to *месно*. The formal distinction between the rules is their condition for eligibility. A doubled letter qualifies under one condition, while a listed cluster qualifies under the other.

The remaining classes broaden what the collection treats as a spelling problem. A random-character perturbation represents a less linguistically structured disturbance. The real-word class allows a character replacement, deletion, insertion, or swap that lands on another correctly spelled word. The paper’s example changes *което*, glossed as “which,” into *котето*, glossed as “kitten.” At the character level the strings are similar. At the sentence level the substitution can change meaning, and the altered word can pass an isolated lookup.

Together these rules yield 23,719 labeled spelling pairs across 7 classes. The class labels identify the operation even when several sites in the sentence were changed. The article presents the collection as a resource for spelling research and evaluation. The grammar correction experiment does not use the spelling pairs for training, so it does not test whether learning to reverse changes such as final devoicing would improve the reported grammar corrections.

#### Generate grammar pairs by changing inflection

For the grammar collection, the starting texts combine the same 28 Bulgarian Wikipedia articles with 959,112 Bulgarian documents from OSCAR. Wikipedia supplies material the authors consider suitable in quality. They add OSCAR because Wikipedia alone offers less variation in writing style and, in their account, yields too many similar induced examples. They also note that the open web material in OSCAR may be less reliable grammatically. Bringing in another source therefore changes both the variety of eligible contexts and the strength of the assumption that the original is correct.

The authors apply sentence segmentation, tokenization, and grammatical tagging, with the same length and verb criteria used to retain sentences. They use the Bulgarian CLaRK tagging component through Mate Tools. For grammar augmentation, a label such as “noun” or “pronoun” is only the beginning. The procedure needs to know which inflected form occurs, so that it can identify a source tag and select a different form with the intended target tag. These are detailed BulTreeBank tags, in contrast to the single-letter categories retained in the dictionary.

For article misuse, the authors pair tags corresponding to the masculine noun forms they want to interchange. The tag group contains `Ncmsf` and `Ncmsh`, and the rule can go in either direction. Thus a source example can be made erroneous by moving from the first tagged form to the second, or from the second to the first, depending on the form found in the original. The generated contrast concerns the noun ending. The rest of the sentence provides the context in which the original ending is the intended one.

The sentence about Emanuela sitting on the chair illustrates the correction direction. The generated sentence uses *столът*, where the original has *стола*. The noun occurs in the phrase for what Emanuela sat on. The correction restores the original form at that position and leaves the rest of the sentence in place. The authors give the same English translation for both versions. The task is to recover the Bulgarian grammatical form within that meaning.

Pronoun changes cover distinctions such as subject versus object form and variation in grammatical gender or number. A swap between *който* and *когото* illustrates the former kind of distinction. The change from *чиито* to *чийто* is an example involving a different inflectional property. The authors arrange the relevant tags into groups and create mappings within each group. Group membership restricts the forms that can be interchanged. The paper reports 16 directed mappings for pronouns, distributed across its groups as 2, 2, and 12.

Noun–adjective disagreement is generated by changing an adjective in a noun–adjective pair. An altered adjective can have a gender or number that conflicts with the noun. The paper illustrates the change with *красива* becoming *красив*. What makes the result an example of disagreement is the relationship between the two words in the sentence. A list of possible adjective forms can provide the replacement, but judging the altered adjective requires attention to the noun it describes.

The verb-suffix rule uses the tag in a different way. It identifies a verb in the first-person plural with an ending in *м*, then appends *е*. The example is *ядем* becoming *ядеме*. The tag `V-1p` identifies candidates for a suffix operation, with no need to construct a mapping between different tags. This shows how the authors combine morphological selection with a direct change to the written token.

The completed grammar collection contains 7588 pairs, each with one induced change. The error labels distinguish article misuse, pronoun misuse, an incorrect verb suffix, and noun–adjective disagreement. The prevalence of relevant tags in the starting material affects the resulting class distribution. A rule can generate examples only where its prerequisites occur. The authors’ decision to broaden the source text is consequently tied to the kinds of examples the rules can find.

#### Narrow the task before training

The authors select article and pronoun misuse for the correction experiment because they regard these as especially prevalent in written Bulgarian. The type filter leaves 3297 pairs. The authors then impose a 300-character limit on both members of each pair, treating longer sentences as anomalous for this task. After filtering, 3090 pairs remain. They assign 72% to training, 18% to validation, and 10% to testing. The validation data guide the choice of training settings, and the test pairs supply the comparison with the prompted systems.

This procedure fixes the scope of the transformation the system is taught. It sees source sentences containing the selected grammatical changes, and its target is the corresponding original Bulgarian sentence. The grammar collection therefore has a broader purpose than this particular training run. Verb-suffix and agreement pairs are available in the release, while the trained system’s evaluation concerns the selected classes after the length cutoff.

The content of the training pairs gives a specific sense to “correction.” In the Emanuela example, the intended action is to keep the sentence and restore the noun form. A rewriting system could express the same event with a new phrase, but the training target preserves the existing phrase and the rest of the wording. Repetition of this pattern across examples provides a reason to expect conservative editing. Whether the system follows the pattern at test time is an empirical question.

#### Adapt mT5 to produce the corrected sequence

The authors begin with mT5-base, a multilingual extension of T5 available from Hugging Face. T5 provides a text-to-text formulation, where the input and expected output of a task are both written sequences. The original T5 work described in the paper concerns English, while mT5 supports multilingual text. For this experiment, source and target are both Bulgarian. [Exploring the Limits of Transfer Learning with T5](https://md.research.elamur.ai/free/en/papers/raffel-2019-exploring-limits-transfer-learning-unified/) · [mT5](https://md.research.elamur.ai/free/en/papers/xue-2021-mt5-massively-multilingual-pre-trained/)

An encoder–decoder [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) divides the work between reading the source and generating the output. The encoder processes the input sequence. The decoder uses the encoded input as it generates the target text. This setup can use sentence context in deciding on a form, and it returns a full sentence for comparison with the reference. The task-specific training consists of showing the system erroneous inputs together with their intended originals. The term for adapting a pretrained system with such examples is [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/).

The distinction from the augmentation procedure is important. The rules generate training examples by applying defined changes to sentences presumed correct. The trained corrector receives an erroneous sentence and generates a revised one. The paper describes adaptation on sentence pairs, with no separate step in which the corrector is handed the augmentation label or asked to invert a particular tag mapping during evaluation. The labels make the dataset selectable and interpretable, while the sentences themselves carry the information needed for correction.

The statistical translation expression given in the paper clarifies what the source-to-target framing means. It appears in the discussion of earlier statistical approaches, which choose the corrected sequence that maximizes the following conditional probability.

```
p(c₁, c₂, …, cₙ | e₁, e₂, …, eₘ)
```

Here `p` denotes probability, and the vertical bar means “given.” The `c` symbols on the left are elements of a candidate corrected sequence, and the `e` symbols on the right are elements of the observed erroneous sequence. Subscripts identify positions, starting with the first element. The ellipses stand for intervening elements. The symbol `n` gives the length of the correction and `m` the length of the input. The expression allows the lengths to differ. Its role is to state the earlier statistical objective. The paper describes its own neural training through the mapping from erroneous source to corrected target.

#### Select the training settings on validation data

The authors search combinations of weight decay, learning rate, and training batch size. Weight decay regulates the learned weights during training. The learning rate sets the scale of the parameter updates. Batch size specifies how many training examples are grouped together for an update. The authors compare weight decay values of 0.1, 0.01, and 0.001, learning rates of 0.00002, 0.0002, and 0.002, and batch sizes of 4 and 8.

The grid consists of 18 combinations. The authors run each combination for 16 epochs, with an epoch representing a pass through the training data. They repeat the procedure three times and average the results. The comparison uses validation loss, a measure of how well the system predicts targets on the data reserved for assessing training choices. Lower loss is the criterion they use for choosing among these runs.

The authors follow up the grid search by examining the two lower learning rates more closely. The final configuration uses a learning rate of 0.0002, weight decay of 0.01, and a batch size of 8. They choose to run the final training for 4 epochs based on the lowest validation loss. The larger epoch count belongs to the search procedure. Keeping those roles distinct makes it possible to reproduce the reported choice of settings from the training description. The authors make the trained mT5 system, dictionary, and both paired collections publicly available through Hugging Face.

### Experiments and results

#### Dictionary coverage asks whether a form can be found

The authors assess dictionary coverage by sampling 20,000 entries from their new collection and checking whether the entries appear in the official Institute for Bulgarian Language dictionary. Of the sampled entries, 1292 are present in that dictionary. The paper reports 93.51% as the share missing from it and says that most of the missing items are inflected forms. This is the type of difference the authors expected from a resource organized around surface forms compared with one centered on lemmas.

The direction of the sample determines what the result means. It gives the overlap with the official dictionary for a sample taken from the new one. It does not measure the share of all forms in naturally occurring Bulgarian that either dictionary recognizes. It also does not test whether every additional sampled form is valid. The result explains why including inflection can change what a token-based application finds when it looks up entries drawn from the new collection.

#### The correction comparison asks which edits match the reference

The quantitative evaluation uses 309 held-out article and pronoun sentence pairs. The erroneous side of each pair is the input, and the original sentence is the gold reference, meaning the text used as the expected answer. The comparison includes the adapted mT5 system, gpt3.5-turbo, and BgGPT. The authors describe BgGPT as an adaptation of Mistral. Both prompted alternatives use decoder-only generation. The authors say they could not find suitable encoder–decoder alternatives that handle Bulgarian for this comparison.

The prompted systems receive the erroneous sentence and an instruction, with no worked training examples in the prompt. The paper calls this zero-shot prompting. The first prompt asks directly for the mistake to be corrected. The second asks for a rewritten sentence with any mistakes fixed. Both prompts are tested with both alternatives. Each input is submitted three times under the prompting procedure, and the authors average the metric results to account for variation across generated answers.

The test compares systems as configured for the task. The adapted mT5 has been trained on examples from the same augmentation procedure as the test pairs. The prompted alternatives receive task instructions at evaluation time. The measured difference therefore incorporates training access, how the task is presented, and the systems’ underlying behavior. That setting is informative for the authors’ practical question of whether their specialized system can beat the two prompted alternatives on their benchmark.

To score a correction, the authors compare token changes with the expected repairs. A true positive is the replacement of an erroneous token with the reference form. A false positive is an incorrect change to a token that was already correct. A false negative is an erroneous token left as it was. A replacement of an erroneous form with a form other than the reference counts in both error categories, because the output makes a change that does not match the reference and misses the expected correction.

Precision describes how frequently the edits made are correct under this procedure. Recall describes how frequently the expected repairs are recovered. A system can attain relatively high recall by making many edits, while losing precision if those edits extend to text that the reference preserves. A system that changes very little will have fewer opportunities to make unwarranted changes, but it will miss expected repairs whenever it leaves an error in place.

The paper combines precision and recall using an F-score with the following setting.

```
β = 0.5
```

The Greek letter `β` denotes the parameter that controls the relative emphasis on precision and recall. The equals sign assigns it the value `0.5`. The paper calls the result the F₀.₅ score. In this setting, precision receives more weight than recall. This matches the deliberate scope of the training pairs, where an already suitable part of a sentence should survive the correction. The authors connect the choice to the practice of the CoNLL-2014 shared task.

F₀.₅ scores on the Bulgarian article and pronoun test split Fine-tuned mT5 scored higher than either prompted system under both instructions.

**The numbers**

| System or setting | F₀.₅ % |
| --- | --- |
| gpt3.5-turbo, prompt 1 | 39.34 |
| BgGPT, prompt 1 | 35.03 |
| gpt3.5-turbo, prompt 2 | 40.74 |
| BgGPT, prompt 2 | 32.33 |
| Fine-tuned mT5 (this paper) | 68.18 |

#### Where the score advantage comes from

The adapted mT5 reaches precision of 68.12 and recall of 68.61 on the test pairs. Under the first prompt, gpt3.5-turbo has precision of 37.51 and recall of 60.52, while BgGPT has precision of 33.07 and recall of 59.87. Under the second prompt, gpt3.5-turbo has precision of 38.62 and recall of 66.02. BgGPT has precision of 30.18 and recall of 62.33 under that instruction. The contrast is most pronounced in precision. The prompted systems recover many of the expected forms, but their edits correspond less consistently to the reference.

For mT5, the paper reports 95% confidence intervals with margins of ± 5.20 for precision, ± 5.17 for recall, and ± 5.19 for F₀.₅. For the highest F₀.₅ result among the prompted runs, gpt3.5-turbo under the second prompt, the reported margin is ± 5.48. These intervals accompany the scores for the benchmark. They concern the tested examples and evaluation procedure, rather than performance on a new source of Bulgarian errors.

The authors observe that the prompted systems sometimes reword text while making a correction. A fluent rewording can still change tokens the reference preserves. This matters in practice because a rewrite can alter shades of meaning, and it matters in the scoring procedure because the task rewards a particular repair. The quantitative result establishes that the specialized system’s edits more frequently satisfy that procedure. The paper discusses rewording as an explanation for lower precision and turns to human readers for a separate comparison of the outputs.

#### Native speakers compare outputs that differ

The survey asks a different question from token scoring. It assesses the relative appeal of the corrected sentences to native Bulgarian readers, with correctness, readability, and understandability as the stated concerns. The authors start with 309 triplets made from the outputs for the test sentences, using the first prompt condition for the comparison. They use only triplets in which all the candidate predictions differ. The survey presents 13 questions, with 8 involving article misuse followed by 5 involving pronoun misuse.

A triplet allows readers to compare outputs for the same input. This holds the source sentence constant across the candidates even when they differ in how much they rewrite. A ranking can express preference for an answer that reads better even when token overlap alone would not capture that difference. The paper converts rankings to pairwise preferences, so the outcome can be analyzed as comparisons between systems.

The survey was completed by 67 native Bulgarian speakers recruited through Bulgarian social media groups and AI communities. The paper reports 2613 pairwise comparisons. Its results narrative assigns the highest preference count, 963, to mT5. It reports preferences for mT5 of 57% against gpt3.5-turbo and 53% against BgGPT. These percentages concern contests against the respective alternatives on the chosen survey material. They are not scores for the grammatical accuracy of all mT5 outputs.

The authors also use a Bradley–Terry analysis inspired by Chatbot Arena. This approach summarizes repeated pairwise preferences with a score for each system, reflecting how likely one candidate is to be preferred to another in a comparison. The paper reports that the resulting scores favor mT5 with a statistically significant difference. The statistical result concerns the survey rankings, while the F₀.₅ result concerns agreement with the reference edits. [Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena](https://md.research.elamur.ai/free/en/papers/zheng-2023-judging-llm-judge-mt-bench/)

There is a reporting ambiguity in the pairwise results. The appendix caption describes rows as winners, but reading its counts in that direction conflicts with the mT5 advantage described in the main survey discussion. The preference figures above follow the authors’ narrative and the results they attribute to the survey figures. The appendix caption and the main account give incompatible readings of the direction of the counts.

### What the ablations show

The paper reports no formal ablation that removes a component of the correction pipeline and retrains it. It does report controlled comparisons of training settings and prompt wording, and it analyzes differences in editing behavior. These comparisons help explain the final configuration and the measured advantage. They address narrower questions than a component-by-component test of the whole method.

#### Training settings affect validation loss

The grid search varies learning rate, weight decay, and batch size together across the defined combinations. The authors identify 0.002 as the learning rate associated with poorer validation performance. They then compare runs using 0.0002 and 0.00002 and select 0.0002. The choice is supported by how the runs behave on validation loss. It shows that the way the pretrained system is adapted matters even when the training data and task description stay the same.

The epoch comparison concerns when to stop training. The authors explore runs lasting 16 epochs during the search and select 4 epochs for the final configuration because they observe the lowest validation loss at that point. The additional training passes in the longer exploration gave them a way to see how loss behaved after that point. These experiments establish a practical setting for the reported runs. The paper does not provide a test-split correction score for every competing setting, so the validation findings do not say how large the final F₀.₅ advantage would be under another configuration.

The evidence for the chosen rate and stopping point also has a different role from evidence about the rules that created the data. Varying the learning rate keeps the idea of training on synthesized pairs in place. The comparison can identify a more effective adaptation setting among the candidates, while the question of whether a particular augmentation source or rule is responsible for the improvement would require a different comparison.

#### Prompt wording affects the alternatives differently

For each prompted system, the comparison of instructions holds the test inputs and evaluation measures fixed. The paper’s second prompt, which asks for a rewrite that fixes mistakes, raises gpt3.5-turbo’s precision, recall, and F₀.₅ relative to its first prompt. BgGPT’s recall also rises under the second prompt, while its precision and F₀.₅ fall. The same wording change thus alters the balance of edits differently across the two systems.

This is consequential because a precision-weighted score can decline even as more of the expected errors are repaired. The BgGPT results show that combination directly. The prompt comparison does not establish which words in the instructions produce the effect. It does establish that the benchmark ranking of prompt conditions depends on both the system and the metric. The specialized system retains the highest score under the tested alternatives.

Only the first prompt condition contributes to the survey. The survey therefore cannot tell whether Bulgarian readers would prefer outputs of the second prompt, including more expansive rewrites, on the same items. The numerical prompt comparison and the human survey each answer a question about a specified set of outputs. Reading them together preserves the distinction between sensitivity to instruction wording and preference among the candidates actually presented to readers.

#### The metric breakdown and survey reveal different aspects of correction

The precision and recall breakdown shows that mT5’s advantage comes mainly from getting its proposed changes right under the reference scoring. The authors’ observation of rewording suggests one way for the prompted systems to lose precision. They can recover the target form while also replacing acceptable wording. A score that measured only whether the target error was repaired would give an incomplete picture of that behavior.

The survey offers another view because the participants see alternative sentences and rank them. The mT5 preference reported there is consistent with the specialized system producing outputs readers favor when the choices differ. Since the ranking combines qualities such as correctness and readability, it does not establish which property drove a particular preference. The paper reports the ranking at the level of the system’s output, without an analysis attributing votes to individual changes.

The source collection comparison is more qualitative. The authors explain that adding OSCAR increases stylistic variety and allows a more balanced distribution of induced grammar errors. They describe how the frequency of the relevant tags affects that distribution. They do not report otherwise matched training runs using Wikipedia alone and Wikipedia with OSCAR. It is therefore possible to see why the authors added a source and how availability of candidate forms shapes the data, while leaving the effect of that source on correction scores open.

### Limitations

#### Limits the authors state

The authors explicitly identify their assumption about the starting text. The original sentences are treated as correct when errors are induced and references are assigned. Wikipedia is chosen as a practical source of reasonably good prose, and the authors consider OSCAR more variable in quality because it comes from open online material. The dictionary receives a coverage comparison, while the grammar and spelling pair-generation procedures rely on this assumption about their references. An original sentence that already contains an error can carry it into the expected answer.

The authors also limit what they expect the trained correction system to handle. Its task-specific training covers article and pronoun misuse. They describe good performance on other error types as unlikely in the current version. This caution applies even to the verb-suffix and adjective agreement classes for which the project makes data available. The spelling collection is independent of the correction experiment. The existence of released examples for a phenomenon and measured correction performance on that phenomenon are separate facts.

The authors further state that they did not train the system to generate accurate facts about people or events. The intended operation is revision of supplied language. A grammatical repair can be judged by the relationship between an input, its corrected form, and the relevant language convention. A claim about a person or event requires evidence of a different kind. The paper’s scores and ranking address sentence correction.

#### Limits visible in the evaluation setup

The test pairs come from the same generation strategy as the training pairs. This makes the evaluation well suited to asking whether the system can recover the intended originals under the chosen procedure. Authentic errors may differ in which forms people confuse, how frequently errors co-occur, and which surrounding constructions they use. A held-out synthetic pair establishes performance on an unseen pair of the benchmark, while the relationship to naturally written mistakes remains an open empirical question.

The benchmark vocabulary and contexts also depend on what the rules can find in the source materials. An error class can come from a sound linguistic observation without being sampled at its natural frequency. A detailed tag may be common in the chosen texts and produce many opportunities for one change. Another type may be less represented because the relevant source form occurs less often or is harder to identify. The paper uses those distributions to describe the generated dataset. It does not establish prevalence from a sample of authentic Bulgarian mistakes.

The filters further shape the claims. The pipeline retains only sentences that meet the length-in-words criterion and contain a verb. The training and test subset also excludes pairs in which a sentence exceeds 300 characters. These rules make for a more defined correction task, while leaving short fragments, longer sentences, and examples outside the selected error classes unevaluated. Since the generator adds one grammar error per sentence, success at repairing several interacting grammatical mistakes is also unmeasured.

The paper gives the percentages used to split the data and the size of the test set. It does not specify whether items that share an original sentence or come from the same document are grouped when splitting. The tuple description allows different generated pairs to share a source sentence. If related examples cross split boundaries, performance can be easier to obtain than on a test grouped by original sentence or document. The reported procedure leaves the degree of that relationship unknown. This is a limit on interpretation and does not establish that overlap occurred.

The reference-scoring procedure measures the exact intended recovery of a changed token. That is useful when the task is to undo a known artificial error. It can penalize an alternative revision that a reader finds acceptable and can count a wrong replacement against both precision and recall. The procedure also gives the expected repair only for the benchmark item as constructed. It does not certify the original sentence in all its details. The human survey supplements this with relative judgments, while its selected items cover only part of the benchmark.

The comparison with gpt3.5-turbo and BgGPT shows how the systems perform with different kinds of task preparation. The specialized system learns directly from examples of the two selected errors, while the alternatives receive instructions. The study does not include a suitable alternative encoder–decoder system trained on the same pairs, a prompted comparison supplied with worked examples, or a comparison that isolates what the base mT5 system gained from each training choice. The evidence supports the reported ranking of the tested configurations. It leaves the separate effects of architecture and task-specific supervision unresolved.

The survey’s exclusion of identical predictions is sensible for asking readers to choose among distinct outputs. It also conditions the preference result on cases where all candidates disagree. It offers no estimate of how often the systems agree across the test set or how an overall preference rate would look if agreement cases were included. The survey uses a small set of selected questions, places article questions before pronoun questions, and draws participants through the recruitment channels the authors describe. Its results concern those judgments rather than a representative estimate for all native Bulgarian readers.

Finally, the dictionary comparison establishes differences in coverage for a sample drawn from the authors’ collection. It does not validate the full set of entries or their grammatical tags, and it does not demonstrate spell-checking performance on previously unseen writing. This matters because a broad inventory can help recognize valid inflections but still admit a valid word used in the wrong context. The real-word spelling examples themselves illustrate that distinction. The dictionary and the paired datasets support different evaluations, and the paper reports a specific coverage check for one and a grammar correction experiment for a subset of the other.

### What came after

No subsequent citing study is documented. The paper itself identifies natural learner data and punctuation as directions for further work. A collection of naturally written errors could show which of the article, pronoun, agreement, and suffix changes occur in people’s writing, as well as reveal errors outside the pre-defined classes. Corrected versions of that writing could also provide an evaluation whose expected answers come from reviewing real text. The authors present this as future work.

Punctuation would extend the scope of the editing problem. The released grammar pairs focus on word forms, and the correction experiment narrows that focus further. The authors point to previous research on punctuation restoration and correction as a starting point for inquiry in Bulgarian. An evaluation of that work would need examples whose reference answers agree on the intended punctuation, just as the article and pronoun experiment requires an intended word form.

The paper establishes a starting condition for either direction. It makes its dictionary and generated pairs available and reports how a specialized corrector behaves on a defined subset. That subset gives subsequent work a benchmark for recovering selected Bulgarian forms. Meeting the paper’s proposed goal of evaluating correction on naturally occurring learner errors would add a different kind of evidence about how the same approach performs on the writing that motivated the study.

## Cite

Cite as Bozhidar Klouchek and Riza Batista-Navarro. 2024. Bulgarian Grammar Error Correction with Data Augmentation and Machine Translation Techniques. Proceedings of the 7th International Conference on Natural Language and Speech Processing (ICNLSP 2024).

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

```bibtex
@inproceedings{klouchek2024bulgarian,
  title = {{Bulgarian Grammar Error Correction with Data Augmentation and Machine Translation Techniques}},
  author = {Bozhidar Klouchek and Riza Batista-Navarro},
  booktitle = {Proceedings of the 7th International Conference on Natural Language and Speech Processing (ICNLSP 2024)},
  year = {2024},
  url = {https://aclanthology.org/2024.icnlsp-1.38/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
