O Relatório de Prompts: Uma Análise Sistemática de Técnicas de Prompting
The Prompt Report: A Systematic Survey of Prompting Techniques
June 6, 2024
Autores: Sander Schulhoff, Michael Ilie, Nishant Balepur, Konstantine Kahadze, Amanda Liu, Chenglei Si, Yinheng Li, Aayush Gupta, HyoJung Han, Sevien Schulhoff, Pranav Sandeep Dulepet, Saurav Vidyadhara, Dayeon Ki, Sweta Agrawal, Chau Pham, Gerson Kroiz, Feileen Li, Hudson Tao, Ashay Srivastava, Hevander Da Costa, Saloni Gupta, Megan L. Rogers, Inna Goncearenco, Giuseppe Sarli, Igor Galynker, Denis Peskoff, Marine Carpuat, Jules White, Shyamal Anadkat, Alexander Hoyle, Philip Resnik
cs.AI
Resumo
Os sistemas de Inteligência Artificial Generativa (GenAI) estão sendo cada vez mais implantados em todos os setores da indústria e em ambientes de pesquisa. Desenvolvedores e usuários finais interagem com esses sistemas por meio do uso de prompts ou engenharia de prompts. Embora o conceito de prompting seja amplamente difundido e altamente pesquisado, existe uma terminologia conflitante e um entendimento ontológico precário do que constitui um prompt, devido à juventude dessa área. Este artigo estabelece um entendimento estruturado de prompts, reunindo uma taxonomia de técnicas de prompting e analisando seu uso. Apresentamos um vocabulário abrangente de 33 termos, uma taxonomia de 58 técnicas de prompting exclusivamente textuais e 40 técnicas para outras modalidades. Além disso, realizamos uma meta-análise de toda a literatura sobre prefix-prompting em linguagem natural.
English
Generative Artificial Intelligence (GenAI) systems are being increasingly
deployed across all parts of industry and research settings. Developers and end
users interact with these systems through the use of prompting or prompt
engineering. While prompting is a widespread and highly researched concept,
there exists conflicting terminology and a poor ontological understanding of
what constitutes a prompt due to the area's nascency. This paper establishes a
structured understanding of prompts, by assembling a taxonomy of prompting
techniques and analyzing their use. We present a comprehensive vocabulary of 33
vocabulary terms, a taxonomy of 58 text-only prompting techniques, and 40
techniques for other modalities. We further present a meta-analysis of the
entire literature on natural language prefix-prompting.