World's Fair 2025
RFT, DPO, SFT: Fine-tuning with OpenAI — Ilan Bigio, OpenAI
Overview
This talk explores various fine-tuning techniques for OpenAI models, including Supervised Fine-Tuning (SFT), Direct Preference Optimization (DPO), and Reinforcement Fine-Tuning (RFT). The presenter, Ilan Bigio from OpenAI's developer experience team, emphasizes that fine-tuning is a specialized tool for optimizing models beyond what prompt engineering can achieve, particularly for specific domains or behaviors. The discussion covers the data requirements, use cases, and limitations of each method, offering practical examples and best practices.
Who should watch
- AI Engineers
- Product Managers
- Builders looking to optimize LLM performance
- Those considering fine-tuning for specific tasks
- Individuals struggling with prompt engineering limitations
Key takeaways
- Fine-tuning involves continued training to optimize a model for a specific domain or task, complementing prompt engineering.
- SFT is suitable for classification, formatting, and structured data extraction by imitating input-output pairs.
- DPO is effective for learning tone and style by comparing preferred and non-preferred outputs, useful for A/B testing scenarios.
- RFT is designed for complex, gradable problems where the model learns to reason and achieve higher success rates, powering advanced reasoning models.
- Fine-tuning primarily optimizes model weights (using techniques like LoRA) and is not ideal for teaching new factual information; Retrieval Augmented Generation (RAG) is better for that.
- Starting with prompt engineering and evaluating performance is crucial before considering fine-tuning.
- Data quality is paramount for all fine-tuning methods, especially RFT, which is highly sensitive to noisy data.
- OpenAI offers fine-tuning for various models, including image input with text output capabilities.
Notable quotes
*Fine-tuning is really just continued training that optimizes a model for a given domain.*
*Prompting is kind of like a set of tools like a hammer, um, pliers, whatever.*
*Fine-tuning is like a CNC machine, right? you have uh like it's a way higher upfront investment.*
Unofficial community note. Prefer the recording for nuance.