anthropics / anthropics/prompt-eng-interactive-tutorial
Chapter 8: Hallucination example and explanation conflates two techniques - incorrectly attributes it to the wrong technique
- 主要语言
- Jupyter Notebook
- 星标
- 38.2k
- 派生
- 4.2k
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Issue Summary**
Chapter 8's main example conflates two distinct prompt modifications and incorrectly attributes hallucination reduction to the scratchpad technique, when the metacognitive instruction appears to be the primary (or sole) effective component.
**The Problem**
The lesson states:
"a great way to reduce hallucinations on long documents is to make Claude gather evidence first. In this case, we tell Claude to first extract relevant quotes, then base its answer on those quotes."
However, the "improved" prompt makes two simultaneous changes:
Adding scratchpad for evidence gathering
Adding explicit metacognitive instruction: "consider whether it answers the user's question or whether it lacks sufficient detail"
**Experimental Findings**
Testing reveals that:
❌ Scratchpad alone (without metacognitive instruction): Still hallucinates
✅ Metacognitive instruction alone (without scratchpad): Prevents hallucination
✅ Both combined: Prevents hallucination
This suggests the metacognitive instruction - which essentially gives Claude permission to acknowledge insufficient information - is doing the heavy lifting, not the scratchpad mechanism, which is contrary to the the lesson/text.
**Why This Matters**
This is a confounding variable problem. The tutorial teaches that scratchpad/evidence-gathering prevents hallucinations, but doesn't isolate this variable. The actual effective technique appears to be explicitly prompting the model to evaluate information sufficiency, which is a well-known hallucination mitigation strategy distinct from chain-of-thought reasoning.
**Suggested Fix**
The lesson should either:
Test each technique independently to demonstrate their individual effects
Acknowledge both components and clarify that the metacognitive check (giving an "out") may be more critical than the evidence-gathering structure
Provide a cleaner example where the scratchpad technique can be isolated and its specific benefits demonstrated
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。