Automated Visualization Code Synthesis via Multi-Path Reasoning and Feedback-Driven Optimization
AI Research, Enhans, Seoul, South Korea Innovation \& Technology, KAIST, Daejeon, South Korea Department of Computer Science, University of California, Berkeley, CA, United States Department of Electrical
Wonduk Seo, Daye Kang, Hyunjin An, Taehan Kim, Soohyuk Cho, Seungyong Lee, Minhyeong Yu, Jian Park, Yi Bu, Seunghyun Lee
备注:
Accepted by International Conference on Pattern Recognization (ICPR 2026)
Large Language Models (LLMs) have become a cornerstone for automated visualization code generation, enabling users to create charts through natural language instructions. Despite improvements from techniques like few-shot prompting and query expansion, existing methods often struggle when requests are underspecified in actionable details (e.g., data preprocessing assumptions, solver or library choices, etc.), frequently necessitating manual intervention. To overcome these limitations, we propose VisPath: a Multi-Path Reasoning and Feedback-Driven Optimization Framework for Visualization Code Generation. VisPath handles underspecified queries through structured, multi-stage processing. It begins by using Chain-of-Thought (CoT) prompting to reformulate the initial user input, generating multiple extended queries in parallel to surface alternative plausible concretizations of the request. These queries then generate candidate visualization scripts, which are executed to produce diverse images. By assessing the visual quality and correctness of each output, VisPath generates targeted feedback that is aggregated to synthesize an optimal final result. Extensive experiments on MatPlotBench and Qwen-Agent Code Interpreter Benchmark show that VisPath outperforms state-of-the-art methods, providing a more reliable framework for AI-driven visualization generation.
University of Kaiserslautern–Landau (RPTU)(凯撒斯劳滕-兰道大学(RPTU));Department of Data Science and its Applications, German Research Center for Artificial Intelligence (DFKI)(数据科学及其应用系,德国人工智能研究中心(DFKI))
DataNarrative: Automated Data-Driven Storytelling with Visualizations and Texts
York University(约克大学);Qatar Computing Research Institute (QCRI)(卡塔尔计算研究所);Nanyang Technological University(南洋理工大学);Dialpad Inc.(Dialpad公司);Salesforce AI(Salesforce人工智能部门)
Automated Data Visualization from Natural Language via Large Language Models: An Exploratory Study
Huazhong University of Science and Technology(华中科技大学);Chongqing University(重庆大学);University of New South Wales(新南威尔士大学);University of Technology Sydney(悉尼科技大学)
GeoJSEval: An Automated Evaluation Framework for Large Language Models on JavaScript-Based Geospatial Computation and Visualization Code Generation
School of Resource and Environmental Sciences, Wuhan University(武汉大学资源与环境科学学院);State Key Laboratory of Information Engineering in Surveying Mapping and Remote Sensing, Wuhan University(武汉大学测绘遥感信息工程国家重点实验室);School of Remote Sensing and Information Engineering, Wuhan University(武汉大学遥感信息工程学院)