# Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling

접두사 샘플링을 활용한 지도 fine-tuning과 강화 fine-tuning의 결합

Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti 외 1명 · arXiv · 2025년 7월 2일

- **연구 문제** SFT의 모방 학습과 RFT의 목표 지향 최적화를 하나의 학습 틀로 결합하는 문제를 다룹니다.
- **연구 방법** 시연 데이터의 prefix를 잘라 정책이 이어지는 continuation을 생성하게 하고, 혼합 궤적을 RFT 업데이트에 넣으며, 엔트로피 기반 클리핑과 코사인 감쇠 스케줄러로 시연 그래디언트를 제한합니다.
- **주요 결과** Qwen2.5-Math-7B에서 Prefix-RFT는 수학 6개 벤치마크 평균 51.8로 RFT 45.5와 LUFFY 50.1보다 높았고, n=2048 pass@k에서도 RFT와 SFT보다 높았습니다. 다만 AIME 2024와 AIME 2025의 Pass@2048 개선 폭은 표 값상 서로 다릅니다.

## SFT와 RFT를 따로 쓸 때의 한계

대규모 언어 모델의 post-training은 주로 지도 fine-tuning(SFT)과 강화 fine-tuning(RFT)으로 나뉩니다. SFT는 큐레이션된 시연 데이터를 이어서 학습하여 전문가 분포를 모방하므로 적응이 쉽지만, 저자들은 이를 behavioral cloning의 한 형태로 보고 일반화와 강건성에 문제가 있을 수 있다고 설명합니다. RFT는 현재 정책이 생성한 롤아웃에 보상을 주어 목표 지향적으로 최적화하지만, 보상 신호가 희소하고 학습된 행동이 예기치 않게 바뀔 수 있으며 초기 정책의 강도에 크게 의존합니다.

저자들은 두 방법이 서로 보완적이라고 봅니다. SFT는 모델이 스스로 발견하기 어려운 지식을 밀도 높은 감독으로 주입하는 역할을 하고, RFT는 목표 지향적 문제 해결 목적을 제공합니다. 그러나 이 둘은 보통 SFT 다음에 RFT를 수행하는 두 단계 파이프라인으로 적용됩니다. 이 논문은 두 목적을 하나의 학습 틀 안에서 결합할 수 있는지를 핵심 질문으로 삼습니다. 이를 위해 저자들은 Prefix-RFT를 제안하며, 이는 오프라인 시연 데이터를 RFT 학습에 포함하는 하이브리드 post-training 방법입니다.

## Prefix-RFT의 롤아웃 구성

Prefix-RFT는 프롬프트 x와 시연 y\*가 주어졌을 때 표준 RFT와 같은 롤아웃 예산을 유지합니다. N개 응답 중 N-1개는 현재 정책 πθold로 생성한 온라인 롤아웃입니다. 나머지 하나는 시연 y\*를 길이 L의 prefix로 잘라낸 뒤, 정책이 그 뒤의 continuation을 생성하게 하고, 두 부분을 이어 하나의 혼합 궤적으로 만듭니다. 즉 표준 온라인 롤아웃 하나가 prefix 기반 혼합 롤아웃으로 대체되며, 추가 궤적을 더하지는 않습니다.

![Figure 1: Given a problem and a demonstration, a prefix is sampled to guide the online continuation. The concatenated sequence yn is mixed with other online ro…](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-f05a91f280bcf6fb0598d67a4ea05cb2.png?thumb=512)

**Figure 1** .Given a problem and a demonstration, a prefix is sampled to guide the online continuation. The concatenated sequence yn is mixed with other online rollouts to perform RFT-style training.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

prefix 길이는 l을 0과 1 사이의 변수로 두고 L=⌊l·\|y\*\|⌋로 정합니다. 모든 응답의 advantage는 각 궤적 전체를 기준으로 추정되며, 혼합 궤적의 advantage가 prefix 토큰에도 그대로 적용됩니다. 그래서 prefix 토큰은 시연에서 온 토큰이지만 그 가치는 혼합 궤적 전체의 결과로 평가됩니다. 저자들은 이 구조를 SFT 항과 온라인 탐색 항이 함께 있는 그래디언트로 해석하며, 가중치는 PPO 스타일 비율과 클리핑으로 계산합니다.

이 설계의 의도는 시연 전체를 모방하게 하지 않고 시작 부분만 제공하여 정책이 이어지는 경로를 스스로 탐색하게 하는 데 있습니다. 시연 prefix가 좋은 시작점이었다면 advantage가 커지고, 그렇지 않으면 가중치가 줄어듭니다.

