논문 해설
ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification
ReVISE: 내재적 자기 검증을 통한 테스트 시점 정제 학습
- 연구 문제 대형 언어 모델은 추론 중 생성한 오류를 스스로 검증하고 고치는 능력이 부족하며, 기존 방법은 강화학습이나 큰 외부 검증기에 의존하는 경우가 많습니다.
- 연구 방법 ReVISE는 같은 모델이 [eos] 또는 [refine] 토큰으로 초기 추론을 검증하고, 두 단계 선호 학습으로 검증과 교정을 학습한 뒤 [eos] 확률을 가중치로 쓰는 추론 시 집계를 수행합니다.
- 주요 결과 원문 보고에서 Llama-3.2-1B의 GSM8K Maj@1은 ReVISE 28.1%로 RFT 26.2%보다 높고, Llama-3.1-8B의 MATH-500 Maj@1은 33.6%입니다. 이 결과는 해당 모델과 데이터셋 설정에서 얻은 것입니다.
문제 설정: 스스로 검증하고 고치는 LLM
대형 언어 모델은 추론 과정에서 앞 단계의 오류가 뒤로 누적되기 쉽고, 생성한 추론을 스스로 점검하고 고치는 능력이 충분하지 않다고 원문은 지적합니다. 기존 접근은 대규모 강화학습이나 큰 외부 검증기에 의존하는 경우가 많으며, 외부 모델은 계산 비용을 늘리고 강화학습은 학습이 불안정할 수 있습니다.
이 논문은 외부 검증기 없이 모델이 자신의 추론이 맞는지 판단하고, 필요하면 추론을 다시 다듬는 방법인 ReVISE를 제안합니다. 핵심 질문은 LLM이 내부 메커니즘으로 자신의 추론을 명시적으로 검증하고, 그 검증 결과에 따라 오류를 고칠 수 있는가입니다.
ReVISE의 [refine] 토큰과 검증 흐름
ReVISE는 입력 x에 대해 초기 응답 y_init을 생성한 뒤, 모델이 같은 맥락에서 검증 토큰 v를 예측하도록 합니다. v는 [eos] 또는 [refine] 중 하나이며, [eos]를 고르면 생성을 종료하고 [refine]을 고르면 y_init과 x를 조건으로 수정된 응답 y_refined를 생성합니다.

Figure 1 . Overview of ReVISE. Left: ReVISE is a self-verifying and self-correcting reasoning framework. It first generates an initial answer, verifies its correctness, and decides whether to stop or refine. If the model generates the [refine] token, it refines the initial reasoning. Right: The structured curriculum-based training pipeline of ReVISE. In the first stage, the model learns self-verification by selecting between [eos] and [refine]. In the second stage, it learns to correct reasoning mistakes using golden data.
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.이 구조에서는 검증 결정이 별도의 검증기 출력이 아니라 같은 모델의 다음 토큰 확률로 드러납니다. 그래서 모델이 얼마나 확신하며 종료하는지를 확률로 읽을 수 있고, 이 확률이 뒤의 추론 시 집계에 쓰입니다.

Table 11 . An example where ReVISE chooses not to refine on a GSM8K question
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.두 단계 커리큘럼과 선호 학습
1단계에서 모델은 자기 검증을 학습합니다. 초기 모델 M0에서 여러 응답을 샘플링하고 정답 기준으로 맞은 응답과 틀린 응답을 나눕니다. 맞은 응답 뒤에는 [eos]가 [refine]보다 선호되도록, 틀린 응답 뒤에는 [refine]이 [eos]보다 선호되도록 선호 쌍을 구성합니다. 이 단계의 목적함수는 SFT 손실과 DPO 기반 선호 손실 LPref를 λ로 결합한 Lverify입니다.
2단계에서는 1단계 모델 M1을 이어받아 자기 교정을 학습합니다. 틀린 초기 응답 뒤에 정답 y를 이어 붙여 [refine] 뒤의 정답 응답을 선호하도록 하며, 맞은 응답에 대해서는 1단계와 같이 [eos]를 선호하도록 합니다. 목적함수는 Lcorrect입니다. 이처럼 검증과 교정을 나누어 학습하는 것이 ReVISE의 핵심 커리큘럼입니다.

Table 9 . An example of ReVISE’s refinement on a GSM8K question
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.
Table 10 . An example of ReVISE’s refinement on a MATH question
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.[eos] 확률로 가중하는 추론 시 집계
추론 시에는 학습된 모델에서 N개의 후보 답 y_i를 샘플링합니다. 각 후보에 대해 그 뒤의 [eos] 확률 c_i를 구하고, 같은 답을 가진 후보들의 c_i를 더해 가장 큰 합을 가진 답을 최종 답으로 고릅니다. 이는 빈도만 세는 다수결과 달리 모델이 자신의 검증 신뢰도를 가중치로 쓰는 방식입니다.

Figure 2 . Test-time scaling comparison between ReVISE (Ours) and baselines, including SFT, RFT, STAR+, and majority voting for ReVISE (Ours (Simple Maj.)) at sampling sizes N ∈ {1, 2, 3, 4, 8}. (a) Results for Llama-3.2-1B on the GSM8K dataset. (b) Results for Llama-3.2-8B on the MATH dataset. ReVISE consistently outperforms baselines across all sample sizes and datasets.
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Table 8 . Test-time scaling results (Maj@K) on GSM8K with Llama-3.2-1B. We evaluate accuracy (%) as the number of sampled generations K increases from 2 to 64. We compared ReVISE and other baselines (i.e., SFT, RFT, and STaR+).
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.원문의 절제 실험은 이 가중 집계를 M(Answer) 가능도 기반 점수와 비교합니다. 이 비교는 같은 Llama-3.2-1B 설정의 GSM8K 결과로 제시되어, 이 집계가 우수하다는 판단은 해당 설정 안에서 읽어야 합니다.
수학 추론과 코드 생성 결과
Table 1에서 Llama-3.2-1B의 GSM8K Maj@1 정확도는 ReVISE 28.1%이고 RFT는 26.2%입니다. Llama-3.1-8B의 MATH-500에서는 ReVISE의 Maj@1이 33.6%로, SFT 30.4%와 few-shot CoT 23.4%보다 높습니다. 이 수치들은 비지시 튜닝 Llama-3 계열을 해당 데이터셋에서 학습한 조건의 결과입니다.

