@inproceedings{zi-etal-2025-score,
title = "More Than a Score: Probing the Impact of Prompt Specificity on {LLM} Code Generation",
author = "Zi, Yangtian and
Menon, Harshitha and
Guha, Arjun",
editor = "Inui, Kentaro and
Sakti, Sakriani and
Wang, Haofen and
Wong, Derek F. and
Bhattacharyya, Pushpak and
Banerjee, Biplab and
Ekbal, Asif and
Chakraborty, Tanmoy and
Singh, Dhirendra Pratap",
booktitle = "Proceedings of the 14th International Joint Conference on Natural Language Processing and the 4th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics",
month = dec,
year = "2025",
address = "Mumbai, India",
publisher = "The Asian Federation of Natural Language Processing and The Association for Computational Linguistics",
url = "https://preview.aclanthology.org/ingest-ijcnlp-aacl/2025.ijcnlp-long.128/",
pages = "2380--2402",
ISBN = "979-8-89176-298-5",
abstract = "State-of-the-art Large Language Models (LLMs) achieve high pass@1 on general benchmarks like HumanEval (Chen et al., 2021) but underperform on specialized suites such as ParEval (Nichols et al., 2024). Is this due to LLMs missing domain knowledge or insufficient prompt detail is given? To answer this, we introduce PartialOrderEval, which augments any code generation benchmark with a partial order of prompts from minimal to maximally detailed. Applying it to HumanEval and both serial and OpenMP subsets of ParEval, we measure how pass@1 scales with prompt specificity. Our experiments with Llama-3.x and Qwen2.5-Coder demonstrate varying degrees of prompt sensitivity across different tasks, and a qualitative analysis highlights explicit I/O specifications, edge-case handling, and stepwise breakdowns as the key drivers of prompt detail improvement."
}Markdown (Informal)
[More Than a Score: Probing the Impact of Prompt Specificity on LLM Code Generation](https://preview.aclanthology.org/ingest-ijcnlp-aacl/2025.ijcnlp-long.128/) (Zi et al., IJCNLP-AACL 2025)
ACL
- Yangtian Zi, Harshitha Menon, and Arjun Guha. 2025. More Than a Score: Probing the Impact of Prompt Specificity on LLM Code Generation. In Proceedings of the 14th International Joint Conference on Natural Language Processing and the 4th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics, pages 2380–2402, Mumbai, India. The Asian Federation of Natural Language Processing and The Association for Computational Linguistics.