Research map / Large language models / Instruction and fine-tuning
VisCoder: Fine-Tuning LLMs for Executable Python Visualization Code Generation
Yuansheng Ni, Ping Nie, Kai Zou, Xiang Yue, Wenhu Chen
Carnegie Mellon University · University of Waterloo
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| fine-tune on VisCode-200K | Qwen2.5-Coder-7B-Instruct · PandasPlotBench (plotly) | execution pass rate: 48.0 -> 74.3 | Improved |
| fine-tune on VisCode-200K | Qwen2.5-Coder-7B-Instruct · PandasPlotBench (seaborn) | execution pass rate: 68.6 -> 76.6 | Improved |
| fine-tune on VisCode-200K | Qwen2.5-Coder-3B-Instruct · PandasPlotBench (plotly) | execution pass rate: 27.4 -> 60.6 | Improved |
| add self-debug (up to 3 rounds) | VisCoder-7B · PandasPlotBench (seaborn) | execution pass rate: 76.6 -> 90.3 | Improved |
| add self-debug (up to 3 rounds) | VisCoder-3B · PandasPlotBench (matplotlib) | execution pass rate: 81.7 -> 85.1 | Improved |
| compare VisCoder-7B with GPT-4o-mini on matplotlib | VisCoder-7B · PandasPlotBench (matplotlib) | execution pass rate: 88.6 (GPT-4o-mini) vs 87.4 | Hurt |
| train only on Stack-Edu-105K (ablation) | Qwen2.5-Coder-7B-Instruct · PandasPlotBench | execution pass rate: plotly 48.0 -> 49.7; matplotlib 78.3 -> 66.3; seaborn 68.6 -> 55.4 | Mixed |
| train only on CoSyn-50K (ablation) | Qwen2.5-Coder-7B-Instruct · PandasPlotBench | execution pass rate: 78.3 -> 0.0 (matplotlib) | Hurt |
| train only on Code-Feedback-45K (ablation) | Qwen2.5-Coder-7B-Instruct · PandasPlotBench | execution pass rate: matplotlib 78.3 -> 88.0; plotly 48.0 -> 62.9; seaborn 68.6 -> 44.0 | Mixed |
| use full VisCode-200K instead of single source subsets (ablation) | Qwen2.5-Coder-7B-Instruct · PandasPlotBench | execution pass rate: seaborn 44.0 -> 76.6 (vs Code-Feedback only) | Improved |
| self-debug on VisCoder-7B for semantic errors (ValueError, plotly) | VisCoder-7B · PandasPlotBench (plotly) | ValueError count: 29 -> 23 | No clear effect |
Later papers that compared with this method
1 later accepted paper reports VisCoder-3B as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- VisCoder2: Building Multi-Language Visualization Coding Agents (ICLR 2026 · better on 2 of 2 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in calibration and knowledge in LLM tuning
Do calibration and multilingual fine-tuning methods hold up on larger models, more languages and cleaner data?
- Few languages are covered, and low-resource languages are untested or score lower. · 18 papers state it
- Data are machine-translated or LLM-generated, so noise and bias carry over. · 15 papers state it
- Models above 13B parameters were not tried, mostly because of compute. · 11 papers state it
Closest papers by meaning
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.87)
- JanusCoder: Towards a Foundational Visual-Programmatic Interface for Code Intelligence (ICLR 2026 · similarity 0.86)
- SelfCodeAlign: Self-Alignment for Code Generation (NeurIPS 2024 · similarity 0.86)
- Teaching Large Language Models to Self-Debug (ICLR 2024 · similarity 0.86)
- InverseCoder: Self-improving Instruction-Tuned Code LLMs with Inverse-Instruct (AAAI 2025 · similarity 0.86)
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.