Urgent.News

What's breaking now, across thousands of outlets.

Tech

DPO vs RLHF: which should you use to align a model?

Use DPO first: it learns from the same preference labels as RLHF but drops the reward model and the online sampling loop, so it is cheaper, faster and easier to debug. On Nodus the whole DPO path runs on managed runtimes ( nodus/sft , then nodus/dpo ), while RLHF adds a nodus/reward-model stage and a PPO loop you run as your own Job. Move to RLHF with PPO when evaluations show you need online…

Both DPO and RLHF can be used to align language models, but they differ in cost, speed, and effectiveness. DPO is cheaper, faster, and easier to debug as it does not require a reward model or online sampling loop. On platforms like Nodus, the entire DPO process runs on managed runtimes, avoiding the need for a separate reward model stage and PPO loop.

RLHF, on the other hand, involves training a reward model on preference pairs and then using Proximal Policy Optimization (PPO) to update the model. This process requires more GPU time and engineering effort. The PPO stage can take 1.3 to 8 times longer than a DPO pass on the same data, making RLHF more expensive and time-consuming.

In terms of cost, at an 8B model size, the DPO pipeline costs about $2.02, while the RLHF pipeline can cost between $2.63 and $5.70. The main cost drivers are human preference labels, which can be prohibitively expensive if done manually. Simulated annotators can reduce this cost significantly, but it still remains a significant portion of the overall budget.

While both methods can potentially result in better models, DPO often matches or improves response quality in summarization and single-turn dialogue. Larger, more resource-intensive experiments have shown mixed results, with some studies favoring PPO-based RLHF and others supporting DPO. Ultimately, the choice between DPO and RLHF depends on the specific use case, available resources, and desired balance between cost and performance.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Line Art Breaks Upscalers in a Way Photos Never Do

Take a manga panel, a webtoon strip, or a flat-shaded anime still and run it through the same upscaler you use on photographs.

  • Line art differs from photos in signal type, having only ink and paper values.
  • Upscaling line art distorts edges, creating fuzzy or dotted patterns.
  • Sub-pixel information manipulation causes noticeable artifacts in line art.

A 15-minute nap alarm, one tap away

https://play.google.com/store/apps/details?id=com.droidactor.alarm A short rest after lunch should not need another alarm's hour and minute. Open Quick nap in Dotori Alarm Clock.

  • Quick nap feature in Dotori Alarm Clock app
  • 15-minute nap alarm scheduled with one tap
  • Nap alarm uses default settings and snooze limit

Checking a Four-Direction Sprite Sheet Before Importing It

Disclosure: This article was drafted with AI writing assistance. The images come from an existing SpriteSheetTool demonstration, a product I am associated with.

  • Verify grid geometry and cell arrangement before importing
  • Map each direction (North, East, South, West) with four frames each
  • Test character consistency and loop transitions after setup

More from Saturday 14 November →