## 엔트로피 기반 제약과 토큰 선택

오프라인 시연의 토큰은 현재 정책 아래에서 확률이 낮은 경우가 많습니다. 그러면 시연 토큰에 대한 그래디언트가 온라인 RFT 그래디언트보다 훨씬 커져 학습 과정을 지배할 수 있습니다. 저자들은 부록의 Table 4에서 전체 SFT 궤적의 그래디언트 크기가 RFT보다 자릿수 차이로 크다고 보고합니다. 이 문제를 줄이기 위해 prefix 토큰 가운데 엔트로피가 높은 상위 20%만 남기고, 나머지 토큰의 advantage는 0으로 설정하여 그래디언트 기여를 제거합니다.

![Table 4: Comparison of gradient norms across different training stages. Results show that unclipped off-policy prefixes generate significantly larger gradients…](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-62ca490502ffe88db7b3f99fc3c21512.png?thumb=512)

**Table 4** .Comparison of gradient norms across different training stages. Results show that unclipped off-policy prefixes generate significantly larger gradients than on-policy rollouts.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

저자들은 엔트로피가 정답 토큰을 가려내는 신호라고 주장하지 않습니다. 대신 낮은 엔트로피의 prefix 토큰은 현재 정책과 이미 일치하여 학습 신호가 작거나, 정책이 확신하며 다른 토큰을 선택하고 있어 갱신이 급격한 덮어쓰기가 되기 쉽다고 설명합니다. Table 9에 따르면 가장 낮은 엔트로피 20%의 prefix 토큰은 평균 엔트로피가 0.0035이고 최고 확률 토큰이 시연 토큰과 일치하는 비율이 99.9%입니다. 반면 가장 높은 엔트로피 20%는 평균 엔트로피가 3.1946이고 일치 비율이 29.8%입니다. 다만 이 통계가 어떤 모델과 데이터 조건에서 측정되었는지는 인용된 구절에서 함께 확인되지 않습니다.

![Table 9: Prefix-token statistics for entropy slices. “Top-1 = demo” denotes whether the current model’s most likely token matches the demonstration token](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-0f5c02a51e96d6931c0a8f667016bb84.png?thumb=512)

**Table 9** .Prefix-token statistics for entropy slices. “Top-1 = demo” denotes whether the current model’s most likely token matches the demonstration token.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

Table 10은 유지 비율에 따른 prefix 쪽 그래디언트 기여를 보여 줍니다. 20%만 유지해도 전체 prefix 업데이트의 77.7%가 남으며, 50%에서는 98.0%, 80%에서는 99.9%입니다. 따라서 추가로 유지되는 토큰은 주로 낮은 가치의 off-policy 토큰을 더한다는 것이 저자들의 해석입니다.

![Table 10: Normalized prefix-side gradient contribution under different retained ratios. The full-prefix update is normalized to 100%](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-9ba5505a68b9f3e1a811415fbf3ef86e.png?thumb=512)

**Table 10** .Normalized prefix-side gradient contribution under different retained ratios. The full-prefix update is normalized to 100%.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

## 코사인 감쇠 스케줄러와 prefix 길이

prefix 길이 변수 l을 고정된 구간에서 뽑으면 모델은 시연의 앞부분 토큰을 더 자주 보게 됩니다. 그러나 결론을 내리거나 요약하는 기술은 보통 시퀀스 끝에 위치하므로, 저자들은 이러한 위치 편향을 줄이기 위해 코사인 감쇠 스케줄러를 제안합니다. 구체적으로 l은 U(low, high) 구간에서 뽑으며 high는 상수이고 low는 학습 전체에 걸쳐 0 근처까지 줄어듭니다.

부록의 구체 설정에서는 매 스텝 t마다 l을 \[low\_t, 0.95\]에서 균등하게 뽑고, low\_t는 0.95에서 시작하여 500번째 스텝에 0.05까지 코사인 감쇠합니다. 긴 prefix에서 짧은 prefix로 줄어드는 이 구조는 학습 초기에 더 많은 가이드를 주고 후반에 자율 탐색을 늘리는 커리큘럼으로 작동하며, 저자들은 이를 표준 SFT 후 RFT 절차의 전환을 하나의 학습 루프에 담은 것으로 설명합니다.

## Qwen2.5-Math-7B 주요 비교 결과

