Skip to content

ChartAttack: Testing Large Language Models' Vulnerability to Malicious Prompts in Chart GenerationChartAttack: Testing the Vulnerability of LLMs to Malicious Prompting in Chart Generation

arXiv· arXiv:2601.12983· Jesus-German Ortiz-Barajas, Jonathan Tonglet, Vivek Gupta, Iryna Gurevych·Indexed by this site · 2026-10-12· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose the ChartAttack framework to evaluate the extent to which multimodal large language models (MLLMs) are influenced by malicious prompts in chart generation. The framework uses designed misleading elements to make models generate charts that induce misinterpretation, and is accompanied by the release of the chart question-answering dataset AttackViz, which annotates effective misleading elements and the incorrect answers they induce. ChartAttack reduces MLLM question-answering accuracy by 17.2 points in-domain and 11.9 points cross-domain; conditional deception rates show that 11.2% in-domain and 11.7% to 14.9% cross-domain of correct answers are converted to the attacker's expected answers, while originally incorrect answers rarely change. A human control study shows that charts generated by ChartAttack also reduce human question-answering performance. Fine-tuning on AttackViz improves model robustness to misleading charts in-domain.

Questions
When MLLMs generate charts from tables, malicious prompts can drive them to apply design-level misleaders without changing the data, producing charts that induce wrong interpretations at scale. The authors aim to quantify the impact of this on readers' chart question answering.
Methods
ChartAttack uses SBERT to retrieve demonstrations matching a set of misleading techniques, then a code-instruction model selects a technique, minimally modifies the chart JSON, and provides an incorrect answer. AttackViz provides paired correct charts and misleading annotations for retrieval and evaluation.
Experiments and results
19 MLLMs on PlotQA show an average accuracy drop of 17.2 percentage points, with 11.2% of originally correct answers converted to the specified answer. The cross-domain summary reports an 11.9 percentage point drop. In the human experiment, the second-stage accuracy was 71.9% for the experimental group and 88.3% for the control.
Limitations and future work
The authors note that only three chart types and design misleaders are covered, that construction depends on the models, and that the human evaluation is limited in participant count and controlled scenarios; they also state that cross-domain transfer of fine-tuning and clean-chart performance remain open. The evaluation includes 19 reader models and PlotQA, ChartQA, and ChartX.
Read originalarxiv.org