mlsanityData to 7 Oct 2026

Deep API Learning

arXiv 1605.08535 ↗First posted 27 May 2016cs.SE cs.CL cs.LGcited by 41

Not on the map. Why?

Abstract (arXiv)

Developers often wonder how to implement a certain functionality (e.g., how to parse XML files) using APIs. Obtaining an API usage sequence based on an API-related natural language query is very helpful in this regard. Given a query, existing approaches utilize information retrieval models to search for matching API sequences. These approaches treat queries and APIs as bag-of-words (i.e., keyword matching or word-to-word alignment) and lack a deep understanding of the semantics of the query. We propose DeepAPI, a deep learning based approach to generate API usage sequences for a given natural language query. Instead of a bags-of-words assumption, it learns the sequence of words in a query and the sequence of associated APIs. DeepAPI adapts a neural language model named RNN Encoder-Decoder. It encodes a word sequence (user query) into a fixed-length context vector, and generates an API sequence based on the context vector. We also augment the RNN Encoder-Decoder by considering the importance of individual APIs. We empirically evaluate our approach with more than 7 million annotated code snippets collected from GitHub. The results show that our approach generates largely accurate API sequences and outperforms the related approaches.

Key facts. Cited by 41 papers in the map (data through 7 Oct 2026). First posted on arXiv 27 May 2016.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 15; 2022: 9; 2023: 9; 2024: 4; 2025: 2; 2026: 2.

41 papers.

Sort:

By area:

  1. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  2. 2021Retrieval Augmented Code Generation and Summarizationcited by 148
  3. 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
  4. 2022When Language Model Meets Private Librarycited by 54
  5. 2021CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computingcited by 28
  6. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  7. 2021Understanding Neural Code Intelligence Through Program Simplificationcited by 20
  8. 2021On the Evaluation of Commit Message Generation Models: An Experimental Studycited by 20
  9. 2021Memorization and Generalization in Neural Code Intelligence Modelscited by 17
  10. 2021GraphSearchNet: Enhancing GNNs via Capturing Global Dependencies for Semantic Code Searchcited by 15
  11. 2022Cross-Language Binary-Source Code Matching with Intermediate Representationscited by 13
  12. 2022Code Search based on Context-aware Code Translationcited by 11
29 more
  1. 2024Compositional API Recommendation for Library-Oriented Code Generationcited by 10
  2. 2022On the Effectiveness of Pretrained Models for API Learningcited by 9
  3. 2025CODESYNC: Synchronizing Large Language Models with Dynamic Code Evolution at Scalecited by 8
  4. 2023Improving Code Example Recommendations on Informal Documentation Using BERT and Query-Aware LSH: A Comparative Studycited by 7
  5. 2023Revisiting and Improving Retrieval-Augmented Deep Assertion Generationcited by 5
  6. 2025Impact-driven Context Filtering For Cross-file Code Completioncited by 5
  7. 2021Toward Less Hidden Cost of Code Completion with Acceptance and Ranking Modelscited by 4
  8. 2021Natural Language-Guided Programmingcited by 4
  9. 2021deGraphCS: Embedding Variable-based Flow Graph for Neural Code Searchcited by 3
  10. 2021Unsupervised Learning of General-Purpose Embeddings for Code Changescited by 3
  11. 2022Test2Vec: An Execution Trace Embedding for Test Case Prioritizationcited by 3
  12. 2023PERFOGRAPH: A Numerical Aware Program Graph Representation for Performance Optimization and Program Analysiscited by 3
  13. 2023Pop Quiz! Do Pre-trained Code Models Possess Knowledge of Correct API Names?cited by 3
  14. 2024Structured Code Representations Enable Data-Efficient Adaptation of Code Language Modelscited by 3
  15. 2024COMET: Generating Commit Messages using Delta Graph Context Representationcited by 3
  16. 2021BERT2Code: Can Pretrained Language Models be Leveraged for Code Search?cited by 2
  17. 2022Towards Top-Down Automated Development in Limited Scopes: A Neuro-Symbolic Framework from Expressibles to Executablescited by 2
  18. 2022GitHub Considered Harmful? Analyzing Open-Source Projects for the Automatic Generation of Cryptographic API Call Sequencescited by 2
  19. 2023A Comprehensive Review of State-of-The-Art Methods for Java Code Generation from Natural Language Textcited by 2
  20. 2023ARIST: An Effective API Argument Recommendation Approachcited by 2
  21. 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolutioncited by 2
  22. 2021Plot2API: Recommending Graphic API from Plot via Semantic Parsing Guided Neural Networkcited by 1
  23. 2021FACOS: Finding API Relevant Contents on Stack Overflow with Semantic and Syntactic Analysiscited by 1
  24. 2021Embedding Code Contexts for Cryptographic API Suggestion:New Methodologies and Comparisonscited by 0
  25. 2021Revelio: ML-Generated Debugging Queries for Distributed Systemscited by 0
  26. 2022Code Sophistication: From Code Recommendation to Logic Recommendationcited by 0
  27. 2023A Machine Learning Approach Towards SKILL Code Autocompletioncited by 0
  28. 2024Multi-modal Learning for WebAssembly Reverse Engineeringcited by 0
  29. 2026From Pen to Pixel: Translating Hand-Drawn Plots into Graphical APIs via a Novel Benchmark and Efficient Adaptercited by 0