ChartMoE: Mixture of Expert Connector for Advanced Chart Understanding

Zhengzhuo Xu, Bowen Qu, Yiyan Qi, Sinan Du, Chengjin Xu, Chun Yuan, Jian Guo · DOI

Abstract

ChartMoE introduces a novel Mixture-of-Experts (MoE) architecture specifically for the connector—the bridge between a vision encoder and a Large Language Model (LLM). By initializing different experts through specialized alignment tasks such as converting charts to tables, JSON, or code, the model achieves a new state-of-the-art accuracy of 84.64% on the ChartQA benchmark while maintaining general-purpose reasoning capabilities.

Introduction

Multimodal Large Language Models (MLLMs) have shown remarkable success in general image description. However, they often struggle with faithful chart understanding, which requires precise numerical extraction and structural relationship comprehension (e.g., legends and axes). Standard models typically utilize a simple linear projector or connector to translate visual features for the LLM. This single projector often fails to capture the diverse facets of a chart, from raw data points to stylistic attributes. Furthermore, fine-tuning on specific chart tasks can lead to "knowledge forgetting," where the model loses its general instruction-following abilities.

Overview of ChartMoE architecture and capabilities.

Methodology

To address these challenges, ChartMoE replaces the standard MLP projector with a Mixture-of-Experts (MoE) connector. The architecture leverages diverse expert initialization and a three-stage training pipeline.

  1. Diverse Expert Initialization: Unlike standard MoE models, ChartMoE initializes experts by pre-training them on distinct tasks: aligning charts with CSV tables, JSON structures (capturing styles/topologies), and Python code (capturing rendering logic). A fourth "vanilla" expert is retained for general vision-language capabilities.
  2. Three-Stage Training:
  3. Stage 1: Alignment Pre-training: Experts are trained independently on their specific data formats.
  4. Stage 2: High-Quality Knowledge Learning: The routing network and experts are trained together using the MMC instruction dataset.
  5. Stage 3: Annealing Chart Tuning: Final refinement using specific benchmarks like ChartQA.
  6. Load-Balancing Loss Removal: The authors found that visual tokens in charts are inherently imbalanced. Removing the standard load-balancing loss allowed experts to specialize naturally—for instance, the "code" expert focuses on data points while the "vanilla" expert handles backgrounds.
The three-stage training process of ChartMoE: alignment instructions, pretraining, and supervised finetuning.

Datasets and Evaluation

The authors introduced ChartMoE-Align, a dataset of nearly 1 million quadruples (Chart-Table-JSON-Code), built by filtering existing datasets and using LLMs to generate missing attributes and executable Python code. Evaluation was conducted on ChartQA, ChartBench (numerical extraction), and ChartFC/ChartCheck (fact-checking).

Key Results and Insights

ChartMoE achieved a state-of-the-art score on ChartQA, improving performance from 80.48% to 84.64%. On ChartBench, it outperformed the baseline InternLM-XComposer2, particularly in complex "Extra Type" charts. Crucially, ChartMoE maintained high scores on general benchmarks like MME and MMBench, avoiding the performance degradation often seen in specialized models.

Qualitative analysis revealed that the MoE connector is an efficient place to inject domain-specific expertise, adding only 63 million parameters to an 8.4 billion parameter model. The router learned to send different image parts to specific experts: the "Table" and "JSON" experts handle titles and labels, while the "Code" expert focuses on data markers.

Conclusion

ChartMoE demonstrates that a specialized MoE connector can significantly enhance chart understanding without sacrificing general-purpose capabilities. While the model's performance is tied to the quality of alignment tasks and the router requires retraining to add new experts, it sets a new standard for faithful multimodal chart interpretation.

Summary updated

BibTeX
@inproceedings{xu2025chartmoe,
  author = {Zhengzhuo Xu and Bowen Qu and Yiyan Qi and Sinan Du and Chengjin Xu and Chun Yuan and Jian Guo},
  title = {{ChartMoE: Mixture of Expert Connector for Advanced Chart Understanding}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=o5TsWTUSeF},
}
Figure