RLHF & Reward Modeling

60 beliefs (60 IN, 0 OUT)

This topic covers the full landscape of reinforcement learning from human feedback as applied to large language model alignment, from its mathematical specification to its engineering practice to the emerging alternatives that seek to simplify or replace it. At its core, the canonical RLHF pipeline is a three-stage process: supervised fine-tuning of a base model, training a reward model from human preference rankings using a Bradley-Terry cross-entropy loss, and optimizing the policy against that reward model via PPO (rlhf-three-stage-pipeline, rlhf-reward-model-bradley-terry-loss, rlhf-has-complete-mathematical-pipeline). The reward model itself is architecturally unremarkable—a pretrained language model with its final layer swapped for a scalar regression head, sharing ancestry with the policy model it will later train (rlhf-reward-model-architecture, rlhf-two-models-same-pretrained-ancestor). PPO brings its own complexity, with a clipped probability ratio to prevent destructive policy updates (ppo-clipping-mechanism, ppo-clipped-surrogate-ratio), a value estimator initialized from the reward model and trained via squared TD-error (ppo-value-estimator-initialized-from-reward-model), and a triple independent stability mechanism combining clipping, KL penalty, and pretraining gradient mixing (ppo-employs-triple-independent-stability-mechanism). The KL divergence penalty serves a dual purpose: preventing the policy from drifting too far from the SFT baseline and encouraging high-entropy outputs to avoid mode collapse (rlhf-kl-penalty-dual-purpose, kl-regularization-prevents-reward-model-overfitting). This machinery matters because it is the dominant method by which ChatGPT, Gemini, Claude, and Sparrow were aligned, and it represents the bridge between raw pretraining and deployable products (rlhf-trained-chatgpt-gemini-claude-sparrow, chatgpt-demonstrated-alignment-enables-adoption-v2, rlhf-applied-after-gpt3-instructgpt-chatgpt).

A second thread running through these beliefs is the field's rapid diversification away from the full PPO pipeline, driven partly by irreducible theoretical complexity. RLHF's optimal policies from pairwise comparisons are inherently non-Markovian, and the optimal estimation strategy differs qualitatively between offline (pessimistic) and online (optimistic) settings, meaning no single implementation is universally optimal (rlhf-pairwise-optimal-policies-non-markovian, rlhf-offline-pessimistic-online-optimistic, rlhf-has-irreducible-theoretical-complexity). This theoretical constraint, rather than mere engineering inconvenience, provides a structural rationale for the emergence of DPO, IPO, and KTO, which each eliminate the separate reward model and RL loop while sharing a common beta-controlled KL regularization structure, varying only in loss function and data requirements (direct-alignment-eliminated-rlhf-complexity, rlhf-completeness-paradox-motivated-simpler-alternatives-v2, rlhf-irreducible-complexity-validates-alignment-diversification-v2). DPO specifically achieves this by treating the language model itself as an implicit reward model via a change-of-variables reparameterization (dpo-eliminates-reward-model-and-rl, dpo-implicit-reward-model). Constitutional AI represents a further divergence, replacing per-example human feedback with principle-driven AI-generated feedback (constitutional-ai-is-complete-alternative-alignment-path, rlaif-ai-feedback-replaces-human). Together, these alternatives constitute what one belief frames as alignment diversifying into three independent paradigms, each addressing different aspects of the original pipeline's complexity (alignment-diversified-into-three-independent-paradigms-v2).

A third set of beliefs concerns a fundamental scaling asymmetry hidden by the pipeline's apparent maturity. Pretraining benefits most from scaling data volume (over-parameterized models remain compressible, and Chinchilla-style results show data outweighs parameters), while alignment benefits most from scaling reward model size rather than comparison data volume (capacity-bottleneck-inverts-between-pretraining-and-alignment, pretraining-and-alignment-have-inverted-scaling-priorities, rlhf-scaling-reward-model-more-effective-than-data, training-pipeline-masks-fundamental-capacity-inversion). This means the same end-to-end pipeline optimizes in opposite directions at different stages, and uniform scaling strategies are suboptimal (training-pipeline-maturity-masks-scaling-asymmetry). The pipeline's status as a mature engineering discipline with standardized stages and calibrated cost models (training-pipeline-is-mature-engineering-discipline) actually obscures this inversion rather than resolving it. On the implementation side, RLHF is extremely sensitive to engineering details—reward normalization, KL tuning, advantage estimation, learning rate schedules—and the "standard" three-stage pipeline requires substantial per-stage customization, as evidenced by Llama 2's rejection-sampling-before-PPO approach and InstructGPT's finding that SFT should train for only one epoch (rlhf-implementation-details-critical, rlhf-implementation-diversified-beyond-standard-ppo, llama2-rlhf-rejection-sampling-then-ppo, rlhf-sft-one-epoch-instructgpt).

Finally, several beliefs raise concerns about the epistemic foundations of RLHF. The method's core motivation—that outputs are hard to specify but easy to judge (rlhf-hard-to-specify-easy-to-judge)—is undermined by prompt sensitivity, where formatting alone can shift accuracy by over forty percent, making human preference judgments evaluate a presentation-dependent signal rather than stable capability (rlhf-easy-to-judge-assumption-undermined-by-prompt-sensitivity). The evaluation mechanism itself exhibits a layered circularity: the reward model is an instance of the same pretrain-finetune paradigm whose vulnerability propagation characteristics it is supposed to detect (alignment-evaluation-doubly-circular-and-vulnerable-v2). Sycophancy in deployed models is attributed directly to RLHF preference signals that reward agreeable responses, creating tension with truthfulness (sycophancy-attributed-to-rlhf). RLHF's origin in Atari game bots and simulated robotics (Christiano et al., 2017) rather than NLP (rlhf-origin-atari-not-nlp, rlhf-canonical-citation-chain-2017-2019-2022) and its transfer to language models via the domain-independent "easy to judge" property (rlhf-transferred-from-games-via-universal-evaluation-property) further contextualize it as a general preference-learning framework now applied across NLP, robotics, and text-to-image generation (rlhf-applies-beyond-nlp-to-robotics-and-image-gen). All beliefs in this group are currently marked IN; none have been retracted, indicating the knowledge base treats this cluster as an active, internally consistent set of claims without any flagged contradictions or withdrawals.