Write a Blog >>
ICPC 2022
Mon 16 - Tue 17 May 2022
co-located with ICSE 2022
Mon 16 May 2022 20:10 - 20:17 at ICPC room - Session 8: Search and Reuse: Libraries & APIs Chair(s): Masud Rahman

Developers frequently use APIs to implement certain functionality, 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 simple encoder-decoder approach to generate API sequences. As it stands, the first approach treats queries and API names as bags of words. It lacks deep comprehension of the semantics of the query. The latter approach adapts a neural language model to encode a user query into a fixed-length context vector and generate API sequences from the context vector.

Recent Pre-trained Transformer based Models (PTM) are trained on large natural language corpora in an unsupervised manner to retain contextual knowledge about the language and have found success in solving similar Natural Language Processing (NLP) problems. However, the applicability of PTMs has not yet been explored for iAPI sequence generation. Over 7 million annotations collected from GitHub are used to evaluate our approach empirically, and the dataset was also used to assess previous baselines. Based on our results, our approach generates more accurate API sequences and outperforms other related methods by 12\%.

Mon 16 May

Displayed time zone: Eastern Time (US & Canada) change

20:10 - 20:50
Session 8: Search and Reuse: Libraries & APIsResearch / Replications and Negative Results (RENE) at ICPC room
Chair(s): Masud Rahman Dalhousie University
20:10
7m
Talk
On the Effectiveness of Pretrained Models for API Learning
Research
Mohammad Abdul Hadi University of British Columbia, Imam Nur Bani Yusuf Singapore Management University, Ferdian Thung Singapore Management University, Kien Luong School of Computing and Information Systems, Singapore Management University, Fatemeh Hendijani Fard University of British Columbia, Lingxiao Jiang Singapore Management University, David Lo Singapore Management University
Media Attached
20:17
7m
Talk
Deep API Learning Revisited
Replications and Negative Results (RENE)
James Martin McGill University, Jin L.C. Guo McGill University
Pre-print Media Attached
20:24
7m
Talk
ARSeek: Identifying API Resource using Code and Discussion on Stack Overflow
Research
Kien Luong School of Computing and Information Systems, Singapore Management University, Mohammad Abdul Hadi University of British Columbia, Ferdian Thung Singapore Management University, Fatemeh Hendijani Fard University of British Columbia, David Lo Singapore Management University
Media Attached
20:31
7m
Talk
Benchmarking Library Recognition in Tweets
Research
Ting Zhang Singapore Management University, Divya Prabha CHANDRASEKARAN Singapore Management University, Ferdian Thung Singapore Management University, David Lo Singapore Management University
Pre-print Media Attached
20:38
12m
Live Q&A
Q&A-Paper Session 8
Research


Information for Participants
Mon 16 May 2022 20:10 - 20:50 at ICPC room - Session 8: Search and Reuse: Libraries & APIs Chair(s): Masud Rahman
Info for room ICPC room:

Click here to go to the room on Midspace