Unleashing the potential of prompt engineering for large language models
Open accessThe DOI matches its Crossref record; 299 of the 299 references it cites were found in a registry or an index.
Abstract
This review explores the role of prompt engineering in unleashing the capabilities of large language models (LLMs). Prompt engineering is the process of structuring inputs, and it has emerged as a crucial technique for maximizing the utility and accuracy of these models. Both foundational and advanced prompt engineering methodologies-including techniques such as self-consistency, chain of thought, and generated knowledge, which can significantly enhance the performance of models-are explored in this paper. Additionally, the prompt methods for vision language models (VLMs) are examined in detail. Prompt methods are evaluated with subjective and objective metrics, ensuring a robust analysis of their efficacy. Critical to this discussion is the role of prompt engineering in artificial intelligence (AI) security, particularly in terms of defending against adversarial attacks that exploit vulnerabilities in LLMs. Strategies for minimizing these risks and improving the robustness of models are thoroughly reviewed. Finally, we provide a perspective for future research and applications.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
ImageNet: A large-scale hierarchical image database
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., & Fei-Fei, L. (2009) · 2009 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2009.5206848 · Cited by 65,333
Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W., & Liu, P. J. (2019) · arXiv · doi:10.48550/arxiv.1910.10683 · Cited by 31,859
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
Proceedings of IEEE Conference on Computer Vision and Pattern Recognition
(1993) · doi:10.1109/cvpr.1993 · Cited by 17,667
Learning Transferable Visual Models From Natural Language Supervision
Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., et al. (2021) · arXiv · doi:10.48550/arxiv.2103.00020 · Cited by 15,293
Proceedings of IEEE International Conference on Computer Vision
(1995) · Proceedings of IEEE International Conference on Computer Vision · doi:10.1109/iccv.1995.466933 · Cited by 12,860
Proceedings of the 24th international conference on Machine learning
(2007) · doi:10.1145/1273496 · Cited by 11,630
Explaining and Harnessing Adversarial Examples
Goodfellow, I. J., Shlens, J., & Szegedy, C. (2014) · arXiv · doi:10.48550/arxiv.1412.6572 · Cited by 10,381
(2004) · Cited by 9,718
Lewis, M., Liu, Y., Goyal, N., Ghazvininejad, M., Mohamed, A., Levy, O., Stoyanov, V., & Zettlemoyer, L. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.703 · Cited by 8,821
Research works printed but not linked: 13
- Achiam, 2024, GPT-4 technical report, arXiv
- Dubey, 2024, The Llama 3 herd of models, arXiv
- Sarkhel, 2023, Self-training for label-efficient information extraction from semi-structured web-pages, Proceedings VLDB Endowment, 16, 3098, 10.14778/3611479.3611511 · DOI
- Arias, 2024, Decoding decoded: understanding hyperparameter effects in open-ended text generation, arXiv
- Van Buren, 2023, Guided scenarios with simulated expert personae: a remarkable strategy to perform cognitive work, arXiv
- Lee, K., Firat, O., Agarwal, A., Fannjiang, C., and Sussillo, D. Hallucinations in neural machine translation (2018). https://openreview.net/forum?id=SkxJ-309FQ
- Gao, 2024, Retrieval-sugmented generation for large language models: a survey, arXiv
- Paranjape, 2023, automatic multi-step reasoning and tool-use for large language models, arXiv
- Hu, H., Lu, H., Zhang, H., Song, Y.-Z., Lam, W., and Zhang, Y. (2024). Chain-of-symbol prompting for spatial relationships in large language models. https://openreview.net/forum?id=B0wJ5oCPdB
- Steinhardt, 2017, Certified defenses for data poisoning attacks, Adv. Neural Inf. Process. Syst., 30
- Wang, 2024, From noise to clarity: unraveling the adversarial suffix of large language model attacks via translation of text embeddings, arXiv
- Sha, 2024, Prompt stealing attacks against large language models, arXiv
- Bertucci, 2022, Deep learning in finance: from implementation to regulation, arXiv
Cited by
Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agents
Zhang, J., Hu, S., Lu, C., Lange, R., & Clune, J. (2025) · arXiv · doi:10.48550/arxiv.2505.22954 · Cited by 344
Generative AI Literacy: Twelve Defining Competencies
Annapureddy, R., Fornaroli, A., & Gatica-Perez, D. (2025) · Digital Government: Research and Practice · doi:10.1145/3685680 · Cited by 333
Gödel Agent: A Self-Referential Agent Framework for Recursive Self-Improvement
Yin, X., Wang, X., Pan, L., Lin, L., Wan, X., & Wang, W. Y. (2024) · arXiv · doi:10.48550/arxiv.2410.04444 · Cited by 208
Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL
Hong, Z., Yuan, Z., Zhang, Q., Chen, H., Dong, J., Huang, F., & Huang, X. (2024) · arXiv · doi:10.48550/arxiv.2406.08426 · Cited by 100
Large language models for life cycle assessments: Opportunities, challenges, and risks
Preuss, N., Alshehri, A. S., & You, F. (2024) · Journal of Cleaner Production · doi:10.1016/j.jclepro.2024.142824 · Cited by 71
Large Language Models Show Amplified Cognitive Biases in Moral Decision-Making
Cheung, V., Maier, M., & Lieder, F. (2025) · doi:10.31234/osf.io/aj46b_v3 · Cited by 53
Hickman, L., Dunlop, P. D., & Wolf, J. L. (2024) · doi:10.31234/osf.io/9cs23 · Cited by 33
Hickman, L., Dunlop, P. D., & Wolf, J. L. (2024) · International Journal of Selection and Assessment · doi:10.1111/ijsa.12479 · Cited by 33
Enhancing critical thinking skills in ChatGPT-human interaction: a scoping review
Raitskaya, L., & Tikhonova, E. (2025) · Journal of Language and Education · doi:10.17323/jle.2025.27387 · Cited by 30
Damacena Duarte, J., Cândido, G. D., De Britto Filho, J. R. A., Souza Neto, J., Da Costa, E. J., Da Costa, J. P. J., & Peotta De Melo, L. (2026) · IEEE Access · doi:10.1109/access.2026.3656849 · Cited by 15
Nahar, N., Kästner, C., Butler, J., Parnin, C., Zimmermann., T., & Bird, C. (2025) · 2025 IEEE/ACM 47th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip66354.2025.00051 · Cited by 13
Improving Generative Ai Reliability: A Qualitative Study of Hallucination in Large Language Models
Gwon, H. J., Yoo, Y., & Lee, J. Y. (2025) · doi:10.2139/ssrn.5118420 · Cited by 4
Structured reasoning failures compromise LLM interpretation of clinical oncology notes
Kenaston, M. W., Ayub, U., Parmar, M., Kumar, P., Anjum, M. U., Naqvi, S. A. A., Chaudhuri, A. A., Zakharia, Y., Heath, E. I., Bekaii-Saab, T. S., et al. (2026) · npj Digital Medicine · doi:10.1038/s41746-026-02951-5 · Cited by 2
AI-driven abstract generating: evaluating LLMs with a tailored prompt under the PRISMA-A framework
Demi̇r, G. B., Gökmen, Ş., Süküt, Y., Topsakal, K. G., & Görgülü, S. (2025) · BMC Oral Health · doi:10.1186/s12903-025-06982-4 · Cited by 2
Ermilov, A., Tveritnev, A., & Trusova, A. (2025) · ADIPEC · doi:10.2118/229346-ms · Cited by 1
Within-Model vs Between-Prompt Variability in Large Language Models for Creative Tasks
Haase, J., Gonnermann-Müller, J., Hanel, P. H. P., Leins, N., Kosch, T., Mendling, J., & Pokutta, S. (2026) · arXiv · doi:10.48550/arxiv.2601.21339 · Cited by 8
Metadata
- Authors
- Chen, B., Zhang, Z., Langrené, N., & Zhu, S.
- Venue
- Patterns
- Publisher
- Elsevier BV
- Published
- 2025-06
- Volume
- 6
- Issue
- 6
- Pages
- 101260
- ISSN
- 2666-3899 (ISSN-L)
- OpenAlex
- W4410202262
- Cited by
- 490
- References
- 299
- FWCI
- 186.42
- Type
- journal article
- Language
- en
- Open access
- gold
- Licence
- www.elsevier.com/tdm/userlicense/1.0/ (tdm)
- www.elsevier.com/legal/tdmrep-license (tdm)
- creativecommons.org/licenses/by/4.0/ (vor)
- Funders
- National Natural Science Foundation of China (12271047)
- Hong Kong Baptist University
- Beijing Normal University
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.