What is generated knowledge prompting?
Generated knowledge prompting splits a question into two passes. In the first pass, you ask the model to produce a handful of true, relevant statements about the topic — the background knowledge a careful person would recall before answering. In the second pass, you feed those statements back and ask the model to answer the original question while explicitly using them.
The intuition from Liu et al. 2021 is that language models hold a lot of latent knowledge, but a single-shot answer doesn't always activate the relevant pieces. Asking the model to write the knowledge down first makes it available as context, so the final answer is conditioned on stated facts rather than a snap judgment.
Unlike retrieval-augmented generation, the knowledge here is generated by the model, not fetched from a database. That makes it fast and dependency-free, but it also means the generated facts can be wrong — so the technique works best where the model's underlying knowledge is solid and the failure mode is forgetting to use it, not lacking it.