mlsanityData to 14 Oct 2026

On the Effectiveness of Large Language Models in Domain-Specific Code Generation

arXiv 2312.01639 ↗First posted 4 Dec 2023cs.SEcited by 44

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) such as ChatGPT have shown remarkable capabilities in code generation. Despite significant achievements, they rely on enormous training data to acquire a broad spectrum of open-domain knowledge. Besides, their evaluation revolves around open-domain benchmarks like HumanEval, which primarily consist of programming contests. Therefore, it is hard to fully characterize the intricacies and challenges associated with particular domains (e.g., web, game, and math). In this paper, we conduct an in-depth study of the LLMs in domain-specific code generation. Our results demonstrate that LLMs exhibit sub-optimal performance in generating domain-specific code, due to their limited proficiency in utilizing domain-specific libraries. We further observe that incorporating API knowledge as prompts can empower LLMs to generate more professional code. Based on these findings, we further investigate how to effectively incorporate API knowledge into the code generation process. We experiment with three strategies for incorporating domain knowledge, namely, external knowledge inquirer, chain-of-thought prompting, and chain-of-thought fine-tuning. We refer to these strategies as a new code generation approach called DomCoder. Experimental results show that all strategies of DomCoder lead to improvement in the effectiveness of domain-specific code generation under certain settings.

Key facts. Cited by 44 papers in the map (data through 14 Oct 2026). First posted on arXiv 4 Dec 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 7; 2025: 22; 2026: 14.

44 papers.

Sort:

By area:

  1. 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHubcited by 55
  2. 2024LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generationcited by 45
  3. 2026In Line with Context: Repository-Level Code Generation via Context Inliningcited by 18
  4. 2024Retrieval-Augmented Data Augmentation for Low-Resource Domain Taskscited by 12
  5. 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 12
  6. 2025Towards Formal Verification of LLM-Generated Code from Natural Language Promptscited by 8
  7. 2025GPT-4.1 Sets the Standard in Automated Experiment Design Using Novel Python Librariescited by 8
  8. 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Designcited by 8
  9. 2024LLM4DS: Evaluating Large Language Models for Data Science Code Generationcited by 7
  10. 2025Man-Made Heuristics Are Dead. Long Live Code Generators!cited by 6
  11. 2025Can ChatGPT implement finite element models for geotechnical engineering applications?cited by 5
  12. 2025GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Modelscited by 5
32 more
  1. 2026KOCO-BENCH: Can Large Language Models Leverage Domain Knowledge in Software Development?cited by 5
  2. 2025ModiGen: A Large Language Model-Based Workflow for Multi-Task Modelica Code Generationcited by 4
  3. 2025Optimizing Retrieval Augmented Generation for Object Constraint Languagecited by 4
  4. 2025BioMol-MQA: A Multi-Modal Question Answering Dataset For LLM Reasoning Over Bio-Molecular Interactionscited by 4
  5. 2025The Impact of LLM-Assistants on Software Developer Productivity: A Systematic Review and Mapping Studycited by 4
  6. 2024Exploring Data-Efficient Adaptation of Large Language Models for Code Generationcited by 3
  7. 2024GEE-OPs: An Operator Knowledge Base for Geospatial Code Generation on the Google Earth Engine Platform Powered by Large Language Modelscited by 3
  8. 2025Another Turn, Better Output? A Turn-Wise Analysis of Iterative LLM Promptingcited by 3
  9. 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 3
  10. 2024OnlySportsLM: Optimizing Sports-Domain Language Models with SOTA Performance under Billion Parameterscited by 2
  11. 2025Deep Learning-based Intrusion Detection Systems: A Surveycited by 2
  12. 2025FineScope : SAE-guided Data Selection Enables Domain Specific LLM Pruning and Finetuningcited by 2
  13. 2025CelloAI: Leveraging Large Language Models for HPC Software Development in High Energy Physicscited by 2
  14. 2026Learning from Execution: Self-Evolving Memory for Private-Library Code Generationcited by 2
  15. 2025From PowerPoint UI Sketches to Web-Based Applications: Pattern-Driven Code Generation for GIS Dashboard Development Using Knowledge-Augmented LLMs, Context-Aware Visual Prompting, and the React Frameworkcited by 1
  16. 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
  17. 2025Real-Time World Crafting: Generating Structured Game Behaviors from Natural Language with Large Language Modelscited by 1
  18. 2026An Agentic Framework for Neuro-Symbolic Programmingcited by 1
  19. 2026Evolutionary Context Search for Automated Skill Acquisitioncited by 1
  20. 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphscited by 1
  21. 2026BIM-Edit: Benchmarking Large Language Models for IFC-Based Building Information Modelingcited by 1
  22. 2023Context Matters: Data-Efficient Augmentation of Large Language Models for Scientific Applicationscited by 0
  23. 2024Insights into resource utilization of code small language models serving with runtime engines and execution providerscited by 0
  24. 2025AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Modelscited by 0
  25. 2025Learning from Few Samples: A Novel Approach for High-Quality Malcode Generationcited by 0
  26. 2025Designing Empirical Studies on LLM-Based Code Generation: Towards a Reference Frameworkcited by 0
  27. 2025Context-Aware Visual Prompting: Automating Geospatial Web Dashboards with Large Language Models and Agent Self-Validation for Decision Supportcited by 0
  28. 2026The Expert Validation Framework (EVF): Enabling Domain Expert Control in AI Engineeringcited by 0
  29. 2026Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Studycited by 0
  30. 2026Feedback-Normalized Developer Memory for Reinforcement-Learning Coding Agents: A Safety-Gated MCP Architecturecited by 0
  31. 2026Repository-Level Solidity Code Generation with Large Language Models: From Prompting to Fine-Tuningcited by 0
  32. 2026An Exploratory Case Study of LLM-Assisted Refactoring and Gameplay Feature Generation in an Endless Runner Gamecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap
  2. 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASML
  3. 2026DomAgent: Leveraging Knowledge Graphs and Case-Based Reasoning for Domain-Specific Code Generation
  4. 2026Exploring different approaches to customize language models for domain-specific text-to-code generation
  5. 2026Are you Synthesizing or Recalling? Evaluating LLMs on Algorithmic Code Retrieval
  6. 2024Enhancing Code Generation Performance of Smaller Models by Distilling the Reasoning Ability of LLMs
  7. 2023Think Outside the Code: Brainstorming Boosts Large Language Models in Code Generation
  8. 2026SLM Finetuning for Natural Language to Domain Specific Code Generation in Production