{
  "id": "contrastive-chain-of-thought",
  "code": "PTL-0038",
  "term": "Contrastive Chain-of-Thought",
  "aliases": [],
  "category": "reasoning",
  "definition": "Contrastive chain-of-thought adds both valid and deliberately invalid reasoning demonstrations to a prompt, so the model learns which mistakes to avoid as well as what correct reasoning looks like.",
  "description": "The invalid demonstrations can be generated automatically by perturbing correct reasoning chains.",
  "example": null,
  "broader": [
    "chain-of-thought"
  ],
  "narrower": [],
  "related": [],
  "introduced": 2023,
  "sources": [
    {
      "title": "Contrastive Chain-of-Thought Prompting",
      "authors": "Chia et al.",
      "year": 2023,
      "url": "https://arxiv.org/abs/2311.09277"
    }
  ],
  "url": "https://protologue.com/t/contrastive-chain-of-thought/",
  "citation": "Protologue. (2026). Contrastive Chain-of-Thought. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.0.0, PTL-0038). https://protologue.com/t/contrastive-chain-of-thought/"
}