Chart2Code-MoLA: Efficient Multi-Modal Code Generation via Adaptive Expert Routing
Yifei Wang, Jacky Keung, Zhenyu Mao, Jingyu Zhang, Yuchen Cao

TL;DR
This paper introduces C2C-MoLA, a multimodal framework combining Mixture of Experts and Low-Rank Adaptation to improve chart-to-code generation, achieving higher accuracy, efficiency, and scalability on complex charts.
Contribution
It presents a novel adaptive expert routing mechanism with domain-specific experts and resource-efficient training strategies for improved multimodal code generation.
Findings
Up to 17% increase in generation accuracy
18% reduction in peak GPU memory usage
20% faster convergence during training
Abstract
Chart-to-code generation is a critical task in automated data visualization, translating complex chart structures into executable programs. While recent Multi-modal Large Language Models (MLLMs) improve chart representation, existing approaches still struggle to achieve cross-type generalization, memory efficiency, and modular design. To address these challenges, this paper proposes C2C-MoLA, a multimodal framework that synergizes Mixture of Experts (MoE) with Low-Rank Adaptation (LoRA). The MoE component uses a complexity-aware routing mechanism with domain-specialized experts and load-balanced sparse gating, dynamically allocating inputs based on learnable structural metrics like element count and chart complexity. LoRA enables parameter-efficient updates for resource-conscious tuning, further supported by a tailored training strategy that aligns routing stability with semantic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Visualization and Analytics · Machine Learning and Data Classification · Multimodal Machine Learning Applications
