[{"data":1,"prerenderedAt":468},["ShallowReactive",2],{"chrome":3,"glossary-entry-direct-preference-optimization-dpo":417},{"header":4,"footer":321},{"items":5,"cta":317,"notice":320},[6,174,276,280,284,295],{"label":7,"url":8,"target":8,"icon":8,"children":9},"Solutions",null,[10,47,128,140,169],{"label":11,"url":12,"target":8,"icon":13,"children":14},"Customer Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fcustomer-support\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2026\u002F01\u002FAsset-102.svg",[15,19,23,27,31,35,39,43],{"label":16,"url":17,"target":8,"icon":8,"children":18},"Call Center Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fcall-center-outsourcing\u002F",[],{"label":20,"url":21,"target":8,"icon":8,"children":22},"Technical Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftechnical-support-outsourcing\u002F",[],{"label":24,"url":25,"target":8,"icon":8,"children":26},"Live Chat Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Flive-chat-support-outsourcing\u002F",[],{"label":28,"url":29,"target":8,"icon":8,"children":30},"Email Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Femail-support-outsourcing\u002F",[],{"label":32,"url":33,"target":8,"icon":8,"children":34},"Customer Experience Outsourcing","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fcustomer-experience-outsourcing\u002F",[],{"label":36,"url":37,"target":8,"icon":8,"children":38},"Multilingual Customer Experience Teams","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fmultilingual-customer-experience-teams\u002F",[],{"label":40,"url":41,"target":8,"icon":8,"children":42},"Omnichannel CX Outsourcing","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fomnichannel-cx-outsourcing\u002F",[],{"label":44,"url":45,"target":8,"icon":8,"children":46},"Secure Customer Support Operations","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fsecure-customer-support-operations\u002F",[],{"label":48,"url":49,"target":8,"icon":50,"children":51},"Sales Outsourcing","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fsales-outsourcing\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F11\u002FAsset-104.svg",[52,112,116,120,124],{"label":53,"url":54,"target":8,"icon":8,"children":55},"Vacation Ownership & Timeshare","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fvacation-ownership-timeshare\u002F",[56,60,64,68,72,76,80,84,88,92,96,100,104,108],{"label":57,"url":58,"target":8,"icon":8,"children":59},"Inbound Vacation Ownership Sales","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Finbound-vacation-ownership-sales\u002F",[],{"label":61,"url":62,"target":8,"icon":8,"children":63},"Timeshare Transfer Programs","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftimeshare-transfer-programs\u002F",[],{"label":65,"url":66,"target":8,"icon":8,"children":67},"Vacation Web & Form Lead Follow-Up","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fvacation-web-lead-follow-up\u002F",[],{"label":69,"url":70,"target":8,"icon":8,"children":71},"Outbound Vacation Package Sales","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Foutbound-vacation-package-sales\u002F",[],{"label":73,"url":74,"target":8,"icon":8,"children":75},"Owner Upgrade & Cross-Sell","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fowner-upgrade-cross-sell\u002F",[],{"label":77,"url":78,"target":8,"icon":8,"children":79},"Vacation Renewals & Rebooking","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fvacation-renewals-rebooking\u002F",[],{"label":81,"url":82,"target":8,"icon":8,"children":83},"Win-Back Campaigns","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fwin-back-campaigns\u002F",[],{"label":85,"url":86,"target":8,"icon":8,"children":87},"Owner Referral Programs (POR, NOR, BAF)","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fowner-referral-programs\u002F",[],{"label":89,"url":90,"target":8,"icon":8,"children":91},"Tour No Buy (TNB) Follow-Up","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftour-no-buy-follow-up\u002F",[],{"label":93,"url":94,"target":8,"icon":8,"children":95},"Event & Partnership Lead Campaigns","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fevent-lead-campaigns\u002F",[],{"label":97,"url":98,"target":8,"icon":8,"children":99},"Day Drive Tour Generation","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fday-drive-tour-generation\u002F",[],{"label":101,"url":102,"target":8,"icon":8,"children":103},"Lead Qualification & Screening","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Flead-qualification-screening\u002F",[],{"label":105,"url":106,"target":8,"icon":8,"children":107},"Tour Confirmation & Concierge","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftour-confirmation-concierge\u002F",[],{"label":109,"url":110,"target":8,"icon":8,"children":111},"Service-to-Sales","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fservice-to-sales\u002F",[],{"label":113,"url":114,"target":8,"icon":8,"children":115},"Outbound Sales & Owner Activation","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Foutbound-owner-activation\u002F",[],{"label":117,"url":118,"target":8,"icon":8,"children":119},"Appointment Setting & Lead Qualification","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fappointment-setting-qualification\u002F",[],{"label":121,"url":122,"target":8,"icon":8,"children":123},"Revenue-Generating Customer Care","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Frevenue-generating-customer-care\u002F",[],{"label":125,"url":126,"target":8,"icon":8,"children":127},"Sales Quality & Compliance","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fsales-quality-compliance\u002F",[],{"label":129,"url":130,"target":8,"icon":131,"children":132},"Trust & Safety","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftrust-safety\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F11\u002FAsset-103.svg",[133,136],{"label":134,"url":130,"target":8,"icon":8,"children":135},"General Support",[],{"label":137,"url":138,"target":8,"icon":8,"children":139},"Community Management","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fcommunity-management\u002F",[],{"label":141,"url":142,"target":8,"icon":143,"children":144},"Omni Evals","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fomni-evals\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F11\u002FAsset-105.svg",[145,149,153,157,161,165],{"label":146,"url":147,"target":8,"icon":8,"children":148},"Perception & Annotation","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fperception-annotation\u002F",[],{"label":150,"url":151,"target":8,"icon":8,"children":152},"Speech & Audio Diarization","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fspeech-audio-diarization\u002F",[],{"label":154,"url":155,"target":8,"icon":8,"children":156},"Multimodal Grounding","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fmultimodal-grounding\u002F",[],{"label":158,"url":159,"target":8,"icon":8,"children":160},"Agentic & Coding Evals","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fagentic-coding-evals\u002F",[],{"label":162,"url":163,"target":8,"icon":8,"children":164},"Red Teaming & Alignment","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fred-teaming-alignment\u002F",[],{"label":166,"url":167,"target":8,"icon":8,"children":168},"Embodied AI & Robotics","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fembodied-ai-robotics\u002F",[],{"label":170,"url":171,"target":8,"icon":172,"children":173},"Enterprise BPO","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fenterprise-outsourcing\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F10\u002FAsset-37@2x.png",[],{"label":175,"url":8,"target":8,"icon":8,"children":176},"Industries",[177,228,245],{"label":178,"url":8,"target":8,"icon":8,"children":179},"CX Outsourcing",[180,184,188,192,196,200,204,208,212,216,220,224],{"label":181,"url":182,"target":8,"icon":8,"children":183},"Healthcare BPO","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fhealthcare-bpo-services\u002F",[],{"label":185,"url":186,"target":8,"icon":8,"children":187},"Healthcare CX Outsourcing Services","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fhealthcare-cx-outsourcing\u002F",[],{"label":189,"url":190,"target":8,"icon":8,"children":191},"CX Outsourcing for HealthTech Startups","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fhealthtech-startup-cx-outsourcing\u002F",[],{"label":193,"url":194,"target":8,"icon":8,"children":195},"Gaming","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fgaming-outsourcing\u002F",[],{"label":197,"url":198,"target":8,"icon":8,"children":199},"Crypto","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fcrypto-outsourcing\u002F",[],{"label":201,"url":202,"target":8,"icon":8,"children":203},"Ecommerce","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fecommerce-outsourcing\u002F",[],{"label":205,"url":206,"target":8,"icon":8,"children":207},"SaaS","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fsaas-outsourcing\u002F",[],{"label":209,"url":210,"target":8,"icon":8,"children":211},"Fintech","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Ffintech-outsourcing\u002F",[],{"label":213,"url":214,"target":8,"icon":8,"children":215},"CX Outsourcing for Fintech","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Ffintech-cx-outsourcing\u002F",[],{"label":217,"url":218,"target":8,"icon":8,"children":219},"Edtech","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fedtech-outsourcing\u002F",[],{"label":221,"url":222,"target":8,"icon":8,"children":223},"Online Subscriptions","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fonline-subscriptions-outsourcing\u002F",[],{"label":225,"url":226,"target":8,"icon":8,"children":227},"Rewards & GPT Platforms","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fgpt-platforms\u002F",[],{"label":48,"url":8,"target":8,"icon":8,"children":229},[230,233,237,241],{"label":53,"url":231,"target":8,"icon":8,"children":232},"https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fvacation-ownership-timeshare-sales-outsourcing\u002F",[],{"label":234,"url":235,"target":8,"icon":8,"children":236},"Cruise Lines","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fcruise-line-sales-outsourcing\u002F",[],{"label":238,"url":239,"target":8,"icon":8,"children":240},"Travel Wholesalers & Packagers","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Ftravel-wholesaler-sales-outsourcing\u002F",[],{"label":242,"url":243,"target":8,"icon":8,"children":244},"Car Rental & Mobility","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fcar-rental-sales-outsourcing\u002F",[],{"label":246,"url":8,"target":8,"icon":8,"children":247},"Artificial Intelligence",[248,252,256,260,264,268,272],{"label":249,"url":250,"target":8,"icon":8,"children":251},"Frontier & Reasoning Labs","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Ffrontier-reasoning-labs\u002F",[],{"label":253,"url":254,"target":8,"icon":8,"children":255},"Robotics & Embodied AI","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Frobotics-embodied-ai\u002F",[],{"label":257,"url":258,"target":8,"icon":8,"children":259},"GenAI Applications & Media Models","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fgenai-applications-media\u002F",[],{"label":261,"url":262,"target":8,"icon":8,"children":263},"Enterprise AI & B2B Software","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fenterprise-ai-software\u002F",[],{"label":265,"url":266,"target":8,"icon":8,"children":267},"Defense, Geospatial & Government","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fdefense-geospatial-government\u002F",[],{"label":269,"url":270,"target":8,"icon":8,"children":271},"Healthtech, Bio & Clinical AI","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fhealthtech-bio-clinical-ai\u002F",[],{"label":273,"url":274,"target":8,"icon":8,"children":275},"Universities & Research Institutions","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Funiversities-research-institutions\u002F",[],{"label":277,"url":278,"target":8,"icon":8,"children":279},"Our Agents","https:\u002F\u002Fhugoinc.com\u002Fhugo-agents\u002F",[],{"label":281,"url":282,"target":8,"icon":8,"children":283},"Pricing","https:\u002F\u002Fhugoinc.com\u002Fpricing\u002Fcustomer-support-outsourcing\u002F",[],{"label":285,"url":8,"target":8,"icon":8,"children":286},"Company",[287,291],{"label":288,"url":289,"target":8,"icon":8,"children":290},"About","https:\u002F\u002Fhugoinc.com\u002Fabout\u002F",[],{"label":292,"url":293,"target":8,"icon":8,"children":294},"Careers","https:\u002F\u002Fhugoinc.com\u002Fcareers\u002F",[],{"label":296,"url":8,"target":8,"icon":8,"children":297},"Resources",[298,301,305,309,313],{"label":296,"url":299,"target":8,"icon":8,"children":300},"https:\u002F\u002Fhugoinc.com\u002Fresources",[],{"label":302,"url":303,"target":8,"icon":8,"children":304},"Case Studies","https:\u002F\u002Fhugoinc.com\u002Fcase-studies\u002F",[],{"label":306,"url":307,"target":8,"icon":8,"children":308},"News","https:\u002F\u002Fhugoinc.com\u002Fnews\u002F",[],{"label":310,"url":311,"target":8,"icon":8,"children":312},"FAQs","https:\u002F\u002Fhugoinc.com\u002Ffaqs\u002F",[],{"label":314,"url":315,"target":8,"icon":8,"children":316},"Glossary","https:\u002F\u002Fhugoinc.com\u002Fglossary\u002F",[],{"label":318,"url":319,"target":8},"Get Started","https:\u002F\u002Fhugoinc.com\u002F#!","Hugo is hiring! Explore our positions and apply today.",{"items":322,"legals":389,"outsourcing":394,"newsletter":397,"social":398,"certifications":403,"legal":416},[323,356,365,374,380,383,386],{"label":7,"url":8,"target":8,"icon":8,"children":324},[325,337,343],{"label":48,"url":49,"target":8,"icon":8,"children":326},[327,329,331,333,335],{"label":53,"url":54,"target":8,"icon":8,"children":328},[],{"label":113,"url":114,"target":8,"icon":8,"children":330},[],{"label":117,"url":118,"target":8,"icon":8,"children":332},[],{"label":121,"url":122,"target":8,"icon":8,"children":334},[],{"label":125,"url":126,"target":8,"icon":8,"children":336},[],{"label":129,"url":130,"target":8,"icon":8,"children":338},[339,341],{"label":134,"url":130,"target":8,"icon":8,"children":340},[],{"label":137,"url":138,"target":8,"icon":8,"children":342},[],{"label":141,"url":142,"target":8,"icon":8,"children":344},[345,348,352],{"label":134,"url":346,"target":8,"icon":8,"children":347},"https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fdata-ai\u002F",[],{"label":349,"url":350,"target":8,"icon":8,"children":351},"AI & ML Model Training","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fgenerative-ai\u002F",[],{"label":353,"url":354,"target":8,"icon":8,"children":355},"Data Processing","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fdata-processing\u002F",[],{"label":285,"url":8,"target":8,"icon":8,"children":357},[358,360,362],{"label":288,"url":289,"target":8,"icon":8,"children":359},[],{"label":292,"url":293,"target":8,"icon":8,"children":361},[],{"label":363,"url":319,"target":8,"icon":8,"children":364},"Contact",[],{"label":296,"url":8,"target":8,"icon":8,"children":366},[367,370,372],{"label":296,"url":368,"target":8,"icon":8,"children":369},"https:\u002F\u002Fhugoinc.com\u002Fresources\u002F",[],{"label":310,"url":311,"target":8,"icon":8,"children":371},[],{"label":314,"url":315,"target":8,"icon":8,"children":373},[],{"label":375,"url":8,"target":8,"icon":8,"children":376},"Headquarters",[377],{"label":378,"url":8,"target":8,"icon":8,"children":379},"401 N Michigan Ave Chicago, IL 60611",[],{"label":381,"url":8,"target":8,"icon":8,"children":382},"Call Center Outsourcing",[],{"label":384,"url":8,"target":8,"icon":8,"children":385},"Live Chat Support Outsourcing",[],{"label":387,"url":8,"target":8,"icon":8,"children":388},"Email Support Outsourcing",[],[390],{"label":391,"url":392,"target":8,"icon":8,"children":393},"Privacy Policy","https:\u002F\u002Fhugoinc.com\u002Finfo\u002Fprivacy-policy\u002F",[],{"title":395,"cta":396},"Outsourcing + built to make you better.",{"label":318,"url":319,"target":8},"Sign up to our newsletter and stay hip.",{"x":399,"instagram":8,"facebook":400,"linkedin":401,"youtube":402},"https:\u002F\u002Ftwitter.com\u002Fthehugohq","https:\u002F\u002Fwww.facebook.com\u002FtheHugohq","https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fhugo-africa\u002F","https:\u002F\u002Fwww.youtube.com\u002F@thehugohq",[404,407,410,413],{"src":405,"alt":406},"https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F10\u002Fiso.svg","Information Security Management System Certification (ISO\u002FIEC 27001)",{"src":408,"alt":409},"https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F10\u002Fmbe.svg","Minority Business Enterprise (MBE) Certification",{"src":411,"alt":412},"https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2025\u002F01\u002FHIPAA_1@0.5x.png","Health Insurance Portability and Accountability Act (HIPAA) Certification",{"src":414,"alt":415},"https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2025\u002F01\u002FSOC_1@0.5x.png","AICPA System and Organization Controls (SOC) Certification for Service Organizations","© %YEAR% Copyright | All Rights Reserved",{"post":418,"author":8,"related":429,"more":448,"judgmentCall":467},{"title":419,"date":420,"updated":420,"seoTitle":421,"description":422,"focusKeyphrase":423,"slug":424,"author":425,"body":426,"schema":427,"minutes":428},"Direct Preference Optimization (DPO)","2026-11-10","Direct Preference Optimization (DPO): How It Works","Direct Preference Optimization (DPO) explained: how the loss and beta work, what data it needs, how it compares with PPO-based RLHF, and its limits.","direct preference optimization","direct-preference-optimization-dpo","hugo","\u003Cp>Direct Preference Optimization (DPO) is a post-training method that fine-tunes a language model directly on pairs of preferred and dispreferred responses, using a simple classification loss instead of a separate reward model and a reinforcement learning loop. Rafailov and colleagues at Stanford University introduced it in a paper first posted to arXiv in May 2023.\u003C\u002Fp>\n\n\u003Cp>DPO optimizes the same objective as standard reinforcement learning from human feedback (RLHF): maximize reward while a KL-divergence constraint keeps the model close to a reference model. A change of variables expresses that reward through the policy itself, so the language model also serves as an implicit reward model. In the original experiments, with models of up to 6B parameters, DPO matched or beat PPO-based RLHF on sentiment control, summarization and single-turn dialogue.\u003C\u002Fp>\n\n\u003Ch2>Direct Preference Optimization (DPO) at a Glance\u003C\u002Fh2>\n\n\u003Ctable>\u003Ctbody>\u003Ctr>\u003Cth scope=\"row\">Also called\u003C\u002Fth>\u003Ctd>DPO; an offline, reward-free preference optimization method\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">What it does\u003C\u002Fth>\u003Ctd>Widens the gap between the log-likelihoods of chosen and rejected responses, measured relative to a reference model\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">Where it's used in model development\u003C\u002Fth>\u003Ctd>The preference stage of post-training, usually after supervised fine-tuning (SFT); open recipes such as Tulu 3 and hosted fine-tuning APIs\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">The human role\u003C\u002Fth>\u003Ctd>People (or AI judges) decide which of two responses to a prompt is better, which sets the chosen and rejected response in every training example\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">Limits\u003C\u002Fth>\u003Ctd>Learns only from a fixed preference dataset; comparative studies report PPO outperforming it on some tasks\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\n\n\u003Ch2>How Direct Preference Optimization Works\u003C\u002Fh2>\n\n\u003Cp>Direct Preference Optimization works by turning each human comparison into a binary classification example that the model being trained learns to score correctly.\u003C\u002Fp>\n\n\u003Ch3>The training data\u003C\u002Fh3>\n\n\u003Cp>Each DPO example contains a prompt, a chosen completion and a rejected completion. In the classic setup, the SFT model generates two answers to a prompt and human labelers mark which one they prefer. The framework assumes a Bradley-Terry model of how those preferences arise.\u003C\u002Fp>\n\n\u003Ch3>The loss\u003C\u002Fh3>\n\n\u003Cp>For both responses, DPO computes the log-probability ratio between the policy being trained and the reference model, typically the SFT model. The loss is the negative log-sigmoid of beta times the difference between those two ratios. A per-example weight in the update prevents the model degeneration the authors saw with a naive probability-ratio objective. Hugging Face's TRL documentation adds that, in practice, the margin usually grows because the rejected response's likelihood falls, not because the chosen response's likelihood rises.\u003C\u002Fp>\n\n\u003Ch3>The beta parameter\u003C\u002Fh3>\n\n\u003Cp>Beta controls how far the trained model may move from the reference policy. OpenAI's fine-tuning API, a platform OpenAI says it is winding down, exposes it as a number between 0 and 2: higher values are more conservative, lower values follow the new preferences more aggressively.\u003C\u002Fp>\n\n\u003Ch3>What teams monitor\u003C\u002Fh3>\n\n\u003Cp>TRL logs the implicit reward for chosen and rejected completions, the margin between them, and reward accuracy: the share of pairs where the chosen completion's implicit reward is higher.\u003C\u002Fp>\n\n\u003Ch2>Where DPO Is Used in Model Development\u003C\u002Fh2>\n\n\u003Cp>DPO is used in the preference-tuning stage of post-training, usually after supervised fine-tuning (SFT).\u003C\u002Fp>\n\n\u003Cul>\u003Cli>\u003Cstrong>In place of reward modeling and RL.\u003C\u002Fstrong> The RLHF pipeline the DPO paper reviews has three phases: SFT, preference sampling with reward learning, and RL optimization. DPO collapses the last two into one training stage.\u003C\u002Fli>\u003Cli>\u003Cstrong>After SFT.\u003C\u002Fstrong> OpenAI's guide recommends running SFT on a subset of preferred responses first, then starting DPO from that fine-tuned model.\u003C\u002Fli>\u003Cli>\u003Cstrong>In open recipes.\u003C\u002Fstrong> Tulu 3, a fully open family of post-trained models built on Llama 3.1 base models, trains with SFT, DPO and reinforcement learning with verifiable rewards (RLVR).\u003C\u002Fli>\u003Cli>\u003Cstrong>Beyond plain text chat.\u003C\u002Fstrong> TRL's DPOTrainer supports conversational data, tool-calling examples and vision-language models.\u003C\u002Fli>\u003Cli>\u003Cstrong>Through variants.\u003C\u002Fstrong> TRL exposes alternative losses, including IPO, a robust loss for noisy preferences and a length-normalized loss from the SimPO authors.\u003C\u002Fli>\u003C\u002Ful>\n\n\u003Ch2>Limits of DPO and the Human Role\u003C\u002Fh2>\n\n\u003Cp>A key limit of DPO is that it learns from a fixed, offline batch of preference pairs, so its results depend on the quality of those pairs.\u003C\u002Fp>\n\n\u003Ch3>Data quality comes first\u003C\u002Fh3>\n\n\u003Cp>In a NeurIPS 2024 study, Ivison and colleagues found that better preference data produced the largest improvements, ahead of the choice of learning algorithm. High-quality preference data improved instruction following and truthfulness by up to 8%.\u003C\u002Fp>\n\n\u003Ch3>PPO can outperform it\u003C\u002Fh3>\n\n\u003Cp>The same study found PPO outperforms DPO by up to 2.5% in math and 1.2% in general domains. Xu and colleagues (ICML 2024) argued DPO may have fundamental limitations and reported that PPO surpassed other alignment methods in all their testbeds, from dialogue to code generation.\u003C\u002Fp>\n\n\u003Ch3>Modeling assumptions and artifacts\u003C\u002Fh3>\n\n\u003Cul>\u003Cli>The SimPO authors address a length bias in the original sigmoid loss by normalizing by the number of non-mask tokens.\u003C\u002Fli>\u003Cli>TRL's robust DPO loss uses label smoothing to model the probability that a preference label is flipped.\u003C\u002Fli>\u003C\u002Ful>\n\n\u003Ch3>Where people fit\u003C\u002Fh3>\n\n\u003Cp>DPO has no standalone reward model to inspect: its implicit reward is fit to the preference data, so the pairs are where the target behavior is defined. That puts the human work upstream: a written rubric for what \"better\" means, raters calibrated on it, a process for resolving disagreements, and audits for artifacts such as length bias.\u003C\u002Fp>\n\n\u003Ch2>DPO vs. RLHF with PPO\u003C\u002Fh2>\n\n\u003Cp>DPO and PPO-based RLHF optimize the same KL-constrained reward objective, but DPO does it without an explicit reward model or reinforcement learning.\u003C\u002Fp>\n\n\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">Aspect\u003C\u002Fth>\u003Cth scope=\"col\">DPO\u003C\u002Fth>\u003Cth scope=\"col\">RLHF with PPO\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Cth scope=\"row\">Reward model\u003C\u002Fth>\u003Ctd>Implicit: the policy represents the reward\u003C\u002Ftd>\u003Ctd>Trained separately on preference data\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">Training loop\u003C\u002Fth>\u003Ctd>Classification loss; no sampling from the model during fine-tuning\u003C\u002Ftd>\u003Ctd>Samples from the policy in the loop and optimizes with RL\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">Prompts\u003C\u002Fth>\u003Ctd>Fixed, labeled preference pairs\u003C\u002Ftd>\u003Ctd>Can add unlabeled prompts for policy training\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">Compute\u003C\u002Fth>\u003Ctd>Described by its authors as computationally lightweight\u003C\u002Ftd>\u003Ctd>Trains multiple models, with significant computational cost\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">Reported results\u003C\u002Fth>\u003Ctd>Matched or beat PPO on the original paper's tasks\u003C\u002Ftd>\u003Ctd>Outperformed DPO in later comparative studies\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\n\n\u003Ch2>Direct Preference Optimization (DPO) at Hugo\u003C\u002Fh2>\n\n\u003Cp>Hugo builds and manages dedicated \u003Ca href=\"\u002Fservices\u002Fpreference-alignment-post-training\u002F\">preference alignment and post-training teams\u003C\u002Fa> that write reference responses, rank model outputs and audit reasoning and safety for SFT, RLHF, RLAIF and DPO pipelines. Raters work from a rubric written with the client, pass a calibration set before production and have their agreement tracked per criterion, with re-calibration against gold examples during the program. The team organizes, validates and formats preference comparisons for the client's DPO, PPO and GRPO pipelines. For how DPO fits alongside other methods, see \u003Ca href=\"\u002Fblog\u002Fllm-post-training-explained-sft-rlhf-rlaif-dpo-grpo\u002F\">LLM post-training explained: SFT, RLHF, RLAIF, DPO and GRPO\u003C\u002Fa>.\u003C\u002Fp>\n\n\u003Ch2>Related Terms\u003C\u002Fh2>\n\n\u003Cul>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Flarge-language-model-llm\u002F\">Large Language Model (LLM)\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fprocess-reward-model-prm\u002F\">Process Reward Model (PRM)\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fai-model-training\u002F\">AI Model Training\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fdata-annotation\u002F\">Data Annotation\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fai-red-teaming\u002F\">AI Red Teaming\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fgenerative-ai\u002F\">Generative AI (GenAI)\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fvision-language-model-vlm\u002F\">Vision-Language Model (VLM)\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fsupervised-fine-tuning-sft\u002F\">Supervised Fine-Tuning (SFT)\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Freinforcement-learning-from-human-feedback-rlhf\u002F\">Reinforcement Learning from Human Feedback (RLHF)\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fpreference-data\u002F\">Preference Data\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Freinforcement-learning-from-ai-feedback-rlaif\u002F\">Reinforcement Learning from AI Feedback (RLAIF)\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fgroup-relative-policy-optimization-grpo\u002F\">Group Relative Policy Optimization (GRPO)\u003C\u002Fa>\u003C\u002Fli>\u003C\u002Ful>\n\n\u003Ch2>Direct Preference Optimization (DPO) FAQs\u003C\u002Fh2>\n\n\u003Ch3>What is direct preference optimization in simple terms?\u003C\u002Fh3>\n\n\u003Cp>Direct preference optimization is a way to fine-tune a language model on examples where one response to a prompt is marked better than another. The model learns to favor the chosen response over the rejected one. DPO does this with a classification-style loss, so it needs no separate reward model and no reinforcement learning loop. A reference model, usually the SFT model, anchors training so the model does not drift too far from its starting behavior. Teams considering DPO should first check that their preference pairs reflect a written, consistent definition of what makes a response better.\u003C\u002Fp>\n\n\u003Ch3>How is DPO different from RLHF?\u003C\u002Fh3>\n\n\u003Cp>DPO and RLHF target the same goal, maximizing a reward learned from human preferences while staying close to a reference model, but DPO skips the separate reward model and the reinforcement learning step. Classic RLHF trains a reward model on comparisons, then optimizes the policy against it with an algorithm such as PPO, sampling from the model during training. DPO reparameterizes the reward so the policy itself acts as an implicit reward model and trains with a binary cross-entropy objective. Both methods learn from the same kind of data, human preferences over pairs of responses, so one well-built preference dataset can feed either.\u003C\u002Fp>\n\n\u003Ch3>What data does DPO need?\u003C\u002Fh3>\n\n\u003Cp>DPO needs a preference dataset: for each prompt, one chosen response and one rejected response. Hugging Face's TRL library accepts both standard and conversational formats, with an explicit prompt recommended, and also supports tool-calling and image-based examples. OpenAI's fine-tuning API uses JSONL lines with an input, a preferred output and a non-preferred output. Rankings of more than two answers can be handled with Plackett-Luce models, according to the original paper. Before training, audit the pairs for systematic artifacts, such as the longer answer always being chosen, because the model will learn those patterns too.\u003C\u002Fp>\n\n\u003Ch3>Is DPO better than PPO?\u003C\u002Fh3>\n\n\u003Cp>DPO is not consistently better than PPO; the answer depends on the task, the data and how well PPO is tuned. The original DPO paper found DPO matched or beat PPO-based RLHF on sentiment control, summarization and single-turn dialogue. Later work disagreed: Ivison and colleagues found PPO outperformed DPO by up to 2.5% in math and 1.2% in general domains, and Xu and colleagues reported PPO surpassing other methods in all their testbeds. The same NeurIPS 2024 study found preference data quality mattered more than the algorithm. Fix the data before switching algorithms.\u003C\u002Fp>\n\n\u003Ch3>What are the main alternatives to DPO?\u003C\u002Fh3>\n\n\u003Cp>The main alternatives to DPO are PPO-based RLHF and a family of DPO-style losses that change what the model optimizes. IPO, from Azar and colleagues, works directly with pairwise preferences and swaps DPO's logit transform for an identity transform, which its authors argue avoids overfitting. KTO learns from a binary signal of whether a single output is desirable and matched or exceeded preference-based methods at scales from 1B to 30B parameters. SimPO drops the reference model and uses average log probability as the reward, outperforming DPO by up to 6.4 points on AlpacaEval 2 in its authors' tests. KTO is worth considering when labels are thumbs-up or thumbs-down rather than paired comparisons.\u003C\u002Fp>\n\n\u003Ch3>Is DPO cheaper than RLHF?\u003C\u002Fh3>\n\n\u003Cp>DPO is generally cheaper to compute than PPO-based RLHF, according to its authors, because it trains with a classification loss and needs no sampling from the model during fine-tuning. The DPO authors describe RLHF as training multiple language models and sampling in the loop, which incurs significant computational cost. SimPO goes further by removing the reference model, which its authors say makes it more compute and memory efficient. TRL also supports training PEFT adapters rather than the entire model. Compute is only part of the budget, though: DPO still needs a judged chosen and rejected response for every training example.\u003C\u002Fp>\n\n\u003Ch3>Does fine-tuning a model with DPO make you a provider under the EU AI Act?\u003C\u002Fh3>\n\n\u003Cp>Fine-tuning a general-purpose AI model, with DPO or any other method, can make a downstream entity the provider of a new model under the EU AI Act, but not automatically. The European Commission's AI Office Q&amp;A says not every modification makes the modifier a provider. Its indicative criterion is training compute for the modification greater than a third of the original model's training compute. Where obligations apply, they are limited to the modification, for example by adding information on it to the existing technical documentation. The Q&amp;A is not an official Commission position, so confirm your own status with counsel.\u003C\u002Fp>\n\n\u003Ch2>Sources\u003C\u002Fh2>\n\n\u003Col>\u003Cli>Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, Chelsea Finn. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2305.18290\">Direct Preference Optimization: Your Language Model is Secretly a Reward Model\u003C\u002Fa>. Updated July 29, 2024. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, Chelsea Finn. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fhtml\u002F2305.18290v3\">Direct Preference Optimization:Your Language Model is Secretly a Reward Model\u003C\u002Fa>. Updated July 29, 2024. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Hugging Face. \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fdocs\u002Ftrl\u002Fmain\u002Fen\u002Fdpo_trainer\">DPO Trainer\u003C\u002Fa>. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Shusheng Xu, Wei Fu, Jiaxuan Gao, Wenjie Ye, Weilin Liu, Zhiyu Mei, Guangju Wang, Chao Yu, Yi Wu. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2404.10719\">Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study\u003C\u002Fa>. ICML 2024. Updated October 10, 2024. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Hamish Ivison, Yizhong Wang, Jiacheng Liu, Zeqiu Wu, Valentina Pyatkin, Nathan Lambert, Noah A. Smith, Yejin Choi, Hannaneh Hajishirzi. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2406.09279\">Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback\u003C\u002Fa>. NeurIPS 2024. Updated October 7, 2024. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Mohammad Gheshlaghi Azar, Mark Rowland, Bilal Piot, Daniel Guo, Daniele Calandriello, Michal Valko, Rémi Munos. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2310.12036\">A General Theoretical Paradigm to Understand Learning from Human Preferences\u003C\u002Fa>. Updated November 22, 2023. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Kawin Ethayarajh, Winnie Xu, Niklas Muennighoff, Dan Jurafsky, Douwe Kiela. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2402.01306\">KTO: Model Alignment as Prospect Theoretic Optimization\u003C\u002Fa>. ICML 2024. Updated September 8, 2026. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Yu Meng, Mengzhou Xia, Danqi Chen. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2405.14734\">SimPO: Simple Preference Optimization with a Reference-Free Reward\u003C\u002Fa>. NeurIPS 2024. Updated November 1, 2024. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Nathan Lambert et al. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2411.15124\">Tulu 3: Pushing Frontiers in Open Language Model Post-Training\u003C\u002Fa>. Updated April 14, 2025. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>OpenAI. \u003Ca href=\"https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fdirect-preference-optimization\">Direct preference optimization\u003C\u002Fa>. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>European Commission, AI Office. \u003Ca href=\"https:\u002F\u002Fdigital-strategy.ec.europa.eu\u002Fen\u002Ffaqs\u002Fgeneral-purpose-ai-models-ai-act-questions-answers\">General-Purpose AI Models in the AI Act, Questions &amp; Answers\u003C\u002Fa>. Accessed November 10, 2026.\u003C\u002Fli>\u003C\u002Fol>",[],9,[430,436,442],{"title":431,"date":420,"updated":420,"seoTitle":432,"description":433,"focusKeyphrase":434,"slug":435,"author":425},"Agent Trajectory","Agent Trajectory: Definition, Grading and Uses","An agent trajectory is the full record of an AI agent's run: reasoning, tool calls and results. How it is graded, used in training and where it falls short.","agent trajectory","agent-trajectory",{"title":437,"date":420,"updated":420,"seoTitle":438,"description":439,"focusKeyphrase":440,"slug":441,"author":425},"AI Agent Evaluation","AI Agent Evaluation: Methods, Metrics and Pitfalls","How AI agent evaluation works: sandboxed tasks, outcome grading, transcript review, pass@k and pass^k, cost tracking, and how agents cheat on benchmarks.","ai agent evaluation","ai-agent-evaluation",{"title":443,"date":420,"updated":420,"seoTitle":444,"description":445,"focusKeyphrase":446,"slug":447,"author":425},"Benchmark Contamination","Benchmark Contamination: Causes, Detection, Fixes","Benchmark contamination is when test data leaks into LLM training and inflates scores. How it happens, how it is detected and how teams prevent it.","benchmark contamination","benchmark-contamination",[449,455,461],{"title":450,"date":420,"updated":420,"seoTitle":451,"description":452,"focusKeyphrase":453,"slug":454,"author":425},"Chain-of-Thought (CoT)","Chain-of-Thought (CoT): How It Works and Its Limits","Chain-of-thought (CoT) explained: few-shot and zero-shot prompting, process supervision, reasoning models, faithfulness limits and CoT monitoring.","chain-of-thought","chain-of-thought-cot",{"title":456,"date":420,"updated":420,"seoTitle":457,"description":458,"focusKeyphrase":459,"slug":460,"author":425},"Group Relative Policy Optimization (GRPO)","Group Relative Policy Optimization: How GRPO Works","Group Relative Policy Optimization (GRPO) explained: how group-relative advantages work, how GRPO differs from PPO and DPO, and its known limits.","group relative policy optimization","group-relative-policy-optimization-grpo",{"title":462,"date":420,"updated":420,"seoTitle":463,"description":464,"focusKeyphrase":465,"slug":466,"author":425},"Human Evaluation","Human Evaluation: Methods, Metrics and Pitfalls","How human evaluation of AI models works: rating methods, choosing raters, measuring agreement, common pitfalls and how it compares with LLM-as-a-judge.","human evaluation","human-evaluation",false,1795189927135]