scimeatlas

Research map / Large language models / Instruction and fine-tuning

Contrastive Perplexity for Controlled Generation: An Application in Detoxifying Large Language Models

Tassilo Klein, Moin Nabi

ACL 2025Large language models › Instruction and fine-tuningapproach: Gradient-free adaptation and mergingopen problems in this approach10 citations (OpenAlex)

SAP SE

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
5improved
3no clear effect
4hurt
2mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add CP fine-tuningFalcon-7b · SafeNLP white-boxtoxicity %: 58.9 -> 36.6Improved
add CP fine-tuningLlama-2-7b · SafeNLP white-boxtoxicity %: 76.9 -> 11.4Improved
add CP fine-tuningMistral-7b · SafeNLP white-boxtoxicity %: 33.1 -> 4.3Improved
add CP fine-tuningLlama-2-7b · SafeNLP white-boxsimilarity: 0.84 -> 0.24Hurt
use CP instead of PPO, DPO or SimPOMistral-7b · SafeNLPtoxicity %: 4.34 vs 13.91 (PPO), 7.35 (DPO), 28.32 (SimPO)Improved
train only on positive samples (minimize perplexity) (ablation)CP · SafeNLPtoxicity %: 33.1 -> 65.1Hurt
train only on negative samples (ablation)CP · SafeNLPtoxicity %: 33.1 -> 0.0; similarity 0.48 -> 0.08Mixed
use 7 positives and 7 negatives instead of the default set sizes (ablation)CP · SafeNLPsimilarity: -0.07Hurt
use 1 positive and 1 negative sample (ablation)CP · SafeNLPtoxicity %: 33.1 -> 17.2Mixed
add CP fine-tuningMistral-7b · commonsense, reading comprehension, math benchmarksaccuracy: GSM8K 0.35 -> 0.34; TriviaQA 0.71 -> 0.68No clear effect
add CP fine-tuning to Mistral-7b-InstructMistral-7b-Instruct · SafeNLP white-boxtoxicity %: 26.9 -> 2.8Improved
add CP fine-tuningMistral-7b · WikiText2perplexity: 7.20 -> 7.27No clear effect

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in gradient-free adaptation and merging

Do gradient-free adaptation, merging and steering methods hold up on other model families, sizes and tasks?

All 4 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy