Prompt-Engineering-Guide/pages/techniques/dsp.en.mdx

16 lines
748 B
Plaintext
Raw Normal View History

2023-03-11 02:21:43 +00:00
# Directional Stimulus Prompting
import { Callout, FileTree } from 'nextra-theme-docs'
import {Screenshot} from 'components/screenshot'
import DSP from '../../img/dsp.jpeg'
[Li et al., (2023)](https://arxiv.org/abs/2302.11520) 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.
<Screenshot src={DSP} alt="DSP" />
2023-03-14 01:01:06 +00:00
Image Source: [Li et al., (2023)](https://arxiv.org/abs/2302.11520)
2023-03-11 02:21:43 +00:00
Full example coming soon!