TLDR: Chart-CoCa is a new method that enables Vision Language Models (VLMs) to improve their ability to understand charts without needing human-labeled data or external AI models. It uses a unique code-driven process to generate highly accurate training data and then refines answers by having the VLM evaluate multiple candidate responses. This approach significantly boosts VLM performance on chart understanding tasks, especially for descriptive and reasoning questions.
Vision Language Models (VLMs) are powerful AI systems that can understand both images and text. They are increasingly used in various applications, from analyzing scientific papers to financial documents. However, these models often face significant hurdles when it comes to accurately interpreting and reasoning about charts. This challenge stems from the complexity of numerical data, textual labels, and diverse visual elements present in charts. Traditional methods of improving VLMs often rely on expensive human-labeled data or powerful external models, limiting their autonomous improvement.
Understanding the Challenge
The core problem is that directly training VLMs on charts can lead to noisy data. If a VLM generates a description or answer that isn’t quite right, using that incorrect information for further training can actually hinder its performance. This creates a need for a reliable way to generate high-quality training data without constant human oversight or dependence on other advanced AI models.
Introducing Chart-CoCa: A Self-Improving Approach
To address these limitations, researchers Gongyao Jiang and Qiong Luo have introduced Chart-CoCa, a novel method designed to enable VLMs to improve their chart understanding capabilities autonomously. Chart-CoCa operates on a fully self-improving paradigm, meaning it doesn’t require human-labeled data or external models for its enhancements. It achieves this through two main innovations: a code-driven synthesis pipeline and a candidate-conditioned answering process.
The Code-Driven Synthesis Pipeline
The first key component of Chart-CoCa is its unique data synthesis method. Instead of directly generating chart descriptions or answers, the VLM first describes an unlabeled chart. This description, even if imperfect, is then used by the VLM to generate executable code, specifically using the Python Matplotlib library. This code is then run, and from its execution, a new chart is created. Crucially, during this code execution, precise information about the chart, such as its title, axis labels, and legends, is extracted directly from the plotting objects. This ensures that the generated chart and its corresponding question-answer pairs are highly accurate and free from the noise typically associated with direct VLM generation. This process effectively uses code as a reliable bridge to create high-quality, aligned chart-question-answer triplets for training.
Refining Answers with Candidate-Conditioned Answering
The second innovation is the candidate-conditioned answering process, which enhances the VLM’s ability to provide accurate answers during inference. Inspired by strategies that increase computational effort at test time to improve performance, Chart-CoCa allows the VLM to generate multiple potential responses, or ‘candidates,’ for a given chart and question. These candidates are then fed back into the VLM. The VLM, which has been fine-tuned on the synthetically generated data, learns to evaluate these candidates and synthesize a final, more accurate answer. This approach moves beyond simple majority voting among candidates, allowing the VLM to reason and select the best possible response, even if it’s a minority opinion among the initial candidates.
Impressive Results and Broad Applicability
Experiments with Chart-CoCa have shown remarkable improvements in VLM performance. The method achieved significant accuracy gains, up to 15.50 points over the initial VLM, across both descriptive and complex reasoning tasks related to charts. It outperformed various baseline self-improvement strategies, demonstrating its effectiveness. Notably, Chart-CoCa showed substantial gains in tasks requiring enumeration (identifying discrete chart elements) and pattern recognition (discerning data trends). The method also proved adaptable, bringing consistent improvements to different open-source VLMs, including LLaVA, Qwen2VL, and InternVL2, with smaller models benefiting particularly significantly. The research also highlighted the critical role of the code mediation step in ensuring data accuracy, as its removal led to notable performance drops.
Also Read:
- Improving Video Quality Assessment with Integer-Only Loss Fine-tuning
- Unpacking Object Reasoning: ORBIT Benchmark Exposes VLM Limitations
Key Takeaways and Future Directions
Chart-CoCa represents a significant step forward in enabling VLMs to improve their chart understanding autonomously. By leveraging code for accurate data synthesis and a candidate-conditioned approach for refined answering, it addresses key limitations in current VLM capabilities. Future work aims to further enhance this framework by exploring more advanced chart-to-code models, increasing the diversity of synthetic data by incorporating other plotting libraries and more flexible question types, and investigating iterative improvement strategies and reinforcement learning to guide the reasoning process. For more in-depth information, you can read the full research paper here.


