AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

APIRecX: Cross-Library API Recommendation via Pre-Trained Language Model

Yuning Kang, Zan Wang, Hongyu Zhang, Junjie Chen, Hanmo You

EMNLP 2021Large language models › Language, safety and interpretabilityapproach: Text generation and evaluation metrics32 citations (OpenAlex)

Tianjin University · University of Newcastle

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
8improved
2no clear effect

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use APIRecX instead of LSTM/N-gram baselinesAPIRecX · IO, 0.2% fine-tune dataTop-1 accuracy: 52.9 vs 30.6 (LSTM) and 16.5 (N-gram)Improved
use APIRecX instead of LSTM/N-gramAPIRecX · JDBC, Swing, IO across five sampling ratiosTop-1/5/10 accuracy: e.g. JDBC 100% Top-1 60.0 vs 43.4 and 28.6Improved
use improved beam search (candidate pool, new stopping rule) instead of traditional (ablation)APIRecX · JDBC, 10% fine-tune dataTop-5 accuracy: 69.7 -> 79.4 (beam 10); 70.1 -> 79.9 (beam 20)Improved
use improved beam search instead of traditional (ablation)APIRecX · JDBC, 10% fine-tune dataTop-1 accuracy: 44.1 -> 45.2 (beam 10); 44.1 -> 46.9 (beam 20)Improved
pre-train then fine-tune instead of training from scratch on fine-tune data only (ablation)APIRecX · IO, 0.2% fine-tune dataTop-1 accuracy: 0.05 -> 52.9Improved
pre-train then fine-tune instead of training from scratch (ablation)APIRecX · Swing, 0.2% fine-tune dataTop-1 accuracy: 3.2 -> 25Improved
pre-train then fine-tune instead of retrain with mixed data (ablation)APIRecX · JDBC, 0.2% fine-tune dataTop-1 accuracy: 27.7 -> 37.6Improved
pre-train then fine-tune instead of retrain with mixed data (ablation)APIRecX · IO, 10% fine-tune dataTop-1 accuracy: 56.9 vs 56.9No clear effect
increase beam size beyond 20 (ablation)APIRecX · JDBCTop-1/5/10 accuracy: 100%: Top-1 60.0 (beam 20) vs 58.8 (beam 30)No clear effect
split API calls into subwords with BPE (subword coverage vs API coverage)APIRecX · 0.2% fine-tune data, average over domainscoverage: API coverage 25.5% -> subword coverage 77.7%Improved

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy