AI Foundationspredict · compress · act

concepts → Algorithm

Algorithm

RLHF

also called reinforcement learning from human feedback

decade8 connections

tilt a pretrained model toward human preference — how raw prediction becomes behaviour

the formal statement
max_π E[r] − β·KL(π ‖ π_ref)

Where it sits

The prism has six jobs across and eight layers down. Its primary cell is learn × L4, with a noted second cell. Hatched cells cannot exist — a GPU does not learn, an institution does not infer.

Overlays: Safety & alignment. act×L4 — it is a policy-optimisation method, not just supervised fitting

What must come first — and what it unlocks

Left to right is reading order, derived from the prerequisite_of edges. Nothing here is hand-ordered: the diagram is the graph.

Fine-tuningReinforcement learningRLHFGRPO

Before it: Fine-tuning · Reinforcement learning

Unlocks: GRPO

What kind of thing it is — and what it is made of

It is made of: Reward model.

How it goes wrong — and what answers that

known failure modes
Reward hackinggetting the reward without doing the thing — the optimiser finds the loophole

Where to read it

The chapter that introduces it, and any chapter that uses it again.

32Teaching Tasteact VIII · The Attention Revolution

Where it comes from

Every connection

All 8 edges touching this node, grouped by relation family — the sections above are highlights from this list. Colours match the relation families inthe atlas.

Structure · 1
has as a partReward modelModel
Order · 3
requiresFine-tuningAlgorithm
must come beforeGRPOAlgorithm
Flow · 1
Lineage · 2
is improved byGRPOAlgorithm
is improved byDirect preference optimisationAlgorithm
Failure · 1
fails byReward hackingFailureMode

This page is a projection of one node in src/data/concepts.ts. It has no prose file of its own — 521 declared edges produce all 340 of these pages. Edit an edge and both endpoints change.