Apply to my task
arXiv:2604.12390 ★ 80 Apr 14, 2026

HCoT: A Three-Step Prompt with a Solution Catalog for Hard Problems

Key result

LLMs are terrible at inventing solutions from scratch — but brilliant at picking from a ready list. That's not luck, it's architecture. HCoT gets you a structured breakdown of hard open-ended problems — not "it's probably the market" but "pattern 2 plus pattern 5, here's why and what to change." The trick: give the model a catalog of 6–16 patterns BEFORE it starts thinking — and "come up with a cause" becomes "pick from 10 options." Three steps: Abstract (generalize) → Match (find the pattern) → Refine (tailor to the situation). Accuracy goes up, and answers are specific instead of generic advice.

01

TL;DR

HCoT (Heuristic Classification of Thoughts) is a technique that hands the LLM a ready-made catalog of solutions before it starts thinking. Instead of freely brute-forcing options, the model follows three steps: generalize the problem → find a matching pattern in the catalog → refine it for the specific case.

The LLM's weakness: when a problem has no clear-cut algorithm (why are sales dropping, how to answer a customer complaint, what's wrong with the pitch), the model wanders. It generates thoughts at random, like flipping through a deck of cards with no system. You can get different answers to the same question — and none of them hits the target. The reason: it has no "anchor," no predefined solution space.

How HCoT fixes it: before looking for an answer, you give the model 6–16 typical solution patterns for your field. From there the model works not across the endless field of possibilities but inside that catalog: it abstracts the problem, finds the closest pattern and tailors it to the details. Three clear steps in one or two requests.

Want this for your own case? Apply this study to your task: AI adapts its method to what you are working on and writes the prompt.

02

Method Blueprint

STEP 0 (prep, once): build a catalog of 6–16 typical solution 
         patterns for your field → a list with examples

STEP 1 — Abstract: Describe the problem in general, abstract terms 
         → a generalized statement of the problem

STEP 2 — Match: Map the generalized problem onto the pattern catalog 
         → one or more matching patterns

STEP 3 — Refine: Tailor the chosen pattern to the specific situation 
         → a ready solution

Steps 1–3 can be done in a single prompt. Step 0 is a one-time job; after that the catalog gets reused.

03

Example in Action

Task: You're the founder of an EdTech startup and you've launched a B2B product for corporate training. At an accelerator demo day, investors listened for 12 minutes and said: "We're interested, but let's talk again in six months." You need to figure out what went wrong and rework the pitch.

Prompt:

I have a catalog of typical reasons a startup fails 
an investor pitch:

PATTERN 1: Market problem — the investor doesn't believe in the size or urgency of the problem.
Example: "That's a niche, not a market. There aren't many companies like that."

PATTERN 2: Weak USP — the product doesn't stand out from competitors.
Example: "How are you different from Coursera or Udemy?"

PATTERN 3: No traction — no hard numbers proving demand.
Example: "Show us at least 3 paying customers."

PATTERN 4: Team in doubt — no obvious expertise in the space.
Example: "Why are you the ones who can pull this off?"

PATTERN 5: Unclear business model — the investor can't see how you make money.
Example: "How do you calculate LTV? Who pays — HR or the C-suite?"

PATTERN 6: Too early — no appetite to invest right now.
Example: "Come back when you hit $10k MRR."

My situation: [describe the pitch: product, target customer, what the investor said]

Do three steps:
1. Abstract — describe my problem in general terms, without product details.
2. Match — find 1–2 patterns from the catalog that best explain 
   the investor's reaction. Explain why.
3. Refine — give specific recommendations: what exactly to change in the pitch, 
   which slides to rework, what data to add.

Result: The model will walk through three visible steps. In Abstract it will generalize the situation to "the investor doesn't see urgency + differentiation is unclear." In Match it will pick patterns 1 and 2 and explain which of the investor's phrases point to them. In Refine it will get concrete: what to add to the market slide, how to rephrase the USP, which case study to cite. The answer will be structured and tied to the real situation rather than generic pitch advice.

04

Why It Works

The problem: in free-form analysis an LLM works like search without an index — it sifts through a huge space of possible explanations. And generation follows a "long-tail distribution": a few obvious versions get high probability, while the precise ones get lost in the tail. The harder and more open-ended the problem, the worse this brute-forcing works.

The LLM's strength: the model is excellent at matching — finding correspondences between a description and a template, as long as the templates are given explicitly. That's far easier than inventing a solution from scratch.

HCoT mechanics: the method slices the problem into three simple operations. Abstraction strips away noise and specifics — a general statement is easier for the model to work with. Matching replaces open search with a choice from a finite list — instead of "come up with a solution," the task becomes "pick from 10 options." Refinement brings the specifics back — but now knowing the direction instead of wandering blind.

Prompt control levers: - Catalog size (6 vs 16 patterns) → more patterns mean higher accuracy but pricier tokens. For a recurring task, start with 6–8. - Pattern detail → add examples to each pattern and the model matches more precisely. - Number of Match picks → you can ask it to pick 1 pattern (more precise) or 2–3 (broader, if the problem is ambiguous). - Explicit step output → write "show each step separately" to see the logic; write "final answer only" for something shorter.

05

Prompt Template

I have a catalog of typical solutions for problems in {field}:

PATTERN 1: {name} — {short description}. 
Example: "{concrete example}"

PATTERN 2: {name} — {short description}. 
Example: "{concrete example}"

[... repeat for 6–16 patterns ...]

My specific problem: {situation description}

Do three steps:
1. Abstract — describe the problem in general terms, without details. 
   What's going on here at the level of problem type?
2. Match — find the 1–2 patterns from the catalog that fit best. 
   Explain why these ones.
3. Refine — give a concrete solution for my situation 
   based on the chosen patterns.

Placeholders: - {field} — the problem area: "failed pitches", "customer complaints", "team conflicts", "underperforming ad copy" - {pattern name} — a short name: "Weak USP", "No urgency", "Trust problem" - {short description} — 1–2 sentences on what the pattern is - {concrete example} — a real phrase or situation typical of the pattern - {situation description} — your specific case


🚀 Quick start — paste into the chat:

Here's the HCoT template. Adapt it to my task: {your task}.
Help me build a catalog of 6–10 patterns for this field,
then apply the method to my situation.

[paste the template above]

The LLM will first ask about or suggest patterns for your field — because without a catalog the method doesn't work. That's the key element of HCoT: the solution space has to be defined explicitly before the analysis begins. Then the model will take the Abstract→Match→Refine structure and apply it to your problem.

06

Limitations

⚠️ The catalog is everything: if the right pattern isn't on the list, the model will pick the closest wrong one. The method doesn't invent new types of solutions; it only chooses among the given ones.

⚠️ Requires prep: for each new field you first have to build a pattern catalog. It's a one-time job, but it's real work. For a one-off problem it's simpler to ask the LLM to "find the cause" without structure.

⚠️ Weaker on unique problems: if the problem is truly unusual and fits no pattern, the method will give a standard answer where an out-of-the-box one is needed.

⚠️ Pattern quality = answer quality: poorly worded patterns without examples produce fuzzy matching. Examples inside the catalog boost accuracy considerably.

07

How It Was Tested

The researchers tested HCoT on three types of tasks: two inductive reasoning tests (guess the rule from examples — tasks with an open solution space) and the Game of 24 (make 24 from four numbers using arithmetic — a task with a clearly defined space).

For the Game of 24 they took all 1362 games from 4nums.com and compared HCoT with four baseline methods: a plain IO prompt, CoT, ToT-Prompt and ToT-BFS (a search tree with breadth 5). All methods were run on GPT-4o.

