atlas

Research map / Large language models / Reasoning and chain of thought

CDW-CoT: Clustered Distance-Weighted Chain-of-Thoughts Reasoning

AAAI 2025 · Large language models › Reasoning and chain of thought · approach: Chain-of-thought training and analysis · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CDW-CoT, which clusters a dataset, learns per-cluster prompt probability distributions over a candidate prompt pool via black-box policy-gradient-style updates, and selects prompts per test instance with distance-weighted mixing of cluster distributions.

Problem

Existing automatic chain-of-thought methods use the same prompts for every instance in a dataset, which fails to handle diversity within a dataset and yields large performance variability across clusters.

Approach

Cluster the dataset with K-means, build a candidate prompt pool from cluster centroids refined by zero-shot CoT, learn a prompt probability distribution per cluster via BDPL-style policy gradient, and at test time mix cluster distributions with softmax weights over Euclidean distances to the centroids.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CDW-CoT instead of the strongest listed baselineLLaMA2 (13B) · Letterexact match accuracy: 30.80% -> 82.67%Helped
Replace distance weighting with nearest-cluster prompt selection (ablation)CDW-CoT · CSQAaccuracy: 61.41 -> 53.26Hurt
Replace distance weighting with nearest-cluster prompt selection (ablation)CDW-CoT · StrategyQAaccuracy: 70.06 -> 67.44Hurt
Replace distance weighting with nearest-cluster prompt selection (ablation)CDW-CoT · Letteraccuracy: 82.67 -> 81.33Hurt
Replace distance weighting with nearest-cluster prompt selection (ablation)CDW-CoT · Coinaccuracy: 61.33 -> 58.67Hurt
Replace distance weighting with nearest-cluster prompt selection (ablation)CDW-CoT · MultiArithaccuracy: 85.56 -> 77.78Hurt
Replace distance weighting with nearest-cluster prompt selection (ablation)CDW-CoT · AQuAaccuracy: 35.89 -> 28.21Hurt
Remove clustering and use a single global prompt distribution (ablation)CDW-CoT · CSQAaccuracy: 61.41 -> 60.33Hurt
Remove clustering and use a single global prompt distribution (ablation)CDW-CoT · StrategyQAaccuracy: 70.06 -> 67.15Hurt
Remove clustering and use a single global prompt distribution (ablation)CDW-CoT · Letteraccuracy: 82.67 -> 81.11Hurt
Remove clustering and use a single global prompt distribution (ablation)CDW-CoT · Coinaccuracy: 61.33 -> 56.00Hurt
Remove clustering and use a single global prompt distribution (ablation)CDW-CoT · MultiArithaccuracy: 85.56 -> 77.78Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CommonsenseQA StrategyQA Letter Coin MultiArith AQuA

Benchmarks: CommonsenseQA StrategyQA Letter Coin MultiArith AQuA

Metrics: exact match accuracy

Baselines: Zero-Shot-CoT Auto-CoT Manual-CoT

Builds on: Auto-CoT BDPL Zero-Shot-CoT Manual-CoT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy