Universal Self-Adaptive Prompting
Wan, Xingchen, Sun, Ruoxi, Nakhost, Hootan, Dai, Hanjun, Eisenschlos, Julian Martin, Arik, Sercan O., Pfister, Tomas
–arXiv.org Artificial Intelligence
A hallmark of modern large language models (LLMs) is their impressive general zero-shot and few-shot abilities, often elicited through in-context learning (ICL) via prompting. However, while highly coveted and being the most general, zero-shot performances in LLMs are still typically weaker due to the lack of guidance and the difficulty of applying existing automatic prompt design methods in general tasks when ground-truth labels are unavailable. In this study, we address this by presenting Universal Self-Adaptive Prompting (USP), an automatic prompt design approach specifically tailored for zero-shot learning (while compatible with few-shot). Requiring only a small amount of unlabeled data and an inference-only LLM, USP is highly versatile: to achieve universal prompting, USP categorizes a possible NLP task into one of the three possible task types and then uses a corresponding selector to select the most suitable queries and zero-shot model-generated responses as pseudo-demonstrations, thereby generalizing ICL to the zero-shot setup in a fully automated way. We evaluate USP with PaLM and PaLM 2 models and demonstrate performances that are considerably stronger than standard zero-shot baselines and often comparable to or even superior to few-shot baselines across more than 40 natural language understanding, natural language generation, and reasoning tasks.
arXiv.org Artificial Intelligence
Oct-20-2023
- Country:
- South America > Brazil (0.04)
- Africa (0.04)
- Oceania > Australia
- North America
- Bermuda (0.04)
- United States
- California (0.14)
- Washington > King County
- Seattle (0.14)
- Pennsylvania > Allegheny County
- Pittsburgh (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Massachusetts > Middlesex County
- Reading (0.04)
- Florida > Miami-Dade County
- Miami (0.04)
- Canada
- Ontario > Toronto (0.04)
- Prince Edward Island (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Europe
- Germany > Berlin (0.04)
- France (0.04)
- United Kingdom > England
- Oxfordshire > Oxford (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- China > Hong Kong (0.04)
- Cambodia (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Genre:
- Research Report > New Finding (0.48)
- Industry:
- Media > Film (1.00)
- Education (0.67)
- Leisure & Entertainment > Sports
- Soccer (0.68)
- Health & Medicine
- Pharmaceuticals & Biotechnology (1.00)
- Consumer Health (1.00)
- Therapeutic Area
- Neurology (0.45)
- Musculoskeletal (0.45)
- Technology: