Xiaopeng Zhang

Xiaopeng Zhang

Auto-generated profile, based on publicly available information

Xiaopeng Zhang

Tencent, Guangdong, China

Research Focus & Metrics

Academic Career Length

11Years (2016-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
15 March 2024 in ACM Transactions on Software Engineering and Methodology
Verified
Journal Article
Open access
ZLZhihao Li
Zhihao Li
CLChuanyi Li
Chuanyi Li
ZTZe Tang
Ze Tang
WHWanhong Huang
Wanhong Huang
JGJidong Ge
Jidong Ge
XZXiaopeng Zhang
Xiaopeng Zhang
Recommending APIs is a practical and essential feature of IDEs. Improving the accuracy of API recommendations is an effective way to improve coding efficiency. With the success of deep learning in software engineering, the state-of-the-art (SOTA) performance of API recommendation is also achieved by deep-learning-based approaches. However, existing SOTAs either only consider the API sequences in the code snippets or rely on complex operations for extracting hand-crafted features, all of which have potential risks in under-encoding the input code snippets and further resulting in sub-optimal recommendation performance. To this end, this article proposes to utilize the code understanding ability of existing general code P re- T raining M odels to fully encode the input code snippet to improve the accuracy of API Rec ommendation, namely, PTM-APIRec . To ensure that the code semantics of the input are fully understood and the API recommended actually exists, we use separate vocabularies for the input code snippet and the APIs to be predicted. The experimental results on the JDK and Android datasets show that PTM-APIRec surpasses existing approaches. Besides, an effective way to improve the performance of PTM-APIRec is to enhance the pre-trained model with more pre-training data (which is easier to obtain than API recommendation datasets).

12 April 2016
Verified
Book Chapter
Closed access
PDF file
CYChunfeng Yang
Chunfeng Yang
YZYipeng Zhou
Yipeng Zhou
LCLiang Chen
Liang Chen
XZXiaopeng Zhang
Xiaopeng Zhang
DCDah Ming Chiu
Dah Ming Chiu