The result was unexpected. ToT-BFS had the best accuracy — 55.65% — but at the cost of 27 million context tokens for 1362 games. HCoT with 16 patterns delivered 32–45% accuracy on 3–4 million tokens — 6–8 times cheaper. Meanwhile, the "best-of-4" variant (four refinement attempts) reached 55.88%, effectively matching ToT-BFS on quality while staying many times more token-efficient.

Even more interesting: IoT-Prompt, CoT and ToT-Prompt managed 3–9% accuracy — a flop. This shows that without a structured solution space, an LLM literally wanders even on a task with clear rules. The predefined pattern catalog turned out to be the deciding factor — not the model's power or the prompt's complexity.

08

Adaptations and Extrapolations

🔧 Technique: the LLM builds the catalog for you → less prep work

Instead of inventing patterns yourself, ask the model: "Name the 8 most common types of reasons why [problem type]. For each, give a short description and an example of a real phrase or situation." You'll get a draft catalog in 30 seconds, then polish it for your context.

🔧 Technique: iterative HCoT for complex decisions → multiple passes

Apply the method twice. First pass: diagnose the problem (Abstract→Match→Refine). Second pass: build a catalog of fixes for the problem type you found and run the three steps again. The first HCoT finds "what's wrong," the second finds "how exactly to fix it."

09

Resources

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

Authors: Lei Lin, Jizhao Zhu, Yong Liu, Donghong Sun, Hongbo He, Yihua Du

Institutions: Computer Network Information Center (Chinese Academy of Sciences), Shenyang Aerospace University, ZGC Lab (Beijing), Tsinghua University

Key references in the paper: Clancey (1985) — the original heuristic classification; Yao et al. (2023) — Tree-of-Thoughts; Wei et al. (2022) — Chain-of-Thoughts; Newell (1981) — problem space theory

Research digest

Key result

LLMs are terrible at inventing solutions from scratch — but brilliant at picking from a ready list. That's not luck, it's architecture. HCoT gets you a structured breakdown of hard open-ended problems — not "it's probably the market" but "pattern 2 plus pattern 5, here's why and what to change." The trick: give the model a catalog of 6–16 patterns BEFORE it starts thinking — and "come up with a cause" becomes "pick from 10 options." Three steps: Abstract (generalize) → Match (find the pattern) → Refine (tailor to the situation). Accuracy goes up, and answers are specific instead of generic advice.

Principle

When you ask an LLM to "find the reason it failed," the model works like search without an index. It sifts through a huge field of possibilities, and the most probable ones win — that is, the most banal ones. Precise answers drown in the long tail of the distribution. HCoT replaces open-ended brute force with a choice from a finite list — the model doesn't invent, it matches. Those are fundamentally different tasks, and LLMs handle the second far better. Plus, the three steps separate "understand the essence" from "give advice" — the model doesn't juggle everything at once, it does one thing at a time.

Why it works

An LLM is a powerful matching machine. It sees the link between a situation description and a pattern template almost instantly. But without templates it generates from the general probability distribution: the most common explanations come first, and the precise ones get lost. A pattern catalog is an index: with it the model doesn't wander, it performs three precise operations in a row. Abstraction strips away noise and specifics — a general statement is easier to work with. Matching replaces open search with a choice from a finite list. Refinement brings the specifics back — but now knowing the direction instead of going in blind.

When to apply

Open-ended problems with no obvious algorithm: why sales dropped, what's wrong with the pitch, why a customer churned, how to answer a complaint — especially when the standard approach gives you vague words instead of specifics. Works in any field with accumulated experience where you can name the typical causes or typical fixes up front. NOT suited for one-off unique problems — if there are no patterns yet and building a catalog isn't worth it, just ask "find the cause" without structure.

Mini recipe

