2023

Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discovery

Wen, Yuxin, Jain, Neel, Kirchenbauer, John et al.

Understand

The strength of modern generative models lies in their ability to be controlled through text-based prompts.

  • Typical "hard" prompts are made from interpretable words and tokens, and must be hand-crafted by humans.
  • There are also "soft" prompts, which consist of continuous feature vectors.
  • These can be discovered using powerful optimization methods, but they cannot be easily interpreted, re-used across models, or plugged into a text-based interface.

Reading the bibliography…