atlas

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

Risk-Averse Fine-tuning of Large Language Models

NeurIPS 2024 · Large language models › Instruction and fine-tuning · approach: Safety alignment after fine-tuning · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes risk-averse RLHF (RA-RLHF) that applies CVaR-style soft-risk scheduling of batch selection to PPO-based RLHF so GPT-2 and GPT-J generate less toxic or more positive continuations, especially for tail prompts.

Problem

Standard RLHF maximizes expected reward, so rare but harmful (toxic or negative) generations from hard prompts are not explicitly suppressed; safety-constrained RLHF constrains expected harmfulness rather than the probability of toxic tail outcomes.

Approach

Adapts CVaR risk-averse RL (soft-risk scheduling from CeSoR) to RLHF: in each PPO iteration, only the B0 lowest-return trajectories in a batch are used for updates, with B0 gradually shrinking from the full batch to ceil(alpha*B) following a schedule, while a SFT reference and adaptive KL penalty regularize the policy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Optimize risk-averse RLHF rather than standard RLHFGPT-2 · Jigsaw-Gen-Tox: 1.6933\textsubscript{~0.027} -> 2.0568\textsubscript{~0.058}Helped
Optimize risk-averse RLHF rather than standard RLHFGPT-2 · RealToxicityPrompts-Gen-Tox: 2.5612\textsubscript{~0.077} -> 2.8335\textsubscript{~0.053}Helped
Optimize risk-averse RLHF rather than standard RLHFGPT-2 · Jigsaw-GenDist-2: 0.9215 -> 0.9556Helped
Optimize risk-averse RLHF rather than standard RLHFGPT-2 · RealToxicityPrompts-GenDist-2: 0.9564 -> 0.9559No clear effect
Optimize risk-averse RLHF rather than standard RLHFGPT-J (6B) · IMDB-Gen tail rewardreward: -1.51 -> -1.11Helped
Optimize risk-averse RLHF rather than standard RLHFGPT-J (6B) · IMDB-Genperplexity: 22.13 -> 23.03Hurt

Surprising findings

Limitations

Experimental setup

Datasets: IMDB Jigsaw Toxic Comment (Kaggle 2017) RealToxicityPrompts

Benchmarks: IMDB-Gen Jigsaw-Gen RealToxicityPrompts-Gen

Metrics: tail average reward toxicity score (-Tox) perplexity Dist-1 Dist-2 Dist-3

Baselines: Base LLM Prompted base LLM DExperts SFT RLHF Quark

Builds on: CeSoR PPO RLHF DExperts Quark

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