arXiv · 2410.02953
Unlocking Structured Thinking in Language Models with Cognitive Prompting
Abstract
We propose cognitive prompting as a novel approach to guide problem-solving in large language models (LLMs) through structured, human-like cognitive operations, such as goal clarification, decomposition, filtering, abstraction, and pattern recognition. By employing systematic, step-by-step reasoning, cognitive prompting enables LLMs to tackle complex, multi-step tasks more efficiently. We introduce three variants: a deterministic sequence of cognitive operations, a self-adaptive variant in which the LLM dynamically selects the sequence of cognitive operations, and a hybrid variant that uses generated correct solutions as few-shot chain-of-thought prompts. Experiments with LLaMA, Gemma~2, and Qwen models in each two sizes on the arithmetic reasoning benchmark GSM8K demonstrate that cognitive prompting significantly improves performance compared to standard question answering.
Explore related subjects
Keep this discovery
Oliver Kramer, Jill Baumann. 2024-10-03. Unlocking Structured Thinking in Language Models with Cognitive Prompting. https://arxiv.org/abs/2410.02953
Cite the original work for its findings. Save a collection to share your selection of sources.