Heuristic Classification of Thoughts Prompting (HCoT): Integrating Expert System Heuristics for Structured Reasoning into Large Language Models

arXiv cs.AI / 4/15/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper identifies two key weaknesses of LLM-based reasoning for complex problems: inherently stochastic, non-deterministic token sampling and a static separation between reasoning and dynamically retrieved knowledge.
  • It proposes HCoT (Heuristic-Classification-of-Thoughts), a prompting/control schema that integrates a heuristic classification model into the LLM generation loop to guide and stabilize reasoning trajectories.
  • HCoT uses a structured problem space with reusable abstract solution components so that the model can dynamically choose reasoning strategies rather than relying on fixed, decoupled decision-making.
  • Experiments on two inductive reasoning tasks with ill-defined search spaces show HCoT outperforming prior prompting approaches such as Tree-of-Thoughts and Chain-of-Thoughts.
  • On the well-structured 24 Game task, HCoT improves token efficiency versus Tree-of-Thoughts with breadth-first search and provides a favorable accuracy–cost trade-off on a Pareto frontier.

Abstract

This paper addresses two limitations of large language models (LLMs) in solving complex problems: (1) their reasoning processes exhibit Bayesian-like stochastic generation, where each token is sampled from a context-dependent probability distribution, leading to inherently random decision trajectories rather than deterministic planning; (2) the reasoning and decision-making mechanisms are statically decoupled, meaning dynamically retrieved domain knowledge fails to dynamically adjust the underlying reasoning strategy. These dual deficiencies result in initial decisions lacking strategic anchoring and reasoning chains often failing to converge on correct solutions, as stochastic generation lacks mechanisms for trajectory correction or knowledge-guided optimization during sequential reasoning. To resolve these issues, we propose a problem-solving method integrated into the LLM's generation process to guide reasoning. This method, compatible with numerous LLMs and featuring reusable solutions, is grounded in a novel Heuristic-Classification-of-Thoughts prompting schema (HCoT). HCoT synergizes the LLM's reasoning ability with a structured problem space via a heuristic classification model that controls the reasoning process and provides reusable abstract solutions. Evaluated on two complex inductive reasoning tasks with ill-defined search spaces, HCoT outperforms existing approaches (e.g., Tree-of-Thoughts and Chain-of-Thoughts prompting) in performance. On the well-structured 24 Game task, HCoT demonstrates significantly higher token efficiency compared to the state-of-the-art Tree-of-Thoughts-Breadth-First-Search. In terms of both accuracy and token usage, HCoT achieves a Pareto frontier balance, offering a strong trade-off between performance and computational cost.