cd /news/large-language-models/larger-context-window-fewer-overcorr… · home topics large-language-models article
[ARTICLE · art-126501] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

Larger Context Window, Fewer Overcorrections: Optimizing Prompts and Batching for Minimal-Edit Grammatical Error Correction

A prompt-based approach to minimal-edit grammatical error correction reached an F0.5 score of 78.32 on the BEA-2019 test set, closing the gap to the fine-tuned single-model state of the art (Staruch et al., 2025) to 0.38 points, according to an arXiv paper (2609.10810v1). The method combines taxonomy-based instructions that bound correctable edits, batching multiple uncorrected sentences into a single input context to reduce overcorrection via an attention dilution effect, and LLM-assisted prompt optimization powered by Gemini 3.1-Pro. Code, prompts, and outputs are publicly available.

by read1 min views1 publishedSep 11, 2026

arXiv:2609.10810v1 Announce Type: new Abstract: Minimal-edit Grammatical Error Correction (GEC) is a challenging task for zero- and few-shot prompted Large Language Models (LLMs), which systematically overcorrect and degrade $F_{0.5}$ by rewriting well-formed spans. While fine-tuning provides an effective solution, it imposes substantial infrastructure demands. We introduce a prompt-based approach that closes the gap to fine-tuned models through three advances in GEC prompting methodology. First, we introduce taxonomy-based instructions to enforce minimal-edit constraints with a comprehensive list of grammatical error rules, equipping the LLM with a bounded, metric-aligned scope of correctable edits, which benefits the strongest models while remaining model-dependent overall. Second, we show that batching multiple uncorrected sentences into a single input context acts as a targeted regularizer against overcorrection, systematically reducing the edit rate across diverse LLM families; we hypothesize this arises from attention dilution effect induced by the bounded capacity of self-attention scores. Finally, LLM-assisted Prompt Optimization refines these instructions. Powered by Gemini 3.1-Pro, our prompt achieves $F_{0.5}=78.32$ on the BEA-2019 test set - establishing a new prompt-based SOTA while shrinking the gap to the fine-tuned single-model SOTA (Staruch et al., 2025) to a mere $0.38$ points. Code, prompts, and outputs are publicly available.

── more in #large-language-models 4 stories · sorted by recency
── more on @bea-2019 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/larger-context-windo…] indexed:0 read:1min 2026-09-11 ·