paper-with-me

Papers

PlotCoder: Hierarchical Decoding for Synthesizing Visualization Code in Programmatic Context

2021-08-01 · ACL 2021 5 · Xinyun Chen, Linyuan Gong, Alvin Cheung, Dawn Song

Creating effective visualization is an important part of data analytics. While there are many libraries for creating visualization, writing such code remains difficult given the myriad of parameters that users need to provide. In this paper, we propose the new task of synthesizing visualization programs from a combination of natural language utterances and code context. To tackle the learning problem, we introduce PlotCoder, a new hierarchical encoder-decoder architecture that models both the code context and the input utterance. We use PlotCoder to first determine the template of the visualization code, followed by predicting the data to be plotted. We use Jupyter notebooks containing visualization programs crawled from GitHub to train PlotCoder. On a comprehensive set of test samples from those notebooks, we show that PlotCoder correctly predicts the plot type of about 70{\%} samples, and synthesizes the correct programs for 35{\%} samples, performing 3-4.5{\%} better than the baselines.

📄 PDF Abstract BibTeX

Code (1)

jungyhuk/plotcoder 공식 구현 pytorch

Tasks

Decoder

Similar Papers 제목 키워드 기반

VisCode: Embedding Information in Visualization Images using Encoder-Decoder Network

2020-09-07 · Peiying Zhang, Chenhui Li, Changbo Wang

We present an approach called VisCode for embedding information into visualization images. This technology can implicitly embed data information specified by the user into a visualization while ensuring that the encoded …

Decoder

ReasoningLens: Hierarchical Visualization and Diagnostic Auditing for Large Reasoning Models

2026-06-22 · Jun Zhang, Jiasheng Zheng, Boxi Cao, Yaojie Lu 외 arxiv

The emergence of Large Reasoning Models has introduced exceptionally long Chain-of-Thought traces, creating a transparency burden where critical logic is often buried under massive procedural text. To address this, we pr…

Synchromesh: Reliable code generation from pre-trained language models

2022-01-26 · ICLR 2022 4 · Gabriel Poesia, Oleksandr Polozov, Vu Le, Ashish Tiwari 외

Large pre-trained language models have been used to generate code,providing a flexible interface for synthesizing programs from natural language specifications. However, they often violate syntactic and semantic rules of…

Code GenerationLanguage ModelingLanguage Modellingvalid

Attention module improves both performance and interpretability of 4D fMRI decoding neural network

2021-10-03 · Zhoufan Jiang, Yanming Wang, Chenwei Shi, Yueyang Wu 외

Decoding brain cognitive states from neuroimaging signals is an important topic in neuroscience. In recent years, deep neural networks (DNNs) have been recruited for multiple brain state decoding and achieved good perfor…

Open-Ended Question AnsweringTransfer Learning

TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression Recognition

2022-06-28 · Proceedings of the AAAI Conference on Artificial Intelligence 2022 6 · Changjie Wu, Jun Du, Yunqing Li, Jianshu Zhang 외

In recent years, tree decoders become more popular than LaTeX string decoders in the field of handwritten mathematical expression recognition (HMER) as they can capture the hierarchical tree structure of mathematical exp…

DecoderHandwritten Mathmatical Expression Recognition