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
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 changed | Where | Measured | Effect |
|---|---|---|---|
| use APIRecX instead of LSTM/N-gram baselines | APIRecX · IO, 0.2% fine-tune data | Top-1 accuracy: 52.9 vs 30.6 (LSTM) and 16.5 (N-gram) | Improved |
| use APIRecX instead of LSTM/N-gram | APIRecX · JDBC, Swing, IO across five sampling ratios | Top-1/5/10 accuracy: e.g. JDBC 100% Top-1 60.0 vs 43.4 and 28.6 | Improved |
| use improved beam search (candidate pool, new stopping rule) instead of traditional (ablation) | APIRecX · JDBC, 10% fine-tune data | Top-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 data | Top-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 data | Top-1 accuracy: 0.05 -> 52.9 | Improved |
| pre-train then fine-tune instead of training from scratch (ablation) | APIRecX · Swing, 0.2% fine-tune data | Top-1 accuracy: 3.2 -> 25 | Improved |
| pre-train then fine-tune instead of retrain with mixed data (ablation) | APIRecX · JDBC, 0.2% fine-tune data | Top-1 accuracy: 27.7 -> 37.6 | Improved |
| pre-train then fine-tune instead of retrain with mixed data (ablation) | APIRecX · IO, 10% fine-tune data | Top-1 accuracy: 56.9 vs 56.9 | No clear effect |
| increase beam size beyond 20 (ablation) | APIRecX · JDBC | Top-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 domains | coverage: API coverage 25.5% -> subword coverage 77.7% | Improved |
Closest papers by meaning
- API Pack: A Massive Multi-Programming Language Dataset for API Call Generation (ICLR 2025 · similarity 0.84)
- LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models (NeurIPS 2026 · similarity 0.82)
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs (ICLR 2024 · similarity 0.82)
- Gorilla: Large Language Model Connected with Massive APIs (NeurIPS 2024 · similarity 0.80)
- Refactoring Code Through Library Design (NeurIPS 2026 · similarity 0.80)
- CONSIDER: Commonalities and Specialties Driven Multilingual Code Retrieval Framework (AAAI 2024 · similarity 0.80)
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.
