Unlocking Structured Thinking in Language Models with Cognitive Prompting
Oliver KramerJill Baumann
Oliver Kramer
Jill Baumann
+2
We introduce cognitive prompting, which guides large language models through structured, human-like operations such as goal clarification, decomposition, filtering, abstraction, and pattern recognition for step-by-step reasoning. Evaluated on LLaMA models with GSM8K arithmetic and commonsense benchmarks, we compare no prompting, static sequences, and reflective prompting where the model self-selects the operation sequence. Results show that cognitive prompting, especially when dynamically adapted, significantly improves multi-step reasoning, particularly for larger models like LLaMA3.1 70B, while enhancing interpretability and flexibility.

OpenReview ·
· September 27, 2024