주요 실험은 Qwen2.5-Math-7B를 기반 모델로 하고, OpenR1-Math-220K의 길이 필터링된 부분집합을 학습 데이터로 사용합니다. 이 부분집합은 DeepSeek-R1이 생성한 시연을 포함한 약 46k개 문제로 구성됩니다. 비교 대상은 같은 모델과 데이터를 쓰는 RFT, SFT, SFT+RFT, RFT w/ SFT Loss, SFT+RL, 그리고 UFT, ReLIFT, LUFFY 같은 병행 연구입니다. 평가는 AIME 2024, AIME 2025, AMC에서 avg@32를, Minerva, OlympiadBench, MATH-500에서 pass@1을 사용합니다.

![Table 1: Main experiment results on math and general reasoning benchmarks based onQwen2.5-Math-7B](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-d77d74c446d9d463ae58d37350e67f93.png?thumb=512)

**Table 1** .Main experiment results on math and general reasoning benchmarks based onQwen2.5-Math-7B.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

수학 추론 6개 벤치마크의 평균에서 Prefix-RFT는 51.8을 기록했고, 같은 표의 RFT는 45.5, LUFFY는 50.1이었습니다. 일반 추론 과제 ARC-c, GPQA, MMLU-Pro의 평균에서는 Prefix-RFT가 58.4, LUFFY가 57.8, RFT가 57.3입니다. 이 차이는 LUFFY와 비교할 때 작으므로, 저자들은 LUFFY와 비슷한 수준이라고 해석합니다. 별도로 5회 추론 실행의 평균과 표준편차를 보고한 Table 5에서는 Prefix-RFT가 51.52, LUFFY가 49.20으로 나타나며, AIME 2025에서 25.13 대 21.06입니다.

![Table 5: Comparing Prefix-RFT against the strongest concurrent baseline, LUFFY , with multiple inference runs](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-e0be96df1ee4c1ca84f0c6274e721098.png?thumb=512)

**Table 5** .Comparing Prefix-RFT against the strongest concurrent baseline, LUFFY , with multiple inference runs.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

RFT와 SFT는 이 설정에서 비슷한 성능을 보였고, SFT+RFT는 두 방법보다 뚜렷이 높았습니다. SFT는 더 어려운 AIME25에서, RFT는 AMC와 MATH-500처럼 기반 모델이 이미 중간 정도 성능을 가진 데이터에서 더 큰 이득을 보였습니다. 조합 방식인 RL w/ SFT Loss는 기준보다 낮았으며, 이는 두 손실을 직접 섞을 때 그래디언트가 한쪽으로 치우치는 문제를 보여 준다고 저자들은 해석합니다.

## 다른 모델과 시연 데이터 조건

저자들은 Qwen2.5-Math-1.5B, LLaMA-3.1-8B, Qwen3-1.7B-Base에서도 실험합니다. Table 6에서 Qwen2.5-Math-1.5B의 평균은 Prefix-RFT 41.1, LUFFY 38.0, ReLIFT 34.4, RFT 30.0, SFT 31.9입니다. LLaMA-3.1-8B-Base에서는 Prefix-RFT 14.5가 LUFFY 13.2보다 높고, Qwen3-1.7B-Base에서는 Prefix-RFT 32.8이 RFT 30.3보다 높습니다.

![Table 6: Performance on Qwen2.5-Math-1.5B, LLaMA-3.1-8B and Qwen3-1.7B-base models](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-8897afb92c499d3934346bbbf502a1bc.png?thumb=512)

**Table 6** .Performance on Qwen2.5-Math-1.5B, LLaMA-3.1-8B and Qwen3-1.7B-base models.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

시연 데이터 양과 생성 모델을 바꾼 실험은 Qwen2.5-Math-1.5B에서 수행되었습니다. 본문은 시연 데이터를 45k에서 0.45k로 줄이면 평균이 40.8에서 37.6으로 낮아진다고 쓰지만, Table 2의 행 표기는 4.5k와 0.45k로 되어 있습니다. 따라서 데이터 축소 비율을 읽을 때 이 표기 차이를 함께 확인해야 합니다. 생성 모델을 DeepSeek-R1-Distill 32B, 7B, 1.5B로 바꾼 경우 평균은 40.6, 40.7, 39.8로 거의 비슷합니다. 다만 AIME처럼 가장 어려운 벤치마크는 데이터 제약의 영향을 더 많이 받는다고 저자들은 보고합니다.

![Table 2: Ablation study for Prefix-RFT on the Qwen2.5-Math-1.5B model. Results show that Prefix-RFT substantially outperforms SFT and RFT baselines while demon…](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-d8b010a9dbd0f6d7ffd7e343075f489e.png?thumb=512)

**Table 2** .Ablation study for Prefix-RFT on the Qwen2.5-Math-1.5B model. Results show that Prefix-RFT substantially outperforms SFT and RFT baselines while demonstrating strong data efficiency and remarkable robustness to the quality of demonstration generators.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 큰 샘플링 예산에서의 pass@k

저자들은 Prefix-RFT가 모델의 정답 가능성 상한을 넓히는지 보기 위해 n=2048의 큰 샘플링 예산에서 pass@k를 측정합니다. 이 실험은 Base 모델, SFT, RFT, LUFFY, Prefix-RFT를 AIME 2024와 AIME 2025에서 비교합니다. RFT는 k=2048에서 기반 모델과 가깝고, SFT는 큰 예산에서 성능이 떨어집니다. LUFFY는 RFT를 크게 넘지 못하지만, Prefix-RFT는 전 구간에서 다른 방법보다 높습니다.

![Figure 2: Pass@k results on AIME2024 and AIME2025 datasets](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-898dc9eb18a14c73543b7fd4986def94.png?thumb=512)

**Figure 2** .Pass@k results on AIME2024 and AIME2025 datasets.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

본문은 Prefix-RFT가 AIME24와 AIME25 모두에서 Pass@2048을 기반 모델 대비 6.67 percentage point 개선한다고 씁니다. 그러나 Table 7의 값을 함께 보면 AIME 2025는 기반 모델 70.00에서 76.67로 6.67 포인트 개선되지만, AIME 2024는 기반 모델 86.67에서 Prefix-RFT 96.67로 10.00 포인트 차이입니다. 두 벤치마크의 차이를 같은 값으로 읽으면 안 되며, AIME 2024의 차이는 표 값을 기준으로 해석해야 합니다.

![Table 7: Pass@kperformance on AIME 2024 and AIME 2025 with a sampling budget ofn= 2048](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-8faf5c04de9965a23e5d3bf36f396097.png?thumb=512)

**Table 7** .Pass@kperformance on AIME 2024 and AIME 2025 with a sampling budget ofn= 2048.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

## SFT와 RFT의 학습 궤적 분석

이 분석은 주로 Qwen2.5-Math-1.5B에서 수행되었으며, 16k 부분집합에서 뽑은 Train2k와 RFT가 풀지 못한 256개 문제 Trainhard를 사용합니다. 학습 중 세 지표를 기록합니다. Avg@16은 16개 샘플의 평균으로 과제 성능을 추정하고, best@16은 16개 중 하나라도 정답인 경우를 세어 문제 해결 잠재력을 보며, 시연에 대한 SFT 손실은 정책과 오프라인 전문가 분포의 차이를 나타냅니다.

SFT는 시연 손실을 줄이면서 Train2k에서 best@16을 0.96까지 높이지만 avg@16은 0.52에 머뭅니다. RFT는 avg@16이 0.61로 더 높지만, Trainhard에서 best@16이 0.14에 머물러 초기 정책의 한계를 벗어나지 못합니다. RFT 학습 중 시연 손실은 0.67에서 0.81로 올라가며, 이는 시연 손실이 작업 성능의 좋은 지표가 아닐 수 있음을 보여 준다고 저자들은 해석합니다. Prefix-RFT는 Trainhard에서 best@16이 0.60으로 나타나 RFT보다 높습니다. 다만 최종 시연 손실은 Prefix-RFT 0.45, SFT 0.35이고, 저자들은 이 차이가 방법 자체보다 학습률 같은 하이퍼파라미터 때문이라고 해석합니다.

실제로 SFT 학습률 5e-5와 RFT·Prefix-RFT 학습률 1e-6이 사용되었으며, SFT를 1e-6으로 낮추면 최종 손실이 약 0.42가 되고, RFT에 5e-5를 적용하면 학습이 불안정해진다는 예비 실험이 보고됩니다.

## 절제 실험과 설계 선택

절제 실험은 Qwen2.5-Math-7B에서 수행되었습니다. Table 8의 평균은 Prefix-RFT 51.8, 정적 가중치(0.001 상수)를 쓰는 Static Weight 43.8, prefix 그래디언트를 모두 클리핑하는 Freeze Prefix 45.4, 클리핑 없이 모든 prefix 토큰을 갱신하는 Update All 45.7입니다. RFT에 온폴리시 엔트로피 클리핑만 적용한 RFT + On-policy Clip은 43.8이며, 여러 롤아웃을 같은 prefix에서 시작하는 DR-PO 변형은 33.8입니다. 이 결과는 prefix를 명시적으로 학습하는 것, 동적 advantage 가중치, 엔트로피 클리핑이 함께 작동한다는 저자들의 설명을 뒷받침합니다.

