REVIEW 4 cited by
Prompt Engineering or Fine-Tuning: An Empirical Assessment of LLMs for Code
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
read the original abstract
The rapid advancements in large language models (LLMs) have greatly expanded the potential for automated code-related tasks. Two primary methodologies are used in this domain: prompt engineering and fine-tuning. Prompt engineering involves applying different strategies to query LLMs, like ChatGPT, while fine-tuning further adapts pre-trained models, such as CodeBERT, by training them on task-specific data. Despite the growth in the area, there remains a lack of comprehensive comparative analysis between the approaches for code models. In this paper, we evaluate GPT-4 using three prompt engineering strategies -- basic prompting, in-context learning, and task-specific prompting -- and compare it against 17 fine-tuned models across three code-related tasks: code summarization, generation, and translation. Our results indicate that GPT-4 with prompt engineering does not consistently outperform fine-tuned models. For instance, in code generation, GPT-4 is outperformed by fine-tuned models by 28.3% points on the MBPP dataset. It also shows mixed results for code translation tasks. Additionally, a user study was conducted involving 27 graduate students and 10 industry practitioners. The study revealed that GPT-4 with conversational prompts, incorporating human feedback during interaction, significantly improved performance compared to automated prompting. Participants often provided explicit instructions or added context during these interactions. These findings suggest that GPT-4 with conversational prompting holds significant promise for automated code-related tasks, whereas fully automated prompt engineering without human involvement still requires further investigation.
Forward citations
Cited by 4 Pith papers
-
Extension Decisions in Open Source Software Ecosystem
A GitHub Actions graph study reports that most new CI tools duplicate existing functionality and that a handful of early tools become the templates for later copies, although the supporting calculation is missing from...
-
A Pilot Study on LLM-Based Agentic Translation from Android to iOS: Pitfalls and Insights
A five-project pilot study found that a GPT-4o agent pipeline translates 70.7% of Android files to valid Swift after automated validation, with failures concentrated in internal references and platform-specific APIs.
-
Resilient LLM-Empowered Semantic MAC Protocols via Zero-Shot Adaptation and Knowledge Distillation
A hybrid MAC protocol that starts with LLM-generated control messages and switches to a distilled neural model after retraining improves resilience to user-count changes at lower compute than pure LLM inference.
-
Mobile Application Review Summarization using Chain of Density Prompting
Adapting the Chain of Density prompt to define entities as app features yields denser and more readable summaries of mobile app reviews than the original prompt, vanilla prompting, or extractive baselines.
Discussion (0). Continue with ORCID to comment.