Table 1 . Accuracy (%) for ReVISE (Ours) and other baselines, including Few-shot CoT, SFT, RFT,STAR+ trained models. We consider two math reasoning benchmarks, GSM8K (Cobbe et al., 2021) and MATH-500 (Lightman et al., 2023). MATH-500 is a subset of the original MATH benchmark (Hendrycks et al., 2021). Maj@K indicates that majority voting for K samples, exceptionally ReVISE used its own verification confidence-aware majority voting. The bold indicated the best result within the group.
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.MBPP에서 Llama-3.2-1B 기반 ReVISE는 Pass@1 33.1%로, SFT 30.0%, STaR+ 30.7%보다 높게 보고됩니다. 다만 이 결과도 해당 기준선과 Llama-3.2-1B 설정에서 얻은 것입니다.

Table 2 . Results on the MBPP (Austin et al., 2021) benchmark for ReVISE and baselines trained on Llama-3.2-1B.
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.커리큘럼과 DPO 손실의 절제 결과
GSM8K에서 Llama-3.1-1B 설정으로 커리큘럼 학습을 비교하면, 커리큘럼 없이 학습한 모델의 정확도는 22.6%이고 두 단계 커리큘럼 ReVISE는 28.1%입니다. 자기 검증 AUROC는 커리큘럼 없는 모델에서 71%, 두 단계 커리큘럼에서 76%입니다. 2단계 학습은 검증 정확도를 약간 낮추며, 원문은 이를 self-correction 과제의 어려움과 catastrophic forgetting 가능성으로 해석합니다.
DPO 손실을 제거하고 SFT 손실만 쓴 변형은 GSM8K에서 전체 ReVISE보다 정확도가 10.3% 낮게 보고됩니다. 이 결과는 DPO 손실을 유지하는 효용을 보여주며, 모든 구성 요소가 항상 유익하다는 결론으로 확대되지 않습니다.
적용 범위와 남은 질문
Llama-3.2-1B-Instruct처럼 지시 튜닝된 모델에서 Table 3은 ReVISE를 제외한 fine-tuning 방법이 zero-shot CoT보다 낮은 GSM8K 정확도를 보인다고 보고합니다. 이 결과는 GSM8K 학습 설정에 한정되며, 원문은 지시 튜닝 모델을 기본 실험에서 피한 이유로 gold data 노출에 따른 편향을 듭니다.

Table 3 . Results on the GSM8K benchmark for ReVISE and base- lines trained on Llama-3.2-1B Instruct. Except for ReVISE, all methods underperform compared to the zero-shot CoT baselines.
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.AUROC 개선과 최종 정확도 개선은 같은 실험 조건에서 보고되지만, 이 논문이 모든 데이터셋과 모델 규모에서 같은 크기의 이득을 보였다고 말할 수는 없습니다. DPO 비교 부록에서도 Table 5의 GSM8K ReVISE 값 28.1과 본문의 22.7%가 함께 보고되어 값 표기를 구분해 읽어야 합니다.

Table 5 . Comparison between DPO and ReVISE. We report accuracy (%) on GSM8K and MATH-500. The models are trained on Llama-3.2-1B. The bold indicates the best result within the group.
원문 · CC BY 4.0 · Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack · ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.논문 정보
- 저자
- Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2025년 2월 20일
- 등록일
- 2026년 10월 31일
- 수정일
- 2025년 7월 15일
- 버전
- v2
- arXiv
- 2502.14565
- 분류
- cs.LG · cs.CL
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Self-awareness, i.e., the ability to assess and correct one's own generation, is a fundamental aspect of human intelligence, making its replication in large language models (LLMs) an important yet challenging task. Previous works tackle this by employing extensive reinforcement learning or rather relying on large external verifiers. In this work, we propose Refine via Intrinsic Self-Verification (ReVISE), an efficient and effective framework that enables LLMs to self-correct their outputs through self-verification. The core idea of ReVISE is to enable LLMs to verify their reasoning processes and continually rethink reasoning trajectories based on its verification. We introduce a structured curriculum based upon online preference learning to implement this efficiently. Specifically, as ReVISE involves two challenging tasks (i.e., self-verification and reasoning correction), we tackle each task sequentially using curriculum learning, collecting both failed and successful reasoning paths to construct preference pairs for efficient training. During inference, our approach enjoys natural test-time scaling by integrating self-verification and correction capabilities, further enhanced by our proposed confidence-aware decoding mechanism. Our experiments on various reasoning tasks demonstrate that ReVISE achieves efficient self-correction and significantly improves reasoning performance.
원문 인용
Hyunseok Lee, Seunghyuk Oh, Jaehyung Kim, Jinwoo Shin, Jihoon Tack (2025). ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification. arXiv:2502.14565v2. https://arxiv.org/abs/2502.14565v2
BibTeX
@misc{lee2025revise,
title = {{ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification}},
author = {Hyunseok Lee and Seunghyuk Oh and Jaehyung Kim and Jinwoo Shin and Jihoon Tack},
year = {2025},
eprint = {2502.14565},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2502.14565v2}
}