scimeatlas

Research map / Large language models / Language, safety and interpretability

PlotCoder: Hierarchical Decoding for Synthesizing Visualization Code in Programmatic Context

Xinyun Chen, Linyuan Gong, Alvin Cheung, Dawn Song

ACL 2021Large language models › Language, safety and interpretabilityapproach: Data and evaluation methodologyopen problems in this approach24 citations (OpenAlex)

University of California, Berkeley

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
5improved
2no clear effect
3hurt

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 changedWhereMeasuredEffect
add hierarchical decoding (sketch then data) (ablation)PlotCoder · Test (hard) program accuracyprogram accuracy: 30.20% -> 34.79%Improved
add NL-code linking (ablation)PlotCoder · Test (hard) program accuracyprogram accuracy: 29.98% -> 30.20%Improved
add copy mechanism, linking and hierarchy over plain LSTM (ablation)LSTM baseline · Test (hard) plotted data accuracyplotted data accuracy: 29.87% -> 40.16%Improved
train on canonicalized target code (ablation)PlotCoder · Test (hard) program accuracyprogram accuracy: 20.58% -> 34.79%Improved
replace LSTM encoder with pre-trained RoBERTa (ablation)PlotCoder · Test (hard) program accuracyprogram accuracy: 34.79% -> 32.77%Hurt
replace LSTM encoder with pre-trained CodeBERT (ablation)PlotCoder · Test (hard) program accuracyprogram accuracy: 34.79% -> 33.11%Hurt
replace LSTM encoder with pre-trained RoBERTa (ablation)PlotCoder · Test (hard) plot type accuracyplot type accuracy: 70.58% -> 65.21%Hurt
add natural language description to input (ablation)PlotCoder · Test (hard) program accuracyprogram accuracy: 27.52% -> 34.79%Improved
add distant dataframe code context (ablation)PlotCoder · Test (hard) program accuracyprogram accuracy: 34.34% -> 34.79%No clear effect
add hierarchical decoding (sketch then data) (ablation)PlotCoder · Dev (gold) program accuracyprogram accuracy: 47.37% -> 47.37%No clear effect

Open problems in data and evaluation methodology

Do LLM-based data and evaluation methods hold beyond English, one domain and a few models?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy