프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback

테스트 시점 선호 최적화: 반복적 텍스트 피드백을 통한 즉석 정렬

  • 연구 문제 대규모 언어 모델을 사람의 선호에 맞추려면 보통 학습 시점에 파라미터를 갱신해야 하므로, 새로운 요구에 빠르게 적응하기 어렵습니다.
  • 연구 방법 TPO는 모델 파라미터를 고정한 채, 보상 모델의 점수가 높은 응답과 낮은 응답을 비교해 텍스트 비평을 만들고 이를 바탕으로 응답을 반복 개선합니다.
  • 주요 결과 원문은 정렬되지 않은 Llama-3.1-70B-SFT가 두 번의 TPO 반복 post-training 시점 정렬 모델과 비슷하거나 더 나은 보상 점수를 보인다고 보고합니다.

학습 시점 정렬의 한계와 질문

대규모 언어 모델은 방대한 비라벨 텍스트로 학습되기 때문에, 정렬되지 않으면 예상과 다르거나 안전하지 않은 응답을 낼 수 있습니다. 기존의 RLHF와 DPO는 모델 파라미터를 그래디언트 기반으로 갱신하여 선호를 반영하므로, 새로운 요구나 변화하는 데이터 분포에 빠르게 적응하기 어렵습니다. 이 논문은 두 질문을 다룹니다. 첫째, 추론 시점에 정렬하면서도 학습 시점 방법과 비슷한 성능을 낼 수 있는지입니다. 둘째, 수치 점수 대신 해석 가능한 텍스트 피드백으로 선호 최적화를 할 수 있는지입니다.

Figure 1: Training-time preference optimization (e.g., RLHF and
DPO) compared with test-time preference optimization (TPO),
where the model aligns with human p…

Figure 1 . Training-time preference optimization (e.g., RLHF and DPO) compared with test-time preference optimization (TPO), where the model aligns with human preferences during test-time with the model parameters fixed.

원문 · CC BY 4.0 · Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng · Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

TPO의 텍스트 기울기 반복 절차

TPO는 모델 파라미터 θ를 고정하고, 응답 v를 텍스트 변수로 취급하여 반복적으로 갱신합니다. 먼저 사용자 질의 x에 대해 N개의 후보 응답을 샘플링하고 보상 모델 R로 점수화하여 캐시에 저장합니다. 다음 반복에서는 캐시의 최고 점수 응답 v와 최저 점수 응답 v̂를 선택하고, 프롬프트 P_loss로 두 응답을 비교하는 텍스트 손실 L(x, v)을 계산합니다. 이어서 P_grad로 텍스트 기울기를 만들고, P_update로 새 후보들을 생성합니다. 새 후보는 다시 보상 모델로 평가되어 캐시에 추가되며, 최대 D회 반복한 뒤 캐시에서 가장 높은 점수의 응답을 최종 출력으로 선택합니다.

Figure 2: Framework of test-time preference optimization (TPO), shown here on a real example from AlpacaEval 2. Concretely, the model
samples responses and sco…

Figure 2 . Framework of test-time preference optimization (TPO), shown here on a real example from AlpacaEval 2. Concretely, the model samples responses and scores them with a reward model (Left), interprets reward model feedback of chosen response v3 and rejected response v1 (Middle), and provides critiques, generates improvement suggestions (Right), and then updates new responses for the next iteration. In analogy to traditional gradient-based methods, TPO performs gradient descent (loss calculation, gradient computation and variable optimization) in textual form to tailor model outputs based on numerical feedback from the reward model.

원문 · CC BY 4.0 · Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng · Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

벤치마크에서 나타난 주요 비교 결과

정렬되지 않은 Llama-3.1-70B-SFT에 TPO를 적용하면, 기본 설정인 최대 반복 D=2, 샘플 수 N=5에서 보상 점수가 학습 시점 정렬 기준 모델과 비슷하거나 그 이상이 됩니다. 보상 모델을 Llama-3.1-Tulu-3-8B-RM으로 바꾼 TPO 설정은 AlpacaEval 2의 LC를 제외한 지표에서 Llama-3.1-70B-Instruct를 능가한다고 원문에 보고됩니다. 정렬 모델인 Mistral-Small-Instruct-2409에서는 AlpacaEval 2의 LC가 45.7에서 53.4로 높아진다고 보고됩니다. 이 결과들은 저자가 보고한 특정 모델, 보상 모델, 벤치마크 조건에서 얻은 값입니다.

Figure 3: Test-time training curve for the (unaligned) SFT model and (aligned) instruct models. The colored lines represent the test-time
training performance…

Figure 3 . Test-time training curve for the (unaligned) SFT model and (aligned) instruct models. The colored lines represent the test-time training performance (reward model score) w.r.t. training steps (i.e., number of TPO iterations), while the dashed horizontal lines indicate scores for models without test-time training.

원문 · CC BY 4.0 · Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng · Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Table 1: Benchmark performance of the unaligned model (Llama-3.1-70B-SFT) with TPO, compared against training-time aligned
baselines (Llama-3.1-70B-DPO and Lla…

Table 1 . Benchmark performance of the unaligned model (Llama-3.1-70B-SFT) with TPO, compared against training-time aligned baselines (Llama-3.1-70B-DPO and Llama-3.1-70B-Instruct). The bold and underlined numbers indicate the best and second-best performances, respectively. By default, the maximum number of iterations D is set to 2, and the number of samples N is set to 5. To showcase the potential of TPO, we present an ultra setting, in which the number of iterations is increased to 5 and the number of samples to 20. ⋆ denotes the models optimized with TPO using the reward model FsfairX-LLaMA3-RM-v0.1, while † denotes Llama-3.1-Tulu-3-8B-RM.

원문 · CC BY 4.0 · Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng · Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Table 2: Benchmark performance of the aligned models (Llama-3.1-70B-Instruct and Mistral-Small-Instruct-2409) with TPO. The bold
numbers indicate the best perf…

Table 2 . Benchmark performance of the aligned models (Llama-3.1-70B-Instruct and Mistral-Small-Instruct-2409) with TPO. The bold numbers indicate the best performance. The maximum number of iterations D is set to 2, and the number of samples N is set to 5. The reward model used for TPO is FsfairX-LLaMA3-RM-v0.1.

원문 · CC BY 4.0 · Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng · Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Figure 8: Test-time training curves of the Llama-3.1-70B-SFT using FsfairX-LLaMA3-RM-v0.1

Figure 8 . Test-time training curves of the Llama-3.1-70B-SFT using FsfairX-LLaMA3-RM-v0.1.

원문 · CC BY 4.0 · Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng · Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.
Figure 9: Test-time training curves of the Llama-3.1-70B-SFT using Llama-3.1-Tulu-3-8B-RM

Figure 9 . Test-time training curves of the Llama-3.1-70B-SFT using Llama-3.1-Tulu-3-8B-RM.

원문 · CC BY 4.0 · Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng · Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.
Figure 10: Test-time training curves of the aligned models: Llama-3.1-70B-Instruct and Mistral-Small-Instruct-2409 (Reward model:
FsfairX-LLaMA3-RM-v0.1)

Figure 10 . Test-time training curves of the aligned models: Llama-3.1-70B-Instruct and Mistral-Small-Instruct-2409 (Reward model: FsfairX-LLaMA3-RM-v0.1).

원문 · CC BY 4.0 · Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng · Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

적용 범위와 한계

Llama-3.1-8B-Instruct에 대한 실험에서는 TPO를 반복할수록 보상 모델 점수가 감소합니다. 원문은 이를 지시 따르기 능력이 충분하지 않으면 TPO가 제대로 작동하지 않을 수 있음을 보여준다고 서술합니다. 또한 원문은 이 모델들이 TPO를 위해 명시적으로 학습되지 않았다고 밝히며, 더 작은 모델을 세밀하게 미세조정하면 개선될 수 있는지는 향후 과제로 남겨 둡니다. 추론 비용 측면에서도 TPO는 학습 시점 정렬보다 적은 계산으로 설명되지만, 이는 저자가 계산한 조건에서의 비교입니다.

Figure 7: Test-time training curve of Llama-3.1-8B-Instruct (red
line) on the HH-RLHF dataset

Figure 7 . Test-time training curve of Llama-3.1-8B-Instruct (red line) on the HH-RLHF dataset.

원문 · CC BY 4.0 · Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng · Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng
학회·저널
arXiv · 프리프린트
최초 공개일
2025년 1월 22일
등록일
2026년 11월 5일
수정일
2025년 1월 22일
버전
v1
arXiv
2501.12895
분류
cs.CL
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

Large language models (LLMs) demonstrate impressive performance but lack the flexibility to adapt to human preferences quickly without retraining. In this work, we introduce Test-time Preference Optimization (TPO), a framework that aligns LLM outputs with human preferences during inference, removing the need to update model parameters. Rather than relying on purely numerical rewards, TPO translates reward signals into textual critiques and uses them as textual rewards to iteratively refine its response. Evaluations on benchmarks covering instruction following, preference alignment, safety, and mathematics reveal that TPO progressively improves alignment with human preferences. Notably, after only a few TPO steps, the initially unaligned Llama-3.1-70B-SFT model can surpass the aligned counterpart, Llama-3.1-70B-Instruct. Furthermore, TPO scales efficiently with both the search width and depth during inference. Through case studies, we illustrate how TPO exploits the innate capacity of LLM to interpret and act upon reward signals. Our findings establish TPO as a practical, lightweight alternative for test-time preference optimization, achieving alignment on the fly. Our code is publicly available at https://github.com/yafuly/TPO.

원문 인용

Yafu Li, Xuyang Hu, Xiaoye Qu, Linjie Li, Yu Cheng (2025). Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback. arXiv:2501.12895v1. https://arxiv.org/abs/2501.12895v1

BibTeX
@misc{li2025test,
  title = {{Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback}},
  author = {Yafu Li and Xuyang Hu and Xiaoye Qu and Linjie Li and Yu Cheng},
  year = {2025},
  eprint = {2501.12895},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.12895v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입