Loading...
Loading...
Compare original and translation side by side
digraph decide {
"Problem type?" [shape=diamond];
"Direct answer worked?" [shape=diamond];
"Need confidence?" [shape=diamond];
"Use direct prompting" [shape=box];
"Use Zero-shot CoT" [shape=box];
"Use Self-Consistency" [shape=box];
"Use technique from table" [shape=box];
"Problem type?" -> "Direct answer worked?" [label="simple"];
"Problem type?" -> "Use technique from table" [label="math/logic/creative"];
"Direct answer worked?" -> "Use direct prompting" [label="yes"];
"Direct answer worked?" -> "Need confidence?" [label="no"];
"Need confidence?" -> "Use Self-Consistency" [label="yes, high stakes"];
"Need confidence?" -> "Use Zero-shot CoT" [label="no, just need better"];
}digraph decide {
"Problem type?" [shape=diamond];
"Direct answer worked?" [shape=diamond];
"Need confidence?" [shape=diamond];
"Use direct prompting" [shape=box];
"Use Zero-shot CoT" [shape=box];
"Use Self-Consistency" [shape=box];
"Use technique from table" [shape=box];
"Problem type?" -> "Direct answer worked?" [label="simple"];
"Problem type?" -> "Use technique from table" [label="math/logic/creative"];
"Direct answer worked?" -> "Use direct prompting" [label="yes"];
"Direct answer worked?" -> "Need confidence?" [label="no"];
"Need confidence?" -> "Use Self-Consistency" [label="yes, high stakes"];
"Need confidence?" -> "Use Zero-shot CoT" [label="no, just need better"];
}| Technique | Trigger | Template |
|---|---|---|
| Zero-shot CoT | Quick reasoning boost | "Let's think step by step..." |
| Self-Consistency | High-stakes decision | Run 3-5 paths, majority vote |
| Tree of Thoughts | Puzzle/creative block | Branch, evaluate, backtrack |
| Least-to-Most | Complex multi-part problem | Decompose → solve subproblems → combine |
| ReAct | Need external facts | Thought → Action → Observation loop |
| PAL | Math with computation | Generate code, execute it |
| 技术 | 触发条件 | 模板 |
|---|---|---|
| Zero-shot CoT | 快速提升推理能力 | "让我们一步步思考..." |
| Self-Consistency | 高风险决策 | 运行3-5条推理路径,取多数票 |
| Tree of Thoughts | 谜题/创造性思维瓶颈 | 分支、评估、回溯 |
| Least-to-Most | 复杂多部分问题 | 拆解→解决子问题→整合 |
| ReAct | 需要外部事实 | 思维→行动→观察循环 |
| PAL | 涉及计算的数学题 | 生成代码并执行 |
[Problem statement]
Let's think step by step:A store has 45 apples. They sell 12 in the morning and receive a shipment of 30.
Then they sell 18 more. How many apples remain?
Let's think step by step:
1. Start: 45 apples
2. Sell 12: 45 - 12 = 33 apples
3. Receive 30: 33 + 30 = 63 apples
4. Sell 18: 63 - 18 = 45 apples
Answer: 45 apples remain.[问题描述]
让我们一步步思考:一家商店有45个苹果。上午卖出12个,然后收到30个的补货。之后又卖出18个。还剩多少个苹果?
让我们一步步思考:
1. 初始:45个苹果
2. 上午卖出后:45 - 12 = 33个苹果
3. 补货后:33 + 30 = 63个苹果
4. 下午卖出后:63 - 18 = 45个苹果
答案:还剩45个苹果。[Problem]
I'll reason through this multiple ways to verify:
Path 1:
[reasoning...]
Answer: X
Path 2:
[reasoning...]
Answer: Y
Path 3:
[reasoning...]
Answer: X
Consensus: X (2/3 agreement = 67% confidence)[问题]
我将通过多种推理路径验证答案:
路径1:
[推理过程...]
答案: X
路径2:
[推理过程...]
答案: Y
路径3:
[推理过程...]
答案: X
共识: X(2/3一致=67%置信度)[Problem][问题]
**Example (Game of 24: make 24 from 4, 7, 8, 8):**
**Accuracy gain:** +50-70% on hard puzzles
---
**示例(24点游戏:用4、7、8、8算出24):**
**准确率提升:** 在高难度谜题上提升50-70%
---[Complex problem][复杂问题]
**Accuracy gain:** +30-80% on compositional tasks
---
**准确率提升:** 在组合任务上提升30-80%
---Question: [Question requiring external info]
Thought 1: I need to find [X] to answer this.
Action 1: Search/Lookup [X]
Observation 1: [Result]
Thought 2: Now I know X. I also need [Y].
Action 2: Search/Lookup [Y]
Observation 2: [Result]
Thought 3: With X and Y, I can now answer.
Answer: [Final answer grounded in observations]问题: [需要外部信息的问题]
思维1: 我需要找到[X]来回答这个问题。
行动1: 搜索/查找[X]
观察1: [结果]
思维2: 现在我知道了X,还需要[Y]。
行动2: 搜索/查找[Y]
观察2: [结果]
思维3: 有了X和Y,我可以回答问题了。
答案: [基于观察的最终答案][Math problem]
Let me write code to solve this:
```python[数学问题]
让我写代码来解决这个问题:
```python
[Execute]
Output: Remaining: 45
Answer: 45
[执行]
输出: 剩余: 45
答案: 45| Situation | Best Technique |
|---|---|
| Quick reasoning, no examples | Zero-shot CoT |
| High-stakes, need confidence | Self-Consistency |
| Puzzle, creative, exploration needed | Tree of Thoughts |
| Multi-part with dependencies | Least-to-Most |
| Need facts, reduce hallucination | ReAct |
| Math with many calculations | PAL |
| Iterative improvement | Reflexion (run, critique, retry) |
| 场景 | 最佳技术 |
|---|---|
| 快速推理、无示例 | Zero-shot CoT |
| 高风险、需要置信度 | Self-Consistency |
| 谜题、创造性、需要探索 | Tree of Thoughts |
| 多部分且有依赖关系 | Least-to-Most |
| 需要事实、减少幻觉 | ReAct |
| 包含大量计算的数学题 | PAL |
| 迭代改进 | Reflexion(运行、评估、重试) |
| Mistake | Fix |
|---|---|
| Using CoT for simple queries | Direct answer is fine for 1-step problems |
| Not showing work | Explicit steps catch errors |
| Stopping at first answer | Self-consistency finds better answers |
| Linear thinking on puzzles | Tree of Thoughts enables backtracking |
| Computing mentally | PAL eliminates arithmetic errors |
| Guessing facts | ReAct grounds in external sources |
| 错误 | 修复方案 |
|---|---|
| 对简单查询使用CoT | 单步骤问题直接回答即可 |
| 不展示推理过程 | 显性步骤可发现错误 |
| 得到第一个答案就停止 | 自一致性可找到更优答案 |
| 对谜题使用线性思维 | Tree of Thoughts支持回溯 |
| 心算 | PAL可消除算术错误 |
| 猜测事实 | ReAct基于外部来源确保准确性 |
1. Least-to-Most: decompose into subproblems
2. For each subproblem:
- PAL if computational
- ReAct if needs facts
- Tree of Thoughts if exploratory
3. Self-Consistency on final assembly1. Least-to-Most: 将问题拆解为子问题
2. 对每个子问题:
- 涉及计算时使用PAL
- 需要事实时使用ReAct
- 需要探索时使用Tree of Thoughts
3. 对最终整合结果使用Self-Consistency| Claude handles | You provide |
|---|---|
| Selecting appropriate reasoning technique | Problem statement and constraints |
| Executing multi-step reasoning chains | Verification of intermediate steps |
| Generating multiple reasoning paths | Selection of best answer |
| Backtracking from dead-ends | Judgment on acceptable confidence |
| Computing via PAL when needed | Real-world validation of results |
| Claude负责 | 你提供 |
|---|---|
| 选择合适的推理技术 | 问题描述与约束 |
| 执行多步骤推理链 | 验证中间步骤 |
| 生成多条推理路径 | 选择最优答案 |
| 从死胡同回溯 | 判断可接受的置信度 |
| 必要时通过PAL计算 | 结果的现实验证 |
name: thought-based-reasoning
category: thinking
version: 2.0
author: GUIA
source_expert: Wei et al. (CoT), Yao et al. (ToT), Kojima et al. (Zero-shot CoT)
difficulty: intermediate
mode: both
tags: [reasoning, cot, tot, react, pal, logic, math, problem-solving]
created: 2026-02-03
updated: 2026-02-03name: thought-based-reasoning
category: thinking
version: 2.0
author: GUIA
source_expert: Wei et al. (CoT), Yao et al. (ToT), Kojima et al. (Zero-shot CoT)
difficulty: intermediate
mode: both
tags: [reasoning, cot, tot, react, pal, logic, math, problem-solving]
created: 2026-02-03
updated: 2026-02-03