Abstract
Supervised fine-tuning (SFT) is a critical step for aligning large language models (LLMs), yet it is limited by its purely generative objective. Standard alignment typically requires a subsequent phase of preference optimization (PO) using human-labeled data. We introduce Discriminative Fine-Tuning (DFT), which shifts the training paradigm to a discriminative task. By explicitly modeling the likelihood of a correct answer relative to self-generated negative samples, DFT achieves performance superior to SFT and comparable to complex SFT→PO pipelines without requiring external preference data.
The Limitations of Generative SFT
The standard alignment process involves Supervised Fine-Tuning (SFT), where a model is trained to mimic high-quality "gold standard" responses. While effective, SFT is "one-sided": it teaches the model what to say but never explicitly what to avoid. This can leave the model with a high probability of generating common errors or unhelpful responses that happen to share token sequences with the training data.
To address this, researchers typically turn to Preference Optimization (PO) methods like RLHF or DPO. However, these methods rely on massive datasets of human-labeled "better vs. worse" pairs, which are expensive, difficult to scale, and often unavailable for specialized domains.
Discriminative Fine-Tuning (DFT)
DFT addresses these limitations by adopting a discriminative approach. Instead of simple token prediction, DFT focuses on "data prediction"—maximizing the probability of the correct answer $y$ among a set of possible outputs.
Self-Play and Adversarial Negatives
To avoid the need for human labels, DFT uses "self-play" to generate negative examples. The model generates its own responses to prompts. To ensure these samples are truly "negative," the authors employ adversarial system prompts (e.g., "You are an unhelpful assistant") to force the model into generating incorrect or poor-quality responses.
Optimization via FCCO
Optimizing a discriminative likelihood over the vast space of possible text is computationally challenging. DFT utilizes Finite-sum Coupled Compositional Optimization (FCCO). This framework uses a moving-average estimator to track the complex denominator of the objective function, ensuring stable convergence during training.
As shown in the training dynamics above, while SFT maintains a high likelihood for both positive and negative samples, DFT successfully "pulls down" the log-probability of negative samples ($y'$) while maintaining the likelihood of the ground truth ($y$).
Experimental Results
The authors evaluated DFT across mathematical reasoning (GSM8K, MATH), general instruction following (IFEval, MMLU), and human alignment (AlpacaEval 2.0).
Key Findings
- Superiority over SFT: On mathematical reasoning tasks, DFT (Mistral-7B) achieved 79.15% on GSM8K, significantly outperforming the SFT baseline.
- Beating PO without Preference Data: When compared to methods like SPIN and SimPO using the same self-play data, DFT consistently yielded higher win rates.
- Competitive with Human-Labeled Pipelines: Remarkably, DFT achieved performance comparable to models trained on the full UltraFeedback preference dataset, despite only using the "winning" responses and ignoring human-labeled "losing" ones.
Conclusion
Discriminative Fine-Tuning offers a powerful alternative to the standard SFT → PO pipeline. By shifting from token-level imitation to a discriminative framework that explicitly penalizes negative self-generated samples, DFT simplifies the alignment process while achieving state-of-the-art results. This approach paves the way for more efficient LLM development, particularly in domains where high-quality preference data is scarce.
Summary updated