Unleashing the potential of prompt engineering for large language models

Раскрытие потенциала разработки промптов для больших языковых моделей
B.‐C. CHEN, Zhaofeng Zhang, Nicolas Langrené, Shengxin Zhu
2023-10-23

adversarial attackschain-of-thought promptinglarge language modelsprompt engineeringvision-language models
This comprehensive review delves into the pivotal role of prompt engineering in unleashing the capabilities of Large Language Models (LLMs). The development of Artificial Intelligence (AI), from its inception in the 1950s to the emergence of advanced neural networks and deep learning architectures, has made a breakthrough in LLMs, with models such as GPT-4o and Claude-3, and in Vision-Language Models (VLMs), with models such as CLIP and ALIGN. Prompt engineering is the process of structuring inputs, which has emerged as a crucial technique to maximize the utility and accuracy of these models. This paper explores both foundational and advanced methodologies of prompt engineering, including techniques such as self-consistency, chain-of-thought, and generated knowledge, which significantly enhance model performance. Additionally, it examines the prompt method of VLMs through innovative approaches such as Context Optimization (CoOp), Conditional Context Optimization (CoCoOp), and Multimodal Prompt Learning (MaPLe). Critical to this discussion is the aspect of AI security, particularly adversarial attacks that exploit vulnerabilities in prompt engineering. Strategies to mitigate these risks and enhance model robustness are thoroughly reviewed. The evaluation of prompt methods is also addressed through both subjective and objective metrics, ensuring a robust analysis of their efficacy. This review also reflects the essential role of prompt engineering in advancing AI capabilities, providing a structured framework for future research and application.
1
Advanced prompting methods, including self-consistency, chain-of-thought, and generated knowledge, can significantly enhance model performance.
2
Prompt engineering introduces security vulnerabilities, including adversarial attacks, requiring mitigation strategies to improve model robustness.
3
Prompt engineering is identified as a crucial technique for maximizing the utility and accuracy of large language models and vision-language models.
4
The review emphasizes evaluating prompting methods with both subjective and objective metrics to assess their efficacy systematically.
5
Vision-language prompting approaches such as CoOp, CoCoOp, and MaPLe extend prompt optimization to multimodal models.

prompt engineering for large language models and vision-language models

prompt-engineering methodologies, their effects on model performance and accuracy, and associated security vulnerabilities, robustness, and evaluation

Publication Details
Publication Date
2023-10-23
Journal
Publisher
ISSN
Cited by
140
Access Type
Author Information
Authors
B.‐C. CHEN
Zhaofeng Zhang
Nicolas Langrené
Shengxin Zhu
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%