Table of Contents
Fetching ...

$C^2$: Scalable Auto-Feedback for LLM-based Chart Generation

Woosung Koh, Jang Han Yoon, MinHyung Lee, Youngjin Song, Jaegwan Cho, Jaehyun Kang, Taehyeon Kim, Se-Young Yun, Youngjae Yu, Bongshin Lee

TL;DR

The paper addresses the challenge of evaluating and scaling LLM-based chart generation by introducing $C^2$, a scalable framework composed of ChartAF for reference-free automatic feedback and ChartUIE-8K, a large-scale chart user interaction emulation dataset. ChartAF includes ChartAF-S for scalar evaluation and ChartAF-G for granular, NL feedback, enabling test-time scaling and in-context tuning without parameter updates. ChartUIE-8K dramatically increases data diversity across queries, datasets, and chart types (by 5982%, 1936%, and 91% respectively) and aligns well with real-world use, as shown by user studies where 94% of participants preferred ChartUIE-8K queries and 93% found them realistic. Collectively, $C^2$ demonstrates scalable, open-source pathways to evaluate and generate high-quality charts with LLMs while reducing reliance on costly human curation and promoting realistic, broad data coverage.

Abstract

Generating high-quality charts with Large Language Models (LLMs) presents significant challenges due to limited data and the high cost of scaling through human curation. $\langle \text{instruction}, \text{data}, \text{code} \rangle$ triplets are scarce and expensive to manually curate as their creation demands technical expertise. To address this scalability challenge, we introduce a reference-free automatic feedback generator, which eliminates the need for costly human intervention. Our novel framework, C$^2$, consists of (1) an automatic feedback provider (ChartAF) and (2) a diverse, reference-free dataset (ChartUIE-8K). The results are compelling: in our first experiment, 74% of respondents strongly preferred, and 10% preferred, the results after feedback. The second post-feedback experiment demonstrates that ChartAF outperform nine baselines. Moreover, ChartUIE-8K significantly improves data diversity by increasing queries, datasets, and chart types by 5982%, 1936%, and 91%, respectively, over benchmarks. Finally, a study of LLM users revealed that 94% of participants preferred ChartUIE-8K's queries, with 93% deeming them aligned with real-world use cases. Core contributions are available as open-source at chartsquared.github.io, with ample qualitative examples.

$C^2$: Scalable Auto-Feedback for LLM-based Chart Generation

TL;DR

The paper addresses the challenge of evaluating and scaling LLM-based chart generation by introducing , a scalable framework composed of ChartAF for reference-free automatic feedback and ChartUIE-8K, a large-scale chart user interaction emulation dataset. ChartAF includes ChartAF-S for scalar evaluation and ChartAF-G for granular, NL feedback, enabling test-time scaling and in-context tuning without parameter updates. ChartUIE-8K dramatically increases data diversity across queries, datasets, and chart types (by 5982%, 1936%, and 91% respectively) and aligns well with real-world use, as shown by user studies where 94% of participants preferred ChartUIE-8K queries and 93% found them realistic. Collectively, demonstrates scalable, open-source pathways to evaluate and generate high-quality charts with LLMs while reducing reliance on costly human curation and promoting realistic, broad data coverage.

Abstract

Generating high-quality charts with Large Language Models (LLMs) presents significant challenges due to limited data and the high cost of scaling through human curation. triplets are scarce and expensive to manually curate as their creation demands technical expertise. To address this scalability challenge, we introduce a reference-free automatic feedback generator, which eliminates the need for costly human intervention. Our novel framework, C, consists of (1) an automatic feedback provider (ChartAF) and (2) a diverse, reference-free dataset (ChartUIE-8K). The results are compelling: in our first experiment, 74% of respondents strongly preferred, and 10% preferred, the results after feedback. The second post-feedback experiment demonstrates that ChartAF outperform nine baselines. Moreover, ChartUIE-8K significantly improves data diversity by increasing queries, datasets, and chart types by 5982%, 1936%, and 91%, respectively, over benchmarks. Finally, a study of LLM users revealed that 94% of participants preferred ChartUIE-8K's queries, with 93% deeming them aligned with real-world use cases. Core contributions are available as open-source at chartsquared.github.io, with ample qualitative examples.

Paper Structure

This paper contains 57 sections, 5 equations, 11 figures, 6 tables, 4 algorithms.

Figures (11)

  • Figure 1: Schematic overview of C$^2$ illustrating the synergy between ChartUIE-8K and ChartAF. The scale is made possible by ChartAF's capability to provide reference-free feedback. An end-to-end example is available on our https://chartsquared.github.io/'s https://github.com/chartsquared/C-2.
  • Figure 2: Schematic diagram of ChartAF, including a qualitative example indicated by dashed containers. The process starts in the top-left with the user query, which is processed by the chart-generating LLM and either ChartAF-S or ChartAF-G. Notably, ChartAF-S and ChartAF-G both share the first two modules (red and green). The final output is a scalar evaluation score or granular feedback, depending on the chosen path.
  • Figure 3: ChartUIE-8K curation schematic diagram.
  • Figure 4: ChartUIE-8K distribution. Top 10 topics and types are explicitly depicted while the remaining is classified as others. ($n$) is the number of samples out of 8028.
  • Figure 5: Test-time scaling with ChartAF as a verifier. Raising $N$ leads to improved generations.
  • ...and 6 more figures