![Table 8: Comprehensive ablation results on Qwen2.5-Math-7B. Prefix-RFT outperforms all variants, justifying the synergy of prefix guidance, dynamic advantage w…](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-968fa00cfc3ddae6b4f58f5eec1c8017.png?thumb=512)

**Table 8** .Comprehensive ablation results on Qwen2.5-Math-7B. Prefix-RFT outperforms all variants, justifying the synergy of prefix guidance, dynamic advantage weighting, and entropy-based clipping.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

엔트로피 선택의 비교에서는 상위 20%를 기본으로 두고 상위 50%, 상위 80%, 무작위 20%, 하위 20%를 비교합니다. 상위 80%는 시연의 응답 길이 같은 표면 특징에 과적합되는 것으로 보고되고, 무작위 선택은 과적합을 지연시킬 뿐이며, 하위 20%는 학습 보상과 벤치마크 모두에서 가장 나쁩니다. 코사인 감쇠와 균일 스케줄을 비교한 Figure 6b에서는 균일 스케줄의 성능이 떨어지며, prefix 시작 보상과 전체 보상 사이의 차이도 다르게 나타납니다.

## 적용 범위와 남은 질문

저자들이 밝힌 주된 범위는 검증 가능한 결과 보상을 얻을 수 있는 추론 설정입니다. 개방형 생성과 잡음이 있는 보상에서의 성능은 아직 다루지 않았습니다. 코드 생성 실험은 Qwen3-1.7B-Base와 GPT-5.4로 만든 시연을 사용한 예비 실험이며, MBPP+에서 Prefix-RFT 0.640, RFT 0.613, HumanEval+에서 0.689 대 0.649, Coder1 test에서 0.429 대 0.404입니다. 이 결과는 방법이 수학에만 묶이지 않을 가능성을 보여 주지만, 코드 영역 전체의 일반성을 증명하지는 않습니다.

![Table 3: Code-generation results with Qwen3-1.7B-Base](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4/figures/figure-04b874423bbc37852fefb249056a8775.png?thumb=512)

**Table 3** .Code-generation results with Qwen3-1.7B-Base.

