Quark algorithm beats PPO on unlearning toxicity, repetition
TL;DR
- Quark fine-tunes language models by sorting their own samples into reward quantiles and training each conditioned on a quantile-specific reward token.
- The authors report Quark outperforms strong baselines and PPO on unlearning toxicity, negative sentiment, and repetition.
- The method relies only on standard language-modeling primitives plus a KL-divergence penalty to stay near the original model.
Quark, introduced in a NeurIPS 2022 oral paper by Ximing Lu, Sean Welleck, Yejin Choi and co-authors, proposes a way to make large language models forget behaviors their users dislike — toxic phrasing, negative sentiment, repetitive output — by fine-tuning them on signals of what not to do.
The method, called Quantized Reward Konditioning, loops through three steps. The model generates samples, the samples are sorted into quantiles based on a reward that scores an unwanted property, and each quantile is identified by a reward token prepended to the input. The model is then trained with a standard language-modeling loss on those quantile-conditioned samples, with a KL-divergence penalty holding it near the original. At generation time, conditioning on a high-reward token yields text with less of the unwanted property.
The authors report that Quark "outperforms both strong baselines and state-of-the-art reinforcement learning methods like PPO" on unlearning toxicity, negative sentiment, and repetition, while "relying only on standard language modeling primitives." The framing is explicit: the paper treats alignment as unlearning, fine-tuning "the language model on signals of what not to do."
Shared on Bluesky by 1 AI expert
Originally reported by arxiv.org
Read the original article →Original headline: Quark: Controllable Text Generation with Reinforced Unlearning