Plot2API: Recommending Graphic API from Plot via Semantic Parsing Guided Neural Network
Zeyu Wang, Sheng Huang, Zhongxin Liu, Meng Yan, Xin Xia, and Bei Wang, Dan Yang

TL;DR
This paper introduces a novel deep learning approach called SPGNN for recommending graphic APIs from plots, addressing challenges like varied appearances and data imbalance, and demonstrates its effectiveness on new datasets.
Contribution
The paper proposes SPGNN, a multi-task neural network that combines semantic parsing with image classification for improved Plot2API recommendations, and provides new datasets for evaluation.
Findings
SPGNN outperforms recent deep learning baselines.
Semantic parsing enhances feature learning by focusing on relevant visual information.
Data augmentation with random erasing alleviates API category imbalance.
Abstract
Plot-based Graphic API recommendation (Plot2API) is an unstudied but meaningful issue, which has several important applications in the context of software engineering and data visualization, such as the plotting guidance of the beginner, graphic API correlation analysis, and code conversion for plotting. Plot2API is a very challenging task, since each plot is often associated with multiple APIs and the appearances of the graphics drawn by the same API can be extremely varied due to the different settings of the parameters. Additionally, the samples of different APIs also suffer from extremely imbalanced. Considering the lack of technologies in Plot2API, we present a novel deep multi-task learning approach named Semantic Parsing Guided Neural Network (SPGNN) which translates the Plot2API issue as a multi-label image classification and an image semantic parsing tasks for the solution. In…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Advanced Malware Detection Techniques · Web Data Mining and Analysis
Methods*Communicated@Fast*How Do I Communicate to Expedia? · Depthwise Convolution · Pointwise Convolution · Average Pooling · Dense Connections · Squeeze-and-Excitation Block · Dropout · Batch Normalization · Depthwise Separable Convolution · Inverted Residual Block
