On the Effectiveness of Large Language Models in Domain-Specific Code Generation
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
Citing papers per year: 2023: 1; 2024: 7; 2025: 22; 2026: 14.
44 papers.
Sort:
By area:
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHubcited by 55
- 2024LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generationcited by 45
- 2026In Line with Context: Repository-Level Code Generation via Context Inliningcited by 18
- 2024Retrieval-Augmented Data Augmentation for Low-Resource Domain Taskscited by 12
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 12
- 2025Towards Formal Verification of LLM-Generated Code from Natural Language Promptscited by 8
- 2025GPT-4.1 Sets the Standard in Automated Experiment Design Using Novel Python Librariescited by 8
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Designcited by 8
- 2024LLM4DS: Evaluating Large Language Models for Data Science Code Generationcited by 7
- 2025Man-Made Heuristics Are Dead. Long Live Code Generators!cited by 6
- 2025Can ChatGPT implement finite element models for geotechnical engineering applications?cited by 5
- 2025GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Modelscited by 5
32 more
- 2026KOCO-BENCH: Can Large Language Models Leverage Domain Knowledge in Software Development?cited by 5
- 2025ModiGen: A Large Language Model-Based Workflow for Multi-Task Modelica Code Generationcited by 4
- 2025Optimizing Retrieval Augmented Generation for Object Constraint Languagecited by 4
- 2025BioMol-MQA: A Multi-Modal Question Answering Dataset For LLM Reasoning Over Bio-Molecular Interactionscited by 4
- 2025The Impact of LLM-Assistants on Software Developer Productivity: A Systematic Review and Mapping Studycited by 4
- 2024Exploring Data-Efficient Adaptation of Large Language Models for Code Generationcited by 3
- 2024GEE-OPs: An Operator Knowledge Base for Geospatial Code Generation on the Google Earth Engine Platform Powered by Large Language Modelscited by 3
- 2025Another Turn, Better Output? A Turn-Wise Analysis of Iterative LLM Promptingcited by 3
- 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 3
- 2024OnlySportsLM: Optimizing Sports-Domain Language Models with SOTA Performance under Billion Parameterscited by 2
- 2025Deep Learning-based Intrusion Detection Systems: A Surveycited by 2
- 2025FineScope : SAE-guided Data Selection Enables Domain Specific LLM Pruning and Finetuningcited by 2
- 2025CelloAI: Leveraging Large Language Models for HPC Software Development in High Energy Physicscited by 2
- 2026Learning from Execution: Self-Evolving Memory for Private-Library Code Generationcited by 2
- 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
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
- 2025Real-Time World Crafting: Generating Structured Game Behaviors from Natural Language with Large Language Modelscited by 1
- 2026An Agentic Framework for Neuro-Symbolic Programmingcited by 1
- 2026Evolutionary Context Search for Automated Skill Acquisitioncited by 1
- 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphscited by 1
- 2026BIM-Edit: Benchmarking Large Language Models for IFC-Based Building Information Modelingcited by 1
- 2023Context Matters: Data-Efficient Augmentation of Large Language Models for Scientific Applicationscited by 0
- 2024Insights into resource utilization of code small language models serving with runtime engines and execution providerscited by 0
- 2025AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Modelscited by 0
- 2025Learning from Few Samples: A Novel Approach for High-Quality Malcode Generationcited by 0
- 2025Designing Empirical Studies on LLM-Based Code Generation: Towards a Reference Frameworkcited by 0
- 2025Context-Aware Visual Prompting: Automating Geospatial Web Dashboards with Large Language Models and Agent Self-Validation for Decision Supportcited by 0
- 2026The Expert Validation Framework (EVF): Enabling Domain Expert Control in AI Engineeringcited by 0
- 2026Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Studycited by 0
- 2026Feedback-Normalized Developer Memory for Reinforcement-Learning Coding Agents: A Safety-Gated MCP Architecturecited by 0
- 2026Repository-Level Solidity Code Generation with Large Language Models: From Prompting to Fine-Tuningcited by 0
- 2026An Exploratory Case Study of LLM-Assisted Refactoring and Gameplay Feature Generation in an Endless Runner Gamecited by 0
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
- 2026An Exploratory Case Study of LLM-Assisted Refactoring and Gameplay Feature Generation in an Endless Runner Game19 Jun 2026
- 2026BIM-Edit: Benchmarking Large Language Models for IFC-Based Building Information Modeling18 Jun 2026
- 2026Repository-Level Solidity Code Generation with Large Language Models: From Prompting to Fine-Tuning18 Jun 2026
- 2026Feedback-Normalized Developer Memory for Reinforcement-Learning Coding Agents: A Safety-Gated MCP Architecture2 May 2026
- 2026Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Study27 Apr 2026
- 2026Learning from Execution: Self-Evolving Memory for Private-Library Code Generation27 Apr 2026
- 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphs24 Feb 2026
- 2026Evolutionary Context Search for Automated Skill Acquisition18 Feb 2026
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Design29 Jan 2026
- 2026KOCO-BENCH: Can Large Language Models Leverage Domain Knowledge in Software Development?19 Jan 2026
- 2026The Expert Validation Framework (EVF): Enabling Domain Expert Control in AI Engineering18 Jan 2026
32 more
- 2026An Agentic Framework for Neuro-Symbolic Programming2 Jan 2026
- 2026In Line with Context: Repository-Level Code Generation via Context Inlining1 Jan 2026
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Coding30 Nov 2025
- 2025Real-Time World Crafting: Generating Structured Game Behaviors from Natural Language with Large Language Models19 Oct 2025
- 2025Context-Aware Visual Prompting: Automating Geospatial Web Dashboards with Large Language Models and Agent Self-Validation for Decision Support10 Oct 2025
- 2025Man-Made Heuristics Are Dead. Long Live Code Generators!9 Oct 2025
- 2025Designing Empirical Studies on LLM-Based Code Generation: Towards a Reference Framework4 Oct 2025
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHub18 Sep 2025
- 2025Another Turn, Better Output? A Turn-Wise Analysis of Iterative LLM Prompting8 Sep 2025
- 2025Learning from Few Samples: A Novel Approach for High-Quality Malcode Generation25 Aug 2025
- 2025CelloAI: Leveraging Large Language Models for HPC Software Development in High Energy Physics22 Aug 2025
- 2025GPT-4.1 Sets the Standard in Automated Experiment Design Using Novel Python Libraries30 Jul 2025
- 2025Towards Formal Verification of LLM-Generated Code from Natural Language Prompts17 Jul 2025
- 2025The Impact of LLM-Assistants on Software Developer Productivity: A Systematic Review and Mapping Study3 Jul 2025
- 2025GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Models12 Jun 2025
- 2025BioMol-MQA: A Multi-Modal Question Answering Dataset For LLM Reasoning Over Bio-Molecular Interactions6 Jun 2025
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards19 May 2025
- 2025Optimizing Retrieval Augmented Generation for Object Constraint Language19 May 2025
- 2025AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Models19 May 2025
- 2025FineScope : SAE-guided Data Selection Enables Domain Specific LLM Pruning and Finetuning1 May 2025
- 2025Deep Learning-based Intrusion Detection Systems: A Survey10 Apr 2025
- 2025ModiGen: A Large Language Model-Based Workflow for Multi-Task Modelica Code Generation24 Mar 2025
- 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 Framework12 Feb 2025
- 2025Can ChatGPT implement finite element models for geotechnical engineering applications?4 Jan 2025
- 2024Insights into resource utilization of code small language models serving with runtime engines and execution providers19 Dec 2024
- 2024GEE-OPs: An Operator Knowledge Base for Geospatial Code Generation on the Google Earth Engine Platform Powered by Large Language Models7 Dec 2024
- 2024LLM4DS: Evaluating Large Language Models for Data Science Code Generation16 Nov 2024
- 2024OnlySportsLM: Optimizing Sports-Domain Language Models with SOTA Performance under Billion Parameters30 Aug 2024
- 2024LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generation2 Mar 2024
- 2024Exploring Data-Efficient Adaptation of Large Language Models for Code Generation29 Feb 2024
- 2024Retrieval-Augmented Data Augmentation for Low-Resource Domain Tasks21 Feb 2024
- 2023Context Matters: Data-Efficient Augmentation of Large Language Models for Scientific Applications12 Dec 2023
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHubcited by 55
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 12
- 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 3
- 2026An Agentic Framework for Neuro-Symbolic Programmingcited by 1
- 2025Context-Aware Visual Prompting: Automating Geospatial Web Dashboards with Large Language Models and Agent Self-Validation for Decision Supportcited by 0
- 2026Feedback-Normalized Developer Memory for Reinforcement-Learning Coding Agents: A Safety-Gated MCP Architecturecited by 0
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
- 2026Feedback-Normalized Developer Memory for Reinforcement-Learning Coding Agents: A Safety-Gated MCP Architecture2 May 2026
- 2026An Agentic Framework for Neuro-Symbolic Programming2 Jan 2026
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Coding30 Nov 2025
- 2025Context-Aware Visual Prompting: Automating Geospatial Web Dashboards with Large Language Models and Agent Self-Validation for Decision Support10 Oct 2025
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHub18 Sep 2025
- 2024Retrieval-Augmented Data Augmentation for Low-Resource Domain Taskscited by 12
- 2025Optimizing Retrieval Augmented Generation for Object Constraint Languagecited by 4
- 2026Learning from Execution: Self-Evolving Memory for Private-Library Code Generationcited by 2
- 2026Repository-Level Solidity Code Generation with Large Language Models: From Prompting to Fine-Tuningcited by 0
- 2026Repository-Level Solidity Code Generation with Large Language Models: From Prompting to Fine-Tuning18 Jun 2026
- 2026Learning from Execution: Self-Evolving Memory for Private-Library Code Generation27 Apr 2026
- 2025Optimizing Retrieval Augmented Generation for Object Constraint Language19 May 2025
- 2024Retrieval-Augmented Data Augmentation for Low-Resource Domain Tasks21 Feb 2024
- 2024LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generationcited by 45
- 2026In Line with Context: Repository-Level Code Generation via Context Inliningcited by 18
- 2025Towards Formal Verification of LLM-Generated Code from Natural Language Promptscited by 8
- 2025GPT-4.1 Sets the Standard in Automated Experiment Design Using Novel Python Librariescited by 8
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Designcited by 8
- 2024LLM4DS: Evaluating Large Language Models for Data Science Code Generationcited by 7
- 2025Man-Made Heuristics Are Dead. Long Live Code Generators!cited by 6
- 2025Can ChatGPT implement finite element models for geotechnical engineering applications?cited by 5
- 2025GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Modelscited by 5
- 2026KOCO-BENCH: Can Large Language Models Leverage Domain Knowledge in Software Development?cited by 5
- 2025ModiGen: A Large Language Model-Based Workflow for Multi-Task Modelica Code Generationcited by 4
- 2025The Impact of LLM-Assistants on Software Developer Productivity: A Systematic Review and Mapping Studycited by 4
12 most cited of 31 All 31 (JSON)
- 2026An Exploratory Case Study of LLM-Assisted Refactoring and Gameplay Feature Generation in an Endless Runner Game19 Jun 2026
- 2026BIM-Edit: Benchmarking Large Language Models for IFC-Based Building Information Modeling18 Jun 2026
- 2026Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Study27 Apr 2026
- 2026Evolutionary Context Search for Automated Skill Acquisition18 Feb 2026
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Design29 Jan 2026
- 2026KOCO-BENCH: Can Large Language Models Leverage Domain Knowledge in Software Development?19 Jan 2026
- 2026The Expert Validation Framework (EVF): Enabling Domain Expert Control in AI Engineering18 Jan 2026
- 2026In Line with Context: Repository-Level Code Generation via Context Inlining1 Jan 2026
- 2025Real-Time World Crafting: Generating Structured Game Behaviors from Natural Language with Large Language Models19 Oct 2025
- 2025Man-Made Heuristics Are Dead. Long Live Code Generators!9 Oct 2025
- 2025Designing Empirical Studies on LLM-Based Code Generation: Towards a Reference Framework4 Oct 2025
- 2025Another Turn, Better Output? A Turn-Wise Analysis of Iterative LLM Prompting8 Sep 2025
12 newest of 31 All 31 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap
- 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASML
- 2026DomAgent: Leveraging Knowledge Graphs and Case-Based Reasoning for Domain-Specific Code Generation
- 2026Exploring different approaches to customize language models for domain-specific text-to-code generation
- 2026Are you Synthesizing or Recalling? Evaluating LLMs on Algorithmic Code Retrieval
- 2024Enhancing Code Generation Performance of Smaller Models by Distilling the Reasoning Ability of LLMs
- 2023Think Outside the Code: Brainstorming Boosts Large Language Models in Code Generation
- 2026SLM Finetuning for Natural Language to Domain Specific Code Generation in Production