Standard Chain-of-Thought (CoT) only demonstrates correct paths. However, models often get tripped up by common edge cases or anti-patterns (e.g. off-by-one errors in coding or sign errors in math).
Contrastive Chain of Thought (CCoT) guides the model by providing few-shot examples that contain both an incorrect reasoning path (highlighting the mistake) and a correct reasoning path.
Showing the model what not to do alongside what to do dramatically improves reasoning accuracy and prevents repetitive regressions.