Journal article · 2024

DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code Exercises

Daoguang Zan, Ailun Yu, Bo Shen, B.C.J. Chen, Wei Li, Yongshun Gong, Xiaolin Chen, Yafen Yao, Weihua Luo, Bei Guan, Yan Liu, Yongji Wang and 2 more

Proceedings of the ACM on software engineering., 1(FSE), 406–426 · Published 12 July 2024 · DOI 10.1145/3643745

View at the publisherCite this paper

In brief

“DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code Exercises” is a 2024 journal article by Daoguang Zan and 13 co-authors, published in Proceedings of the ACM on software engineering.. OpenAlex counts 6 citations as of 19 November 2026. The publisher's version is not open access, and OpenAlex records no free legal copy.

Citations
6
Most cited in
2026 (4)
Field-weighted impact
1.15
References
39
Authors
14

Abstract

The task of code generation aims to generate code solutions based on given programming problems. Recently, code large language models (code LLMs) have shed new light on this task, owing to their formidable code generation capabilities. While these models are powerful, they seldom focus on further improving the accuracy of library-oriented API invocation. Nonetheless, programmers… Read the full abstract at the publisher.

Excerpt. This paper is not open access.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Zan, D., Yu, A., Shen, B., Chen, B., Li, W., Gong, Y., Chen, X., Yao, Y., Luo, W., Guan, B., Liu, Y., Wang, Y., Wang, Q., & Cui, L. (2024). DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code Exercises. Proceedings of the ACM on software engineering., 1(FSE), 406–426. https://doi.org/10.1145/3643745

MLA 9

Zan, Daoguang, et al. “DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code Exercises.” Proceedings of the ACM on software engineering., vol. 1, no. FSE, 2024, pp. 406–426. https://doi.org/10.1145/3643745.

Chicago

Zan, Daoguang, Ailun Yu, Bo Shen, B.C.J. Chen, Wei Li, Yongshun Gong, Xiaolin Chen, et al. 2024. “DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code Exercises.” Proceedings of the ACM on software engineering. 1 (FSE): 406–426. https://doi.org/10.1145/3643745.

Harvard

Zan, D. et al. (2024) ‘DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code Exercises’, Proceedings of the ACM on software engineering., 1(FSE), pp. 406–426. doi:10.1145/3643745.

IEEE

D. Zan et al., “DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code Exercises,” Proceedings of the ACM on software engineering., vol. 1, no. FSE, pp. 406–426, 2024, doi: 10.1145/3643745.

BibTeX

@article{zan2024diffcoder,
  title     = {{DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code Exercises}},
  author    = {Zan, Daoguang and Yu, Ailun and Shen, Bo and Chen, B.C.J. and Li, Wei and Gong, Yongshun and Chen, Xiaolin and Yao, Yafen and Luo, Weihua and Guan, Bei and Liu, Yan and Wang, Yongji and Wang, Qianxiang and Cui, Lizhen},
  journal   = {Proceedings of the ACM on software engineering.},
  year      = {2024},
  volume    = {1},
  number    = {FSE},
  pages     = {406--426},
  doi       = {10.1145/3643745},
  url       = {https://doi.org/10.1145/3643745}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Citations by year

YearCitationsShare of the best year
202411
202511
202644

Its field-weighted citation impact is 1.15: it has been cited 1.15 times as often as the average work of the same field, type and year (1.00 is the world average).

Topic and keywords

Physical Sciences › Computer Science › Information Systems › Software Engineering Research

  • code large language models
  • analogy-based learning
  • code generation

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Zan, D., Yu, A., Shen, B., Chen, B., Li, W., Gong, Y., Chen, X., Yao, Y., Luo, W., Guan, B., Liu, Y., Wang, Y., Wang, Q., & Cui, L. (2024). DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code Exercises. Proceedings of the ACM on software engineering., 1(FSE), 406–426. https://doi.org/10.1145/3643745

How many times has this paper been cited?

6 times, according to OpenAlex on 19 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

OpenAlex records no free legal copy. Check your library's access, the authors' pages or a repository, or ask the corresponding author for a copy.

Who wrote this paper?

Daoguang Zan, Ailun Yu, Bo Shen, B.C.J. Chen, Wei Li, Yongshun Gong, Xiaolin Chen, Yafen Yao, Weihua Luo, Bei Guan, Yan Liu, Yongji Wang and 2 more.

What is the DOI of this paper?

10.1145/3643745, permanently at https://doi.org/10.1145/3643745. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 19 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.