Do Advanced Language Models Eliminate the Need for Prompt Engineering in Software Engineering?
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Large Language Models (LLMs) have significantly advanced software engineering (SE) tasks, with prompt engineering techniques enhancing their performance in code-related areas. However, the rapid development of foundational LLMs such as the non-reasoning model GPT-4o and the reasoning model o1 raises questions about the continued effectiveness of these prompt engineering techniques. This paper presents an extensive empirical study that reevaluates various prompt engineering techniques within the context of these advanced LLMs. Focusing on three representative SE tasks, i.e., code generation, code translation, and code summarization, we assess whether prompt engineering techniques still yield improvements with advanced models, the actual effectiveness of reasoning models compared to non-reasoning models, and whether the benefits of using these advanced models justify their increased costs. Our findings reveal that prompt engineering techniques developed for earlier LLMs may provide diminished benefits or even hinder performance when applied to advanced models. In reasoning LLMs, the ability of sophisticated built-in reasoning reduces the impact of complex prompts, sometimes making simple zero-shot prompting more effective. Furthermore, while reasoning models outperform non-reasoning models in tasks requiring complex reasoning, they offer minimal advantages in tasks that do not need reasoning and may incur unnecessary costs. Based on our study, we provide practical guidance for practitioners on selecting appropriate prompt engineering techniques and foundational LLMs, considering factors such as task requirements, operational costs, and environmental impact. Our work contributes to a deeper understanding of effectively harnessing advanced LLMs in SE tasks, informing future research and application development.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. First posted on arXiv 4 Nov 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 1; 2025: 10; 2026: 8.
19 papers.
Sort:
By area:
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2025AgentRxiv: Towards Collaborative Autonomous Researchcited by 64
- 2026Natural-Language Agent Harnessescited by 54
- 2024The Impact of Prompt Programming on Function-Level Code Generationcited by 13
- 2025Multi-Agent Debate Strategies to Enhance Requirements Engineering with Large Language Modelscited by 8
- 2025Revisiting Prompt Optimization with Large Reasoning Models-A Case Study on Event Extractioncited by 6
- 2025Grammar-Based Code Representation: Is It a Worthy Pursuit for LLMs?cited by 5
- 2025The Imitation Game: Turing Machine Imitator is Length Generalizable Reasonercited by 3
- 2026Scaffold, Not Vocabulary? A Controlled, Two-Tier, Pre-Registered Study of a Popperian Code-Generation Skillcited by 2
- 2026An Empirical Study of Harness Design for Coding Agentscited by 1
- 2025LLM Agents for Generating Microservice-based Applications: how complex is your specification?cited by 0
- 2025Enhancing Factual Accuracy and Citation Generation in LLMs via Multi-Stage Self-Verificationcited by 0
7 more
- 2025Exploringand Unleashing the Power of Large Language Models in CI/CD Configuration Translationcited by 0
- 2025A Dataset and Preliminary Study of Using GPT-5 for Code-change Impact Analysiscited by 0
- 2026Human-in-the-Loop Control of Objective Drift in LLM-Assisted Computer Science Educationcited by 0
- 2026Prompt-Driven Code Summarization: A Systematic Literature Reviewcited by 0
- 2026Less Back-and-Forth: A Comparative Study of Structured Promptingcited by 0
- 2026LLMs as Post-hoc Auditors of Physiological Plausibility in Symbolic Regression: A Clinician-Evaluated Case Studycited by 0
- 2026Which Part of the Context Layer Does the Work? Separating Semantic Content from Retrieval Scaffolding in Text-to-SQL Agentscited by 0
- 2026An Empirical Study of Harness Design for Coding Agents17 Sep 2026
- 2026LLMs as Post-hoc Auditors of Physiological Plausibility in Symbolic Regression: A Clinician-Evaluated Case Study10 Sep 2026
- 2026Which Part of the Context Layer Does the Work? Separating Semantic Content from Retrieval Scaffolding in Text-to-SQL Agents6 Sep 2026
- 2026Scaffold, Not Vocabulary? A Controlled, Two-Tier, Pre-Registered Study of a Popperian Code-Generation Skill4 Jun 2026
- 2026Less Back-and-Forth: A Comparative Study of Structured Prompting19 May 2026
- 2026Prompt-Driven Code Summarization: A Systematic Literature Review16 Apr 2026
- 2026Human-in-the-Loop Control of Objective Drift in LLM-Assisted Computer Science Education31 Mar 2026
- 2026Natural-Language Agent Harnesses26 Mar 2026
- 2025A Dataset and Preliminary Study of Using GPT-5 for Code-change Impact Analysis22 Dec 2025
- 2025Exploringand Unleashing the Power of Large Language Models in CI/CD Configuration Translation3 Nov 2025
- 2025Enhancing Factual Accuracy and Citation Generation in LLMs via Multi-Stage Self-Verification6 Sep 2025
- 2025LLM Agents for Generating Microservice-based Applications: how complex is your specification?22 Aug 2025
7 more
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025The Imitation Game: Turing Machine Imitator is Length Generalizable Reasoner17 Jul 2025
- 2025Multi-Agent Debate Strategies to Enhance Requirements Engineering with Large Language Models8 Jul 2025
- 2025Revisiting Prompt Optimization with Large Reasoning Models-A Case Study on Event Extraction10 Apr 2025
- 2025AgentRxiv: Towards Collaborative Autonomous Research23 Mar 2025
- 2025Grammar-Based Code Representation: Is It a Worthy Pursuit for LLMs?7 Mar 2025
- 2024The Impact of Prompt Programming on Function-Level Code Generation29 Dec 2024
- 2025Revisiting Prompt Optimization with Large Reasoning Models-A Case Study on Event Extractioncited by 6
- 2025The Imitation Game: Turing Machine Imitator is Length Generalizable Reasonercited by 3
- 2025Enhancing Factual Accuracy and Citation Generation in LLMs via Multi-Stage Self-Verificationcited by 0
- 2025Enhancing Factual Accuracy and Citation Generation in LLMs via Multi-Stage Self-Verification6 Sep 2025
- 2025The Imitation Game: Turing Machine Imitator is Length Generalizable Reasoner17 Jul 2025
- 2025Revisiting Prompt Optimization with Large Reasoning Models-A Case Study on Event Extraction10 Apr 2025
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2025AgentRxiv: Towards Collaborative Autonomous Researchcited by 64
- 2026Natural-Language Agent Harnessescited by 54
- 2024The Impact of Prompt Programming on Function-Level Code Generationcited by 13
- 2025Grammar-Based Code Representation: Is It a Worthy Pursuit for LLMs?cited by 5
- 2026Scaffold, Not Vocabulary? A Controlled, Two-Tier, Pre-Registered Study of a Popperian Code-Generation Skillcited by 2
- 2025Exploringand Unleashing the Power of Large Language Models in CI/CD Configuration Translationcited by 0
- 2025A Dataset and Preliminary Study of Using GPT-5 for Code-change Impact Analysiscited by 0
- 2026Human-in-the-Loop Control of Objective Drift in LLM-Assisted Computer Science Educationcited by 0
- 2026Prompt-Driven Code Summarization: A Systematic Literature Reviewcited by 0
- 2026Less Back-and-Forth: A Comparative Study of Structured Promptingcited by 0
- 2026LLMs as Post-hoc Auditors of Physiological Plausibility in Symbolic Regression: A Clinician-Evaluated Case Studycited by 0
12 most cited of 13 All 13 (JSON)
- 2026LLMs as Post-hoc Auditors of Physiological Plausibility in Symbolic Regression: A Clinician-Evaluated Case Study10 Sep 2026
- 2026Which Part of the Context Layer Does the Work? Separating Semantic Content from Retrieval Scaffolding in Text-to-SQL Agents6 Sep 2026
- 2026Scaffold, Not Vocabulary? A Controlled, Two-Tier, Pre-Registered Study of a Popperian Code-Generation Skill4 Jun 2026
- 2026Less Back-and-Forth: A Comparative Study of Structured Prompting19 May 2026
- 2026Prompt-Driven Code Summarization: A Systematic Literature Review16 Apr 2026
- 2026Human-in-the-Loop Control of Objective Drift in LLM-Assisted Computer Science Education31 Mar 2026
- 2026Natural-Language Agent Harnesses26 Mar 2026
- 2025A Dataset and Preliminary Study of Using GPT-5 for Code-change Impact Analysis22 Dec 2025
- 2025Exploringand Unleashing the Power of Large Language Models in CI/CD Configuration Translation3 Nov 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025AgentRxiv: Towards Collaborative Autonomous Research23 Mar 2025
- 2025Grammar-Based Code Representation: Is It a Worthy Pursuit for LLMs?7 Mar 2025
12 newest of 13 All 13 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Prompt Engineering for Requirements Engineering: A Literature Review and Roadmap
- 2026Aging of Prompt Engineering Techniques Across LLM Versions ↗
- 2025Understanding LLM Scientific Reasoning through Promptings and Model's Explanation on the Answers
- 2026Failure-Aware Enhancements for Large Language Model (LLM) Code Generation: An Empirical Study on Decision Framework ↗
- 2025Are Prompts All You Need? Evaluating Prompt-Based Large Language Models (LLM)s for Software Requirements Classification
- 2024What Makes Large Language Models Reason in (Multi-Turn) Code Generation?
- 2025LLM-as-a-Judge for Software Engineering: Literature Review, Vision, and the Road Ahead ↗
- 2024Does Prompt Formatting Have Any Impact on LLM Performance?