TL;DR
This paper introduces the Effective Chart Dataset (ECD), a novel, large-scale dataset designed to improve the chart understanding capabilities of multimodal large language models (MLLMs). By employing a sophisticated five-step synthesis pipeline that emphasizes modularity, visual diversification, and quality filtering, ECD significantly boosts MLLM performance on complex, real-world charts, outperforming existing synthetic datasets.
What Problem Does This Paper Address?
Multimodal Large Language Models (MLLMs) are increasingly being used for complex tasks, including understanding scientific charts. However, current open-source MLLMs struggle with chart comprehension, often achieving only 30-50% accuracy on challenging benchmarks. While synthetic datasets have been used to train these models, they often lack the visual complexity and semantic fidelity of real-world charts, limiting their effectiveness. This gap hinders the development of truly capable AI agents for scientific data analysis.
Methods
The authors propose a five-step data synthesis pipeline to generate high-quality charts and question-answer (QA) pairs that mimic real-world scientific plots:
- Single Plot Generation: This step involves generating individual charts. It separates data generation from plot rendering, allowing GPT-4o to focus on creating richer data distributions. Pre-defined chart functions and few-shot examples guide GPT-4o in generating data tables, titles, and labels.
- Combined Subplot Generation: To create multi-subplot figures, this stage uses a conditional generation approach. Each new subplot is generated while considering the context of previously generated subplots, ensuring semantic coherence and emulating the way multiple plots in scientific papers often relate to each other.
- Chart Image Diversification: To enhance visual complexity and realism, this step injects stylistic variations. This includes adding elements like annotations, area shading, zoom-in insets, and modifying font styles. For multi-subplot figures, diversification is applied cohesively to maintain visual consistency.
- Chart Image Filtering: A crucial step to ensure quality. Charts are evaluated using metrics for visual clarity and semantic coherence, with GPT-4o acting as the evaluator. Only charts exceeding the dataset's average quality score are retained.
- QA Pair Generation & Filtering: Finally, GPT-4o generates both descriptive and reasoning QA pairs for the filtered charts. A confidence-based filtering mechanism is employed to retain only high-quality QA pairs, ensuring the model learns from accurate and relevant questions.
Datasets
- Training Dataset: The primary contribution is the Effective Chart Dataset (ECD). It comprises over 10,000 chart images and 300,000+ QA pairs, covering 25 themes and 252 chart type combinations.
- Evaluation Benchmarks: The paper evaluates MLLMs on six benchmarks:
- Real-world: CharXiv [37], ChartQA [28]
- Synthetic: ReachQA [12], ChartBench [41], ChartX [39], and the newly constructed ECDBench. ECDBench was created using the same pipeline as ECD but with specific chart types and layouts to serve as an additional test set.
Key Insights and Ideas
- Modularity is Key: Breaking down chart generation into distinct steps (data, function, diversification, filtering) allows for better control and higher quality output compared to monolithic approaches.
- Conditional Generation for Coherence: For multi-subplot charts, conditioning the generation of new subplots on existing ones is vital for creating semantically coherent and visually integrated figures, mimicking real scientific presentations.
- Visual Diversification Matters: Simply generating charts isn't enough; adding stylistic variations like annotations and different visual elements significantly improves their realism and complexity, making them more challenging and informative for MLLMs.
- Quality Filtering is Non-Negotiable: Even with a sophisticated generation pipeline, filtering out low-quality charts based on visual clarity and semantic coherence is essential. This ensures that the training data truly reflects high-quality scientific visualizations.
- Synthetic Data Can Bridge the Gap: While real-world data is ideal, well-constructed synthetic data, like ECD, can effectively train MLLMs to perform well on complex, real-world charts, especially when it closely mimics their characteristics.
Key Results
- Consistent Improvement: Fine-tuning four open-source MLLMs (LLaVA-Next-Llama3-8B, MiniCPM-V2.6, Phi-3-Vision, Qwen2.5-VL-7B) with ECD consistently improved their performance across six test sets.
- Significant Gains: For example, LLaVA-Next-Llama3-8B's accuracy increased from 64.56% to 68.64% on ChartQA and from 27.69% to 46.61% on ChartX. On the challenging CharXiv benchmark, Phi-3-Vision's accuracy improved from 31.50% to 33.40% (reasoning) and 60.52% to 68.00% (descriptive).
- Superiority over Other Datasets: When compared to other synthetic datasets (ChartQA, ChartBench, ReachQA), ECD consistently improved baseline performance across multiple test sets, yielding the largest improvements on CharXiv and ReachQA.
- Realism and Complexity: ECD achieved a lower Fréchet Inception Distance (FID) compared to other synthetic datasets when compared against CharXiv, indicating higher similarity to real scientific charts. It also exhibited higher average pixel entropy, signifying greater visual complexity.
Limitations and Future Work
- Data Scale for Pre-training: While ECD improves fine-tuning, the authors suggest scaling up data for the pre-training phase of MLLMs for even greater gains.
- Data Mixture Ratios: The optimal ratio of descriptive to reasoning questions for fine-tuning might vary and doesn't perfectly align with all benchmarks, suggesting further exploration is needed.
- Minor Performance Drops: In some specific metrics (e.g., "Binary" questions on ChartBench), ECD fine-tuning led to slight performance drops, potentially due to the unique distribution of those benchmarks or the fine-tuning data mixture.
- Future Work: The authors plan to scale up data for pre-training and explore optimal data mixture ratios. The modular nature of their pipeline also allows for future extensions and customizations.
Summary updated