Saved in:
Bibliographic Details
Main Authors: Zadeh, Fatemeh Pesaran, Kim, Juyeon, Kim, Jin-Hwa, Kim, Gunhee
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.04064
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915155093225472
author Zadeh, Fatemeh Pesaran
Kim, Juyeon
Kim, Jin-Hwa
Kim, Gunhee
author_facet Zadeh, Fatemeh Pesaran
Kim, Juyeon
Kim, Jin-Hwa
Kim, Gunhee
contents Large language models (LLMs) have demonstrated strong capabilities across various language tasks, notably through instruction-tuning methods. However, LLMs face challenges in visualizing complex, real-world data through charts and plots. Firstly, existing datasets rarely cover a full range of chart types, such as 3D, volumetric, and gridded charts. Secondly, supervised fine-tuning methods do not fully leverage the intricate relationships within rich datasets, including text, code, and figures. To address these challenges, we propose a hierarchical pipeline and a new dataset for chart generation. Our dataset, Text2Chart31, includes 31 unique plot types referring to the Matplotlib library, with 11.1K tuples of descriptions, code, data tables, and plots. Moreover, we introduce a reinforcement learning-based instruction tuning technique for chart generation tasks without requiring human feedback. Our experiments show that this approach significantly enhances the model performance, enabling smaller models to outperform larger open-source models and be comparable to state-of-the-art proprietary models in data visualization tasks. We make the code and dataset available at https://github.com/fatemehpesaran310/Text2Chart31.
format Preprint
id arxiv_https___arxiv_org_abs_2410_04064
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Text2Chart31: Instruction Tuning for Chart Generation with Automatic Feedback
Zadeh, Fatemeh Pesaran
Kim, Juyeon
Kim, Jin-Hwa
Kim, Gunhee
Machine Learning
Artificial Intelligence
Large language models (LLMs) have demonstrated strong capabilities across various language tasks, notably through instruction-tuning methods. However, LLMs face challenges in visualizing complex, real-world data through charts and plots. Firstly, existing datasets rarely cover a full range of chart types, such as 3D, volumetric, and gridded charts. Secondly, supervised fine-tuning methods do not fully leverage the intricate relationships within rich datasets, including text, code, and figures. To address these challenges, we propose a hierarchical pipeline and a new dataset for chart generation. Our dataset, Text2Chart31, includes 31 unique plot types referring to the Matplotlib library, with 11.1K tuples of descriptions, code, data tables, and plots. Moreover, we introduce a reinforcement learning-based instruction tuning technique for chart generation tasks without requiring human feedback. Our experiments show that this approach significantly enhances the model performance, enabling smaller models to outperform larger open-source models and be comparable to state-of-the-art proprietary models in data visualization tasks. We make the code and dataset available at https://github.com/fatemehpesaran310/Text2Chart31.
title Text2Chart31: Instruction Tuning for Chart Generation with Automatic Feedback
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2410.04064