# TraceWitness: Evidence-Grounded Evaluation of Chain-of-Thought Reconstructions

> TraceWitness evaluates reconstructed chains of thought against one specific agent execution, using native reasoning when available and pre-action logs otherwise. On DeepSeek Web-Bench, Trace Inversion scored 71.75/100 in semantic similarity but recovered only 16.21% of annotated native steps.

- arXiv: https://arxiv.org/abs/2612.05074
- Authors: Qi Wang, Han Zheng, Chengcheng Wan, YuYang Zhao
- Published: 2026-12-04
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2612.05074
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## A plausible CoT can miss what the agent actually did

**16.21%** Web-Bench: Trace Inversion native-step recovery

## The same answer doesn't identify the run

**Outcome only:** Two tool-agent runs can reach the same answer through different calls and observations.

**Run-bound evaluation:** TraceWitness asks whether a reconstructed chain of thought (CoT) explains one designated execution using evidence available before each action.

## Two tracks, one run, linked data

1. **Pair a run**: Each candidate is paired with one designated execution, not judged by its final answer alone.
2. **Native reference**: With same-run native CoT, only fully recovered annotated reasoning steps earn credit.
3. **Observable track**: Without native CoT, test whether pre-action evidence supports the recorded decision; alternative log-supported inferences are allowed.
4. **Linked dataset**: 10,046 whole-review indices link tasks, runs, CoTs, and reviews; 42,556 model-generated non-engineering annotations keep each task's records in one split.

## Freeze the execution before scoring

![Figure 2](https://cdn.instaxiv.com/figures/2612.05074/figure2.webp)

Figure 2 follows one candidate-run pair through frozen scoring items, semantic review, deterministic quotation and event-order checks, then score assembly and audit. (Figure 2)

## Tool-use quality combines three checks

$$
\begin{gathered}Q(c)=45A(c)+30E(c)\\+25(1-H(c))\end{gathered}
$$

For agent runs, alignment, required-fact coverage, and absence of critical errors are weighted 45/30/25; all three components must be scored.

- $A(c)$: Track-specific native-step or observable decision alignment
- $E(c)$: Fraction of fully matched required tool facts
- $(1-H(c))$: Candidate has no validated critical error

## Observable decisions have a time arrow

1. **Anchor the action**: Each item anchors a recorded action to evidence logged before that action.
2. **Score five checks**: Five checks cover evidence, inference, action, and both links; positive scores require a verbatim candidate span and event ID.
3. **Verify timing**: The verifier checks exact quotations, cited event IDs, and that evidence precedes its action; semantic support remains a judge decision.

## What can logs show without native CoT?

**Decision and fact checks:** On 100 Claude Opus-5.5 Web-Bench reconstructions without native CoT, RECAST reached 96.46% alignment (193 items), 100% fact coverage (296 facts), and 4 critical errors; 99 reviews scored.

**Full-text claims:** Across 94 scored candidates, mean per-candidate precision was 87.86%; of 4,863 tool claims, 73 were contradicted and 497 insufficiently evidenced.

## The comparison spans native and observable settings

![Figure 4](https://cdn.instaxiv.com/figures/2612.05074/figure4.webp)

A panels: six DeepSeek methods/five Kimi baselines vs native Web-Bench CoT. B: observable Opus 5.5/Web-Bench, GPT-6.2 Astra/MiniApp-Bench. Axes average valid cases; Global CoT uses returned CoTs; length denominators differ. (Figure 4)

## Semantic similarity can outpace native-step recovery

**Trace Inversion:** On DeepSeek Web-Bench, it scored 71.75/100 in semantic similarity to native CoT but recovered 16.21% of native steps; quality was 51.32/100 over 46 complete triples.

**RECAST:** On the same cohort, it recovered 99.47% of steps, scored 71.64/100 similarity, and reached 99.76/100 quality over 80 complete triples.

RECAST exceeded the strongest other quality scorer, Trace Inversion, by 48.44 points.

## Can the score identify the source run?

![Figure 5](https://cdn.instaxiv.com/figures/2612.05074/figure5.webp)

Each CoT is scored against its own and an alternative run of the same task; positive gaps favor the source. All eight form-construction comparisons were positive, 32.5-72.0 points (two judges, two repetitions). (Figure 5)

## Repeatability and evidence integrity were tested

1. **Freeze a reference**: A frozen reference covered 99 of 100 Opus-5.5 Web-Bench candidates; weighted agreement was 95.10%.
2. **Rerun the judges**: Opus 5.5 and Gemini 3.1 Pro Preview each reviewed all 100 candidates twice; stability was 96.35%, and 389/400 slots were valid after retries.
3. **Inject errors**: All 70 injected errors were caught; deterministic checks rejected all 100 altered quotations, 36 invalid event anchors, and 36 event-order violations.

## What the benchmark cannot establish

- **Private reasoning**: Without native CoT, the observable track cannot verify reasoning beyond what the execution record supports.
- **Human reference**: Three annotators' initial overall-quality weighted kappa was 0.439-0.525; an author adjudicated disagreements.
- **Reproducibility**: Stolen Thoughts was not reproduced on the tested current-model routes after provider mitigations blocked access.

Best used when: Use TraceWitness to audit a reconstructed CoT against a logged execution, especially when native reasoning is unavailable.

## Key takeaways

- A semantically similar CoT can still omit the target run's reasoning steps and tool evidence.
- Bind every reconstruction to one execution; score alignment, required facts, and critical errors separately.
- How well will these checks transfer to new tools, models, and execution logs?

## Links

- arXiv: https://arxiv.org/abs/2612.05074
- PDF: https://arxiv.org/pdf/2612.05074
- Code: https://github.com/C1ove-ai/tracewitness-evaluator

## Citation

```bibtex
@article{wang2026tracewitness,
  title   = {TraceWitness: Evidence-Grounded Evaluation of Chain-of-Thought Reconstructions},
  author  = {Wang, Qi and Zheng, Han and Wan, Chengcheng and Zhao, YuYang},
  journal = {arXiv preprint arXiv:2612.05074},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.05074}
}
```
