পরবর্তী আপপরবর্তী গাইড
অডস রেশিও প্রেফারেন্স অপ্টিমাইজেশান
ভাষা এআই
ভাষা এআই গাইড
Direct Preference Optimization (DPO) trains a language model from preference comparisons without the separate reward-model-plus-online-PPO loop used in a standard RLHF setup.
এই নির্দেশিকা শুনুনএআই-বর্ণিত · ~2 min
The DPO paper derives a preference-learning objective from a KL-constrained reward-maximization setup. Training examples include a prompt, preferred answer, and rejected answer. The method uses a reference policy in its objective and avoids fitting a separate reward model in the proposed pipeline. This does not mean DPO avoids all modeling assumptions or guarantees alignment. DPO optimizes pairwise preference comparisons using policy and reference log probabilities. Its implicit reward is beta times the policy/reference log-probability ratio, up to a prompt-dependent constant. KTO is a separate prospect-theoretic alignment objective that learns from binary desirable/undesirable feedback and should not be labeled a DPO variant.
Train on prompts with preferred and rejected answers.
Compare a DPO experiment with a supervised baseline on a fixed evaluation set.
Track the reference model and beta settings for reproducibility.
Review learned behavior for regressions after preference tuning.
Preference-training methods continue to vary. Report data, reference, optimizer, and evaluation details rather than treating DPO as a complete safety method.
ফ্রি নিউজলেটার
প্রতি সপ্তাহের কাজের দিন সকালে তিনটি যাচাইকৃত এআই স্টোরি, সহজ ইংরেজিতে লেখা। চিরকালের জন্য ফ্রি, কোনো বিজ্ঞাপন নেই।
প্রতি সপ্তাহের কাজের দিনে একটি ইমেল। এক ক্লিকেই আনসাবস্ক্রাইব করুন। আমরা কখনোই আপনার ঠিকানা বিক্রি বা শেয়ার করি না।
নিজেকে পরীক্ষা করুন
প্রতিটি উত্তরের তাৎক্ষণিক ফিডব্যাক, এবং কোর্স পাস করার পর যাচাইযোগ্য আইডি সহ একটি শেয়ারযোগ্য সার্টিফিকেট।
ফ্রি এআই শিক্ষাকে সমর্থন করুন। AI Understanding একটি 501(c)(3) অলাভজনক প্রতিষ্ঠান — কোনো বিজ্ঞাপন নেই, কোনো পেওয়াল নেই, কখনোই না। একটি দান করুন
Direct Preference Optimization (DPO) trains a language model from preference comparisons without the separate reward-model-plus-online-PPO loop used in a standard RLHF setup.
ডিপিও-এর প্রধান সুবিধা হল সুস্পষ্ট পুরস্কার মডেল এবং RL স্যাম্পলিং লুপ সরিয়ে দেওয়া, পরিবর্তে পছন্দের জোড়ায় সরাসরি নীতিকে অপ্টিমাইজ করা।
ডিপিও পছন্দের জোড়ার উপর প্রশিক্ষণ দেয়: একটি প্রম্পট প্লাস একটি পছন্দের ('নির্বাচিত') এবং একটি অপছন্দিত ('প্রত্যাখ্যান') প্রতিক্রিয়া।
একটি হিমায়িত রেফারেন্স (সাধারণত SFT মডেল) ক্ষতিকে অ্যাঙ্কর করে; বিটা প্যারামিটার নিয়ন্ত্রণ করে যে প্রশিক্ষিত নীতি এটি থেকে কতদূর যেতে পারে।
The DPO objective uses a preference pair and compares policy log-probability ratios against a reference policy. This describes the pairwise objective, while the implicit-reward interpretation is a related consequence.
বিটা অন্তর্নিহিত KL সীমাবদ্ধতা নিয়ন্ত্রণ করে: উচ্চতর বিটা নীতিকে রেফারেন্সের কাছাকাছি রাখে, নিম্ন বিটা আরও বিচ্যুতির অনুমতি দেয়।
শিখতে থাকুন
এই বিষয়ের জন্য বাছাই করা আরও গাইড
পরবর্তী আপপরবর্তী গাইড
অডস রেশিও প্রেফারেন্স অপ্টিমাইজেশান
ভাষা এআই