Beyond English: Evaluating LLMs for Arabic Grammatical Error Correction
Paper · 2023 · Sang Kwon, Gagan Bhatia, El Moatez Billah Nagoudi et al.
Summary
An Arabic grammar checker has to decide which parts of a sentence need repair and which should stay as the writer left them. A missing word, an incorrect letter and a misplaced punctuation mark all call for different changes. Arabic’s rich morphology and optional diacritics add ambiguity to that decision. In Beyond English, the authors ask whether instruction-following large language models can do this work with only a few examples, and how they compare with systems trained specifically for grammatical error correction.
The study compares ChatGPT-3.5 Turbo and GPT-4 under prompts that demonstrate the task, smaller systems adapted to follow Arabic correction instructions, and specialized systems trained either to produce a corrected sentence or to apply edits to the original. The main comparison for the prompted systems uses the QALB-2014 test set of Modern Standard Arabic. GPT-4 reaches 65.49 F1 there, although the paper gives conflicting labels for the prompt that achieved this score. The preliminary zero-shot trials and trials with Arabic-language prompts produced responses the authors could not score automatically. A grammar checker in this setup had to return a usable correction as well as identify what to change.
The strongest specialized correctors, AraT5v2 and AraBART, remain ahead of the prompted systems even though they are smaller. The authors also test a different use for ChatGPT. They ask it to introduce errors into corrected sentences, creating pairs for training a separate corrector. At matched training sizes, these pairs alone fall short of human-corrected data. They help when the system subsequently trains on the original data, which makes the order and source of the examples important to the result. The strongest AraT5v2 configuration uses a larger synthetic corpus and reaches 73.29 F1 on the QALB-2014 test set and 73.26 F1 on the QALB-2015 native-speaker test set. The authors report both as advances over published, peer-reviewed baselines.
The benchmarks support a conclusion about sentence-level correction in Modern Standard Arabic. Within that setting, the best system has a clear advantage across the error categories examined, but semantic and syntactic errors remain difficult for all the selected systems. The study leaves open how the approaches would handle learner documents, dialectal Arabic or Classical Arabic. Its practical contribution is to show where a few demonstrations can make a general-purpose system competitive, and where task-specific training still pays off.
Deep dive: Beyond English: Evaluating LLMs for Arabic Grammatical Error Correction
Beyond English tests how well ChatGPT and specialized systems correct Arabic writing, and shows when synthetic training data helps. · about 32 minutes to read
The problem and its context
What counts as a correction
The starting point is a sentence someone has written. A correction system has to return a version that addresses errors while preserving the parts of the sentence that work. Some decisions concern a small part of a word. Others involve inserting a missing word or deciding how punctuation should divide a sentence. The paper’s introductory illustration places letter changes, a hamza error, a missing word and punctuation problems in the same example. It gives a sense of why the task calls for several kinds of judgment even when the output is just a revised sentence.
The authors motivate this work through writing assistance and language education. A learner or a tool evaluating learner writing needs help with the errors that are actually present. A fluent alternative can be a poor answer if it changes something the writer meant to say. Conversely, a small repair may be useful even if most of the sentence looks exactly as it did before. An evaluation based on edits can distinguish a system that catches more errors from one that proposes fewer, more reliable changes. Those behaviors matter for different reasons when a correction is shown to a writer.
The paper situates its study in Modern Standard Arabic, or MSA. In the authors’ account, MSA is a standard variety used in education, government and pan-Arab media, within a wider landscape that includes many varieties. The language presents ambiguity in spelling, word form, sentence structure and meaning. Optional diacritics can leave distinctions unmarked in the written input, and the richer range of word forms increases the demands on a corrector. The sentence supplies evidence about an intended reading, but a system still has to infer which change the context warrants.
What earlier correction systems learned
The paper describes English as the main focus of earlier correction research. It identifies two successful ways to formulate the task. The first treats correction as a special case of machine translation. A system receives an erroneous sentence as its source and generates a corrected version as its target. Both sentences are in the same language. The analogy concerns the training procedure and the mapping between texts. Earlier work, as described by the authors, had used this framing to obtain strong results on English shared tasks and to bring methods from low-resource translation into correction. The paper cites A Multilayer Convolutional Encoder-Decoder Neural Network for Grammatical Error Correction as an example of the sequence-to-sequence approach.
The second formulation starts with the words already there. A sequence tagger assigns operations to positions in the source, and those operations yield the corrected text. A tag can preserve a word, delete it or replace it. Because the system predicts a sequence of labels tied to the source, it can learn to keep most of the sentence without having to generate those words again. The authors describe approaches including GECToR, Encode, Tag, Realize and Parallel Iterative Edit Models. Applying edits in successive passes can give a tagger a chance to act on a sentence after an earlier repair has changed it.
In the authors’ account, both families benefited from labeled correction pairs. These pairs record what someone wrote and how an annotator corrected it. For a language or variety with few such examples, the translation analogy suggests a way to make more training material. Start from a clean sentence, introduce errors, and keep the original as the correction target. This was already a line of work in Arabic. The paper describes earlier synthetic corpora generated through noise injection, as well as methods that transferred ideas from low-resource correction in German, Russian and Czech. Its question is whether ChatGPT can contribute a useful source of errors for Arabic and how examples from that source compare with human corrections.
Where Arabic correction and prompting met
By the time of the study, Arabic correction already had shared benchmarks and specialized systems. The QALB shared tasks offered manually corrected texts from native speakers and learners. Earlier systems discussed in the paper included classifiers and statistical translation systems. Later sequence-to-sequence work used character-level information, a natural fit for errors involving letters within a word. The authors also describe Arabic systems with more elaborate sequence-to-sequence designs and the emergence of ZAEBUC, which includes writing by university students. These developments gave the authors established data and methods against which to assess a prompted system.
Instruction fine-tuning introduced another way to ask for a correction. Training on a variety of tasks written as instructions can make a system more responsive to a user’s directive. The authors place their work in the context of Training language models to follow instructions with human feedback and other work on instruction-following. At the point of use, examples can be placed directly in the request. This is in-context few-shot learning, the approach studied in Language Models are Few-Shot Learners. The examples can communicate what counts as a repair and how the finished answer should be presented.
The authors also build on prompts that ask for an intermediate explanation before producing an answer. This approach, called chain-of-thought prompting, draws on work including Chain-of-thought prompting and Large language models are zero-shot reasoners. Earlier evaluations described in the paper had already tried ChatGPT on English correction, including evaluations of documents. The authors identified Arabic correction as an unexplored setting for such systems. Comparing several established ways to produce a correction was important because the question involved both language coverage and the amount of task-specific supervision a system needed.
The method, step by step
Give each approach the same kind of task
A QALB example pairs an original sentence with a corrected version. The original is the source and the corrected version is the target. For the experiments, a prompted system receives the source and has to return a sentence. A sequence-to-sequence corrector also produces a sentence, with its behavior learned from training pairs. A sequence-to-edit corrector predicts operations, which are then applied to the source to recover its proposed sentence. The different routes converge at evaluation, where the scorer works out what changed between the source and each proposal.
The paper uses the QALB-2014 training, development and test splits. The development split serves two purposes. It supplies labeled demonstrations for the prompts and provides data for selecting the trained systems to take forward to blind testing. The held-out test split supplies the inputs for the final comparison. A second benchmark, the QALB-2015 native-speaker test set, extends the main task-specific evaluation. This arrangement distinguishes examples shown to a corrector or used to select it from examples used to measure its performance.
The synthetic-data branch reverses the logic of a correction pair during data creation. The starting sentence is already clean, so the procedure generates a plausible erroneous version. The corrector can then train in the usual direction, with the synthetic error on the input side and the original, clean text on the target side. The same final scoring procedure can assess a corrector trained on human pairs, synthetic pairs or a sequence of both.
Training and evaluating correction with synthetic sentence pairs
The steps in order.
Prompt ChatGPT to return a usable sentence
The authors call ChatGPT-3.5 Turbo and GPT-4 through the official API. Their initial trials include directions with no demonstrations, ordinary few-shot prompts and few-shot prompts with an explanation step. They try giving the directions in Arabic and in English. The language of the directions is a separate choice from the language of the text being corrected. The input sentence and expected correction are Arabic in either case.
A basic requirement emerges from these trials. The tool that computes the score needs a cleanly identifiable answer for each source sentence. ChatGPT sometimes returns explanations or presents its response in a way that makes the correction difficult to extract. The authors find this problem especially severe in the zero-shot and Arabic-prompt trials, which fail to yield output they can evaluate automatically. The prompts featured in the main experiments therefore make the expected answer format explicit.
In the few-shot chain-of-thought setup, the authors first elicit a written account of the reasoning behind a correction. They then reuse that text in a request for the answer, adding a cue for the corrected sentence. The demonstrations come from the QALB development split. Input and output markers delimit the erroneous sentence and its corrected counterpart. A demonstration thus gives the system a concrete example of the task as well as a pattern for returning the resulting Arabic text.
The expert prompt gives the system a role as an Arabic correction specialist and describes the kinds of error it should attend to. The inventory comes from the Arabic Learner Corpus taxonomy. This gives the directions more substance than a request to improve a sentence. It also tells the system how to handle the marked input and produce marked output. The study evaluates this procedure as a package of role, error guidance, formatting and examples. An eventual score belongs to that whole package.
These prompt procedures leave the hosted system fixed during the correction trials. The authors vary what information goes into the request. A one-shot request shows a single correction pair, while a five-shot request shows five. The authors can then ask how the corrected output changes as the system receives more examples of the benchmark’s conventions. The elicited explanation is part of the procedure in the chain-of-thought condition. The final correction is what contributes to MaxMatch.
Train smaller systems to follow correction instructions
The paper also studies an adaptation route that updates the system before it sees test inputs. The authors include LLaMA-7B and Vicuna-13B, plus the bloom and llama versions of Bactrian-X-7B. The latter two give the comparison systems associated with multilingual instruction data. In this branch the authors first adapt the systems on Alpaca instructions translated using NLLB. They then fine-tune them again on QALB for correction.
The stages serve different purposes. The translated Alpaca data expose the system to performing tasks given instructions in Arabic. The QALB stage supplies direct evidence about the correction task and its expected answers. Training examples specify the task, include an instruction and an input, and provide the output to learn. As a result, these systems see human-approved Arabic corrections in training, whereas the API prompting route makes QALB demonstrations available in the request itself.
The paper gives the smaller instruction-tuned systems a batch size of 4 and sets their training to run for four epochs at a learning rate of 2e-5. An epoch is a pass through the relevant training data. The learning rate controls the magnitude of updates during training, and the batch size sets how many examples are processed together for an update. The authors use development performance to choose the system evaluated on the blind test. The settings are part of the comparison because the result reflects a particular Arabic adaptation procedure as well as the starting system.
Train a system to generate the corrected sentence
For sequence-to-sequence correction, the paper uses the Arabic text-to-text systems AraBART and AraT5v2. It also includes the multilingual mT5 and mT0. Text-to-text means that the input and the output both take the form of text. Here the input text is the source sentence and the expected output is the complete corrected sentence. The paper connects AraT5v2 to the earlier AraT5 work and the multilingual variants to the broader T5 framework.
With batches of 32 and a learning rate of 5e-5, sequence-to-sequence training can run for up to 50 epochs and uses an early-stopping patience of five. Early stopping lets the training procedure end when development performance has stopped improving for the specified interval. The paper describes three runs with seeds 22, 32 and 42 for trained systems and reports means with standard deviations. The seed sets the starting state for the random choices in a run. Development-set selection precedes testing, so these training decisions can be made before examining the blind test outcomes.
A trained system still needs a decoding procedure to decide how to turn its predictions into a complete sentence. The paper compares greedy decoding, which selects the favored continuation at each step, using temperature 0. It also tests beam search with num_beams set to 5 and temperature set to 1. The beam keeps several partial continuations in play as the sentence is generated. The third setting uses Top-P sampling with top-p 0.8, top-k 75 and temperature 0.8. This setting samples among likely continuations, with the probability threshold and candidate cap constraining the choice and temperature affecting the probability distribution. For correction, the choice matters whenever alternative continuations imply different changes to the source.
Make noisy inputs from clean Arabic
The most direct synthetic procedure starts with 10,000 correct sentences randomly sampled from the QALB-2014 training split. The authors have ChatGPT introduce errors into them, using the Arabic Learner Corpus taxonomy to guide the corruption. The resulting collection is called syntheticGPT. In each pair, the newly corrupted version supplies the training input and the original sentence supplies the correction target. The authors can create examples without asking an annotator to work out the intended target of the corrupted text, since generation starts from that target.
The paper also trains separate systems to generate the noisy version. In this approach, called reverse noising, the direction learned during training is:
Y → X
Y stands for the clean sentence, X stands for its noisy counterpart and the arrow indicates the direction in which the reverse system learns to transform the text. In a human-annotated pair, for example, this direction takes the corrected version as input and the original version as the target. It gives the reverse system examples of changes that lead from corrected text to text with errors.
When used to create new training material, the reverse system generates an estimate of a noisy sentence:
Y → Ŷ
Y again stands for the clean sentence, Ŷ is the generated noisy version, and the arrow marks generation from the clean input. The hat over Y distinguishes the generated result from the input Y. Though the paper calls Ŷ a noisy target for reverse generation, it becomes the source when the pair is used for correction. The notation describes the direction of the data procedure. A forward corrector takes the generated version and learns to recover the original clean sentence.
The authors generate these noisy versions with beam search. They distinguish the data collections by the examples used to train the reverse system. For reverseGold, that system learns from gold data, the human-corrected pairs, from QALB-2014 and QALB-2015. For reverseGPT, it learns from syntheticGPT. The authors then use commentaries from the same newspaper domain as the training material as clean inputs for synthetic generation. That domain choice makes the procedure more relevant to the target benchmark, while the reverse training source determines where the generator learned its ideas about errors.
The initial comparison holds the number of pairs fixed. AraT5v2 trains on equal-sized samples from the human data, syntheticGPT and reverseGPT. The authors then vary what data the system sees in a further training stage. This lets them ask separately whether an artificial set is useful by itself and whether it leaves the corrector in a better position to learn from gold data. For the larger runs they generate reverseGold collections of 5M and 10M examples, and also use a previously published full Arabic correction corpus labeled 11M in the experiments. That last setting is a distinct source of synthetic training examples.
Train a system to label the edits
For the sequence-to-edit branch, the authors adapt GECToR using ARBERTv2 and MARBERTv2. Both serve as pretrained Arabic starting points for the taggers. The family is described in ARBERT & MARBERT. Preparing an example for the tagger requires aligning source tokens with spans of the corrected text. In this context a token is a unit of the source to which the procedure can assign an operation. Once the alignment has identified what a position should become, the pair can be represented through tags and their arguments.
The paper uses KEEP and DELETE for the current position. The former leaves it intact and the latter removes it. In the paper’s notation, xᵢ is the current source token, where i identifies its position. APPEND with argument t₁ inserts the new token t₁ next to xᵢ, and REPLACE with argument t₂ substitutes t₂ for xᵢ. The subscripts distinguish the token to insert from the token to use as a replacement. The special MERGE operation joins the current token and the following token. The basic operations therefore handle local insertions, removals and substitutions, while MERGE directly represents a change to a boundary between tokens.
After preprocessing, the authors count 725K KEEP operations, 201K replacements, 75K appends, 13K deletions and 5.7K merges in the resulting edit space. These are counts of operations, not sentence counts or evaluation scores. The prevalence of KEEP reflects how much of the source the representation can carry forward unchanged. Precise replacement and append tags supply ways to change or add particular tokens. MERGE covers a narrower case where the desired correction can be expressed by joining neighboring tokens.
The staged training follows the structure of GECToR. The first stage pretrains the tagger on the complete synthetic Arabic correction corpus. The second uses reverseGold for the stage that focuses on sentences with errors. The final stage uses the gold training material, following the original recipe’s use of a mixture of sentences with and without errors. According to the paper, each stage uses batches of four, a learning rate of 1e-5, and an early-stopping patience of five, with 100 epochs scheduled. At inference, the system can apply edits and then inspect the resulting sentence again. The authors set the number of iterations to 3 and report no tangible improvement from iterative correction in their experiments.
Experiments and results
What the test sets and metrics measure
The benchmarks come from the manually corrected QALB corpus. The material includes Aljazeera comments by native speakers, designated L1, as well as learner writing, designated L2. The shared tasks divided data into training, development and test material by annotation date. For QALB-2015, the paper uses the L1 set in its test comparisons. The QALB-2015 L2 test material is organized at document level, outside the sentence-level scope of the main experiments. The two test sets are accordingly evidence about correction within the scope chosen for the paper.
The comparison among prompting and instruction-tuning configurations principally uses QALB-2014 Test. The paper attributes the limited API evaluation to cost and reports a similar trend in preliminary ChatGPT-3.5 Turbo experiments on QALB-2015. The smaller instruction-tuned systems are likewise evaluated on QALB-2014 Test, since the main comparison for them is the prompted system. Results for the strongest task-specific corrector extend to the QALB-2015 L1 test set. A comparison between the training approaches therefore has to keep track of which systems were tested on which split.
The evaluation uses MaxMatch, or M², with the scripts from the QALB shared tasks. Starting with the source sentence and the system’s proposed sentence, the scorer uses a Levenshtein-based alignment. Levenshtein distance concerns how text can be changed through edits. An alignment lets the scorer identify what the system changed and seek the best matching edits against the reference. The scoring unit is thus a correction identified through alignment. The procedure can award credit for a correctly repaired part of a sentence even when the system also made mistakes elsewhere.
Precision, abbreviated P, describes how many of the proposed edits match reference corrections. Recall, abbreviated R, describes how many of the reference corrections the system recovered. F1 combines the two. A system that makes a few reliable edits can achieve high precision while leaving many reference errors unresolved. A system that edits more aggressively can recover additional errors at the cost of proposing changes the references do not support. The paper reports F0.5 as well, to give greater weight to precision. That choice can change how systems rank, especially when comparing a selective tagger with a system that generates a revised sentence.
What prompting achieves on QALB-2014
For ChatGPT-3.5 Turbo on QALB-2014 Test, the chain-of-thought condition goes from 53.59 F1.0 with one example to 62.04 with five. Expert prompting goes from 55.56 F1.0 to 63.98 over the same endpoints. In both cases the added demonstrations are associated with better edit scores. The paper also describes generated answers in the unusable preliminary conditions, so the numerical conclusions concern prompts for which the authors obtained scorable corrections.
ChatGPT-3.5 Turbo prompts on QALB-2014 Test by MaxMatch F1.0
More demonstrations improve both prompt styles, with expert prompting highest among these settings.
The numbers
| System or setting | F1.0 |
|---|---|
| Chain of thought, one-shot | 53.59 |
| Chain of thought, five-shot | 62.04 |
| Expert prompting, one-shot | 55.56 |
| Expert prompting, five-shot (this paper) | 63.98 |
GPT-4 supplies the highest reported score among the prompted configurations. The results discussion gives 63.98 F1.0 for its three-shot chain-of-thought setting and puts 65.49 F1.0 at five shots. The abstract assigns the 65.49 result to expert prompting, whereas the detailed results assign it to chain of thought. The error analysis also identifies the GPT-4 configuration selected for its comparison as five-shot chain of thought. The peak score and test set are clear, while the paper gives inconsistent prompt labels for the peak. The paper omits the GPT-4 one-shot result from its main comparison, citing the cost of API evaluation.
The smaller instruction-tuned systems rank below the strongest prompted configurations on that test. Vicuna-13B reaches 58.30 F1. Bactrian-X’s bloom variant reaches 52.5 F1, and its llama variant reaches 50.1 F1. The authors describe the relatively strong showing of Vicuna and the multilingual Bactrian variants as trends within the systems examined. These values compare the systems after the authors’ adaptation procedure. They do not identify which characteristic of an individual system accounts for the score.
The multilingual sequence-to-sequence baselines offer a useful comparison between instruction-following and specialized training. The paper reports that ChatGPT with either prompting strategy overtakes mT0 and mT5 from the three-shot condition. AraT5v2 and AraBART remain stronger than ChatGPT. The ranking therefore depends on which task-trained system serves as the baseline. Prompted correction comes out ahead of some systems trained on the task, while the strongest Arabic-specific systems hold the lead.
When synthetic pairs improve the corrector
The matched-size comparison uses 10,000 pairs from each source. With only the selected gold pairs from QALB-2014 Train, AraT5v2 scores 68.34 F1 on QALB-2014 Test. With only syntheticGPT, it scores 65.87 F1 on the same test. Training only on reverseGPT gives 46.85 F1. A system trained on directly generated ChatGPT corruptions comes closer to the human-data baseline than one trained on outputs of the reverse system that learned from those corruptions.
AraT5v2 trained on matched-size data sources by QALB-2014 Test MaxMatch F1
Human-corrected pairs give the strongest standalone training result, followed by direct ChatGPT corruptions.
The numbers
| System or setting | F1 |
|---|---|
| ReverseGPT pairs only | 46.85 |
| SyntheticGPT pairs only | 65.87 |
| Human-corrected QALB pairs only (this paper) | 68.34 |
The result changes when the authors follow the synthetic stage with further training on the original data. The syntheticGPT route reaches 69.01 F1 on QALB-2014 Test and the reverseGPT route reaches 68.54 F1 there. Both finish above the comparison that uses the equivalent-sized gold sample. The paper also reports a sharp decline in settings that use the reverse-noised data for further fine-tuning. Taken together, the comparisons show why it matters whether a study uses synthetic pairs as its only supervision, as preparation for human-labeled examples or as the final training material.
The large-scale sequence-to-sequence results identify Top-P as the strongest of the tested decoding configurations. Using that configuration, the authors report improvements across the settings labeled 5M, 10M and 11M. The first two use reverseGold data. The 11M setting uses the complete previously published synthetic corpus. The largest setting, AraT5v2 (11M), yields the headline 73.29 F1 on QALB-2014 Test and 73.26 F1 on QALB-2015 L1 Test. The authors compare these with published, peer-reviewed systems and report a new benchmark best under the shared-task evaluation. They also mention contemporaneous Arabic correction work with a different alignment procedure, which complicates a direct score comparison across the two evaluation setups.
How the edit taggers score
The taggers show the strongest case for paying attention to both precision and recall. The three-stage ARBERTv2 example reaches 74.39 precision in the paper’s test-set comparison. The authors describe lower recall for the taggers and find that the Arabic sequence-to-sequence systems are stronger overall. However, ARBERTv2 and MARBERTv2 outperform the multilingual sequence-to-sequence baselines mT0 and mT5 on F0.5. A reader who looks mainly at F1 and a reader who prioritizes avoiding unsupported edits can therefore draw different comparisons from the same test.
These settings produce different kinds of outputs before scoring. The tagger has to choose appropriate operations from its inventory and pass the amended text to the scorer. The sequence-to-sequence system can construct a corrected sentence by generating its tokens. Both can leave errors untouched or make unwanted changes. The precision and recall figures describe the resulting behavior, and the analyses examine conditions under which that behavior shifts.
What the ablations show
Demonstrations help, with several ingredients in each prompt
The number of examples is a direct comparison within the ChatGPT-3.5 Turbo prompt styles. Both the chain-of-thought and expert prompts improve between the one-shot and five-shot endpoints. This shows that, with the authors’ prompts, additional development examples change the corrections in a favorable direction on QALB-2014 Test. The effect is observable on the final edit score, beyond the basic requirement of receiving a sentence that can be scored.
The comparison between prompt styles has more moving parts. The expert instructions define a role and supply an error taxonomy. The chain-of-thought procedure elicits a written explanation and carries it into the request for an answer. The authors also give the systems examples and define the format of the output. The comparison tests these arrangements as used. It leaves the individual contribution of the role, the taxonomy, the triggering instruction and the examples unresolved. A gain in edit F1 is evidence about the resulting answers, while any claim about how the system internally arrived at them would need a different measurement.
The early trials show that changing the prompt can affect whether a result enters the numerical comparison at all. With zero-shot or Arabic-language directions, the outputs in the preliminary work were especially difficult to process automatically. That is a failure of the evaluated correction pipeline to obtain a scorable sentence. It leaves room for an Arabic response to contain individual valid corrections inside prose. The paper’s main experiments concern configurations that return an extractable output, which is a distinct requirement from the linguistic accuracy of any edits inside it.
The source of the examples and their place in training both matter
The comparison at equal training sizes makes a useful control. The corrector is AraT5v2 in all conditions, and the experiment changes which paired sentences it sees. Direct ChatGPT corruptions give a substantially stronger standalone result than pairs generated by a reverse system trained on ChatGPT corruptions. The human-corrected sample still leads. The test consequently gives evidence about the utility of those data sources at the selected size, while leaving several possible reasons for their differences open. The study does not separately hold fixed the clean input distribution and the difficulty, frequency or mix of generated errors.
The further training stage tests a different question. Synthetic pairs that fall behind as a replacement for gold pairs can still help the system learn before it sees the original training data. ReverseGPT illustrates the difference especially well. Its standalone score is low, yet its route through subsequent gold training clears the comparison with the matched gold sample. The paper’s decline in settings that use reverse-noised examples for further training reinforces the importance of training order. A synthetic corpus can help establish useful behavior at one stage while providing a poorer final signal for deciding which changes to make.
The scaled runs introduce another comparison. The authors see improvement from the 5M to the 10M setting within reverseGold. They see a further gain in the 11M configuration, which draws on a different synthetic corpus. In the discussion they suggest that the cleaner source behind the largest corpus may account for some of its benefit. The reverseGold collections are based on noisier online commentaries, while the 11M corpus draws on OSIAN. Because the change to 11M introduces a different corpus along with more examples, that comparison could reflect source material, corruption method or size. The paper treats source quality as an explanation for the pattern rather than measuring its effect in isolation.
The decoding comparison addresses a source of variation after training. Greedy, beam and Top-P settings use different rules to select the corrected sentence from the trained system’s predictions. The paper finds a favorable balance of matching edits and total edits under the tested Top-P setting. Since its temperature and candidate constraints are part of that setting, the experiment supports the tested configuration. It leaves the influence of each decoding parameter unresolved. The practical effect is visible in precision and recall because changing the selected sentence can add, remove or alter predicted edits.
Staging the tagger changes the balance of errors
The comparison involving three-stage tagger training yields a mixed result. The authors describe an improvement in accuracy together with a decline in recall. They report F1 drops of 0.36 for ARBERTv2 and 1.10 for MARBERTv2 in the sequence-to-edit test comparison. A training stage can therefore improve one aspect of a tagger’s behavior while making it less effective at recovering the range of reference edits. The relative advantage on F0.5 against multilingual sequence-to-sequence baselines fits this pattern of selective correction.
The authors suggest a reason for the missed corrections. The Arabic adaptation uses MERGE as its only specialized transformation of the kind they call g-transformations. The English GECToR setup has operations for a wider range of systematic changes. In Arabic, generic replacement can express a particular change when the tag inventory supplies the intended token, but it gives the tagger less direct help with a pattern across word forms. The authors propose Arabic-specific transformations as a possible way to improve this. The experiments compare the available taggers and training schedules. They leave the benefit of an expanded Arabic operation inventory for future testing.
Iterative correction also receives an assessment. The motivation is that an early edit changes what a later pass sees. A dependency between repairs could make a later pass useful even when several edits can be made together. The authors report no tangible gain from iteration in their experiments and use 3 passes. That outcome applies to their training, test material and tag inventory. It establishes that the anticipated benefit did not materialize in this particular adaptation.
Error categories and normalization change what a score says
The authors use Automatic Error Type Annotation, or ARETA, to examine how performance varies by kind of edit. Linguistic annotation here means assigning categories to the corrections so they can be scored separately. The categories include orthographic changes to written forms, morphological changes to word forms, and syntactic and semantic changes involving structure or meaning. The analysis also distinguishes punctuation, merges and splits. Merge and split are categories of corrections in this analysis, while MERGE in the tagger is a specific operation for implementing one kind of change.
On QALB-2014 Test, the error-type comparison uses the staged ARBERTv2 tagger, five-shot GPT-4 with chain-of-thought prompting, and AraT5v2 (11M). AraT5v2 leads the selected systems in each category. It exceeds 65 F1 in the orthographic, morphological and punctuation categories on this test. Syntactic and semantic corrections remain hard across the selected systems. The category breakdown strengthens the evidence for AraT5v2 by showing that its overall lead is spread across different kinds of edits. The same breakdown also shows why a high aggregate result leaves room for improvement on changes involving grammatical structure and meaning.
The normalization tests change which distinctions count at evaluation time. Alongside the unnormalized comparison, the authors evaluate with Alif/Ya differences removed, with punctuation removed, and with both changes applied. Alif and Ya are Arabic letters whose written alternatives can be treated differently by the scorer depending on the normalization. In the no-punctuation setting every system improves. The authors connect this to varied punctuation in online comments and to the difficulty of agreeing on corrections for it. The improved score describes the evaluation after punctuation has been removed from consideration.
Removing Alif/Ya differences has the opposite effect on F1. The authors explain that these are comparatively easy corrections for the systems and point to AraT5v2’s training on formal text, including AraNews and Hindawi Books, as a possible reason for its familiarity with the expected usage. Setting aside a category where corrections are often successful leaves the aggregate more dependent on the harder remaining categories. The two normalization results together show that a headline score can rise or fall depending on which distinctions the benchmark counts.
Limitations
Limits identified by the authors
The authors restrict their claims to Modern Standard Arabic. Dialectal Arabic and Classical Arabic fall outside the study. They mention MADAR as an example of a dialect resource whose main uses are dialect identification and translation. The existence of that resource does not supply the paired erroneous and corrected texts the experiments require. Evaluating a correction system on a dialect would require data that establishes appropriate repairs within that variety. The QALB results provide evidence within the language variety and annotation conventions examined.
The authors also flag uncertainty about how much Arabic training material ChatGPT saw. For the prompted systems, the paper can document the demonstrations and API setup. It cannot account for prior exposure to Arabic with the same specificity as it can describe the supervised QALB stages. The authors discuss the English emphasis of instruction training and the relative scarcity of non-English pretraining data. This makes comparisons of systems informative about their observed correction behavior, with uncertain explanations for differences arising from their training histories.
The study is at sentence level. At the time of the experiments, the authors cite an API limit of 4,097 tokens as a reason to leave longer texts outside the ChatGPT evaluation. The available space had to accommodate the directions and any demonstrations as well as the material to correct. The authors note that longer context matters for resolving errors and inconsistencies across a document. They point to QALB-2015 L2 and ZAEBUC as candidates for document-level investigation. The preliminary QALB-2015 evidence for ChatGPT-3.5 Turbo and the task-specific results on QALB-2015 L1 cover different questions from such an evaluation.
The paper also acknowledges the cost of running the API experiments. This limits the breadth of the prompting comparison, including the lack of a GPT-4 one-shot result in the main evaluation and the unequal coverage of QALB-2015 across approaches. The trends observed for ChatGPT-3.5 Turbo provide evidence about the configurations that were run. Within GPT-4, the missing condition leaves the one-shot endpoint unknown. Cost therefore affects how fully the experiments can trace the relationship between the number of demonstrations and the score for each system.
Limits that follow from the experimental design
The benchmarks and scripts define which outputs receive credit. A corrector can propose an edit that differs from an annotated repair, and edit-matching scores can depend on how the source and correction are aligned. The normalization experiments make that dependence visible by changing which distinctions the scorer treats as relevant. Using shared-task scripts gives continuity with the published QALB comparisons. Comparing results obtained with the contemporaneous alignment procedure discussed by the authors would require a common scoring setup. The benchmark best reported here is strongest as a claim about the stated datasets and shared-task evaluation.
The test comparisons also concern a limited range of writing. The L1 material consists of online comments, and the authors exclude the document-level learner test set from the main study. This matters for the paper’s educational motivation. The experiments evaluate whether proposed changes match annotated benchmark edits. They leave open how a learner would understand the feedback, how much revision effort it would save, and whether the performance ranking would persist on full learner documents. The authors raise educational transparency and fairness in their broader discussion, while the reported experiments measure correction performance.
The prompt trials show a gap between the ability to produce a correction and the ability to expose that correction in a form the scorer accepts. For the preliminary zero-shot and Arabic-prompt conditions, the paper describes the formatting and extraction problem without a comparable edit score. That leaves the magnitude of any underlying correction ability in those conditions uncertain. For the successful conditions, the end-to-end result incorporates the design of the prompt, the selected demonstrations and the generation of an extractable answer. The 65.49 result can anchor a comparison of peak scores, but the inconsistent naming of its prompt in the paper prevents a confident attribution to one specific prompting method.
Comparisons among trained systems likewise change several factors at once. AraT5v2, AraBART, mT0 and mT5 differ in more than their focus on Arabic. The instruction-tuned systems differ in size, starting point and training history, while GPT-4 is accessed through an API with a separate prompting procedure. The paper shows that smaller task-specific systems can lead in this evaluation. A causal account of the role of system size or the amount of Arabic in pretraining would require a comparison that holds the other factors fixed. The same limit applies to the taggers. Their low recall motivates the authors’ hypothesis about richer Arabic transformations, and that hypothesis remains to be tested.
Finally, the synthetic-data evidence is strongest where the authors compare equal training sizes with the same AraT5v2 corrector, and where they vary which data comes at the end of training. Even there, the procedures change the origin of the sentences and how the errors were produced. The large-scale experiments add changes in corpus provenance. The best reported result uses the existing 11M corpus. The paper separately demonstrates the value of ChatGPT-generated corruptions through the smaller matched-size experiments and subsequent training on gold data. These are complementary findings about data augmentation, with different evidence behind them.
What came after
New ways to approach correction and normalization
Several later papers cite Beyond English from work that stays close to the correction task. STAGEET studies stage-wise typed edit tagging for grammatical error correction, using Arabic as its case study. Its focus brings together two concerns that the earlier paper examined separately. One is how a tagger represents the changes it can make. The other is how performance varies across kinds of errors. In Beyond English, MERGE is the sole specialized operation added to the basic editing inventory, and the authors analyze categories such as morphology and punctuation after correction. STAGEET places typed edits at the center of its method. The connection is through the representation of correction, with each paper approaching the problem through edit predictions in Arabic.
Search if you don't know! pursues knowledge-augmented grammatical error correction with large language models in Korean. Beyond English uses demonstrations and error descriptions to guide a correction request, then examines the quality of the proposed edits. The Korean study’s stated focus is a different source of help, adding knowledge to support correction. Its relationship to the earlier work is the question of what a general-purpose system needs at the point of correction when working in a language outside English. The papers address that question with different language settings and forms of support.
Two other studies focus on distinctions that affect the interpretation of the Arabic correction benchmark. Evaluation of Large Language Models on Arabic Punctuation Prediction takes punctuation as the target of evaluation. In Beyond English, punctuation shares the benchmark with other error categories, and removing it improves all evaluated systems’ scores under normalization. Making punctuation the object of a study in its own right puts the behavior that was obscured by an aggregate score into focus. Exploiting Dialect Identification in Automatic Dialectal Text Normalization studies the use of dialect identification for normalization. It addresses dialectal text, a setting the earlier authors identify as outside their MSA experiments. Normalizing a dialectal text asks what form is appropriate for a variety, a related issue to defining which changes count as repairs.
Arabic evaluation beyond sentence correction
How well can LLMs Grade Essays in Arabic? takes the educational motivation in the direction of assessment. Essay grading is a judgment about a piece of writing, while the evaluation in Beyond English matches proposed sentence edits to a reference. Connecting the papers through writing assessment helps explain why edit F1 alone gives limited evidence about educational use. An essay-grading evaluation examines a different output at a broader unit of text.
rematchka at ArabicNLU2024 evaluates large language models on Arabic word sense disambiguation and location sense disambiguation. The emphasis is on choosing an interpretation from context. That makes it adjacent to the ambiguity problem in Arabic correction. Where Beyond English measures whether the system produced a matching edit, the disambiguation study puts the interpretation itself at the center of the task. ALARB takes evaluation into Arabic legal argument reasoning. It continues the broader line of task-specific Arabic benchmarks, with legal arguments supplying a different object of evaluation from an edited sentence.
The Need for Robust and Inclusive Benchmarks in Evaluating LLMs on Arabic Text addresses the coverage of Arabic benchmarks themselves. Beyond English provides a concrete case of the choices such a discussion has to consider. Its main results concern MSA, its strongest API comparison centers on one test set, and punctuation normalization changes the measured scores. The later work’s stated focus is the robustness and inclusiveness of Arabic evaluation across a wider set of concerns. The link is through what evidence a benchmark supplies when readers use it to judge Arabic-language performance.
Broader studies of multilingual evaluation and training data
MultiPragEval extends multilingual evaluation to pragmatics, the study of how context bears on what an utterance conveys. Pragmatics in the Era of Large Language Models surveys datasets, evaluation, opportunities and challenges in that area. Both take up evaluation questions that go beyond the particular edits measured on QALB. Beyond English is related through its concern with how systems behave on a defined language task when the examples, expected outputs and scoring criteria are made explicit. Pragmatic evaluation brings a different aspect of language use to that general problem.
Multilingual Large Language Model surveys resources, taxonomy and research frontiers across multilingual NLP. The Arabic study offers a task-level instance of why those resources matter. Its strongest correction systems use Arabic-specific training and synthetic pairs, while its prompted comparisons test how much can be achieved with a handful of examples. The survey’s stated scope is broader, encompassing the resources and classifications needed to situate results across languages and tasks.
Finally, On the Utility of Pretraining Language Models on Synthetic Data asks about synthetic data at the pretraining stage. It shares the earlier paper’s interest in what generated examples contribute to training, with a different stage and objective under study. Semantically Corrected Amharic Automatic Speech Recognition brings correction into Amharic speech recognition, where the text in need of correction comes from an automatic recognizer. These citations trace the two questions that Beyond English put alongside each other. One concerns how to measure corrections for a particular language and source of errors. The other concerns where training examples come from and what they enable a specialized system to learn.
Cite
Cite as Sang Kwon, Gagan Bhatia, El Moatez Billah Nagoudi and Muhammad Abdul-Mageed. 2023. Beyond English: Evaluating LLMs for Arabic Grammatical Error Correction. Proceedings of ArabicNLP 2023.
@inproceedings{kwon2023beyond,
title = {{Beyond English: Evaluating LLMs for Arabic Grammatical Error Correction}},
author = {Sang Kwon, Gagan Bhatia, El Moatez Billah Nagoudi and Muhammad Abdul-Mageed},
booktitle = {Proceedings of ArabicNLP 2023},
year = {2023},
doi = {10.18653/v1/2023.arabicnlp-1.9},
eprint = {2312.08400},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/2023.arabicnlp-1.9}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/kwon-2023-beyond-english-evaluating-llms-arabic/
References
- Muhammad Abdul-Mageed, AbdelRahim Elmadany, and El Moatez Billah Nagoudi. 2021. ARBERT & MARBERT: Deep bidirectional transformers for Arabic (https://doi.org/10.18653/v1/2021.acl-long.551). In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 7088–7105, Online. Association for Computational Linguistics. our card
- Muhammad Abdul-Mageed, Chiyu Zhang, Houda Bouamor, and Nizar Habash. 2020. NADI 2020: The first nuanced Arabic dialect identification shared task (https://aclanthology.org/2020.wanlp-1.9). In Proceedings of the Fifth Arabic Natural Language Processing Workshop, pages 97–110, Barcelona, Spain (Online). Association for Computational Linguistics. our card
- Abdullah Alfaifi and Eric Atwell. 2012. Arabic learner corpora (alc): A taxonomy of coding errors. In The 8th International Computing Conference in Arabic. OpenAlex ↗ · Scholar ↗
- Bashar Alhafni, Go Inoue, Christian Khairallah, and Nizar Habash. 2023. Advancements in arabic grammatical error detection and correction: An empirical investigation. arXiv preprint arXiv:2305.14734. our card
- Abhijeet Awasthi, Sunita Sarawagi, Rasna Goyal, Sabyasachi Ghosh, and Vihari Piratla. 2019. Parallel iterative edit models for local sequence transduction (https://doi.org/10.18653/v1/D19-1435). In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 4260–4270, Hong Kong, China. Association for Computational Linguistics. our card
- Riadh Belkebir and Nizar Habash. 2021. Automatic error type annotation for arabic. arXiv preprint arXiv:2109.08068. our card
- Houda Bouamor, Nizar Habash, Mohammad Salameh, Wajdi Zaghouani, Owen Rambow, Dana Abdulrahim, Ossama Obeid, Salam Khalifa, Fadhl Eryani, Alexander Erdmann, and Kemal Oflazer. 2018. The MADAR Arabic dialect corpus and lexicon (https://aclanthology.org/L18-1535). In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan. European Language Resources Association (ELRA). our card
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901. our card
- Christopher Bryant, Mariano Felice, Øistein E. Andersen, and Ted Briscoe. 2019. The BEA-2019 shared task on grammatical error correction (https://doi.org/10.18653/v1/W19-4406). In Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications, pages 52–75, Florence, Italy. Association for Computational Linguistics. our card
- Christopher Bryant, Zheng Yuan, Muhammad Reza Qorib, Hannan Cao, Hwee Tou Ng, and Ted Briscoe. 2022. Grammatical error correction: A survey of the state of the art. arXiv preprint arXiv:2211.05166. OpenAlex ↗ · Scholar ↗
- Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. 2023. Vicuna: An open-source chatbot impressing gpt-4 with 90%* chatgpt quality (https://lmsys.org/blog/2023-03-30-vicuna/). OpenAlex ↗ · Scholar ↗
- Shamil Chollampatt and Hwee Tou Ng. 2018. A multilayer convolutional encoder-decoder neural network for grammatical error correction (https://doi.org/10.1609/aaai.v32i1.12069). Proceedings of the AAAI Conference on Artificial Intelligence, 32(1). our card
- Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. 2022. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416. OpenAlex ↗ · Scholar ↗
- Marta R Costa-jussà, James Cross, Onur Çelebi, Maha Elbayad, Kenneth Heafield, Kevin Heffernan, Elahe Kalbassi, Janice Lam, Daniel Licht, Jean Maillard, et al. 2022. No language left behind: Scaling human-centered machine translation. arXiv preprint arXiv:2207.04672. our card
- Daniel Dahlmeier and Hwee Tou Ng. 2012. Better evaluation for grammatical error correction (https://aclanthology.org/N12-1067). In Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 568–572, Montréal, Canada. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Moussa Kamal Eddine, Nadi Tomeh, Nizar Habash, Joseph Le Roux, and Michalis Vazirgiannis. 2022. Arabart: a pretrained arabic sequence-to-sequence model for abstractive summarization. arXiv preprint arXiv:2203.10945. our card
- AbdelRahim Elmadany, El Moatez Billah Nagoudi, and Muhammad Abdul-Mageed. 2022. Orca: A challenging benchmark for arabic language understanding. arXiv preprint arXiv:2212.10758. our card
- Tao Fang, Shu Yang, Kaixin Lan, Derek F Wong, Jinpeng Hu, Lidia S Chao, and Yue Zhang. 2023. Is chatgpt a highly fluent grammatical error correction system? a comprehensive evaluation. arXiv preprint arXiv:2304.01746. our card
- Mariano Felice, Zheng Yuan, Øistein E. Andersen, Helen Yannakoudakis, and Ekaterina Kochmar. 2014. Grammatical error correction using hybrid systems and type filtering (https://doi.org/10.3115/v1/W14-1702). In Proceedings of the Eighteenth Conference on Computational Natural Language Learning: Shared Task, pages 15–24, Baltimore, Maryland. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Steven Y. Feng, Varun Gangal, Jason Wei, Sarath Chandar, Soroush Vosoughi, Teruko Mitamura, and Eduard Hovy. 2021. A survey of data augmentation approaches for NLP (https://doi.org/10.18653/v1/2021.findings-acl.84). In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 968–988, Online. Association for Computational Linguistics. our card
- Simon Flachs, Felix Stahlberg, and Shankar Kumar. 2021. Data strategies for low-resource grammatical error correction (https://aclanthology.org/2021.bea-1.12). In Proceedings of the 16th Workshop on Innovative Use of NLP for Building Educational Applications, pages 117–122, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Markus Freitag and Yaser Al-Onaizan. 2017. Beam search strategies for neural machine translation. arXiv preprint arXiv:1702.01806. our card
- Ulrich Germann. 2003. Greedy decoding for statistical machine translation in almost linear time (https://aclanthology.org/N03-1010). In Proceedings of the 2003 Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics, pages 72–79. OpenAlex ↗ · Scholar ↗
- Peiyuan Gong, Xuebo Liu, Heyan Huang, and Min Zhang. 2022. Revisiting grammatical error correction evaluation and beyond (https://aclanthology.org/2022.emnlp-main.463). In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 6891–6902, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics. our card
- Roman Grundkiewicz, Marcin Junczys-Dowmunt, and Kenneth Heafield. 2019. Neural grammatical error correction systems with unsupervised pre-training on synthetic data (https://doi.org/10.18653/v1/W19-4427). In Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications, pages 252–263, Florence, Italy. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Nizar Habash and David Palfreyman. 2022. ZAEBUC: An annotated Arabic-English bilingual writer corpus (https://aclanthology.org/2022.lrec-1.9). In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 79–88, Marseille, France. European Language Resources Association. OpenAlex ↗ · Scholar ↗
- Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2019. The curious case of neural text degeneration. arXiv preprint arXiv:1904.09751. our card
- Serena Jeblee, Houda Bouamor, Wajdi Zaghouani, and Kemal Oflazer. 2014. CMUQ@QALB-2014: An SMT-based system for automatic Arabic error correction (https://doi.org/10.3115/v1/W14-3618). In Proceedings of the EMNLP 2014 Workshop on Arabic Natural Language Processing (ANLP), pages 137–142, Doha, Qatar. Association for Computational Linguistics. our card
- Marcin Junczys-Dowmunt, Roman Grundkiewicz, Shubha Guha, and Kenneth Heafield. 2018a. Approaching neural grammatical error correction as a low-resource machine translation task (https://doi.org/10.18653/v1/N18-1055). In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 595–606, New Orleans, Louisiana. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Marcin Junczys-Dowmunt, Roman Grundkiewicz, Shubha Guha, and Kenneth Heafield. 2018b. Approaching neural grammatical error correction as a low-resource machine translation task. arXiv preprint arXiv:1804.05940. OpenAlex ↗ · Scholar ↗
- Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. arXiv preprint arXiv:2205.11916. our card
- Haonan Li, Fajri Koto, Minghao Wu, Alham Fikri Aji, and Timothy Baldwin. 2023. Bactrian-x: A multilingual replicable instruction-following model. https://github.com/MBZUAI-nlp/Bactrian-X. OpenAlex ↗ · Scholar ↗
- Eric Malmi, Sebastian Krause, Sascha Rothe, Daniil Mirylenka, and Aliaksei Severyn. 2019. Encode, tag, realize: High-precision text editing. arXiv preprint arXiv:1909.01187. our card
- Behrang Mohit, Alla Rozovskaya, Nizar Habash, Wajdi Zaghouani, and Ossama Obeid. 2014. The first qalb shared task on automatic text correction for arabic. In Proceedings of the EMNLP 2014 Workshop on Arabic Natural Language Processing (ANLP), pages 39–47. our card
- Niklas Muennighoff, Thomas Wang, Lintang Sutawika, Adam Roberts, Stella Biderman, Teven Le Scao, M Saiful Bari, Sheng Shen, Zheng-Xin Yong, Hailey Schoelkopf, Xiangru Tang, Dragomir Radev, Alham Fikri Aji, Khalid Almubarak, Samuel Albanie, Zaid Alyafeai, Albert Webson, Edward Raff, and Colin Raffel. 2022. Crosslingual generalization through multitask finetuning (http://arxiv.org/abs/2211.01786). our card
- El Moatez Billah Nagoudi, AbdelRahim Elmadany, and Muhammad Abdul-Mageed. 2022. AraT5: Text-to-text transformers for Arabic language generation (https://aclanthology.org/2022.acl-long.47). In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 628–647, Dublin, Ireland. Association for Computational Linguistics. our card
- El Moatez Billah Nagoudi, AbdelRahim Elmadany, Muhammad Abdul-Mageed, Tariq Alhindi, and Hasan Cavusoglu. 2020. Machine generation and detection of arabic manipulated and fake news. arXiv preprint arXiv:2011.03092. our card
- Hwee Tou Ng, Siew Mei Wu, Ted Briscoe, Christian Hadiwinoto, Raymond Hendy Susanto, and Christopher Bryant. 2014. The CoNLL-2014 shared task on grammatical error correction (https://doi.org/10.3115/v1/W14-1701). In Proceedings of the Eighteenth Conference on Computational Natural Language Learning: Shared Task, pages 1–14, Baltimore, Maryland. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Hwee Tou Ng, Siew Mei Wu, Yuanbin Wu, Christian Hadiwinoto, and Joel Tetreault. 2013. The CoNLL-2013 shared task on grammatical error correction (https://aclanthology.org/W13-3601). In Proceedings of the Seventeenth Conference on Computational Natural Language Learning: Shared Task, pages 1–12, Sofia, Bulgaria. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Kostiantyn Omelianchuk, Vitaliy Atrasevych, Artem Chernodub, and Oleksandr Skurzhanskyi. 2020. Gector–grammatical error correction: tag, not rewrite. arXiv preprint arXiv:2005.12592. our card
- Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730–27744. our card
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485–5551. our card
- Sascha Rothe, Jonathan Mallinson, Eric Malmi, Sebastian Krause, and Aliaksei Severyn. 2021. A simple recipe for multilingual grammatical error correction (https://doi.org/10.18653/v1/2021.acl-short.89). In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 702–707, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Alla Rozovskaya, Houda Bouamor, Nizar Habash, Wajdi Zaghouani, Ossama Obeid, and Behrang Mohit. 2015a. The second qalb shared task on automatic text correction for arabic. In Proceedings of the Second workshop on Arabic natural language processing, pages 26–35. our card
- Alla Rozovskaya, Houda Bouamor, Nizar Habash, Wajdi Zaghouani, Ossama Obeid, and Behrang Mohit. 2015b. The second QALB shared task on automatic text correction for Arabic (https://doi.org/10.18653/v1/W15-3204). In Proceedings of the Second Workshop on Arabic Natural Language Processing, pages 26–35, Beijing, China. Association for Computational Linguistics. our card
- Alla Rozovskaya, Nizar Habash, Ramy Eskander, Noura Farra, and Wael Salloum. 2014. The Columbia system in the QALB-2014 shared task on Arabic error correction (https://doi.org/10.3115/v1/W14-3622). In Proceedings of the EMNLP 2014 Workshop on Arabic Natural Language Processing (ANLP), pages 160–164, Doha, Qatar. Association for Computational Linguistics. our card
- Victor Sanh, Albert Webson, Colin Raffel, Stephen H Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, et al. 2021. Multitask prompted training enables zero-shot task generalization. arXiv preprint arXiv:2110.08207. our card
- Aiman Solyman, Zhenyu Wang, Qian Tao, Arafat Abdulgader Mohammed Elhag, Rui Zhang, and Zeinab Mahmoud. 2022. Automatic arabic grammatical error correction based on expectation-maximization routing and target-bidirectional agreement. Knowledge-Based Systems, 241:108180. OpenAlex ↗ · Scholar ↗
- Aiman Solyman, Marco Zappatore, Wang Zhenyu, Zeinab Mahmoud, Ali Alfatemi, Ashraf Osman Ibrahim, and Lubna Abdelkareim Gabralla. 2023. Optimizing the impact of data augmentation for low-resource grammatical error correction (https://doi.org/https://doi.org/10.1016/j.jksuci.2023.101572). Journal of King Saud University - Computer and Information Sciences, 35(6):101572. OpenAlex ↗ · Scholar ↗
- Aiman Solyman, Wang Zhenyu, Tao Qian, Arafat Abdulgader Mohammed Elhag, Muhammad Toseef, and Zeinab Aleibeid. 2021. Synthetic data with neural machine translation for automatic correction in arabic grammar (https://doi.org/https://doi.org/10.1016/j.eij.2020.12.001). Egyptian Informatics Journal, 22(3):303–315. OpenAlex ↗ · Scholar ↗
- Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. 2023. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca. OpenAlex ↗ · Scholar ↗
- Maksym Tarnavskyi, Artem Chernodub, and Kostiantyn Omelianchuk. 2022. Ensembling and knowledge distilling of large sequence taggers for grammatical error correction (https://doi.org/10.18653/v1/2022.acl-long.266). In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3842–3852, Dublin, Ireland. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971. our card
- Daniel Watson, Nasser Zalmout, and Nizar Habash. 2018. Utilizing character and word embeddings for text normalization with sequence-to-sequence models. arXiv preprint arXiv:1809.01534. OpenAlex ↗ · Scholar ↗
- Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V Le. 2022a. Finetuned language models are zero-shot learners (https://openreview.net/forum?id=gEZrGCozdqR). In International Conference on Learning Representations. our card
- Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. 2022b. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903. our card
- Haoran Wu, Wenxuan Wang, Yuxuan Wan, Wenxiang Jiao, and Michael Lyu. 2023. Chatgpt or grammarly? evaluating chatgpt on grammatical error correction benchmark. arXiv preprint arXiv:2303.13648. our card
- Ziang Xie, Guillaume Genthial, Stanley Xie, Andrew Ng, and Dan Jurafsky. 2018. Noising and denoising natural language: Diverse backtranslation for grammar correction (https://doi.org/10.18653/v1/N18-1057). In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 619–628, New Orleans, Louisiana. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Benfeng Xu, An Yang, Junyang Lin, Quan Wang, Chang Zhou, Yongdong Zhang, and Zhendong Mao. 2023. Expertprompting: Instructing large language models to be distinguished experts. arXiv preprint arXiv:2305.14688. our card
- Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2020. mt5: A massively multilingual pre-trained text-to-text transformer. arXiv preprint arXiv:2010.11934. our card
- Zheng Yuan and Christopher Bryant. 2021. Document-level grammatical error correction (https://aclanthology.org/2021.bea-1.8). In Proceedings of the 16th Workshop on Innovative Use of NLP for Building Educational Applications, pages 75–84, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Wajdi Zaghouani, Behrang Mohit, Nizar Habash, Ossama Obeid, Nadi Tomeh, Alla Rozovskaya, Noura Farra, Sarah Alkuhlani, and Kemal Oflazer. 2014. Large scale Arabic error annotation: Guidelines and framework (http://www.lrec-conf.org/proceedings/lrec2014/pdf/956_Paper.pdf). In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14), Reykjavik, Iceland. European Language Resources Association (ELRA). our card
- Imad Zeroual, Dirk Goldhahn, Thomas Eckart, and Abdelhak Lakhouaja. 2019. OSIAN: Open source international Arabic news corpus - preparation and integration into the CLARIN-infrastructure (https://doi.org/10.18653/v1/W19-4619). In Proceedings of the Fourth Arabic Natural Language Processing Workshop, pages 175–182, Florence, Italy. Association for Computational Linguistics. our card
- Renrui Zhang, Jiaming Han, Chris Liu, Peng Gao, Aojun Zhou, Xiangfei Hu, Shilin Yan, Pan Lu, Hongsheng Li, and Yu Qiao. 2023. Llama-adapter: Efficient fine-tuning of language models with zero-init attention (http://arxiv.org/abs/2303.16199). our card