When the Chain Breaks: �Interactive Diagnosis of LLM Chain-of-Thought Reasoning Errors��
Shiwei Chen1, Niruthikka Sritharan1, Xiaolin Wen1, Chenxi Zhang1, Xingbo Wang2, Yong Wang1
1 – Nanyang Technological University, Singapore
2 – Bosch Research North America, Sunnyvale, California, USA
The Problem
2
Background
Error Detection Pipeline
Visual Interface
Evaluation
87 steps. one question.
find the “one” wrong step?
A Deepseek sample without searching ability
The Problem
3
Background
Error Detection Pipeline
Visual Interface
Evaluation
✕ Hard to build a coherent mental model
✕ Cause misplaced trust
✓ Explore many possible paths
✓ Explicitly state reasoning steps
Research Gap
4
Background
Error Detection Pipeline
Visual Interface
Evaluation
It shows only high level description and loses context.
It risks overconfidence and over-reliance.
Formative Study
5
Background
Error Detection Pipeline
Visual Interface
Evaluation
Findings
F1
Users prioritize different steps.
F2
Long CoTs cause cognitive overload.
F3
Nonlinear logic kills traceability.
F4
Limited verification resources.
derive
R1
Automatically detect potential errors.
R2
Provide an overview of the overall reasoning.
R3
Support traceable navigation across steps.
R4
Visualize how they propagate.
R5
Enable cause analysis of individual errors.
Design requirements
9 participants with intense LLM usage
Each was given an long CoT sample from the Deltabench;
Process
What is their practice?
What is the main difficulty?
System Overview
6
Background
Error Detection Pipeline
Visual Interface
Evaluation
ReasonDiag = automatic detection + interactive diagnosis
Error-Detection Pipeline
R1
1
Premise Tree Generation
2
Error Detection
Fact Check
suggestions
human verification
Interactive Interface
R2–R5
Overview — step distribution + error propagation
Section View — hierarchy + premises + error causes
Original CoT — full text, linked on demand
Logic Check
Error Detection Pipeline
7
Background
Error Detection Pipeline
Visual Interface
Evaluation
Step 1. Premise Tree Generation
Step 2. Error Detection
Step 1. Premise Tree Generation
8
Background
Error Detection Pipeline
Visual Interface
Evaluation
Step 1. Premise Tree Generation
9
Background
Error Detection Pipeline
Visual Interface
Evaluation
ID
S1
S2
S3
S4
STEP
The question asks for the time span between the launch of the Hubble Space Telescope and 2025.
The Hubble Space Telescope was launched in 1992, when NASA sent it into orbit.
To determine the number of years that have passed, we subtract the launch year from the target year.
So we compute 2025 – 1992.
……
Step 1. Premise Tree Generation
10
Background
Error Detection Pipeline
Visual Interface
Evaluation
ID
S1
S2
S3
S4
STEP
The question asks for the time span between the launch of the Hubble Space Telescope and 2025.
The Hubble Space Telescope was launched in 1992, when NASA sent it into orbit.
To determine the number of years that have passed, we subtract the launch year from the target year.
So we compute 2025 – 1992.
……
TYPE
VERIFIABILITY
Step 1. Premise Tree Generation
11
Background
Error Detection Pipeline
Visual Interface
Evaluation
Step 2. Error Detection
12
Background
Error Detection Pipeline
Visual Interface
Evaluation
Step 2.1 Factual Error
13
Background
Error Detection Pipeline
Visual Interface
Evaluation
Step 2.2 Logical Error
14
Background
Error Detection Pipeline
Visual Interface
Evaluation
Step 2.3 Propagated Error
15
Background
Error Detection Pipeline
Visual Interface
Evaluation
ReasonDiag UI
16
Background
Error Detection Pipeline
Visual Interface
Evaluation
A DeltaBench math problem
ReasonDiag UI
17
Background
Error Detection Pipeline
Visual Interface
Evaluation
Section View
Overview
Overview
18
Background
Error Detection Pipeline
Visual Interface
Evaluation
error source --- propagated error
Error
Uncertainty
Link
Node
“uncertained” step --- uncertain step
an erroneous step
an propagated error step
uncertain step
Retroactive reasoning patterns
19
Background
Error Detection Pipeline
Visual Interface
Evaluation
Section View
20
Background
Error Detection Pipeline
Visual Interface
Evaluation
Technical Evaluation
21
Background
Error Detection Pipeline
Visual Interface
Evaluation
Dataset:
13 CoT samples from Deltabench
2,030 sentence-level annotations
User Interviews
16 LLM users with diverse background (aged 18-31)
Effective,
Well-designed,
Good usability
Highest Recall
Covering the most errors
Takeaway
22
NTU VIDA Lab
Case Demo: csw0109.github.io/reasondiag-demo/
Dataset: huggingface.co/datasets/CoTDiagnosis/DeltaBench_CoT_Diagnosis/
Thanks for listening !
csw0109.github.io
🌟 Looking for PhD position
Backup Pages
Appendix: Precision of the diagnose pipeline
24
many flagged steps
[1] Kocielnik R, Amershi S, Bennett P N. Will you accept an imperfect AI? exploring designs for adjusting end-user expectations of AI systems[C]//Proceedings of the 2019 CHI conference on human factors in computing systems. 2019: 1-14.
1 core error
Appendix: Limitations and future works
25
Visual clutter at scale
Dense cross-links obscure structure on 100+ step traces.
→ adaptive granularity: aggregate simple ops into composite nodes.
The semantic gap
Locating a wrong step is relatively easy; explaining WHY a logic error is wrong is not.
→ AI-assisted explanations + interactive debugging (edit / fix steps).
Precision
Many false positives come from propagation of a few core errors.
→ agreement across multiple verification methods, keeping high recall.
Generalizability
Validated on verifiable domains (math, logic, retrieval).
→ softer encodings for creative / legal text: semantic drift, plausibility; agentic pipline.
Appendix: Need of Diagnose CoT
High correlation with the reasoning process result with the final output.
Easier for user to interpret CoT than internal components
26