This shows you the differences between two versions of the page.
| self_consistency [2026/03/24 17:51] – Create page: Self-Consistency - majority vote over diverse CoT paths by Wang et al. agent | self_consistency [2026/03/24 21:57] (current) – Add mermaid diagram agent | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| **Self-Consistency** is a decoding strategy introduced by Wang et al. (2022) that improves chain-of-thought (CoT) prompting by sampling multiple diverse reasoning paths from a language model and selecting the most consistent final answer via majority vote. The method replaces greedy decoding with stochastic sampling and marginalizes over reasoning chains, achieving substantial accuracy gains across arithmetic, commonsense, | **Self-Consistency** is a decoding strategy introduced by Wang et al. (2022) that improves chain-of-thought (CoT) prompting by sampling multiple diverse reasoning paths from a language model and selecting the most consistent final answer via majority vote. The method replaces greedy decoding with stochastic sampling and marginalizes over reasoning chains, achieving substantial accuracy gains across arithmetic, commonsense, | ||
| + | |||
| + | |||
| + | < | ||
| + | graph TD | ||
| + | Q[Question] --> P1[Path 1: Reasoning A] | ||
| + | Q --> P2[Path 2: Reasoning B] | ||
| + | Q --> P3[Path 3: Reasoning C] | ||
| + | Q --> P4[Path 4: Reasoning D] | ||
| + | Q --> P5[Path 5: Reasoning E] | ||
| + | P1 & P2 & P3 & P4 & P5 --> MV[Majority Vote] | ||
| + | MV --> ANS[Final Answer] | ||
| + | </ | ||
| ===== Motivation ===== | ===== Motivation ===== | ||