Plot2API: Recommending Graphic API from Plot via Semantic Parsing Guided
Neural Network
- URL: http://arxiv.org/abs/2104.01032v1
- Date: Fri, 2 Apr 2021 13:08:56 GMT
- Title: Plot2API: Recommending Graphic API from Plot via Semantic Parsing Guided
Neural Network
- Authors: Zeyu Wang and Sheng Huang and Zhongxin Liu and Meng Yan and Xin Xia
and Bei Wang and Dan Yang
- Abstract summary: Plot-based Graphic API recommendation (Plot2API) is an unstudied but meaningful issue.
We present a novel deep multi-task learning approach named Semantic Parsing Guided Neural Network (SPGNN)
In SPGNN, the recently advanced Convolutional Neural Network (CNN) named EfficientNet is employed as the backbone network for API recommendation.
- Score: 13.936788648883068
- License: http://creativecommons.org/licenses/by-nc-sa/4.0/
- 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
SPGNN, the recently advanced Convolutional Neural Network (CNN) named
EfficientNet is employed as the backbone network for API recommendation.
Meanwhile, a semantic parsing module is complemented to exploit the semantic
relevant visual information in feature learning and eliminate the
appearance-relevant visual information which may confuse the
visual-information-based API recommendation. Moreover, the recent data
augmentation technique named random erasing is also applied for alleviating the
imbalance of API categories. We collect plots with the graphic APIs used to
drawn them from Stack Overflow, and release three new Plot2API datasets
corresponding to the graphic APIs of R and Python programming languages for
evaluating the effectiveness of Plot2API techniques. Extensive experimental
results not only demonstrate the superiority of our method over the recent deep
learning baselines but also show the practicability of our method in the
recommendation of graphic APIs.
Related papers
- InstructG2I: Synthesizing Images from Multimodal Attributed Graphs [50.852150521561676]
We propose a graph context-conditioned diffusion model called InstructG2I.
InstructG2I first exploits the graph structure and multimodal information to conduct informative neighbor sampling.
A Graph-QFormer encoder adaptively encodes the graph nodes into an auxiliary set of graph prompts to guide the denoising process.
arXiv Detail & Related papers (2024-10-09T17:56:15Z) - DocGraphLM: Documental Graph Language Model for Information Extraction [15.649726614383388]
We introduce DocGraphLM, a framework that combines pre-trained language models with graph semantics.
To achieve this, we propose 1) a joint encoder architecture to represent documents, and 2) a novel link prediction approach to reconstruct document graphs.
Our experiments on three SotA datasets show consistent improvement on IE and QA tasks with the adoption of graph features.
arXiv Detail & Related papers (2024-01-05T14:15:36Z) - FACTUAL: A Benchmark for Faithful and Consistent Textual Scene Graph
Parsing [66.70054075041487]
Existing scene graphs that convert image captions into scene graphs often suffer from two types of errors.
First, the generated scene graphs fail to capture the true semantics of the captions or the corresponding images, resulting in a lack of faithfulness.
Second, the generated scene graphs have high inconsistency, with the same semantics represented by different annotations.
arXiv Detail & Related papers (2023-05-27T15:38:31Z) - Learnable Graph Matching: A Practical Paradigm for Data Association [74.28753343714858]
We propose a general learnable graph matching method to address these issues.
Our method achieves state-of-the-art performance on several MOT datasets.
For image matching, our method outperforms state-of-the-art methods on a popular indoor dataset, ScanNet.
arXiv Detail & Related papers (2023-03-27T17:39:00Z) - Location-Free Scene Graph Generation [45.366540803729386]
Scene Graph Generation (SGG) is a visual understanding task, aiming to describe a scene as a graph of entities and their relationships with each other.
Existing works rely on location labels in form of bounding boxes or segmentation masks, increasing annotation costs and limiting dataset expansion.
We break this dependency and introduce location-free scene graph generation (LF-SGG)
This new task aims at predicting instances of entities, as well as their relationships, without the explicit calculation of their spatial localization.
arXiv Detail & Related papers (2023-03-20T08:57:45Z) - Dynamic Graph Message Passing Networks for Visual Recognition [112.49513303433606]
Modelling long-range dependencies is critical for scene understanding tasks in computer vision.
A fully-connected graph is beneficial for such modelling, but its computational overhead is prohibitive.
We propose a dynamic graph message passing network, that significantly reduces the computational complexity.
arXiv Detail & Related papers (2022-09-20T14:41:37Z) - Learning Implicit Feature Alignment Function for Semantic Segmentation [51.36809814890326]
Implicit Feature Alignment function (IFA) is inspired by the rapidly expanding topic of implicit neural representations.
We show that IFA implicitly aligns the feature maps at different levels and is capable of producing segmentation maps in arbitrary resolutions.
Our method can be combined with improvement on various architectures, and it achieves state-of-the-art accuracy trade-off on common benchmarks.
arXiv Detail & Related papers (2022-06-17T09:40:14Z) - On the Effectiveness of Pretrained Models for API Learning [8.788509467038743]
Developers frequently use APIs to implement certain functionalities, such as parsing Excel Files, reading and writing text files line by line, etc.
Developers can greatly benefit from automatic API usage sequence generation based on natural language queries for building applications in a faster and cleaner manner.
Existing approaches utilize information retrieval models to search for matching API sequences given a query or use RNN-based encoder-decoder to generate API sequences.
arXiv Detail & Related papers (2022-04-05T20:33:24Z) - End-to-end video instance segmentation via spatial-temporal graph neural
networks [30.748756362692184]
Video instance segmentation is a challenging task that extends image instance segmentation to the video domain.
Existing methods either rely only on single-frame information for the detection and segmentation subproblems or handle tracking as a separate post-processing step.
We propose a novel graph-neural-network (GNN) based method to handle the aforementioned limitation.
arXiv Detail & Related papers (2022-03-07T05:38:08Z) - Learnable Graph Matching: Incorporating Graph Partitioning with Deep
Feature Learning for Multiple Object Tracking [58.30147362745852]
Data association across frames is at the core of Multiple Object Tracking (MOT) task.
Existing methods mostly ignore the context information among tracklets and intra-frame detections.
We propose a novel learnable graph matching method to address these issues.
arXiv Detail & Related papers (2021-03-30T08:58:45Z) - APEX-Net: Automatic Plot Extractor Network [24.299931323012757]
We propose APEX-Net, a deep learning based framework with novel loss functions for solving the plot extraction problem.
We introduce APEX-1M, a new large scale dataset which contains both the plot images and the raw data.
We show visual results of our network on unseen plot images and demonstrate that it extracts the shape of the plots to a great extent.
arXiv Detail & Related papers (2021-01-15T17:02:36Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.