Starvard University sealStarvard
🌐 English
Join the Discord

Prompt Engineering Guide · Prompting Techniques

Directional Stimulus Prompting

Li et al., (2023) proposes a new prompting technique to better guide the LLM in generating the desired summary.

A tuneable policy LM is trained to generate the stimulus/hint. Seeing more use of RL to optimize LLMs.

The figure below shows how Directional Stimulus Prompting compares with standard prompting. The policy LM can be small and optimized to generate the hints that guide a black-box frozen LLM.

DSP

Image Source: Li et al., (2023)

Full example coming soon!

Prompt Engineering Guide by Elvis Saravia and DAIR.AI, MIT licence