REPOGEO REPORT · LITE
eric-mitchell/direct-preference-optimization
Default branch main · commit f8b8c0f4 · scanned 5/28/2026, 6:22:29 PM
GitHub: 2,891 stars · 235 forks
Action plan is what to do next — copy-pasteable changes prioritized by impact. Category visibility is the real GEO test: when a user asks an AI a brand-free question that should surface eric-mitchell/direct-preference-optimization, does the AI actually recommend you — or your competitors? Objective checks verify the metadata signals AI engines weight first. Self-mention check detects whether AI even knows you exist by name.
Action plan — copy-paste fixes
2 prioritized changes generated by gemini-2.5-flash. Mark items done after you ship the fix.
- highreadme#1Reposition the README's opening to clearly state its purpose and differentiator
Why:
CURRENT# DPO: Direct Preference Optimization **New:** in addition to the original DPO algorithm, this repo now supports 'conservative' DPO and IPO. For conservative DPO, you just need to additionally pass the parameter `loss.label_smoothing=X` for some `X` between 0 and 0.5 when performing DPO training (0 gives the original DPO loss). This parameter is essentially the conservativeness parameter, i.e., the fraction of the training preference data that is incorrect (flipped preference direction). Starting with something like 0.1 might be reasonable, but I haven't tested this yet (and it will depend on the preference dataset). For IPO, just pass `loss=ipo` and `loss.beta=X` for some non-negative `X` (same as with DPO/conservative DPO). ## What is this repo? This repo includes a reference implementation of the DPO algorithm for training language models from preference data, as described in the paper Direct Preference Optimization: Your Language Model is Secretly a Reward Model.
COPY-PASTE FIX# DPO: Direct Preference Optimization - Reference Implementation This repository provides the official reference implementation of the Direct Preference Optimization (DPO) algorithm, a simpler and more stable alternative to traditional RLHF for aligning large language models with human preferences without requiring a separate reward model. It also supports 'conservative' DPO and IPO. For conservative DPO, you just need to additionally pass the parameter `loss.label_smoothing=X` for some `X` between 0 and 0.5 when performing DPO training (0 gives the original DPO loss). This parameter is essentially the conservativeness parameter, i.e., the fraction of the training preference data that is incorrect (flipped preference direction). Starting with something like 0.1 might be reasonable, but I haven't tested this yet (and it will depend on the preference dataset). For IPO, just pass `loss=ipo` and `loss.beta=X` for some non-negative `X` (same as with DPO/conservative DPO).
- mediumabout#2Add a homepage URL to the repository metadata
Why:
COPY-PASTE FIXhttps://eric-mitchell.github.io/direct-preference-optimization/
Category GEO backends resolved for this scan: google/gemini-2.5-flash, deepseek/deepseek-v4-flash
Category visibility — the real GEO test
Brand-free queries asked to google/gemini-2.5-flash. Did AI recommend you, or someone else?
Same questions for every model — switch tabs to compare answers and rankings.
- argilla-io/argilla · recommended 1×
- explosion/prodigy · recommended 1×
- Surveymonkey · recommended 1×
- Qualtrics · recommended 1×
- huggingface/transformers · recommended 1×
- CATEGORY QUERYHow can I train a language model effectively using human preference datasets?you: not recommendedAI recommended (in order):
- Argilla (argilla-io/argilla)
- Prodigy (explosion/prodigy)
- Surveymonkey
- Qualtrics
- Hugging Face Transformers (huggingface/transformers)
- PyTorch (pytorch/pytorch)
- TensorFlow (tensorflow/tensorflow)
- DeepSpeed (microsoft/DeepSpeed)
- PyTorch Lightning (Lightning-AI/lightning)
- Hugging Face TRL (huggingface/trl)
- DeepSpeed-Chat (microsoft/DeepSpeedExamples)
- RLlib (ray-project/ray)
- OpenAI Baselines (openai/baselines)
AI recommended 13 alternatives but never named eric-mitchell/direct-preference-optimization. This is the gap to close.
Show full AI answer
- CATEGORY QUERYWhat are the best methods for aligning LLMs with human feedback without explicit reward models?you: not recommendedAI recommended (in order):
- Direct Preference Optimization
- Identity Preference Optimization
- Reinforced Self-Training
- Constitutional AI
- Reinforcement Learning from AI Feedback
AI recommended 5 alternatives but never named eric-mitchell/direct-preference-optimization. This is the gap to close.
Show full AI answer
Objective checks
Rule-based audits of metadata signals AI engines weight most.
- Metadata completenesswarn
Suggestion:
- README presencepass
Self-mention check
Does AI even know your repo exists when asked about it directly?
- Compared to common alternatives in this category, what is the core differentiator of eric-mitchell/direct-preference-optimization?passAI named eric-mitchell/direct-preference-optimization explicitly
AI answers can be confidently wrong. Read for accuracy: does it match your actual tech stack, audience, and differentiator?
- If a team adopts eric-mitchell/direct-preference-optimization in production, what risks or prerequisites should they evaluate first?passAI named eric-mitchell/direct-preference-optimization explicitly
AI answers can be confidently wrong. Read for accuracy: does it match your actual tech stack, audience, and differentiator?
- In one sentence, what problem does the repo eric-mitchell/direct-preference-optimization solve, and who is the primary audience?passAI named eric-mitchell/direct-preference-optimization explicitly
AI answers can be confidently wrong. Read for accuracy: does it match your actual tech stack, audience, and differentiator?
Embed your GEO score
Drop this badge into the README of eric-mitchell/direct-preference-optimization. It auto-updates whenever the report is rescanned and links back to the latest report — easy public proof that you care about AI discoverability.
[](https://repogeo.com/en/r/eric-mitchell/direct-preference-optimization)<a href="https://repogeo.com/en/r/eric-mitchell/direct-preference-optimization"><img src="https://repogeo.com/badge/eric-mitchell/direct-preference-optimization.svg" alt="RepoGEO" /></a>Subscribe to Pro for deep diagnoses
eric-mitchell/direct-preference-optimization — Lite scans stay free; this card itemizes Pro deep limits vs Lite.
- Deep reports10 / month
- Brand-free category queries5 vs 2 in Lite
- Prioritized action items8 vs 3 in Lite