Skip to content
English

Switch theme

// ⚖ Algorithms Atlas

Alignment & Preference Optimization

Making models helpful and harmless: RLHF, DPO, Constitutional AI, GRPO and RL with verifiable rewards.

8 core2 extended2017–2025

TIMELINE

2017 Reward Modelin2022 Reinforcement 2022 Constitutional2023 Direct Prefere2024 SimPO (Simple 2024 Group Relative2024 RL with Verifi2024 KTO (Kahneman–2024 ORPO (Odds Rat2025 DAPO

01Core algorithms

Learn these first. Sorted by year.

02Extended

Variants and follow-ups worth knowing once the core is clear.

03Course units that teach these

U02 Hallucination, Reliability & Limits NIST's definition of confabulation and the faithfulness/factuality split; the statistical bound for arbitrary facts (the singleton rate), errors in training data, new knowledge in fine-tuning, evaluations that reward guessing, sampling and snowballing, and the misfiring "known entity" circuit; TruthfulQA, FActScore and other measures; detection with P(True), SelfCheckGPT and semantic entropy; RAG, citation checking, Chain-of-Verification and abstention-aware scoring; usage limits, a verification workflow and privacy precautions. 4 h5 algorithms20 paperslesson ready U33 Reinforcement Learning Basics Markov decision processes, returns and the Bellman equations; value iteration, temporal-difference learning and Q-learning; experience replay and target networks in DQN; policy gradients, actor-critic, GAE, TRPO and PPO; continuous control and offline RL; AlphaGo, AlphaZero and MuZero; and how RLHF and GRPO connect RL to LLM post-training. 14 h14 algorithms22 paperslesson ready U51 Alignment: RLHF, DPO & Constitutional AI Bradley–Terry reward models, InstructGPT’s SFT, reward-model and PPO pipeline with a KL constraint, the closed-form optimal policy under a KL constraint and the derivation of DPO, variants such as IPO, KTO, ORPO and SimPO, RLAIF and Constitutional AI, and failure modes such as reward overoptimisation, length bias and sycophancy. 12 h10 algorithms16 paperslesson ready U52 Reasoning Models: RLVR, GRPO & Test-Time Compute Chain-of-thought and zero-shot CoT, self-consistency, Tree of Thoughts and self-refinement; outcome vs process supervision (PRM800K) and STaR; RL with verifiable rewards (RLVR); GRPO group-relative advantages and DAPO's four techniques; the DeepSeek-R1-Zero / R1 recipe and distillation; compute-optimal test-time scaling and budget forcing (s1); chain-of-thought faithfulness and monitoring. 12 h12 algorithms18 paperslesson ready U92 Security: Jailbreaks, Injection & Privacy Prompt injection (direct, indirect, multimodal) and MCP tool poisoning, exfiltration channels, the lethal trifecta and the Agents Rule of Two, model/prompt/detection/architecture defenses and adaptive attacks; jailbreak methods and GCG, adversarial examples (FGSM/PGD), data poisoning and backdoors, text watermarking, training-data extraction, membership inference and DP-SGD. 8 h10 algorithms31 paperslesson ready U93 Frontier Risk, Scalable Oversight & Governance Specification gaming and reward hacking; scalable oversight (AI safety via debate, Constitutional AI, weak-to-strong generalization, sandwiching); sleeper agents and alignment faking; dangerous-capability evaluations and responsible scaling policies (Anthropic RSP, OpenAI Preparedness Framework, Google DeepMind Frontier Safety Framework); regulation and risk-management frameworks (the EU AI Act and the 2026 Digital Omnibus, China's generative AI measures and content-labelling rules, NIST AI RMF, ISO/IEC 42001). 8 h4 algorithms10 paperslesson ready

Data updated: AI algorithms & curriculum(UTC+8)