--- title: 'From Images to Grounded Edits: A Real-World Benchmark for Chinese Grammatical Error Correction in Handwritten Essays' authors: ['Weiru Zhang', 'Yuzhong Hong', 'Junwei Bao', 'Lemao Liu', 'Dejing Dou'] date: 2026-11-16 categories: ['cs.CV', 'cs.AI'] tags: ['ai_methodology'] source_id: '2611.17966' source_url: 'https://arxiv.org/abs/2611.17966' description: 'Chinese Grammatical Error Correction (CGEC) is typically formulated as a text-to-text problem. While suitable for digital texts, this formulation falls short in real-world K-12 education, where...' keywords: ['cs.CV', 'cs.AI', 'Images', 'Grounded', 'Edits'] canonical: 'https://dailyreading.cc/records/arxiv_2611.17966' --- # **From Images to Grounded Edits: A Real-World Benchmark for Chinese Grammatical Error Correction in Handwritten Essays** **Weiru Zhang**1, 2**, Yuzhong Hong**2 **, Junwei Bao**2 **, Lemao Liu**1 **, Dejing Dou**1 > 1School of Computer Science, Fudan University 2Zuoyebang Education Technology, Inc. ### **Abstract** Chinese Grammatical Error Correction (CGEC) is typically formulated as a *text-to-text* problem. While suitable for digital texts, this formulation falls short in real-world K-12 education, where AI-assisted corrections are expected directly on essay images—which are primarily handwritten and exhibit many irregularities. To bridge this gap, we introduce Grounded Chinese Grammatical Error Correction (G-CGEC), an *image-togrounded-edit* task requiring systems to predict both corrections and their positions on essay images. We propose G-CGEC-Eval, a benchmark comprising real-world images of K–12 Chinese essays with fine-grained annotations. For evaluation, we adapt IoU-based metrics from object detection and propose a more tolerant alternative based on center-distance matching. Using this benchmark, we evaluate open-source and proprietary vision-language models under a direct single-pass setting, as well as settings with auxiliary components—OCR and character grounding—coordinated via pipelining or agentic harnessing. Results show that even top-tier proprietary models perform surprisingly poorly in the single-pass setting, while pipelining and agentic harnessing yield meaningful improvements. Notably, an error-type-based multi-agent workflow achieves the best performance, establishing it as the strongest baseline for future G-CGEC research. Through ablations and fine-grained analysis, we find the task remains far from solved, with linguistic error discovery and characterlevel grounding as the primary bottlenecks. This underscores the need for models that better integrate visual perception with linguistic reasoning and visual grounding. ## **1 Introduction** Chinese Grammatical Error Correction (CGEC) has predominantly relied on text-based models (Zhao et al. 2018; Zhang et al. 2022). However, these models struggle to meet the complex demands of handwritten essay correction in K-12 education. In real-world pedagogical scenarios, essays are often characterized by illegible handwriting, phonetic and visual character confusions, and irregular layouts, which impose a heavy cognitive burden on teachers. The performance of a naive "OCR + Correction" pipeline is highly dependent on recognition accuracy. As shown in Figure 1(a), a failure of the OCR module unavoidably forces the correction module to process text that is inconsistent with the source image. For Preprint. ![](figures/arxiv_2611.17966/_page_0_Figure_9.jpeg) Figure 1: When the input is in the image format, our image-togrounded-edit formulation of the error correction task offers intuitive advantages: giving a system complete information as opposed to lossy OCR transcription; providing practical usefulness (e.g., for K-12 education). general NLP tasks, this error cascading effect of OCR is also a known issue (van Strien et al. 2020; Zhang et al. 2024). This cascading effect means that purely text-based CGEC benchmarks cannot accurately capture end-to-end correction performance when the input is only available in the image format. To address this gap, recent CGEC research has begun incorporating visual features. However, existing visual-aware datasets still exhibit significant limitations in diversity, text density, and task paradigms. For example, VisCGEC (Wang et al. 2025) uses data from ideal settings, lacking the "inthe-wild" noise found in reality, such as uneven lighting, shadows, and perspective distortions. ReViCo (Liang and Zhang 2025) focuses on real-world scenarios, but the images are mainly photographs of signs, cards, and tags, containing only sparse text segments. Moreover, Visual-C3 (Li et al. 2023) targets only Chinese Spell Checking (CSC), failing to cover multifaceted grammatical errors. Most crucially, although these studies integrate visual modalities, vision remains merely an auxiliary component for text-to-text correction. None of them require models to perform explicit visual grounding to pinpoint the location of errors on the original image. Motivated by these observations, we introduce and study a more practically meaningful and challenging task: Grounded Chinese Grammatical Error Correction (G-CGEC), which requires a system to predict corrections directly on essay images. Our contributions are as follows: - We propose G-CGEC-Eval, a real-world benchmark dataset with fine-grained annotations of error corrections and their visual grounding. Collected from K–12 educational settings, it addresses a notable lack of visually diverse and textually dense handwritten essay datasets. - We propose a visually-aware evaluation protocol that augments traditional text-based CGEC metrics. Specifically, we adapt IoU-based metrics from object detection and introduce a more tolerant center-distance matching strategy, which is particularly useful for assessing weak or intermediate-performing models. - We benchmark representative open-source and proprietary VLMs, establishing strong baselines and identifying critical challenges in handling dense handwriting and complex semantic errors. This systematic analysis provides a foundation and clear directions for future research in multimodal CGEC. ## **2 Related Work** ### **2.1 Text-based CGEC Datasets** Existing datasets for Chinese Grammatical Error Correction (CGEC) can be broadly categorized based on the types of errors they target, ranging from character-level spelling mistakes to sentence-level grammatical errors. As a fundamental subtask of CGEC, Chinese Spelling Correction (CSC) focuses primarily on detecting and correcting erroneous characters. The most widely used benchmarks in this area are the SIGHAN datasets (SIGHAN13, 14, 15) (Wu, Liu, and Lee 2013; Yu et al. 2014; Tseng et al. 2015). These datasets are derived from essays written by teenage students and Chinese as a Foreign Language (CFL) learners, capturing spelling mistakes typical of the learning process. Beyond open-domain texts, recent research has also expanded CSC into specific domains. For instance, MCSCSet (Jiang et al. 2022) focuses on medical texts and ECSpell (Lv et al. 2022) covers law and official documents. Research on CGEC has evolved to address specific speaker profiles beyond simple spelling issues. Benchmarks targeting CFL learners, such as NLPCC (Zhao et al. 2018), CGED (Rao, Yang, and Zhang 2020), and MuCGEC (Zhang et al. 2022), capture interlanguage errors. Conversely, CTC (Zhao et al. 2022) and NaCGEC (Ma et al. 2022) focus on nativespeaker errors. More recently, datasets such as FCGEC (Xu et al. 2022) and FlaCGEC (Du et al. 2023) introduced finegrained annotations for precise error diagnostics. Despite this progress, existing CGEC benchmarks share a critical limitation: they rely solely on the textual modality. ## **2.2 Visual-aware CGEC Datasets** To leverage multimodal information, researchers have begun exploring visual aids for error correction. Visual-C3 (Li et al. 2023) was proposed for visual Chinese Spelling Correction; however, it focuses exclusively on spelling errors rather than broader grammatical errors. VisCGEC (Wang et al. 2025) provides a dataset for visual Chinese grammatical error correction collected from CFL learners' handwritten texts, but is limited to sentence-level data on uniform grid paper backgrounds. ReViCo (Liang and Zhang 2025) features broader real-world scenarios, but only covers images with sparse text segments on signs, cards, and tags. In contrast, our dataset encompasses a wide variety of complex grammatical issues. Furthermore, it features realistic background noise, dense texts with complete discourselevel contexts, and error corrections annotated with bounding boxes for localization and fine-grained labels for categorization. ### **2.3 Evaluation Metrics for CGEC and Visual Grounding** Due to the traditional text-to-text formulation of the grammatical error correction (GEC) task, evaluation metrics are purely text-based, including edit-based and fluencybased ones (Qiu et al. 2026). Previous CGEC studies mainly adopt edit-based metrics with Chinese adaptations. The most general metric is the MaxMatch (M2 ) scorer (Dahlmeier and Ng 2012), which aligns system edits to gold edits and reports precision, recall, and F0.5. Because M2 's word-segmentation dependence causes unstable alignments in Chinese, the field moved to ChERRANT, an extension of the English GEC evaluation tool ERRANT (Bryant, Felice, and Briscoe 2017) adapted for Chinese, introduced with the MuCGEC benchmark (Zhang et al. 2022). ChERRANT produces linguistically-informed, rule-based edit alignments and error-type classifications (e.g., word order, redundant/missing/selection errors, punctuation) before computing the same precision/recall/F0.5 scores at either the character or word level. Considering the multimodal nature of the G-CGEC task, however, metrics from the computer vision domain for evaluating visual grounding accuracy are also relevant. The most relevant are Intersection over Union (IoU) (Everingham et al. 2010; Zhang et al. 2013; Russakovsky et al. 2014) and the precision/recall/F scores derived from it. These are standard in object detection for measuring the similarity between predicted and ground-truth bounding boxes, and are invariant to image translation, uniform scaling, 90°-multiple rotations, and reflections. As detailed in later sections, our evaluation protocol *combines* metrics from both fields, adapted and extended for the G-CGEC task. ## **3 G-CGEC-Eval Benchmark** ## **3.1 Task Formulation** We formally define the Grounded CGEC (G-CGEC) task for our benchmark as follows: Given a sequence of input images I containing an essay, the expected output is a set of error correction edits: E = {e1, . . . , en}. We define each edit ei by the following properties: - **Operation type** Op[ei ]: its valid value is one of {Insertion, Deletion, Substitution}. - **Source** Src[ei ] and **Target** Tgt[ei ]: the contents before and after the correction, respectively. For substitution operations, both are expected to be non-empty strings. For insertion operations, the source is expected to be an empty string and the target a non-empty string. For deletion operations, the opposite holds. • Image index $\operatorname{Idx}[e_i] \in \{0,\dots,|\mathcal{I}|-1\}$ and Bounding box $\operatorname{Bbx}[e_i] = [x_{\min}, y_{\min}, x_{\max}, y_{\max}]$ : the index of the image containing the error, and the coordinates of the top-left and bottom-right corners of the error region. For substitution and deletion operations, each box bounds the erroneous characters. For insertion operations, the box is placed at the intended insertion anchor, large enough to cover the space between the surrounding characters. Note that we do not require the prediction of error type or reasons for each correction. This streamlines evaluation without compromising the core principle of the task: making correction edits on images. However, since we explicitly require the visual grounding outputs, the task is indeed more distinctly challenging and practically meaningful than previous benchmarks (e.g., ReViCo) that include the vision modality only as additional evidence for text-to-text correction. ### 3.2 Multi-Reference Evaluation Protocol To comprehensively assess the model's performance on the Grounded CGEC task, we employ an evaluation protocol that considers both visual grounding accuracy and grammatical correction correctness. For clarity, we denote a ground truth edit as $e_i^{\rm true} \in E^{\rm true}$ , and a predicted edit by a system in question as $e_j^{\rm pred} \in E^{\rm pred}$ , where $E^{\rm pred}$ represents the complete set of predicted edits, and $E^{\rm true}$ the complete ground-truth set that best matches $E^{\rm pred}$ (selected as described in the following subsections). Following the edit-based evaluation tradition in CGEC (Qiu et al. 2026), we find the *true positives* (TP) and *false positives* (FP) in $E^{\text{pred}}$ , and *false negatives* (FN) in $E^{\text{true}}$ . Then, we use these categorizations to compute precision (P), recall (R), and F1 using their standard definitions: $$P = \frac{\#TP}{\#TP + \#FP} \tag{1}$$ $$R = \frac{\#TP}{\#TP + \#FN} \tag{2}$$ $$F_1 = 2 \cdot \frac{P \cdot R}{P + R} \tag{3}$$ We elaborate on the metric computation details in the following subsections. Categorization of TP, FP and FN The categorization is based on both visual and textual matching between predicted edits and ground-truth edits. Specifically, we call $(e_i^{\text{true}}, e_j^{\text{pred}}) \in E^{\text{true}} \times E^{\text{pred}}$ a textual match if and only if $\operatorname{Op}[e_i^{\text{true}}] = \operatorname{Op}[e_j^{\text{pred}}]$ , $\operatorname{Src}[e_i^{\text{true}}] = \operatorname{Src}[e_j^{\text{pred}}]$ , and $\operatorname{Tgt}[e_i^{\text{true}}] = \operatorname{Tgt}[e_j^{\text{pred}}]$ , i.e., an exact match of all textual contents. For a visual match, however, an exact match is too strict to be practically meaningful. Instead, we only require $\operatorname{Idx}[e_i^{\text{true}}] = \operatorname{Idx}[e_j^{\text{pred}}]$ and their bounding-box similarity to exceed a given threshold. As commonly practiced in object detection (Everingham et al. 2010), we use IoU as one of our similarity measures, defined as follows: $$\text{IoU}(e_i^{\text{true}}, e_j^{\text{pred}}) = \frac{\text{Area}(\text{Bbx}[e_i^{\text{true}}] \cap \text{Bbx}[e_j^{\text{pred}}])}{\text{Area}(\text{Bbx}[e_i^{\text{true}}] \cup \text{Bbx}[e_j^{\text{pred}}])} \tag{4}$$ While a cutoff on the IoU measure is less strict than an exact match, we find it is not tolerant enough. Even top-tier proprietary VLMs may predict a bounding box with very low or zero overlap with the ground truth, yet the deviation is small enough to remain acceptable for error localization. Such predictions should be considered better than those that are substantially off, but a strict IoU cutoff treats both equivalently as non-matches. To address this, we propose an alternative similarity measure called **center-distance**, defined as the Euclidean distance between the centroids of the bounding boxes (denoted as the vector-valued function $\mathbf{c}(\cdot)$ ). All coordinates are normalized to a 0–1000 scale, making center-distance invariant to uniform image scaling, just like IoU: $$CD(e_i^{true}, e_j^{pred}) = \left| \mathbf{c} \left( Bbx[e_i^{true}] \right) - \mathbf{c} \left( Bbx[e_j^{pred}] \right) \right|$$ (5) After identifying all pairs that are both textual and visual matches, we sort them in descending order of IoU (or ascending order of center distance). We then traverse the sorted pairs to assign true positives greedily: for each pair $(e_i^{\rm true}, e_j^{\rm pred})$ , we designate $e_j^{\rm pred}$ as a TP and mark $e_i^{\rm true}$ as matched, provided that neither has already been assigned. After traversal, any unmatched $e_i^{\rm true}$ is categorized as FN, and any unassigned $e_j^{\rm pred}$ is categorized as FP. Selecting the Best Matching Reference Some text segments in our dataset admit multiple valid correction solutions (see Section 3.3). To handle this ambiguity during evaluation, we enumerate all complete essay-level ground-truth sets by taking the Cartesian product of the solutions across all multisolution segments, while keeping single-solution segments fixed. For instance, if one segment has two valid solutions and another has three, we obtain $2\times 3=6$ complete ground-truth sets, each containing exactly one solution for every annotated segment. For a given system prediction, we independently compute #TP, #FP, #FN, precision, recall, and $F_1$ against each complete ground-truth set using the matching procedure described above. We then select a single set by sequential tiebreaking: we first pick the set(s) with the highest $F_1$ -score; if multiple sets tie, we pick the one(s) with the most true positives; if still tied, the one(s) with the fewest false negatives; if still tied, the one(s) with the security still tied, the one with the smallest index in the enumerated set. #### 3.3 Dataset Construction The test dataset was collected to preserve the natural variation found in real-world K–12 handwritten essays. This section details the data collection and sampling procedures, the annotation process, and the final dataset statistics. ![](figures/arxiv_2611.17966/_page_3_Figure_0.jpeg) Figure 2: Error category distribution in the G-CGEC-Eval benchmark. Horizontal bars show fine-grained categories grouped by 7 coarse categories (bold labels, separated by gray lines). All bars within a group share the same color. Note that syntactic, discourse-level errors, and punctuation errors together account for over 80% of all errors. | Statistic | Value | |------------------------------------|---------------| | Total essays | 150 | | Total images | 251 | | Total corrected text segments | 2 731 | | Total edits (primary) | 2 913 | | Avg. edits per segment | 1.1 | | Edits with insertion operations | 849 (29.1%) | | Edits with deletion operations | 473 (16.2%) | | Edits with substitution operations | 1 591 (54.6%) | | Segments with multiple solutions | 76 (2.8%) | Table 1: Statistics of G-CGEC-Eval. Operations are counted from the primary solution of each segment. **Collection and Sampling** First, raw data were collected through partnerships with several schools. We distributed digital questionnaires to students to obtain consent for the academic use of their handwritten essays, ultimately receiving authorization from over 6,000 students. Students were then asked to digitize their essays by taking photographs. We provided no specific instructions on how to capture the images, other than requiring them to contain a complete student essay. Second, we engaged professional data annotation service providers to review the collected data and strictly filter out unsuitable images based on the following criteria: - the image does not contain a legitimate Chinese essay (e.g., non-Chinese content or non-essay materials), because some students failed to follow our instructions; - characters are unrecognizable due to extreme blurring, poor lighting, heavy shadows, severe perspective distor- tion, occlusion, or content cropped outside the frame; • the essay is too short to provide meaningful discourselevel context for error correction (fewer than 20 characters). After screening, we randomly sampled 150 essays to form the test dataset. Since our experiments focus on zero-shot and inference-time evaluation, no separate training or development sets are used. **Annotation Process** The annotation process consists of three stages: transcription, error correction, and boundingbox localization. In the *transcription* stage, professional annotators manually transcribe the handwritten text from each essay image. Annotators are instructed to preserve all original content faithfully, including grammatical errors, misspellings, and punctuation mistakes, without implicitly correcting anything. For non-existent characters, annotators guess valid characters that most closely resemble them visually and are contextually plausible, then enclose each guessed character in lenticular brackets, as shown in Figure 1. To ensure transcription quality, three annotators independently transcribe each essay, and disagreements are resolved through discussion or by a senior annotator. In the *error correction* stage, trained annotators with a background in Chinese language teaching identify grammatical, semantic, and spelling errors in the transcribed text. Each error is annotated with its operation type (insertion, deletion, or substitution), the source span, the corresponding corrected text, and the error category among 7 coarse types and 26 fine-grained subtypes. Some text segments can be corrected in multiple ways, each potentially involving multiple operations across different locations; annotators group such related operations into a single correction solution. For segments that admit multiple valid corrections, all mutually exclusive solutions are recorded. All other segments have at most one solution. In the *bounding-box localization* stage, annotators draw character-level bounding boxes around each operation in the original essay image. For substitution and deletion operations, the box covers the erroneous characters as they appear in the handwriting. For insertion operations, the box is placed at the intended insertion anchor, large enough to cover the space between the surrounding characters. **Dataset Statistics** Table 1 and Figure 2 summarize the composition of the dataset. The 150 essays span 251 images, yielding an average of 1.7 images per essay, which reflects the multi-page nature of handwritten essays. Across all essays, 2 731 text segments requiring correction are annotated, corresponding to roughly 18 segments per essay. The low average of 1.1 operations per segment indicates that most corrections are localized and can be fixed with a single edit, though a non-trivial fraction require coordinated multi-operation solutions spanning several positions. The error distribution reveals that syntax, discourse and punctuation errors together account for over 80% of all operations, indicating that K–12 students frequently struggle with sentence structure, collocation, and proper punctuation usage. Wrong-character errors are the third most common category, arising from both visual similarity and phonetic confusion. Less frequent categories—language norms, pinyin, character forms, and factual errors—are still wellrepresented, ensuring that the benchmark tests a broad range of correction capabilities rather than focusing on a narrow subset of error types. The 76 segments with multiple valid solutions (2.8%) highlight the inherent ambiguity of grammatical correction and motivate the multiple-reference evaluation protocol described in Section 3.2. ## **4 Experiments** ### **4.1 Experimental Setup** **Scope of Studied Systems** The purpose of the experiments in this paper is to identify the challenges and common failure modes for our benchmark, and to establish strong baseline systems to facilitate future research on the G-CGEC task. Given the multimodal nature of G-CGEC, we employ Vision-Language Models (VLMs) as our foundational architecture, as they possess the joint visual and linguistic capabilities required to process essay images and generate grounded corrections. We evaluate three distinct inference schemes: 1. **Single-pass Scheme**: In this end-to-end setting, the VLM is simply instructed to produce the required output given the input essay images, without any internal task decomposition or external auxiliary tools. It relies entirely on its inherent capabilities to generate grounded edits in a single step. This serves as the baseline for raw model capability. The complete prompt design and ablation results are reported in Appendix D. - 2. **Pipeline Scheme**: This modular approach decomposes the task into a rigid sequential flow. First, an OCR module provides a transcription of the essay. Second, the VLM performs textual error correction on the transcribed text. Finally, a character grounding module remaps the predicted textual edits back to the image coordinates. This scheme isolates the VLM's linguistic capabilities from the visual recognition burden. - 3. **Agentic Scheme**: This modular approach allows the VLM to dynamically coordinate with auxiliary tools (OCR and grounding models) through multi-step reasoning. Unlike the rigid pipeline, the agent decides when and how to invoke tools. We study two paradigms: (1) a *single-agent* that handles all subtasks autonomously, and (2) a *multiagent* workflow where specialized sub-agents focus on either specific error types or operation types, and a master agent aggregates the results dynamically. All agentic experiments use the **OpenCode** framework. Detailed configurations are given in Appendix E. To ensure a fair comparison across schemes, we use the same collection of proprietary and open-source VLMs as representative backend models: GPT-5.5 (strongest proprietary), MiMo-V2.5 (large-scale open-source), and Qwen3.5- 27B (small-scale open-source with moderate agentic capabilities). Whenever feasible, we set the temperature to 0.3, the top-p value to 1.0, and the maximum generation length to 16,384 tokens. Other decoding parameters follow the default settings of each model implementation. **OCR and Visual Grounding Modules** We train the OCR module via SFT of Qwen3.5-35B-A3B on 26k image essays with annotated transcriptions. The transcription process is the same as the first stage of the annotation of our test dataset. The visual grounding module is also trained on top of Qwen3.5-35B-A3B using a rejection sampling-based SFT dataset. Concretely, we sample the raw visual grounding output using Gemini-3.1-pro-preview and select the samples that pass a simple verification test. The verification test consists of two steps: - cropping the area around the predicted bounding boxes (i.e., *zoom-in*) and then visualizing the box boundaries on the cropped images; - using Qwen3.5-35B-A3B to recognize the text within the visualized boxes, and verifying the correctness of the box by checking whether the recognized text is consistent with the input text for visual grounding. We strictly ensure that the benchmark dataset has no overlap with the training sets for these two modules. The intrinsic performance of the two modules and statistics of their training datasets are provided in Appendix F. In the main paper, we show their extrinsic impact through ablation studies. **Evaluation Settings** We primarily rely on the IoU-based matching strategy for visual matching in most of the experiments, with the IoU threshold set to 0.3 (denoted as IoU@0.3) by default unless explicitly specified otherwise. Whenever necessary, we further report performance under the centerdistance-based matching strategy as a complement. | Scheme | Model | | | P (%) R (%) F1(%) | |---------------------|-------------|-------|-------|-------------------| | Single-pass | Qwen3.5-27B | 1.86 | 0.55 | 0.85 | | | MiMo-V2.5 | 0.80 | 0.10 | 0.18 | | | GPT-5.5 | 0.53 | 0.14 | 0.22 | | Pipeline | Qwen3.5-27B | 18.69 | 10.55 | 13.48 | | | MiMo-V2.5 | 20.10 | 10.75 | 14.01 | | | GPT-5.5 | 16.32 | 9.97 | 12.37 | | Agentic (E) | Qwen3.5-27B | 11.94 | 3.33 | 5.20 | | | MiMo-V2.5 | 33.90 | 12.41 | 18.17 | | | GPT-5.5 | 33.11 | 17.42 | 22.83 | | Agentic (O) GPT-5.5 | | 27.45 | 9.96 | 14.61 | | Agentic (S) | GPT-5.5 | 51.42 | 13.17 | 20.97 | Table 2: Main results across schemes and models. For Agentic schemes, (S), (E), (O) represents the **S**ingle-agent paradigm, the multi-agent paradigm with the **E**rror-typebased sub-agents, and the multi-agent paradigm with the **O**peration-type-based sub-agents, respectively. | Scheme | Model | F1(%) | |---------------------------|-------------------------------------|-------------------------| | VLM (Single-pass) | Qwen3.5-27B
MiMo-V2.5
GPT-5.5 | 0.85
0.18
0.22 | | OCR + VLM | Qwen3.5-27B
MiMo-V2.5
GPT-5.5 | 1.13
0.00
0.38 | | OCR + VLM + VG (Pipeline) | Qwen3.5-27B
MiMo-V2.5
GPT-5.5 | 13.48
14.01
12.37 | Table 3: Ablation experiments to study the individual impacts of the OCR module and the visual grounding (VG) module ## **4.2 Main Results** **Comparison Across System Schemes** Table 2 presents the overall performance of all system schemes under all representative VLM backends. The results show that Grounded CGEC remains challenging even for current top-tier VLMs such as GPT-5.5 (proprietary) and MiMo-V2.5 (opensource). Direct single-pass inference yields the poorest performance across the board, whereas modular alternatives (pipelining and agentic harnessing) where text recognition and visual grounding are outsourced provide meaningful gains. The flexibility of the coordination of outsourced modules provided by the agentic setup is not always beneficial. For example, Qwen3.5-27B achieves worse results with agentic harnessing than with pipelining. However, for more powerful models, agentic harnessing generally leads to better results, with the strongest result achieved by GPT-5.5 under the error-type-based sub-agent setup. While agentic workflows incur higher inference costs due to multi-step reasoning and tool usage, their substantial performance gains justify their deployment for this challenging task. **Comparison Across Agentic Workflows** Table 2 also compares single-agent inference, error-type-based sub- | Scheme | Model | F1(%) & ∆ | |-------------|-------------------------------------|-------------------------------------------------------------| | OCR + VLM | Qwen3.5-27B
MiMo-V2.5
GPT-5.5 | 0.83 (−0.30)
0.06 (+0.06)
0.44 (+0.06) | | Pipeline | MiMo-V2.5
GPT-5.5 | Qwen3.5-27B 15.24 (+1.76)
16.37 (+2.36)
16.86 (+4.49) | | Agentic (E) | Qwen3.5-27B
MiMo-V2.5
GPT-5.5 | 5.57 (+0.37)
19.32 (+1.15)
26.44 (+3.61) | Table 4: Results of the oracle experiment to study the effect of OCR quality. Each cell reports the F1 after replacing the OCR module results with the human-annotated transcriptions, with the absolute change shown in parentheses. agents, and operation-type-based sub-agents under the same backend models. The error-type-based sub-agent workflow obtains the highest F1, mainly by improving recall over the single-agent setting. This suggests that decomposing the task by error types helps the system discover more candidate errors. In contrast, operation-type-based sub-agents perform substantially worse. ### **4.3 Ablation Studies** **Individual Impact of OCR and Visual Grounding** The pipeline scheme and the single-pass scheme serve as strict upper and lower bounds, representing the performance of VLMs with or without the two auxiliary modules. Therefore, to understand the individual impact of the two modules, we add an intermediate setting: a VLM is given the OCR results, but it predicts the outputs without the visual grounding module. As shown in Table 3, the boost provided by visual grounding alone is significant. This implies that current VLMs are weak at visual grounding for dense texts. This motivates the detailed failure mode analysis in Section 4.4. In contrast, OCR provides a negative or limited positive impact. **Impact of OCR Quality** Given the previous results, it is reasonable to further study why the OCR module provides limited improvement. Therefore, we conduct an oracle experiment by replacing the OCR results with the human transcription data (an intermediate artifact from the annotation process of the benchmark dataset). As shown in Table 4, perfect OCR quality (i.e., human transcription) can significantly boost performance. This verifies the intuition that the error cascading effect as we exemplify in Figure 1 is non-trivial, and our evaluation protocol can capture its impact. Thus, despite the more profound impact of visual grounding, we argue that OCR quality is also a significant factor affecting performance. ## **4.4 Failure Mode Studies** **Center-Distance-Based Diagnostics** As discussed in Section 3.2, the IoU measure offers limited flexibility in controlling the strictness of visual grounding evaluation. The centerdistance (CD) metric addresses this limitation by allowing ![](figures/arxiv_2611.17966/_page_6_Figure_0.jpeg) Figure 3: Fine-grained failure decomposition. Each configuration has three bars: TP, FP, and FN. Bar heights are raw counts. FP and FN bars are internally stacked by subtype, and in-bar percentages (rounded to integers) denote subtype proportions. In the legend, *visual*, *textual*, and *both* indicate which kind of match failed. ![](figures/arxiv_2611.17966/_page_6_Figure_2.jpeg) Figure 4: Center-distance-based analysis as a complement to Table 2. Colors indicate inference paradigms (Single-pass, Pipeline, Agentic), while marker shapes distinguish individual systems. Line segments up to CD@38 are shown as solid lines and the remaining segments are shown as dashed lines. us to assess performance across a wider range of spatial tolerances. At lower thresholds, center-distance aligns with the strictness of IoU-based metrics: for instance, CD@18 corresponds closely to IoU@0.3, and CD@38 to IoU@0.01 (see Appendix B for empirical evidence). At higher thresholds, center-distance extends beyond the practical range of IoU: by progressively relaxing the spatial constraint, it isolates the impact of textual correction ability from visual grounding precision. As shown in Figure 4, as the center-distance threshold is relaxed, most systems achieve higher $F_1$ scores. This trend indicates that many predictions are textually plausible but visually imprecise. However, even when the spatial constraint is effectively relaxed at CD@1000, we observe that $F_1$ does not exceed 40%. This indicates that textual error correction itself remains highly challenging, even for the strongest baseline systems. Fine-grained Error Analysis We decompose false positives and false negatives into those caused by textual mismatch alone, visual mismatch alone, or both occurring simultaneously. As illustrated in Figure 3, textual and visual mismatches contribute roughly equally to the overall error rate. However, the proportion of cases where both failures co-occur is conspicuously dominant. This reveals that visual grounding and linguistic reasoning are deeply coupled: a deficiency in one modality frequently exacerbates or aligns with a deficiency in the other, underscoring the need for models that tightly integrate spatial localization with contextual grammatical understanding. ### 5 Conclusion In this paper, we introduced the task of G-CGEC and presented G-CGEC-Eval, the first benchmark for correcting errors directly on real-world essay images. We proposed a unified evaluation protocol combining exact textual matching with flexible spatial criteria (IoU and center-distance). Our experiments reveal that while direct VLM inference performs poorly, modular approaches that outsource OCR and visual grounding yield substantial gains, with an error-type-based multi-agent workflow setting the strongest baseline. Finegrained analysis identifies character-level grounding and linguistic error discovery as the primary bottlenecks. Currently, our study focuses on Chinese K-12 essays and evaluates models without task-specific fine-tuning. Furthermore, the strong performance of agentic workflows comes at the cost of higher inference latency, highlighting a need for more efficient reasoning strategies. We hope G-CGEC-Eval serves as a rigorous testbed for advancing multimodal error correction systems that better integrate visual perception with linguistic reasoning. ## **References** - Bryant, C.; Felice, M.; and Briscoe, T. 2017. Automatic Annotation and Evaluation of Error Types for Grammatical Error Correction. In Barzilay, R.; and Kan, M.-Y., eds., *Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, 793– 805. Vancouver, Canada: Association for Computational Linguistics. - Dahlmeier, D.; and Ng, H. T. 2012. Better Evaluation for Grammatical Error Correction. In Fosler-Lussier, E.; Riloff, E.; and Bangalore, S., eds., *Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies*, 568–572. Montréal, Canada: Association for Computational Linguistics. - Du, H.; Zhao, Y.; Tian, Q.; Wang, J.; Wang, L.; Lan, Y.; and Lu, X. 2023. FlaCGEC: A Chinese Grammatical Error Correction Dataset with Fine-grained Linguistic Annotation. *Proceedings of the 32nd ACM International Conference on Information and Knowledge Management*. - Everingham, M.; Van Gool, L.; Williams, C. K.; Winn, J.; and Zisserman, A. 2010. The pascal visual object classes (voc) challenge. *International journal of computer vision*, 88(2): 303–338. - Jiang, W.; Ye, Z.; Ou, Z.; Zhao, R.; Zheng, J.; Liu, Y.; Liu, B.; Li, S.; Yang, Y.; and Zheng, Y. 2022. MCSCSet: A Specialistannotated Dataset for Medical-domain Chinese Spelling Correction. *Proceedings of the 31st ACM International Conference on Information & Knowledge Management*. - Li, Y.; Xu, Z.; Chen, S.; Huang, H.; Li, Y.; Jiang, Y.; Li, Z.; Zhou, Q.; Zheng, H.-T.; and Shen, Y. 2023. Towards Real-World Writing Assistance: A Chinese Character Checking Benchmark with Faked and Misspelled Characters. *ArXiv*, abs/2311.11268. - Liang, J.; and Zhang, B. 2025. Vision Language Models Are Not (Yet) Spelling Correctors. *ArXiv*, abs/2509.17418. - Lv, Q.; Cao, Z.; Geng, L.; Ai, C.; Yan, X.; and Fu, G. 2022. General and Domain-adaptive Chinese Spelling Check with Error-consistent Pretraining. *ACM Transactions on Asian and Low-Resource Language Information Processing*, 22: 1 – 18. - Ma, S.; Li, Y.; Sun, R.; Zhou, Q.; Huang, S.; Zhang, D.; Yangning, L.; Liu, R.; Li, Z.; Cao, Y.; Zheng, H.; and Shen, Y. 2022. Linguistic Rules-Based Corpus Generation for Native Chinese Grammatical Error Correction. *ArXiv*, abs/2210.10442. - Qiu, M.; Gao, Q.; Yang, L.; Gu, Y.; Nguyen, T. M.; Huang, Z.; and Park, J. 2026. Chinese Grammatical Error Correction: A Survey. arXiv:2504.00977. - Rao, G.; Yang, E.; and Zhang, B. 2020. Overview of NLPTEA-2020 Shared Task for Chinese Grammatical Error Diagnosis. *Proceedings of the 6th Workshop on Natural Language Processing Techniques for Educational Applications*. - Russakovsky, O.; Deng, J.; Su, H.; Krause, J.; Satheesh, S.; Ma, S.; Huang, Z.; Karpathy, A.; Khosla, A.; Bernstein, - M. S.; Berg, A. C.; and Fei-Fei, L. 2014. ImageNet Large Scale Visual Recognition Challenge. *International Journal of Computer Vision*, 115: 211 – 252. - Tseng, Y.-H.; Lee, L.-H.; ping Chang, L.; and Chen, H.-H. 2015. Introduction to SIGHAN 2015 Bake-off for Chinese Spelling Check. In *SIGHAN@IJCNLP*. - van Strien, D. A.; Beelen, K.; Ardanuy, M. C.; Hosseini, K.; McGillivray, B.; and Colavizza, G. 2020. Assessing the Impact of OCR Quality on Downstream NLP Tasks. In *International Conference on Agents and Artificial Intelligence*. - Wang, X.; Yuan, D.; Liu, X.; Zhao, Y.; Zhang, X.; Chen, X.; and Lan, Y. 2025. VisCGEC: Benchmarking the Visual Chinese Grammatical Error Correction. In *Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)*, 5054–5068. - Wu, S.-H.; Liu, C.-L.; and Lee, L.-H. 2013. Chinese Spelling Check Evaluation at SIGHAN Bake-off 2013. In *SIGHAN@IJCNLP*. - Xu, L.; Wu, J.; Peng, J.; Fu, J.; and Cai, M. 2022. FCGEC: Fine-Grained Corpus for Chinese Grammatical Error Correction. *ArXiv*, abs/2210.12364. - Yu, L.-C.; Lee, L.-H.; Tseng, Y.-H.; and Chen, H.-H. 2014. Overview of SIGHAN 2014 Bake-off for Chinese Spelling Check. In *CIPS-SIGHAN*. - Zhang, J.; Zhang, Q.; Wang, B.; Ouyang, L.; Wen, Z.; Li, Y.; Chow, K.-H.; He, C.; and Zhang, W. 2024. OCR Hinders RAG: Evaluating the Cascading Impact of OCR on Retrieval-Augmented Generation. *ArXiv*, abs/2412.02592. - Zhang, X.; Yang, H.; Han, Z.; Wang, H.; and Gao, C. 2013. Object class detection: A survey. *ACM Comput. Surv.*, 46: 10:1–10:53. - Zhang, Y.; Li, Z.; Bao, Z.; Li, J.; Zhang, B.; Li, C.; Huang, F.; and Zhang, M. 2022. MuCGEC: a Multi-Reference Multi-Source Evaluation Dataset for Chinese Grammatical Error Correction. *ArXiv*, abs/2204.10994. - Zhao, H.; Wang, B.; Wu, D.; Che, W.; Chen, Z.; and Wang, S. 2022. Overview of CTC 2021: Chinese Text Correction for Native Speakers. *ArXiv*, abs/2208.05681. - Zhao, Y.; Jiang, N.; Sun, W.; and Wan, X. 2018. Overview of the NLPCC 2018 Shared Task: Grammatical Error Correction. In *Natural Language Processing and Chinese Computing*. ### A Complete IoU@0.3 Results This section complements the main paper by reporting IoU@0.3 results for a broader range of VLM backends. Table 5 presents results for deployable systems (using the OCR module) across the single-pass, pipeline, and agentic schemes. Table 6 provides the corresponding oracle results using human-annotated transcriptions. ## B Empirical Mapping between IoU and Center Distance The main paper uses IoU as the primary visual matching criterion and center distance (CD) as a complementary diagnostic. Since CD operates on a normalized 0–1000 coordinate scale, raw threshold values are not immediately intuitive. We therefore establish concrete reference points by measuring how closely CD-based pair selection aligns with IoU-based pair selection across systems. This mapping allows readers to interpret CD thresholds in terms of the more familiar IoU scale. #### **B.1** Method To align this analysis with the main comparison, we use the Single-pass and Agentic (E) predictions from Qwen3.5-27B, MiMo-V2.5, and GPT-5.5, yielding six systems in total. For each system, we collect the complete predictions across all 150 benchmark essays. Within each essay image, we enumerate all textually matched edit prediction pairs $(e_i^{\rm true}, e_j^{\rm pred})$ and compute both IoU and CD. We treat IoU-matched edit pairs as the reference and measure how well CD matching recovers them. For an IoU threshold $\tau$ and a CD threshold r, an edit pair is an IoU match if $\text{IoU}(e_i^{\text{true}},e_j^{\text{pred}}) \geq \tau$ and a CD match if $\text{CD}(e_i^{\text{true}},e_j^{\text{pred}}) \leq r$ . We compute the precision and recall of CD matching against IoU matching: $$P_{\tau}(r) = \frac{|\{(e_i^{\text{true}}, e_j^{\text{pred}}) : \text{CD} \le r \land \text{IoU} \ge \tau\}|}{|\{(e_i^{\text{true}}, e_j^{\text{pred}}) : \text{CD} \le r\}|}, \quad (6)$$ $$R_{\tau}(r) = \frac{|\{(e_i^{\text{true}}, e_j^{\text{pred}}) : \text{CD} \le r \wedge \text{IoU} \ge \tau\}|}{|\{(e_i^{\text{true}}, e_j^{\text{pred}}) : \text{IoU} \ge \tau\}|}.$$ $$F_{1,\tau}(r) = 2 \cdot \frac{P_{\tau}(r)R_{\tau}(r)}{P_{\tau}(r) + R_{\tau}(r)}.$$ (8) For each system and each $\tau$ , we sweep r from 0 to 100 (step 1) and find the r that maximizes $F_1$ . We report both the distribution of per-system optimal r values and the aggregate median $P/R/F_1$ curves across systems. #### **B.2** Results Table 7 summarizes the empirical mapping. For IoU@0.3, the median optimal distance across the six systems is r=18, and the aggregate median $F_1$ curve also peaks at r=18. For IoU@0.01, the median optimal distance is r=36, with the aggregate curve peaking at r=38. These values establish the reference points used in the main paper: CD@18 $\approx$ IoU@0.3 and CD@38 $\approx$ IoU@0.01. They provide a direct way to interpret center-distance thresholds on the familiar IoU scale. | Scheme | Model | P (%) | R (%) | F 1 (%) | |-------------|-------------------|-------|-------|--------------------| | Single-pass | Gemini 3.1 Pro | 11.10 | 3.19 | 4.95 | | | Qwen3.5-397B-A17B | 6.04 | 1.70 | 2.65 | | | Qwen3.5-27B | 1.86 | 0.55 | 0.85 | | | GPT-5.5 | 0.53 | 0.14 | 0.22 | | | MiMo-V2.5 | 0.80 | 0.10 | 0.18 | | Pipeline | Gemini 3.1 Pro | 22.50 | 15.32 | 18.23 | | | MiMo-V2.5 | 20.10 | 10.75 | 14.01 | | | Qwen3.6-27B | 19.44 | 10.55 | 13.68 | | | Qwen3.5-27B | 18.69 | 10.55 | 13.48 | | | GPT-5.5 | 16.32 | 9.97 | 12.37 | | Agentic (E) | GPT-5.5 | 33.11 | 17.42 | 22.83 | | | MiMo-V2.5 | 33.90 | 12.41 | 18.17 | | | Qwen3.6-27B | 17.81 | 7.26 | 10.31 | | | Qwen3.5-27B | 11.94 | 3.33 | 5.20 | | Agentic (O) | GPT-5.5 | 27.45 | 9.96 | 14.61 | | Agentic (S) | GPT-5.5 | 51.42 | 13.17 | 20.97 | Table 5: Deployable system results across a broader set of VLM backends. Agentic (S), (E), and (O) denote single-agent, error-type-based sub-agent, and operation-type-based sub-agent workflows, respectively. | Scheme | Model | P (%) | R (%) | F 1 (%) | |-------------|----------------|-------|-------|--------------------| | Single-pass | Gemini 3.1 Pro | 16.00 | 4.43 | 6.94 | | | Qwen3.5-27B | 1.64 | 0.55 | 0.83 | | | GPT-5.5 | 1.04 | 0.28 | 0.44 | | | MiMo-V2.5 | 0.26 | 0.03 | 0.06 | | Pipeline | Gemini 3.1 Pro | 28.26 | 18.80 | 22.58 | | | GPT-5.5 | 18.86 | 15.24 | 16.86 | | | MiMo-V2.5 | 22.79 | 12.77 | 16.37 | | | Qwen3.6-27B | 20.99 | 12.01 | 15.28 | | | Qwen3.5-27B | 20.49 | 12.14 | 15.24 | | Agentic (E) | GPT-5.5 | 37.80 | 20.32 | 26.44 | | | MiMo-V2.5 | 36.00 | 13.20 | 19.32 | | | Qwen3.6-27B | 16.93 | 8.30 | 11.14 | | | Qwen3.5-27B | 10.89 | 3.74 | 5.57 | | Agentic (S) | GPT-5.5 | 57.01 | 14.93 | 23.66 | Table 6: Oracle results using human-annotated transcriptions across additional VLM backends. Agentic (S) and (E) denote single-agent and error-type-based sub-agent workflows, respectively. #### **B.3** Robustness Check To verify that these reference points generalize, we repeat the analysis on a broader pool of 37 system outputs. This set covers single-pass, pipeline, agentic configurations with varying OCR settings, spanning GPT-5.4/5.5, Gemini 3 Flash/3.1 Pro, Qwen3.5, Qwen3.6 Plus, MiMo-V2.5, Claude Opus 4.7, etc. As shown in Figure 5, the median $F_1$ peaks remain stable at r=18 for IoU@0.3 and r=38 for IoU@0.01. This confirms that the IoU–CD correspondence holds consistently across diverse models and inference paradigms. #### **B.4** Instance-level illustration Figure 6 visualizes the correspondence at the instance level, using predictions from the strongest system (GPT-5.5 with error-type-based sub-agents). We select pairs whose textual edits match exactly and vary only the visual threshold. At both reference points, IoU and CD admit the same instances: IoU@0.3 and CD@18 each admit three (Cases B, C, F), while IoU@0.01 and CD@38 each admit all six. Their intermediate trajectories differ—IoU relaxation first admits Case A, whereas CD relaxation first admits Case D—confirming that the criteria are not geometrically equivalent, but that the reference points capture a meaningful empirical alignment. #### C Pass@k Metric The main paper evaluates system performance using single-shot Precision, Recall, and $F_1$ . However, VLMs are inherently stochastic, and a model may possess the capability to identify an error but fail to produce the correct prediction deterministically in a single inference. Pass@k addresses this by measuring the probability that at least one out of k independently sampled inferences correctly identifies a ground-truth edit. This metric is particularly valuable for our prompt sensitivity analysis, as it reveals how reliably a prompt guides the model toward correct answers across multiple samples, rather than relying on a single stochastic outcome. In G-CGEC, each ground-truth error $e_i^{\rm true}$ is treated as an independent instance. For a single model inference, we check whether it contains a predicted edit $e_j^{\rm pred}$ that matches $e_i^{\rm true}$ . We evaluate two matching criteria: visual-only match and full match, where the latter considers both textual and visual matches as defined in the main paper. Given n generated samples $(n \geq k)$ , let c be the number of samples that contain at least one matching prediction for $e_i^{\rm true}$ . The pass@k score for this instance is estimated as: $$pass@k = 1 - \frac{\binom{n-c}{k}}{\binom{n}{k}}.$$ (9) The overall pass @k is computed by averaging this value over all ground-truth edit instances. ### D Prompt Sensitivity Analysis The single-pass scheme relies entirely on the prompt to guide the model. To ensure a fair comparison across models and paradigms in the main paper, we conduct a systematic ablation study to identify a prompt that performs well and consistently across VLMs, rather than one optimized for any particular model. ### **D.1** Prompt Design Space We decompose the single-pass prompt into three dimensions salient for G-CGEC and construct seven variants by controlled ablation: Instruction complexity: Full specification (role definition, recognition rules, annotation conventions, detailed constraints on punctuation, temporal expressions, special cases, and bounding-box format) versus condensed essentials. - **Transcription output:** Whether the model outputs the full essay transcription before producing corrections. - Output format: XML-style tags (e.g., , , ) versus JSON. For JSON, we further test a *decoupled* variant that separates textual correction from bounding-box grounding into distinct output stages. ### **D.2** Development Set for Prompt Selection To avoid overfitting the prompt to the specific models evaluated in the main paper, we use a separate development set of VLM backends for the prompt sensitivity analysis. These models are not included in the main experimental comparisons but share similar architectural characteristics and capabilities. By optimizing the prompt on this independent set, we ensure that the selected default prompt generalizes well across models rather than being tuned to the idiosyncrasies of a particular backend. For this analysis, we evaluate all prompt variants on a 10-essay subset, sampling n=32 generations per backend and computing pass@k for $k \in \{1, 2, 4, 8, 16\}$ under IoU@0.3. Table 8 reports the pass@k results for the selected default prompt (Variant 1). Pass@k increases monotonically with the sampling budget for every backend, confirming that repeated sampling reliably uncovers additional correct predictions. The gap between visual-only and full-match scores is substantial: at k = 16, the strongest visual-only score reaches 48.39%, whereas the strongest full-match score is only 27.16%. This indicates that while repeated sampling improves the chance of locating relevant regions, correct localization alone does not resolve the textual correction bottleneck. The backend ordering also shifts depending on the matching criterion: Gemini 3 Flash leads under visualonly pass@16, while Qwen3.5-397B-A17B leads under fullmatch pass@16. ### D.3 Scoring Let $s_{m,p,k}$ denote the pass@k score for model m and prompt variant p. We first compute the per-model effectiveness of each variant by min-max normalizing across variants and weighting by w = (5,4,3,2,1) for $k \in \{1,2,4,8,16\}$ : $$E_{m,p} = \sum_{k} w_k \frac{s_{m,p,k} - \min_{p'} s_{m,p',k}}{\max_{p'} s_{m,p',k} - \min_{p'} s_{m,p',k}}.$$ (10) We then evaluate each variant across M models by its average effectiveness $\mu_p = \frac{1}{M} \sum_{m=1}^M E_{m,p}$ and its robustness $\sigma_p = \sqrt{\frac{1}{M} \sum_{m=1}^M (E_{m,p} - \mu_p)^2}$ . The final utility score is: $$U_p = \mu_p - \sigma_p, \tag{11}$$ which explicitly favors prompts that are both highly effective on average and stable across models. #### D.4 Results Table 9 reports the utility scores. Variant 1 (full instructions, transcription output, XML format) achieves the highest U under both the visual-only and the stricter full-match criteria at both IoU thresholds. We therefore adopt Variant 1 as the | IoU
thresh
old | Per-system
optimal-r range | Per-system
optimal-r
median | Per-system
optimal-r
mean | Median
curve peak r | Median P
at peak | Median R
at peak | Median F1
at peak | |----------------------|-------------------------------|-----------------------------------|---------------------------------|------------------------|---------------------|---------------------|----------------------| | 0.3 | 0–22 | 18 | 16.54 | 18 | 0.8504 | 0.9075 | 0.8808 | | 0.01 | 19–42 | 36 | 34.38 | 38 | 0.9145 | 0.9039 | 0.9065 | Table 7: Empirical pair-level mapping between IoU thresholds and CD thresholds. For each IoU threshold τ , we report the distribution of per-system optimal r (the r that maximizes pair-level F1) and the aggregate median P/R/F1 at the peak. ![](figures/arxiv_2611.17966/_page_10_Figure_2.jpeg) ![](figures/arxiv_2611.17966/_page_10_Figure_4.jpeg) (a) IoU threshold 0.3 (peak at r = 18). (b) IoU threshold 0.01 (peak at r = 38). Figure 5: Pair-level precision, recall, and F1 of CD matching against IoU matching across the 37 system outputs. Shaded regions denote the 25–75 percentile range across systems. default prompt for all single-pass evaluations in the main paper. Two patterns emerge. First, simplifying the instructions (Variant 2) or switching to JSON output (Variants 4 and 6) reduces cross-model robustness, suggesting that G-CGEC benefits from detailed guidance and XML-style formatting. Second, the decoupled JSON prompts (Variants 5 and 7) perform worst across nearly all settings, indicating that separating correction from grounding at the output level disrupts the joint reasoning required for the task. These findings reinforce our main-paper conclusion: meaningful performance gains come from structural decomposition of the inference process (pipeline, agentic workflows) rather than prompt engineering alone. ## **E Additional Implementation Details** ### **E.1 Agentic Framework and Dynamic Coordination** Our agentic systems are built upon the OpenCode framework, which enables dynamic, on-the-fly coordination rather than relying on rigid, pre-scripted pipelines. Specifically, tasks such as merging results from sub-agents, resolving conflicts, deciding when to invoke OCR or visual grounding tools, and verifying intermediate outputs are all handled autonomously by the agents based on the context of each essay. This design allows the system to adapt its reasoning trajectory to the complexity and layout of individual inputs. ## **E.2 Agentic Workflow Design** All workflows follow an image-in, text-and-bounding-boxout protocol. We evaluate two paradigms: - **Single-Agent:** The model performs staged reasoning (reading, error detection, correction, localization, verification) and autonomously decides when to invoke OCR or visual grounding tools. - **Multi-Agent:** A master agent delegates error discovery to specialized sub-agents, decomposed either by *error-type* (e.g., punctuation, grammar, spelling) or by *operationtype* (insertion, deletion, substitution). Sub-agents independently propose candidates, and the master agent dynamically aggregates, deduplicates, verifies against the image, and produces the final structured output. ### **E.3 Pipeline String Alignment** In the pipeline scheme, we align the OCR-transcribed text with the LLM-generated corrected text to derive the minimal sequence of insertion, deletion, and substitution edits. We use character-level Levenshtein distance for this alignment. Substitution and deletion edits inherit the bounding boxes of their aligned source spans, while insertion edits are assigned virtual character-sized boxes at the corresponding insertion anchors. ### **E.4 Agent Execution Constraints** To ensure fair comparison and prevent excessive computation from skewing results, each agentic workflow is limited to at most 30 reasoning steps per essay, and each agent run is capped at 20 minutes. If an agent exceeds either limit, the process is terminated and the last valid structured output is used for evaluation. ![](figures/arxiv_2611.17966/_page_11_Figure_0.jpeg) Figure 6: Instance-level illustration of the IoU–CD correspondence. Top row: progressively relaxing the IoU threshold. Bottom row: increasing the CD threshold r. Blue solid boxes are ground truth, orange dashed boxes are predictions. Gray boxes are not yet visually eligible; thicker outlines indicate pairs newly admitted at each threshold. Intermediate thresholds are case-specific breakpoints chosen for visualization. ## **E.5 Stochasticity and Reproducibility** All experiments are conducted with temperature T = 0.3 and top-p = 1.0. The reported F1 scores are based on a single run per configuration. Given the stochastic nature of VLM generation, minor fluctuations may occur across runs; however, the observed performance gaps between schemes are substantial and consistent. ## **E.6 Tool Calling Schema** External modules (OCR and visual grounding) are exposed to the agents as *Agent Skills*. Each skill is accompanied with a SKILL.md and a Python script that can be used to call the tools. For each SKILL.md, we detail the usage of the Python script. ## **F OCR and Visual Grounding Module Specifications** ## **F.1 OCR Module Training and Performance** The OCR module is trained via supervised fine-tuning (SFT) of Qwen3.5-35B-A3B on 26 800 image essays with humanannotated transcriptions. The transcription protocol follows the same procedure described in Section 3.3 of the main paper, including lenticular brackets for non-existent characters. We train for 4 epochs with a learning rate of 2 × 10−5 and a global batch size of 64, using LoRA with rank 32 and alpha 64. The trained OCR module achieves an average Levenshtein distance of 6.84 per essay on the G-CGEC-Eval benchmark. ## **F.2 Visual Grounding Module Training and Performance** The visual grounding module is also trained on top of Qwen3.5-35B-A3B using a rejection sampling-based SFT dataset, as described in the main paper. The training data is derived from images and transcriptions of 558 essays (a subset of the OCR module's training set). For each essay, we sample up to 20 text segments of 20 characters for image index prediction and another 20 segments for character-level bounding box prediction, provided the essay is long enough. In total, the training set contains 13 252 entries (combining image index and bounding box prediction tasks). Training hyperparameters match those of the OCR module. For evaluation, we construct a test set by sampling 20-character text segments from 50 essays in the G-CGEC-Eval benchmark and manually annotating their gold bounding boxes. Table 10 reports the intrinsic evaluation results across different IoU thresholds. | | Visual-only pass@k (%) | | | | Full-match pass@k (%) | | | | | | |-----------------------------|------------------------|------|------|----------------------------------------|-----------------------|----------------|----|------|-----------------------------------------------------------|------------| | Model | @1 | @2 | @4 | @8 | @16 | @1 | @2 | @4 | @8 | @16 | | Qwen3-VL-235B-A22B-Thinking | 3.97 | | | 6.72 10.32 14.56 19.45 0.38 0.73 | | | | 1.35 | 2.34 | 3.70 | | Qwen3-VL-30B-A3B-Instruct | | | | 9.92 15.63 23.33 33.28 43.94 1.48 2.83 | | | | 5.19 | | 8.87 13.46 | | Qwen3-VL-32B-Instruct | 5.53 | | | 9.42 14.60 20.86 28.91 1.31 2.33 | | | | 3.80 | 5.48 | 7.43 | | Qwen3-VL-32B-Thinking | 1.69 | 3.20 | 5.78 | | 9.62 14.28 0.04 0.08 | | | 0.17 | 0.34 | 0.68 | | Qwen3-VL-8B-Instruct | 2.32 | 3.35 | 4.95 | | 7.33 10.34 0.00 0.00 | | | 0.00 | 0.00 | 0.00 | | Qwen3-VL-8B-Thinking | 0.21 | 0.42 | 0.83 | 1.61 | | 3.05 0.00 0.00 | | 0.00 | 0.00 | 0.00 | | Gemini 3 Flash | | | | | | | | | 10.52 18.01 27.91 38.52 48.39 5.41 9.48 15.07 20.90 25.01 | | | Qwen3.5-35B-A3B | 3.46 | | | 6.50 11.54 18.69 27.28 1.31 2.42 | | | | 4.18 | 6.42 | 8.48 | | Qwen3.5-397B-A17B | | | | | | | | | 9.59 16.01 24.46 34.56 46.20 4.05 7.04 11.66 18.37 27.16 | | | Qwen3.5-Flash | 3.00 | | | 5.62 10.02 16.60 25.13 1.10 2.01 | | | | 3.41 | 5.23 | 7.20 | Table 8: Pass@k results for the selected default prompt (Variant 1) at IoU@0.3. Each backend has 32 sampled generations on the same 10-essay subset. Scores are percentages; Visual-only requires only spatial matching, while Full-match additionally requires the textual edit to match exactly. | Variant | Design | | | Visual-only U | | Full-match U | | | |---------|--------|---------------|----------------|---------------|--------|---------------------------------|--------|--| | | Instr. | Transcription | Format | | | IoU@0.3 IoU@0.5 IoU@0.3 IoU@0.5 | | | | 1 | Full | Yes | XML | 0.363 | 0.435 | 0.209 | 0.377 | | | 2 | Simple | Yes | XML | 0.276 | 0.176 | 0.062 | 0.091 | | | 3 | Full | No | XML | 0.341 | 0.168 | 0.173 | 0.252 | | | 4 | Full | Yes | JSON | 0.146 | 0.254 | 0.157 | 0.223 | | | 5 | Full | Yes | Decoupled JSON | -0.011 | -0.059 | -0.061 | -0.017 | | | 6 | Full | No | JSON | 0.261 | 0.200 | 0.138 | 0.273 | | | 7 | Full | No | Decoupled JSON | -0.017 | -0.072 | 0.107 | 0.040 | | Table 9: Prompt variant sensitivity results. U denotes the model-normalized utility score (µ − σ) aggregated over pass@k for k ∈ {1, 2, 4, 8, 16}. *Visual-only* computes pass@k using only the visual matching criterion, while *Full-match* requires both visual and exact textual matches. All variants are evaluated on the same set of VLM backends. | IoU Threshold | Avg. IoU | Recall (%) | Precision (%) | |---------------|----------|------------|---------------| | 0.2 | 60.60 | 90.04 | 91.17 | | 0.5 | 67.65 | 69.00 | 69.87 | Table 10: Intrinsic evaluation results of the visual grounding module on the held-out test set. Performance is reported under varying IoU thresholds for spatial matching.