A Cross-Domain Evaluation of Prompting Techniques for Large Language Models
Abstract
Prompt engineering has become a central mechanism for guiding the behavior of Large Language Models (LLMs) across a wide range of reasoning and language understanding tasks [1], [2]. However, existing studies frequently evaluate prompting techniques using different LLMs, datasets, or task settings, making direct comparisons across methods and domains difficult [3]. Consequently, in this paper we present a controlled cross-domain evaluation of Zero-Shot prompting, Few-Shot prompting, Retrieval-Augmented Generation (RAG), and automatic prompt optimization based on a PE2-inspired optimization pipeline [4]-[6]. All experiments were conducted with the same LLM and evaluated on six benchmark datasets covering arithmetic reasoning, logical reasoning, commonsense reasoning, and factual verification. The results show that no prompting strategy consistently outperforms the others across all domains, and pairwise statistical comparisons of the highest-performing configurations revealed no significant differences. RAG achieves the highest overall average accuracy of 78.33% when 300 examples are available for retrieval, while Few-Shot Prompting achieves comparatively high accuracies across several structured reasoning tasks. Zero-Shot Prompting remains competitive on tasks with self-contained inputs, whereas the PE2-inspired optimization approach produces stable but not systematically superior results compared to the other evaluated prompting techniques. Furthermore, increasing the number of task-specific examples does not consistently improve performance across prompting techniques, indicating strong domain and task dependency. These findings suggest that prompting techniques should be selected adaptively based on task characteristics rather than treated as universally applicable optimization strategies.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
- Comments
- Published in the IEEE Proceedings of the 3rd International Conference on Foundation and Large Language Models (FLLM 2026), Barcelona, Spain, November 17-20, 2026
Related papers
Design and Cross-Domain Evaluation of an Agent Execution Harness
Shared title terminologycs.AISaurav Joshi, Manas Gupta, Ashwin Venkatesh Raman et al.
X-AQA: Unifying Action Quality Assessment with Multimodal Large Language Models and Multi-Domain Learning
Shared title terminologycs.AIKaili Zheng, Wei Ding, Yuchen Ding et al.
MoveBench: A Rubric-Based Benchmark for Evaluating Large Language Models in Sports and Health Coaching
Shared title terminologycs.AIYitong Li, Jiang Bian, Jingling Wang et al.
Can Compact Open-Weight Large Language Models Recover Mobility Events from Incomplete Trajectories? A Controlled Evaluation Using Air Trips
Shared title terminologycs.AIHsuan-Chih Wang, Xianfeng Terry Yang
Trapped in Your Story: Evaluating Narrative-Induced Sycophancy in Large Language Models
Shared title terminologycs.AIRuntai Yang, Dandan Zhu, Kaiwei Zhang et al.
Learning from Another Angle: Rotation-Based Test-Time Training for Multimodal Large Language Models
Shared title terminologycs.AIChangyu Liu, Fei Zhao, Yiyang Liu et al.