Simple Test-Time Refinement for Plot-to-Code Generation via Visual-Code Diagnostics
Update NeurIPS 2026 submission rywd4Tm9jn: 13 notes
@openreview[bot] · 2026-11-24 15:56 UTC · f57fe74585db ·
reviews/openreview/rywd4tm9jn/notes/3dl9qpuuwa.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/3dl9qpuuwa.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "3dl9QPuuwa",+ "replyTo": "CvcpKchAty",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Comment Reply 2",+ "comment": "## Question 3\n\n> The token-efficiency claim is useful, but the token accounting is not very clear. The verifier takes images and code as input, and the generator also receives code context and produces patches over multiple iterations. It is not clear whether the reported token numbers include verifier input and output tokens as well?\n>\n> The paper reports that the proposed method uses fewer tokens than multi-agent refinement, but it is not fully clear what tokens are counted. Do the reported numbers include verifier input and output tokens as well? If not, including them would be helpful and fair.\n\nThe reported values are output tokens summed over all model calls. For our method, this includes the verifier's diagnostic outputs and the generator's patch outputs across all refinement rounds. For Best-of-N, it includes all five generated candidates; for multi-agent refinement, it includes the outputs of all participating agents across iterations. Input text tokens and image tokens are not included. We focus on output tokens because autoregressive generation is typically the more expensive and latency-intensive part of inference: API providers generally charge more for output tokens than input tokens, and generating each output token takes additional decoding time. Output-token consumption therefore directly captures the efficiency benefit of localized patch generation over repeatedly generating complete programs.\nWe will rename the table column from “Tokens” to “Output Tokens” and state this accounting scope in both the caption and main text.\n\n## Question 4\n\n> The diagnostic categories are quite coarse. The verifier predicts errors such as data, local style, and global style, but high-fidelity plot repair may need more detailed feedback. For example, the model may need to know the exact wrong color, marker, tick label, axis range, legend position, font size, or data value.\n\nOur diagnostic categories are extensible, and the four categories used in this paper are one practical instantiation for validating the general strategy of using visual-code Diagnostics to guide test-time refinement. In fact, our preliminary experiments showed that providing the generator with a larger and more fine-grained set of feedback categories yielded no significant additional gains."+ },+ "createdAt": "2026-07-28T16:39:12.508Z",+ "modifiedAt": "2026-11-19T16:46:28.969Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=3dl9QPuuwa",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/3ej0xlyrvn.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/3ej0xlyrvn.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "3eJ0XlyrVN",+ "replyTo": "o5Cw6gN94p",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Reply to Reviewer qdWh",+ "comment": "Thank you again for your detailed review. We have provided a response addressing your main concerns.\nAs the author–reviewer discussion period is approaching its end, we would appreciate it if you could let us know whether our response has clarified your concerns. If you have any remaining questions or concerns, we would be happy to provide further clarification."+ },+ "createdAt": "2026-08-03T15:19:11.565Z",+ "modifiedAt": "2026-11-19T16:46:28.748Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=3eJ0XlyrVN",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/asxtuvollj.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/asxtuvollj.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "ASXtUvolLJ",+ "replyTo": "CvcpKchAty",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Reply to Reviewer RmuF",+ "comment": "Thank you again for your detailed review. We have provided a response addressing your main concerns. As the author–reviewer discussion period is approaching its end, we would appreciate it if you could let us know whether our response has clarified your concerns. If you have any remaining questions or concerns, we would be happy to provide further clarification."+ },+ "createdAt": "2026-08-03T15:23:42.053Z",+ "modifiedAt": "2026-11-19T16:46:28.521Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=ASXtUvolLJ",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/bjvbcmypzf.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/bjvbcmypzf.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "BJVBCMYPzf",+ "replyTo": "xG5Z5NzgWI",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Comment Reply",+ "comment": "We sincerely thank the reviewer for recognizing the practical motivation, efficiency, and diagnostic-guided debugging paradigm of our work. We address each question below and will incorporate the corresponding clarifications and corrections into the revised paper.\n\n## Question 1\n\n> The framework is primarily an engineering combination of existing concepts (test-time refinement, localized patching, and R1-style SFT+GRPO) applied to a specific task.\n\nWe respectfully clarify that our contribution is not the isolated use of refinement, patching, or GRPO, but the formulation and learning of **visual-code diagnostics** for plot-to-code generation. Existing methods either regenerate complete programs or use free-form critique without grounding visual discrepancies in code. In contrast, our verifier jointly predicts **what** is visually wrong and **where** the responsible code is, represents localization as generation-friendly TODO actions, and enables targeted patching with a compact model. Supporting this formulation requires a real-error-derived taxonomy, scalable paired visual-code supervision, code-aware line alignment, and a task-specific dual training objective. Empirically, the trained 2B verifier outperforms an untrained 32B verifier and heavyweight multi-agent refinement while using substantially fewer output tokens. We will revise the introduction to distinguish these task-specific technical contributions more explicitly from the standard optimization components used to train them.\n\n## Question 2\n\n> The dual reward function is not ablated. It is unclear how the individual terms, their uniform weighting, or the chosen Jaccard similarity metric affect training performance.\n>\n> How sensitive are results to the Jaccard-based reward formulation? Have you compared against F1 over line ranges or exact match for code localization?\n\nThe effects of the two reward targets are already examined through their corresponding diagnostic signals in “Ablation Study on Visual-Code Diagnostic Signals” (Lines 305–320). Visual-only and code-only diagnostics achieve `L=70.7` and `L=72.2`, respectively, while their combination achieves the best result of `L=73.4`. This shows that both targets contribute complementary information.\n\nWe chose Jaccard similarity because both error types and localization actions are variable-size sets. It gives partial credit for partially correct diagnostics, normalizes for set size, and penalizes both missing and spurious predictions. Exact match is substantially sparser: one shifted or omitted code region makes the entire localization reward zero. Set F1 captures nearly the same overlap information as Jaccard and is a monotonic transformation of it for each prediction/reference pair.\n\nTo directly test sensitivity to the similarity function, we additionally trained models from the same SFT checkpoint while changing the similarity metric used by both the visual and code rewards. We report downstream execution (`E`) and visual similarity (`L`) using Qwen3-VL-8B on ChartMimic.\n\n| Reward similarity | `E` | `L` |\n| --- | ---: | ---: |\n| Exact match | 87.2 | 71.9 |\n| F1 | 89.8 | **73.4** |\n| Jaccard | **90.0** | **73.4** |\n\nJaccard and F1 produce nearly identical results, confirming that the method is not sensitive to the specific overlap formulation. Exact match performs substantially worse because its sparse reward discards useful partial matches for both error-type prediction and code localization, which reduces downstream refinement quality. We will add this comparison to the revision.\n\n## Question 3\n\n> The four-category taxonomy is derived from Matplotlib internal API structure rather than visual perception, causing it to miss common layout, scale, and rendering errors.\n\nWe clarify that the taxonomy is not derived solely from Matplotlib's internal API structure. During our analysis of genuine errors produced by four representative generators, we jointly considered their visual manifestations and the corresponding code structure. The visual evidence distinguishes failed rendering, incorrect plotted content, element-level appearance errors, and plot-level layout or styling errors, while the code structure makes these discrepancies actionable for localization and repair. Consequently, the cited cases are covered: axis ranges, linear/log scales, ticks, subplot spacing, titles, and legends are handled as global- or local-style errors according to their visual scope, while failures that prevent rendering are compiler errors.\n\nMore importantly, these four categories are not intended as a fixed or exhaustive taxonomy. Visual-code diagnostic categories can be refined or extended for different plotting scenarios, visual conventions, and libraries. The central contribution of this work is to validate the strategy of using structured visual-code diagnostics—identifying both what is visually wrong and where it originates in code—to guide test-time refinement. The current four-category taxonomy is one practical instantiation for the Matplotlib benchmarks, while code localization provides the fine-grained repair information. \n\n## Question 4\n\n> Have you tested the framework on any non-Matplotlib plotting library? If not, what is the primary barrier — benchmark availability or taxonomy transferability?\n\nOur goal in this work is to establish whether structured visual-code diagnostics can effectively guide test-time refinement, and we use the established Matplotlib-based benchmarks as a controlled testbed for this question.\n\nThe high-level diagnostic concepts—data errors, element-level visual errors, and plot-level layout or scale errors—can be extended or adapted to other libraries. Likewise, line-level localization and TODO-based feedback do not depend on Matplotlib. Therefore, the Visual-Code Diagnostics framework can be extended to other plotting libraries by adapting the diagnostic categories to their visual conventions and code structures."+ },+ "createdAt": "2026-07-28T15:56:57.892Z",+ "modifiedAt": "2026-11-19T16:46:28.891Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=BJVBCMYPzf",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/cqciezxb8a.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/cqciezxb8a.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "cqCiEzxB8a",+ "replyTo": "i9ikuaGhW4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Reply to Meta Review",+ "comment": "We sincerely thank the Area Chair for the careful synthesis and for recognizing the practical motivation, technical solidity, and efficiency of our work. We conducted additional analyses and experiments that directly address the four concerns in the metareview.\n\n## 1. ChartMaster-7B and the Applicability Boundary\n\nThe taxonomy in Appendix A was derived by examining outputs and generated code from four models, including ChartMaster-7B. Its failures remain covered by the same error categories and do not exhibit a qualitatively distinct code style or taxonomy.\n\nAll evaluated refinement methods fail to improve ChartMaster-7B consistently while improving general-purpose generators. ChartMaster-7B is specialized for direct generation but not explicitly trained for instruction-following code revision. When supplied with human-annotated gold error types and code regions, it still failed to correct the errors. This indicates that generator revision ability is an important factor, rather than inaccurate diagnostics or a distinct bug distribution (Reviewer qdWh, Question 4; Reviewer xL4t, Question 1).\n\nWe also evaluated GPT-5.5 on ChartMimic. Our method improves `E` from `95.1` to `95.8`, `L` from `85.4` to `88.1`, and `H` from `87.3` to `89.4` (full table in Reviewer xL4t, Question 2). Thus, the applicability condition is the ability to follow diagnostic instructions and revise code, not whether the generator is weak or strong. We will make this boundary explicit.\n\n## 2. Synthetic Training and Real Errors\n\nThe diagnostic categories and mutation design are grounded in the real-error analysis in Appendix A. The synthetic dataset also contains multiple-error cases, for which the verifier jointly predicts multiple types and code regions.\n\nWe further annotated code-error regions for genuine model outputs and directly evaluated Ours-RL-2B. It achieves `85.9` error-type F1 and `71.8/78.9/75.2` code-localization precision/recall/F1, only slightly below the synthetic-test results of `87.2/73.2/80.7/76.8` (full table in Reviewer qdWh, Question 2). This confirms transfer from controlled mutations to naturally occurring errors.\n\n## 3. Diagnostic Design Versus Training Data\n\nThe untrained Qwen3-VL-2B/32B verifiers in Table 1 are zero-shot versions of the same framework. Without diagnostic training, the 32B verifier reaches `L=70.9/58.5` on ChartMimic/Plot2Code, outperforming vanilla, Best-of-N, and self-debug and remaining competitive with multi-agent refinement. Even the zero-shot 2B verifier is close to multi-agent. This establishes the effectiveness of the diagnostic refinement design without additional supervision.\n\nTraining further improves both diagnostics and downstream refinement: the trained 2B verifier outperforms the zero-shot 32B verifier, and Table 5 shows large gains over the untrained 2B model. Moreover, supervision comes from Chart2Code-160K, while evaluation uses the separate ChartMimic and Plot2Code benchmarks; this is task-relevant supervision, not adaptation to either test set.\n\n## 4. Budgets and Token Accounting\n\nAll methods use five attempts or refinement rounds. Best-of-N samples five candidates; self-debug and our method run for five revisions; multi-agent runs for at most five rounds with its original stopping rule. Refinement methods receive the same reference image and current rendered output.\n\nTable 2 reports output tokens over all calls, including our verifier diagnostics and generator patches, all Best-of-N candidates, and all multi-agent outputs. Input text and image tokens are excluded. Because autoregressive output is typically more expensive and latency-intensive, we focus on output-token consumption and will rename the column accordingly.\n\n## Revision Summary\n\nWe will incorporate these analyses, complete inference settings, corrected token terminology, and expanded limitations. Additional supplementary tables report reward-function sensitivity (Reviewer LRFY, Question 2) and the previously missing verifier settings for Qwen3-VL-32B and GPT-4o (Reviewer xL4t, Question 3)."+ },+ "createdAt": "2026-08-04T09:15:41.479Z",+ "modifiedAt": "2026-11-19T16:46:28.497Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=cqCiEzxB8a",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/hh4i8dd8uc.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/hh4i8dd8uc.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "Hh4I8DD8uc",+ "replyTo": "NKMglBueFG",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Comment Reply",+ "comment": "We sincerely thank the reviewer for recognizing the motivation, efficiency, and verifier-quality ablation of our work. We address each question below and will incorporate the corresponding clarifications and corrections into the revised paper.\n\n## Question 1\n\n> The degradation on ChartMaster-7B (Table 3), especially on ChartMimic, raises concerns about generalization. Since the verifier improves performance on Qwen3-VL-8B/32B and GPT-4o but fails on ChartMaster-7B, it's unclear whether the diagnostic signal generalizes to generators with different code styles/training paradigms, or whether it has picked up on bug patterns specific to general-purpose MLLM outputs. Further analysis of this discrepancy would strengthen the generalization claim.\n>\n> Could the authors provide an error-type breakdown or failure analysis for ChartMaster-7B to clarify whether the performance degradation stems from a different error distribution/code style rather than just weaker revision capability, especially since even untrained verifiers fail on this generator?\n\nWhen deriving the error taxonomy in Appendix A, we manually inspected and analyzed the generated code of four representative models, including ChartMaster-7B. Despite its task-specific training paradigm, ChartMaster-7B does not exhibit a qualitatively different code style or set of error types: its failures remain covered by the same compiler, data, local-style, and global-style categories observed for the general-purpose generators.\n\nThe paper also shows that all evaluated refinement strategies fail to improve ChartMaster-7B consistently. These include our trained verifier, self-debug, multi-agent refinement, and untrained verifiers. However, all of these refinement strategies improve the results of general-purpose models. ChartMaster-7B is specialized for direct plot-to-code generation but is not explicitly trained for instruction-following code revision. In contrast, although general-purpose MLLMs are not specifically trained for plot-to-code generation, their stronger general instruction comprehension and following capabilities enable them to revise code more effectively according to diagnostic feedback. These observations indicate that the generator's ability to revise code is an important factor, and that the degradation is unlikely to be explained solely by bug patterns or code style.\n\nTo further isolate the cause, we conducted a manual analysis in which ChartMaster-7B was given human-annotated gold visual-code diagnostics. Even with the correct error types and code regions, it still failed to repair the identified errors. This rules out inaccurate diagnostics as the primary cause and supports the explanation already given in Lines 296–300: unlike general-purpose MLLMs with strong instruction-following ability, ChartMaster-7B is specialized for direct generation but not trained to revise code according to feedback. In the revised version, we will further expand this discussion by incorporating the new gold-diagnostic analysis and more clearly explaining the dependence of test-time refinement on the generator's code-revision capability.\n\n## Question 2\n\n> The practical value of this approach may be limited given current trends in plot-to-code generation. As Table 3 shows, the refinement framework degrades performance when applied to ChartMaster-7B, a model with strong task-specific coding ability. This suggests that as generators become more capable — whether through specialized fine-tuning or simply larger/stronger models (e.g., Qwen3.5 above 27B, or closed-source models like GPT-5.5 and beyond) — there may be fewer bugs left for the verifier to meaningfully detect and correct, and the diagnostic signal may become less reliable or even harmful. Since most practical plot-to-code generation pipelines already rely on SOTA open-source or closed-source models with strong coding capability, a method that mainly benefits weaker or moderately capable generators may have limited applicability going forward.\n>\n> Can the method generalize to truly SOTA generators (e.g., Claude Opus, GPT-5.5), whose bugs are likely rarer, subtler, and distributed differently from the GPT-4o-mutated training data? Since practitioners mostly use frontier models for plot-to-code generation, this seems critical for the method's practical relevance.\n\nTo directly examine whether our method remains effective for a stronger frontier generator, we additionally evaluate GPT-5.5 on ChartMimic using the same generation and refinement pipeline.\n\n| Method | `E` | `L` | `H` |\n| --- | ---: | ---: | ---: |\n| GPT-5.5 | 95.1 | 85.4 | 87.3 |\n| GPT-5.5 + Ours | **95.8** | **88.1** | **89.4** |\n\nAlthough GPT-5.5 already achieves strong one-pass performance, our method further improves `E` from `95.1` to `95.8`, `L` from `85.4` to `88.1`, and `H` from `87.3` to `89.4`. This result directly shows that the benefit persists for a frontier generator and is consistent with the improvements already observed for GPT-4o and Qwen3-VL-32B in Table 1. More capable generators leave fewer errors, but their remaining discrepancies can still be localized and corrected; targeted patches are particularly suitable because they preserve already-correct code.\n\n\n## Question 3\n\n> The number of baselines compared in Table 1 differs across the three generator settings — 8 rows for Qwen3-VL-8B-Instruct, but only 6 for Qwen3-VL-32B-Instruct and 5 for GPT-4o, with methods like Ours-SFT-2B and the untrained verifier baselines missing in the latter two blocks. Moreover, the Multi-agent baseline under GPT-4o has incomplete evaluation metrics (several columns are left blank). This inconsistency across generator settings makes the comparison less rigorous.\n\nFor the Multi-agent baseline, the GPT-4o results are directly taken from the original paper, which reports only the available ChartMimic metrics shown in Table 1. The Multi-agent results under Qwen3-VL-8B and Qwen3-VL-32B are reproduced by us using the corresponding generator. \n\nThe untrained 2B/32B verifiers and Ours-SFT-2B are verifier-training ablations rather than test-time generation baselines. In the submitted version, we reported the full verifier ablation with Qwen3-VL-8B and directly evaluated verifier quality in Table 5, so we did not repeat every ablation under the more expensive Qwen3-VL-32B and GPT-4o generators. To remove this inconsistency, we further complete all verifier settings for these two generators. The results below report execution (`E`), the four fine-grained visual metrics (`TT/LO/TP/CL`), their average (`L`), and high-level visual similarity (`H`) on both benchmarks.\n\n\n| Generator | Verifier | Dataset | `E` | `TT` | `LO` | `TP` | `CL` | `L` | `H` |\n| --- | --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |\n| Qwen3-VL-32B | Qwen3-VL-2B | ChartMimic | 82.5 | 72.8 | 81.0 | 76.9 | 55.7 | 71.6 | 70.6 |\n| Qwen3-VL-32B | Qwen3-VL-2B | Plot2Code | 83.3 | 52.5 | 72.4 | 62.6 | 49.3 | 59.2 | 59.8 |\n| Qwen3-VL-32B | Ours-SFT-2B | ChartMimic | 84.8 | 74.5 | 83.3 | 77.8 | 57.6 | 73.3 | 73.6 |\n| Qwen3-VL-32B | Ours-SFT-2B | Plot2Code | 87.9 | 55.4 | 76.0 | 64.7 | 52.3 | 62.1 | 61.7 |\n| GPT-4o | Qwen3-VL-2B | ChartMimic | 92.7 | 82.3 | 93.8 | 82.5 | 77.0 | 83.9 | 83.8 |\n| GPT-4o | Qwen3-VL-2B | Plot2Code | 91.7 | 59.3 | 79.7 | 72.9 | 60.1 | 68.0 | 68.3 |\n| GPT-4o | Qwen3-VL-32B | ChartMimic | 92.9 | 84.6 | 94.5 | 83.2 | 78.1 | 85.1 | 84.7 |\n| GPT-4o | Qwen3-VL-32B | Plot2Code | 92.4 | 60.8 | 81.0 | 74.2 | 61.6 | 69.4 | 69.5 |\n| GPT-4o | Ours-SFT-2B | ChartMimic | 93.1 | 87.1 | 95.0 | 84.3 | 79.6 | 86.5 | 85.8 |\n| GPT-4o | Ours-SFT-2B | Plot2Code | 92.4 | 61.9 | 82.2 | 75.6 | 62.7 | 70.6 | 71.1 |\n\nThese additional results preserve the same trend as the Qwen3-VL-8B block: trained visual-code diagnostics consistently outperform untrained verifiers, and RL further improves over SFT. We will add the complete rows to Table 1 so that verifier settings are consistent across generators.\n\n## Question 4\n\n> Why does Qwen3-VL-32B show a lower execution success rate than the 8B model on ChartMimic (75.5 vs. 77.8 for vanilla generation in Table 1)? This is counterintuitive given the larger model's stronger general capability. Could this be an artifact of the evaluation protocol or the experimental setup?\n\nBoth models use the same prompt, decoding configuration, execution environment, and evaluation protocol. We repeated the generation and evaluation multiple times and observed the same small difference on ChartMimic.\nImportantly, Qwen3-VL-32B still achieves better visual quality on ChartMimic than the 8B model (`L`: 67.3 vs. 66.2; `H`: 65.9 vs. 64.4), consistent with its stronger overall generation capability. The execution rate also follows the expected trend on Plot2Code, where Qwen3-VL-32B outperforms Qwen3-VL-8B (`78.6` vs. `76.5`). Therefore, the isolated 2.3-point execution difference on ChartMimic should be interpreted together with the other metrics and datasets, and may simply reflect a small fluctuation in model performance on this particular data distribution.\n\n## Question 5\n\n> The authors report the negative result on ChartMaster-7B (Section 4.3), which is appreciated. However, the generalization limitation is not sufficiently discussed. It remains unclear under what conditions the method fails.\n\nWe will expand the limitations section to state the applicability boundary explicitly. The framework is effective when the generator can reliably follow diagnostic instructions. It may fail when the generator lacks sufficient code-revision ability, as observed with ChartMaster-7B. This scope is consistent with the positive results on general-purpose generators and the negative result on the specialized generator."+ },+ "createdAt": "2026-07-28T16:00:11.175Z",+ "modifiedAt": "2026-11-19T16:46:28.899Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=Hh4I8DD8uc",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/i6qr8suzpj.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/i6qr8suzpj.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "I6Qr8SuzpJ",+ "replyTo": "qaq8Zy47X9",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Reply to Reviewer xL4t",+ "comment": "Thank you very much for reconsidering our work and increasing the score. We truly appreciate your thoughtful feedback and recognition of our additional experiments."+ },+ "createdAt": "2026-08-03T08:28:02.690Z",+ "modifiedAt": "2026-11-19T16:46:28.754Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=I6Qr8SuzpJ",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/i9ikuaghw4.json modified
+++ b/reviews/openreview/rywd4tm9jn/notes/i9ikuaghw4.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair YFdi","content": {- "metareview": "This paper focuses on plot-to-code generation via iterative test-time refinement. The authors train lightweight discriminators (2B visual-code diagnostic verifier) that classifies visual discrepancies into four error types, localizes suspicious code regions via TODO comments, and guides iterative patch-based refinement.\n\nAll reviewers agree the problem is practical and the approach is well-motivated. Reviewer RmuF finds the idea of using a verifier to identify regions \"similar to how humans debug code\"; Reviewer xL4t calls the motivation \"clear and well-grounded\"; Reviewer qdWh notes the method \"targets a concrete weakness of current plot-to-code systems.\" The Table 5 ablation showing the trained 2B verifier outperforms untrained 32B models is highlighted by multiple reviewers as convincing evidence that gains come from training rather than scale.\n\nHowever, the four reviewers raise the following concerns:\n\nGeneralization failure on specialized generators. All reviewers flag that the method degrades ChartMaster-7B performance. Reviewer xL4t raises the deeper question of whether \"as generators become more capable...the diagnostic signal may become less reliable or even harmful.\" Reviewer qdWh asks whether the issue is \"inaccurate diagnostics, bad patch merging, or insufficient code-editing ability.\" A failure analysis with error-type breakdown would clarify applicability boundaries and, if convincing, would shift assessment significantly.\n\nSynthetic training vs. real errors. Reviewers qdWh and RmuF both note the verifier is trained entirely on clean single-type GPT-4o mutations. Reviewer qdWh observes the paper \"does not show whether these synthetic errors match real generation errors well enough, especially when multiple error types occur together.\" An evaluation of diagnostic accuracy on actual model outputs would substantially strengthen the empirical case.\n\nFairness of comparisons. Reviewer RmuF notes that baselines are zero-shot while the proposed method benefits from 12K in-domain examples, making it \"hard to know whether the gains come from the proposed diagnostic refinement idea, or simply from giving the method extra in-domain training.\" This asymmetry makes it difficult to attribute gains specifically to the diagnostic formulation rather than to in-domain supervision.\n\nIncomplete experimental details. Reviewer qdWh asks for exact inference budgets for all methods. The token-efficiency claim also needs clarification as per Reviewer RmuF.\n\nOverall, I find this submission to be a technically solid paper on a practical problem with clear efficiency gains on general-purpose generators. The rebuttal closes the main empirical gaps raised above through additional experiments and addressed the concerns. I recommend acceptance as this provides a useful direction for efficient test-time refinement in multimodal code generation."+ "metareview": "This paper focuses on plot-to-code generation via iterative test-time refinement. The authors train lightweight discriminators (2B visual-code diagnostic verifier) that classifies visual discrepancies into four error types, localizes suspicious code regions via TODO comments, and guides iterative patch-based refinement.\n\nAll reviewers agree the problem is practical and the approach is well-motivated. Reviewer RmuF finds the idea of using a verifier to identify regions \"similar to how humans debug code\"; Reviewer xL4t calls the motivation \"clear and well-grounded\"; Reviewer qdWh notes the method \"targets a concrete weakness of current plot-to-code systems.\" The Table 5 ablation showing the trained 2B verifier outperforms untrained 32B models is highlighted by multiple reviewers as convincing evidence that gains come from training rather than scale.\n\nHowever, the four reviewers raise the following concerns:\n\nGeneralization failure on specialized generators. All reviewers flag that the method degrades ChartMaster-7B performance. Reviewer xL4t raises the deeper question of whether \"as generators become more capable...the diagnostic signal may become less reliable or even harmful.\" Reviewer qdWh asks whether the issue is \"inaccurate diagnostics, bad patch merging, or insufficient code-editing ability.\" A failure analysis with error-type breakdown would clarify applicability boundaries and, if convincing, would shift assessment significantly.\n\nSynthetic training vs. real errors. Reviewers qdWh and RmuF both note the verifier is trained entirely on clean single-type GPT-4o mutations. Reviewer qdWh observes the paper \"does not show whether these synthetic errors match real generation errors well enough, especially when multiple error types occur together.\" An evaluation of diagnostic accuracy on actual model outputs would substantially strengthen the empirical case.\n\nFairness of comparisons. Reviewer RmuF notes that baselines are zero-shot while the proposed method benefits from 12K in-domain examples, making it \"hard to know whether the gains come from the proposed diagnostic refinement idea, or simply from giving the method extra in-domain training.\" This asymmetry makes it difficult to attribute gains specifically to the diagnostic formulation rather than to in-domain supervision.\n\nIncomplete experimental details. Reviewer qdWh asks for exact inference budgets for all methods. The token-efficiency claim also needs clarification as per Reviewer RmuF.\n\nOverall, I find this submission to be a technically solid paper on a practical problem with clear efficiency gains on general-purpose generators. The rebuttal closes the main empirical gaps raised above through additional experiments and addressed the concerns. I recommend acceptance as this provides a useful direction for efficient test-time refinement in multimodal code generation.",+ "final_justification": "Final justification is reflected in the updated meta review."},"createdAt": "2026-07-23T02:28:58.817Z",- "modifiedAt": "2026-11-18T15:23:33.959Z",+ "modifiedAt": "2026-11-19T05:02:12.936Z","url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=i9ikuaGhW4","license": "CC-BY-4.0"}
reviews/openreview/rywd4tm9jn/notes/l0c2gph2aq.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/l0c2gph2aq.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "L0c2GPH2aQ",+ "replyTo": "o5Cw6gN94p",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Comment Reply 2",+ "comment": "## Question 4\n\n> The main limitation is that the method does not consistently help all generators. In Table 3, refinement substantially hurts ChartMaster-7B on ChartMimic and mostly fails to improve Plot2Code. Since ChartMaster-7B is a specialized plot-to-code model, this is an important boundary case rather than a minor exception.\n>\n> Why does the method degrade ChartMaster-7B? Is the issue inaccurate diagnostics, bad patch merging, or insufficient code-editing ability of the generator?\n\nThe evidence points to insufficient code-editing ability rather than an issue specific to our diagnostic verifier. ChartMaster-7B is specialized for direct plot-to-code generation but is not explicitly trained for instruction-following code revision. In contrast, although general-purpose MLLMs are not specifically trained for plot-to-code generation, their stronger general instruction comprehension and following capabilities enable them to revise code more effectively according to diagnostic feedback. Moreover, none of the alternative test-time methods consistently improves ChartMaster-7B: self-debug and multi-agent refinement both degrade its performance, while Best-of-N provides almost no visual improvement. This shared failure across different refinement strategies strongly supports our explanation that the bottleneck lies in the generator's revision capability rather than in our diagnostic mechanism.\n\nTo further verify this explanation, we conducted a new manual case analysis in which ChartMaster-7B was given human-annotated gold visual-code diagnostics. Even with accurate error types and code-localization feedback, it still failed to correct the identified errors. This additional evidence rules out inaccurate diagnostics as the primary cause and further demonstrates that ChartMaster-7B cannot reliably translate diagnostic feedback into correct code edits. \n\nWe have already discussed this issue in Lines 296–300 of the submitted paper: “This observation suggests that the limitation lies in the generator rather than the refinement strategy. Test-time refinement relies on the model's ability to revise code based on feedback signals. While general-purpose MLLMs can effectively follow diagnostic instructions, specialized plot-to-code models like ChartMaster-7B appear less capable of performing reliable code edits, even when provided with stronger or more structured feedback.” In the revised version, we will further expand this discussion by incorporating the new gold-diagnostic analysis and more clearly explaining the dependence of test-time refinement on the generator's code-revision capability.\n\n## Question 5\n\n> The checklist says LLM usage is N/A, but GPT-4o is used for diagnostic data construction and high-level evaluation, so this should be corrected.\n\nWe agree. GPT-4o is used for synthetic diagnostic mutation generation and high-level output evaluation. We will change the checklist answer from N/A to Yes and document both uses explicitly.\n\n> The paper discusses the ChartMaster-7B failure case, which is helpful. The limitations section should also discuss the synthetic nature of the diagnostic data, dependence on generator code-editing ability, lack of real-error diagnostic evaluation, and the role of GPT-4o in both constructing data and evaluating outputs.\n\nWe agree and will expand the limitations section to cover all four points: synthetic supervision, dependence on generator revision ability, the absence of real-error diagnostic evaluation in the submitted version, and potential bias introduced by using GPT-4o for both data construction and high-level evaluation."+ },+ "createdAt": "2026-07-28T15:47:23.365Z",+ "modifiedAt": "2026-11-19T16:46:28.819Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=L0c2GPH2aQ",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/l6bgems54n.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/l6bgems54n.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "L6BGemS54n",+ "replyTo": "CvcpKchAty",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Comment Reply 1",+ "comment": "We sincerely thank the reviewer for recognizing the practical value, human-like debugging motivation, and breadth of our experiments. We address each question below and will incorporate the corresponding clarifications and corrections into the revised paper.\n\n## Question 1\n\n> The comparison with baselines may not be fully fair. The proposed verifier is trained on 12k diagnostic examples from Chart2Code-160K, while baselines like Best-of-N, self-debugging, and multi-agent refinement seem to be mostly zero-shot or prompt-based methods. Because of this, it is hard to know whether the gains come from the proposed diagnostic refinement idea, or simply from giving the method extra in-domain training.\n>\n> About fairness, will it be possible to compare against baselines that are also trained or adapted using the same diagnostic data budget? Since the verifier receives additional in-domain training, it is not fully clear whether the improvement comes from the proposed visual-code diagnostic mechanism or from the extra training data. It would be good to include an ablation that separates the effect of the diagnostic design from the effect of in-domain SFT/RL training.\n\nThe untrained Qwen3-VL-2B and Qwen3-VL-32B verifiers in Table 1 can be viewed as zero-shot versions of our diagnostic refinement framework. They use the same diagnostic-and-patch pipeline without any training on our diagnostic dataset. With Qwen3-VL-8B as the generator, the zero-shot 32B verifier achieves `L=70.9` on ChartMimic and `L=58.5` on Plot2Code, outperforming vanilla generation, Best-of-N, and self-debug on both datasets. Even the zero-shot 2B verifier remains competitive with multi-agent refinement (`70.0` vs. `70.3` on ChartMimic and `57.2` vs. `57.7` on Plot2Code), although multi-agent refinement relies on stronger generator-scale agents for critique and modification. These results demonstrate that the visual-code diagnostic refinement strategy is effective even without additional training.\n\nBeyond strong performance and lower output-token consumption (Table 2), our visual-code diagnostic refinement strategy enables simple and scalable data synthesis. Controlled mutations create visual discrepancies, while line-level alignment automatically derives code-region labels without human repair annotation or multi-agent interaction trajectories. Training on these synthesized diagnostics further improves both verifier quality and final refinement performance, as shown in Tables 1 and 5.\n\nFinally, the diagnostic data and evaluation benchmarks are not the same in-domain dataset. The diagnostic supervision is constructed from Chart2Code-160K, whereas all final results are evaluated on the separate ChartMimic and Plot2Code benchmarks. Thus, the verifier receives task-relevant supervision but is not adapted to either test benchmark. We will clarify this distinction and the role of the zero-shot verifier settings in the revision.\n\n## Question 2\n\n> The qualitative examples are not fully convincing. In Figure 4 and 10, the final outputs after refinement still look visually far from the ground truth. This is concerning as the automatic metrics may not fully capture fine-grained visual differences, or that the shown examples may not strongly support the reported quantitative gains.\n>\n> All qualitative examples look visually far from the ground truth even after refinement, but the quantitative numbers are high. A comment on whether the current metrics are sensitive enough to fine-grained plot errors such as wrong tick labels, colors, marker shapes, font sizes, legends, and exact data values will be helpful.\n\nThe case studies in Figures 4 and 10 use Qwen3-VL-8B, whose overall generation quality is relatively low. We will identify the generator explicitly in the revised captions.\nFrom the holistic visual metric `H`, the quantitative results are consistent with the qualitative impression. For Qwen3-VL-8B on ChartMimic, `H` increases from `64.4` for vanilla generation to `71.8` after refinement. These moderate scores reflect the visible remaining differences in the case studies. Individual metrics measure narrower properties and are not equivalent to overall human visual judgment. For example, `E` only measures whether code executes, while `TT` focuses on text elements; a chart may score well on either metric while still containing noticeable layout, style, or data discrepancies. `LO`, `TP`, and `CL` similarly evaluate specific aspects, whereas `H` is intended to capture the overall visual impression."+ },+ "createdAt": "2026-07-28T16:37:51.223Z",+ "modifiedAt": "2026-11-19T16:46:28.757Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=L6BGemS54n",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/qaq8zy47x9.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/qaq8zy47x9.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "qaq8Zy47X9",+ "replyTo": "Hh4I8DD8uc",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer xL4t",+ "content": {+ "comment": "Thank you for the detailed response. The additional experiments address my main concerns. I have raised my score accordingly."+ },+ "createdAt": "2026-08-01T19:06:29.059Z",+ "modifiedAt": "2026-11-19T16:46:28.752Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=qaq8Zy47X9",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/tubvkjgk3s.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/tubvkjgk3s.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "TubVkjGk3S",+ "replyTo": "o5Cw6gN94p",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Comment Reply 1",+ "comment": "We sincerely thank the reviewer for the careful reading, constructive questions, and positive assessment of our motivation, method, and experimental coverage. We address each question below and will incorporate the corresponding clarifications and corrections into the revised paper.\n\n## Question 1\n\n> Some reported numbers need clarification. The paper defines L as the average of TT, LO, TP, and CL, but several L values in Table 1 appear inconsistent with that definition.\n>\n> Can the authors explain why several Table 1 L scores do not match the stated average of TT/LO/TP/CL?\n\nThank you for identifying this calculation error. When computing several `L` values in the Qwen3-VL-8B baseline block, we mistakenly averaged columns 1–4 (`E`, `TT`, `LO`, and `TP`) instead of the intended columns 2–5 (`TT`, `LO`, `TP`, and `CL`). The component scores themselves are correct. Recomputing `L` from the intended four visual metrics gives:\n\n| Method | ChartMimic `L` | Plot2Code `L` |\n| --- | ---: | ---: |\n| Best-of-N | 66.9 | 50.3 |\n| Self-debug | 67.6 | 51.0 |\n| Multi-agent | 70.3 | 57.7 |\n\nWe will correct these six cells and recheck all derived values in the revision. This correction does not change the conclusion: Ours-RL-2B achieves `73.4/60.0` on ChartMimic/Plot2Code and remains the strongest method in this block.\n\n## Question 2\n\n> The diagnostic verifier is trained on synthetic GPT-4o mutations. The paper does not show whether these synthetic errors match real generation errors well enough, especially when multiple error types occur together or when discrepancies are subtle.\n>\n> Can the authors evaluate diagnostic accuracy on real model errors with manual labels, in addition to the synthetic mutation dataset?\n\nWe appreciate this suggestion. In Appendix A, to analyze the taxonomy and distribution of real generation errors, we annotated the error types of genuine outputs produced by the evaluated plot-to-code generators on ChartMimic. Building on these existing error-type annotations, we further annotated the corresponding erroneous code regions.\nWe evaluated Ours-RL-2B on this real-error set using the same metrics as Table 5: error-type F1 (PEF) and code-localization precision, recall, and F1 (CEP/CER/CEF).\n\n| Verifier | PEF | CEP | CER | CEF |\n| --- | ---: | ---: | ---: | ---: |\n| Ours-RL-2B | 85.9 | 71.8 | 78.9 | 75.2 |\n\nThese results are only slightly lower than those on the synthetic diagnostic test set in Table 5 (`87.2/73.2/80.7/76.8`), showing that the verifier remains effective on naturally occurring model errors. We will add this direct real-error evaluation to the revision.\n\nRegarding cases where multiple errors occur simultaneously, our synthetic diagnostic data include samples with multiple error types and erroneous code regions, and the verifier predicts them jointly.\n\nBesides, the error types used to construct the synthetic data are derived from our analysis of real generation errors in Appendix A rather than being arbitrarily defined. And the verifier is ultimately applied to genuine generator outputs rather than synthetic mutations; the consistent improvements across general-purpose generators in Table 1 provide complementary end-to-end evidence of its effectiveness on real errors.\n\n## Question 3\n\n> The baseline comparisons would be stronger with clearer equal-budget settings, including the value of N for Best-of-N, the number of self-debug iterations, and whether all methods use the same visual inputs and stopping rules.\n>\n> What are the exact inference budgets for Best-of-N, self-debug, multi-agent refinement, and the proposed method?\n\nAll methods use a budget of five generation or refinement attempts:\n\n- Best-of-N samples five complete candidates and selects the best one.\n- Self-debug performs at most five code-revision iterations.\n- Multi-agent performs at most five iterations and follows the stopping condition defined in the original multi-agent paper.\n- Our method performs at most five diagnostic-guided code-revision iterations.\n\nAll refinement methods receive the same reference image and the rendered output of the current code. Multi-agent uses the stopping rule from the original paper. Self-debug and our method are run for five iterations. We will add these exact budgets, visual inputs, and stopping conditions to the experimental section."+ },+ "createdAt": "2026-07-28T15:44:25.209Z",+ "modifiedAt": "2026-11-19T16:46:28.844Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=TubVkjGk3S",+ "license": "CC-BY-4.0"+}
reviews/openreview/rywd4tm9jn/notes/wq6yioitsw.json added
+++ b/reviews/openreview/rywd4tm9jn/notes/wq6yioitsw.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "Wq6yIoItsW",+ "replyTo": "xG5Z5NzgWI",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Reply to Reviewer LRFY",+ "comment": "Thank you again for your detailed review. We have provided a response addressing your main concerns. As the author–reviewer discussion period is approaching its end, we would appreciate it if you could let us know whether our response has clarified your concerns. If you have any remaining questions or concerns, we would be happy to provide further clarification."+ },+ "createdAt": "2026-08-03T15:22:46.455Z",+ "modifiedAt": "2026-11-19T16:46:28.607Z",+ "url": "https://openreview.net/forum?id=rywd4Tm9jn¬eId=Wq6yIoItsW",+ "license": "CC-BY-4.0"+}