Reasoning Denoiser: Denoising Reasoning Traces for Hallucination Detection in Large Reasoning Models

Junlin Fang, Do Nguyen-Thanh, Xiaogang Xu, Zhen Fang, Sean Du

arXiv:2607.22098 · 2026-07-28 공개 · arXiv · PDF

llm-evaluation benchmark-evaluation retrieval-augmented hallucination-detection reasoning-traces large-reasoning-models noise-removal embedding-based-filtering

Abstract

Large reasoning models (LRMs) generate long reasoning traces before producing final answers. While these traces may contain useful signals for hallucination detection, harnessing them is non-trivial because long trajectories often include noisy steps that obscure the cues relevant to truthfulness assessment. In this paper, we identify two prevalent forms of reasoning noises, i.e., irrelevant steps and repetitive steps, and show that both substantially degrade hallucination detection performance. Existing confidence-based scores and naive embedding-based filtering fail to reliably separate noisy from informative steps. To address this challenge, we propose REDE, a novel learning framework for denoising reasoning traces for hallucination detection. Specifically, REDE leverages final-answer attention as an automatic supervision signal to shape the step-level representation space, yielding refined embeddings in which noisy steps can be reliably identified and filtered. REDE can be readily plugged into diverse hallucination detectors by operating on the filtered reasoning trajectory after removing noisy steps. Extensive experiments on multiple reasoning benchmarks show that REDE consistently improves detection performance over competitive baselines.

한국어 요약

한 줄 요약

ReDe는 대규모 추론 모델의 추론 트레이스에서 노이즈 단계를 제거하여 환상 생성 감지 성능을 18.69% 향상시키는 학습 프레임워크이다.

핵심 기여도

핵심 아이디어

대규모 추론 모델(LRMs)은 최종 답변을 생성하기 전에 긴 추론 트레이스를 생성하지만, 이 트레이스는 무관하거나 반복적인 단계로 인해 환상 감지에 방해가 된다. ReDe는 이러한 노이즈 단계를 효과적으로 제거하기 위해, 최종 답변 토큰과 각 추론 단계 간의 어텐션 점수를 자동 감독 신호로 사용한다. 이는 인공적인 라벨 없이도 각 단계가 최종 답변에 기여하는 정도를 측정할 수 있다. 무관 단계는 어텐션이 낮고, 반복 단계는 정보가 이미 포함되어 있어 어텐션이 낮은 경향이 있다. ReDe는 이 정보를 기반으로 단계 임베딩 공간을 재구성하여 노이즈 단계를 격리하고, k-NN과 같은 간단한 거리 기반 필터링으로 제거한다. 이는 기존 방법들보다 더 신뢰성 있게 노이즈를 제거할 수 있게 한다.

기술적 접근법

주요 결과

의의 및 한계

ReDe는 대규모 추론 모델의 추론 트레이스에서 노이즈 단계를 효과적으로 제거함으로써, 환상 생성 감지의 신뢰성을 크게 향상시킨다. 특히, 인공 라벨 없이도 최종 답변 어텐션을 활용한 자동 감독 학습은 기존 연구에서 다루어지지 않았던 중요한 기여이다. 또한, ReDe는 다양한 감지기(예: CCS, Perplexity, Verbalized Certainty)에 쉽게 통합 가능하며, 다양한 추론 태스크에서 일관된 성능 향상을 보인다. 그러나 ReDe는 모델 내부 어텐션 정보에 의존하므로, 어텐션 계산이 불가능한 모델에는 적용이 어려울 수 있다. 또한, 추론 트레이스의 길이가 길어질수록 필터링 효과가 줄어들 수 있다는 한계도 존재한다.

실용적 활용

ReDe는 대규모 추론 모델이 사용되는 AI 기반 질문 응답 시스템, 코드 생성 도구, 수학 문제 풀이 엔진 등에서 환상 생성 감지를 강화하는 데 활용할 수 있다. 특히, 모델의 신뢰도를 높이면서도 추가 라벨링 없이도 적용 가능한 점에서, 산업 현장에서 실용성이 높은 기술로 활용될 수 있다.