[원문](https://arxiv.org/abs/2507.01679v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov · Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

Prefix-RFT는 외부 시연 데이터에 의존합니다. 프롬프트마다 여러 후보 시연이 있을 때 시연을 선택하고 trajectory-level advantage로 가중하는 전략은 제안되어 있지만, 체계적인 시연 선택은 이 연구에서 다루지 않았습니다. 또한 학습률과 엔트로피 비율 같은 하이퍼파라미터의 민감도는 여전히 통일된 학습 틀의 과제로 남아 있습니다.

## 논문 정보

- **저자**: Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 7월 2일
- **등록일**: 2026년 10월 29일
- **수정일**: 2026년 5월 15일
- **버전**: v3
- **arXiv**: 2507.01679
- **분류**: cs.LG · cs.AI · cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2507.01679v3) · [원문 PDF ↗](https://arxiv.org/pdf/2507.01679v3)

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

## 초록

Existing LLMs-post-training techniques are broadly categorized into supervised fine-tuning (SFT) and reinforcement fine-tuning (RFT). Each paradigm presents a distinct trade-off: (1) SFT excels at mimicking demonstration data, but can lead to problematic generalization as a form of behavior cloning. (2) Conversely, RFT can significantly enhance a model's performance but is prone to learning unexpected behaviors, and its performance is sensitive to the initial policy. In this paper, we propose a unified view of these methods and introduce Prefix-RFT, a hybrid approach that synergizes learning from both demonstration and exploration. Using mathematical reasoning problems as a test bed, we empirically demonstrate that Prefix-RFT is simple yet effective. Not only does it surpass the performance of standalone SFT and RFT, but it also outperforms parallel mixed-policy RFT methods. Our analysis highlights the complementary nature of SFT and RFT, validating that Prefix-RFT effectively harmonizes them. Further ablation studies confirm the method's robustness to variations in the quality and quantity of demonstration data.

## 원문 인용

Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov (2025). Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling. arXiv:2507.01679v3. https://arxiv.org/abs/2507.01679v3

**BibTeX**

```
@misc{huang2025blending,
  title = {{Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling}},
  author = {Zeyu Huang and Tianhao Cheng and Zihan Qiu and Zili Wang and Yinghui Xu and Edoardo M. Ponti and Ivan Titov},
  year = {2025},
  eprint = {2507.01679},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.01679v3}
}
```

## 이 논문의 용어

- [GRPO](https://refivu.com/terms/17129d1bafd8-grpo)
- [Proximal Policy Optimization](https://refivu.com/terms/59b59e5d0f9d-proximal-policy-optimization)
- [pass@K](https://refivu.com/terms/c162514bd507-pass-k)
- [MATH-500](https://refivu.com/terms/7e6fbbc4b736-math-500)
- [SFT](https://refivu.com/terms/ba69d88561ea-sft)
- [AIME 2024](https://refivu.com/terms/ee3ee4650710-aime-2024)
- [AIME 2025](https://refivu.com/terms/88ed9ca1453f-aime-2025)
- [RFT](https://refivu.com/terms/31867cf09430-rft)
- [Advantage](https://refivu.com/terms/7e928614f98f-advantage)
- [Qwen2.5-Math-7B](https://refivu.com/terms/ff40adeb88c3-qwen2-5-math-7b)
- [Qwen2.5-Math-1.5B](https://refivu.com/terms/7ea18df06d75-qwen2-5-math-1-5b)
- [Avg@16](https://refivu.com/terms/168a6b65badb-avg-16)

## 다른 논문 해설

- [Boosting Masked ECG-Text Auto-Encoders as Discriminative Learners](https://refivu.com/papers/c38da137-1800-4d80-9086-9ab33801e196-boosting-masked-ecg-text-auto-encoders-as-discriminative.md)
- [Roll the dice & look before you leap: Going beyond the creative limits of next-token prediction](https://refivu.com/papers/bfe0aec4-b7a5-4966-a802-a25ca9a25ec1-roll-the-dice-look-before-you-leap-going.md)
- [Delving into Muon and Beyond: Deep Analysis and Extensions](https://refivu.com/papers/7b39abc5-e512-44f0-b7e4-73354b24981c-delving-into-muon-and-beyond-deep-analysis-and.md)
- [Post-Training Leaves Behavioral Shadows on Unrelated Decisions](https://refivu.com/papers/0efbc18e-9bc5-41a4-92d1-908106519915-post-training-leaves-behavioral-shadows-on-unrelated.md)
- [REMORY: Learning Residual Memory for Context Compaction](https://refivu.com/papers/249daae1-551b-49ba-94a0-2054c77eec0b-remory-learning-residual-memory-for-context-compaction.md)
- [Prefix-Tuning: Optimizing Continuous Prompts for Generation](https://refivu.com/papers/01cf041e-b71c-444b-8b44-e94ac976a9db-prefix-tuning-optimizing-continuous-prompts-for-generation.md)
- [Detecting Fluent Optimization-Based Adversarial Prompts via Sequential Entropy Changes](https://refivu.com/papers/5997c1d7-5fec-4771-91b6-8d7be32cc033-detecting-fluent-optimization-based-adversarial-prompts-via.md)
- [Semantic Cache Distillation: Efficient State Transfer via Reuse and Selective Patching](https://refivu.com/papers/9747ef53-7d09-4ccd-90f7-14a4ff1a9822-semantic-cache-distillation-efficient-state-transfer-via.md)
- [MMClima: A Framework for Multimodal Climate Science Data and Evaluation](https://refivu.com/papers/8e7ac67e-589e-4486-b746-00f802eff24c-mmclima-a-framework-for-multimodal-climate-science-data.md)
- [CaliDist: Calibrating Large Language Models via Behavioral Robustness to Distraction](https://refivu.com/papers/142b1be8-2799-42cf-a7a8-fa39f1bb895f-calidist-calibrating-large-language-models-via-behavioral.md)
- [Expected Return Causes Outcome-Level Mode Collapse in Reinforcement Learning and How to Fix It with Inverse Probability Scaling](https://refivu.com/papers/54310efc-5f80-4fe4-a68d-02668c458f18-expected-return-causes-outcome-level-mode-collapse-in.md)
- [Path-Coupled Bellman Flows for Distributional Reinforcement Learning](https://refivu.com/papers/727ff5b9-42b4-41db-9648-d77a6b32f65d-path-coupled-bellman-flows-for-distributional-reinforcement.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/02e31b66-dce1-4dd7-8a78-68b17b2cadb4-blending-supervised-and-reinforcement-fine-tuning-with)
