SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Chu, Tianzhe, Zhai, Yuexiang, Yang, Jihan, Tong, Shengbang, Xie, Saining, Schuurmans, Dale, Le, Quoc V., Levine, Sergey, Ma, Yi
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915304496431104
author Chu, Tianzhe
Zhai, Yuexiang
Yang, Jihan
Tong, Shengbang
Xie, Saining
Schuurmans, Dale
Le, Quoc V.
Levine, Sergey
Ma, Yi
author_facet Chu, Tianzhe
Zhai, Yuexiang
Yang, Jihan
Tong, Shengbang
Xie, Saining
Schuurmans, Dale
Le, Quoc V.
Levine, Sergey
Ma, Yi
contents Supervised fine-tuning (SFT) and reinforcement learning (RL) are widely used post-training techniques for foundation models. However, their roles in enhancing model generalization capabilities remain unclear. This paper studies the difference between SFT and RL on generalization and memorization, focusing on text-based rule variants and visual variants. We introduce GeneralPoints, an arithmetic reasoning card game, and adopt V-IRL, a real-world navigation environment, to assess how models trained with SFT and RL generalize to unseen variants in both textual and visual domains. We show that RL, especially when trained with an outcome-based reward, generalizes across both rule-based textual and visual variants. SFT, in contrast, tends to memorize training data and struggles to generalize out-of-distribution scenarios. Further analysis reveals that RL improves the model's underlying visual recognition capabilities, contributing to its enhanced generalization in the visual domain. Despite RL's superior generalization, we show that SFT remains essential for effective RL training; SFT stabilizes the model's output format, enabling subsequent RL to achieve its performance gains. These findings demonstrates the capability of RL for acquiring generalizable knowledge in complex, multi-modal tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2501_17161
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training
Chu, Tianzhe
Zhai, Yuexiang
Yang, Jihan
Tong, Shengbang
Xie, Saining
Schuurmans, Dale
Le, Quoc V.
Levine, Sergey
Ma, Yi
Artificial Intelligence
Computer Vision and Pattern Recognition
Machine Learning
Supervised fine-tuning (SFT) and reinforcement learning (RL) are widely used post-training techniques for foundation models. However, their roles in enhancing model generalization capabilities remain unclear. This paper studies the difference between SFT and RL on generalization and memorization, focusing on text-based rule variants and visual variants. We introduce GeneralPoints, an arithmetic reasoning card game, and adopt V-IRL, a real-world navigation environment, to assess how models trained with SFT and RL generalize to unseen variants in both textual and visual domains. We show that RL, especially when trained with an outcome-based reward, generalizes across both rule-based textual and visual variants. SFT, in contrast, tends to memorize training data and struggles to generalize out-of-distribution scenarios. Further analysis reveals that RL improves the model's underlying visual recognition capabilities, contributing to its enhanced generalization in the visual domain. Despite RL's superior generalization, we show that SFT remains essential for effective RL training; SFT stabilizes the model's output format, enabling subsequent RL to achieve its performance gains. These findings demonstrates the capability of RL for acquiring generalizable knowledge in complex, multi-modal tasks.
title SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training
topic Artificial Intelligence
Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2501.17161