1. Build a catalog: 6–8 patterns for your field. Each gets a short name, a one-to-two-sentence description and a concrete example phrase or situation. Not sure where to start? Ask the model: `Help me build 8 typical failure patterns for [your field]. For each pattern: name, description, example phrase.` 2. Put the catalog in the prompt: list the patterns at the top, then describe your specific situation below — what happened, what was said, what didn't work. 3. Give three explicit steps: `Step 1 (Abstract) — describe the essence of the problem in general terms, without my details. Step 2 (Match) — find 1–2 patterns from the catalog and explain why these. Step 3 (Refine) — give specific recommendations for my situation based on the chosen patterns.` 4. Reuse it: the catalog is a one-time job. Build it once and apply it to every similar problem. Over time the patterns get sharper and cover more cases.

Examples

[BAD]: `Investors at my pitch said "interesting, but let's talk in six months." What went wrong and how should I rework the pitch?` [GOOD]: `I have a catalog of typical reasons a startup fails an investor pitch: PATTERN 1: Market problem — the investor doesn't believe in the size or urgency. Example: "That's a niche, not a market." PATTERN 2: Weak differentiation from competitors — the product doesn't stand out. Example: "How are you different from Udemy?" PATTERN 3: No hard numbers proving demand. Example: "Show us at least 3 paying customers." PATTERN 4: Team in doubt — no obvious expertise. Example: "Why you?" PATTERN 5: Unclear business model. Example: "Who pays — HR or top management?" PATTERN 6: Too early. Example: "Come back when you're doing $10k a month in revenue." My situation: I launched a corporate employee-training platform, gave a 12-minute pitch, and the investors said "interesting, but let's talk in six months." Step 1 (Abstract) — describe the essence of the problem in general terms. Step 2 (Match) — find 1–2 patterns from the catalog, explain why these and which of the investors' phrases point to them. Step 3 (Refine) — what specifically to rework in the pitch: which slides, what data to add.`

In plain words

The point of HCoT is that models, for all their power, act like panicky rookies on hard problems. Ask a model to solve an open-ended problem and it starts chaotically cycling through options, clinging to the most obvious and banal answers. That happens because of the long-tail distribution: the correct, deep solution is buried far out in the "tail" of probabilities, while standard nonsense floats on the surface. The Heuristic Classification method forcibly reins in that chaos, imposing the structure of expert thinking on the model before it has a chance to produce its first hallucination.

It's like going to an experienced doctor with a pain in your side. A bad doctor (a regular LLM) starts guessing wildly, listing everything from hiccups to rare tropical diseases. An expert works from a heuristic catalog: first they establish that it's "abdominal pain," then map it to a set of known patterns (appendicitis, gastritis, stones), and only then dig into the details. Instead of reinventing the wheel every time, the expert just pulls the right folder from the archive in their head.

The method rests on three strict steps: abstraction, matching and refinement. First the model translates your specific problem into general concepts, then looks for a matching pattern in a pre-built "catalog of expert knowledge," and only at the end applies that pattern to your situation. If you're pitching a startup and investors told you to "come back in six months," HCoT won't guess — it will immediately classify this as a product-market fit problem or weak unit economics, using proven business frameworks.

Although the method was tested on hard logic puzzles, the principle of structured thinking is universal. You can and should plug it into any prompt for business, consulting or programming. Instead of asking "analyze my text," give the model a catalog of heuristics — a set of ready-made lenses to look at the world through. That turns the AI from a chatty liberal-arts grad into a systems analyst who doesn't waste time on white noise.

The main takeaway: free-flowing thought is a road to sloppiness and mistakes for a model. To get senior-level results, you need to box the model into ready-made classifications. Either you give it structure and a catalog of solutions, or you get a pile of random words that sound convincing but are actually total garbage. HCoT proves that limiting choice is the best way to boost a machine's intelligence.

AI lab assistant

Apply this study to your task

Describe what you're working on. AI takes the method and the measured results from this paper and adapts them to your case, or writes a ready prompt built on them.

Based on HCoT: A Three-Step Prompt with a Solution Catalog for Hard Problems arXiv:2604.12390

Sign in to apply this study New accounts get 50 free credits.