Manuscript Offprint

arXiv:2609.08657

Charts Are Beyond Pixels: Probing for Layer-Wise Chart Understanding and Editing

Xiaochuan Zhong, Yifan Hou, Chenxi Pang, Shaobo Cui

ABSTRACT

Charts are structured visual compositions whose elements have distinct functional roles, semantic correspondences, and visibility relations. This structural view motivates evaluating whether models can understand and manipulate charts at the layer level. Existing chart benchmarks, however, primarily assess the correctness or fidelity of final outputs and do not directly evaluate these layer-wise behaviors. We present LayerWiseBench, a benchmark organized around three core concepts, layer attribution, layer binding, and visibility ordering, that structure its chart-understanding and chart-editing evaluations. Generated from executable chart programs, LayerWiseBench pairs each rendered chart with spatially aligned per-layer RGBA assets and construction-derived labels for functional roles, semantic bindings, and visibility relations. From this layer-wise representation, we derive controlled understanding questions, editing targets, reference images, and evaluation regions. It contains 2,800 source charts across 14 chart paradigms, from which we derive 7,329 layer-wise understanding questions and 53,791 instruction-guided editing variants. Among the evaluated VLMs, Qwen3.5-27B, which achieves the highest QA macro-average, obtains 93.04% accuracy on layer attribution and 97.46% on layer binding, but only 61.46% on visibility ordering. Across the four evaluated image editors, overall mIoU ranges from 1.49% to 4.93%, and visibility-constrained edits have the lowest mIoU for every editor, ranging from 0.37% to 2.00%. Taken together, these results identify tasks involving front-to-back relations between overlapping components as a recurring challenge across understanding and editing, motivating more explicit modeling of component identity and visibility relations.

1 INTRODUCTION

Charts are structured visual compositions rather than merely rendered pixel arrays. Wilkinson (2005) describes a statistical graphic through components such as data, transformations, scales, graphical elements, coordinate systems, and guides. Wickham further develops this view into a layered grammar, in which a plot is constructed from one or more layers together with scales, coordinates, and facets (Wickham, 2010). Similarly, Satyanarayan et al. (2017) operationalized a related compositional view through declarative specifications of data transformations, marks, encodings, and layered or multi-view compositions. Taken together, these frameworks provide a compositional account of charts in terms of graphical components, mappings, guides, and view structures. This view motivates our study of how models for chart understanding and editing can be evaluated at the layer level.

Established chart benchmarks cover tasks such as question answering, code generation, and editing, often assessing task-level outputs through answer correctness, code execution, or fidelity of rendered charts (Masry et al., 2022; Wu et al., 2025; Zhao et al., 2025). More recent work incorporates structured signals through visual grounding and scene-graph comparison (Vogel et al., 2026; Goswami et al., 2025). We build on these structured signals by organizing evaluation around functional layers and separately assessing attribution, binding, and visibility.

*Corresponding author.

Figure

Figure 1: Overview of the layer-wise representation and the three dimensions evaluated in Layer-WiseBench. Left: A rendered radar chart. Upper right: The corresponding representation separates its reference, data, text, and dependent components. Bottom: Layer attribution captures the elements and properties within a layer; layer binding captures semantic correspondences across layers; and visibility ordering records the front-to-back relation between overlapping components.

To make this layered grammar explicit for evaluation, we formulate a layer-wise representation for evaluation informed by visualization grammars (Wilkinson, 2005; Wickham, 2010; Mackinlay, 1986; Satyanarayan et al., 2017). Figure 1 illustrates this representation by separating a rendered chart into reference, data, text, and dependent components. The representation captures the elements and semantic and visual properties within a layer, together with semantic correspondences across layers, following established attribute–relation distinctions in structured visual evaluation and chart analysis (Johnson et al., 2015; Krishna et al., 2017; Zhao et al., 2022; Siegel et al., 2016; Goswami et al., 2025). Because these properties and correspondences do not fully determine the appearance of overlapping components, the representation additionally records their front-to-back order (Porter & Duff, 1984; Snyder & Lengyel, 1998; Lee & Park, 2022). These three aspects give rise to our core concepts corresponding respectively to the elements and properties within each layer, semantic correspondences across layers, and the front-to-back relation among overlapping components.

Building on these concepts, we introduce LayerWiseBench, a benchmark that evaluates model behavior with respect to this layered grammar through two tracks: layer-wise understanding, formulated as chart questions, and layer-wise editing, formulated as targeted chart editing tasks. Built from executable chart programs, LayerWiseBench uses construction records and spatially aligned layer renderings to derive annotations of functional roles, semantic correspondences, and visibility relations. Overall, LayerWiseBench contains 2,800 source charts across 14 chart paradigms, from which we derive 7,329 layer-wise understanding questions and 53,791 layer-wise editing variants.

On layer-wise understanding, Qwen3.5-27B, which achieves the highest macro-average accuracy, reaches 93.04% on layer attribution and 97.46% on layer binding, but drops to 61.46% on visibility ordering. Visibility ordering is the lowest-scoring dimension for all seven VLMs in the main comparison. For image editing, overall mIoU ranges from 1.49% to 4.93% across the four evaluated editors, and visibility-constrained edits have the lowest mIoU for every editor, ranging from 0.37% to 2.00%. Across both tracks, these results identify tasks involving front-to-back relations between overlapping components as a recurring challenge.

Our contributions are:

  • We introduce LayerWiseBench, a benchmark with layer-wise chart understanding and editing tracks, built from executable templates that register task-relevant graphical elements into functional layer groups. These registrations link each template's construction code to its functional layer structure, yielding construction-grounded annotations and spatially aligned layer renders for both tracks.
  • We evaluate nine vision-language models and four image editing models on their respective tracks. Visibility ordering is the lowest-scoring understanding dimension for all seven VLMs in the main comparison, and visibility-constrained edits have the lowest mIoU for all four image editing models.

References (85)