Unlocking Structured Thinking in Language Models with Cognitive Prompting

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kramer, Oliver, Baumann, Jill
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915041638350848
author Kramer, Oliver
Baumann, Jill
author_facet Kramer, Oliver
Baumann, Jill
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_02953
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Unlocking Structured Thinking in Language Models with Cognitive Prompting
Kramer, Oliver
Baumann, Jill
Computation and Language
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.
title Unlocking Structured Thinking in Language Models with Cognitive Prompting
topic Computation and Language
url https://arxiv.org/abs/2410.02953