liveBook · Manning

Alignment training

As explained in Generative AI in Action

Alignment is the process of shaping an AI model's behavior to conform to intended goals, values, or constraints.

Alignment training shapes an AI model toward intended goals, human values, and safety constraints. Common approaches include fine-tuning and reinforcement learning from human feedback (RLHF), but alignment does not guarantee harmless or human-identical behavior. section 13.3.3 section 12.4.3

Apply alignment as part of a broader production safety strategy:

  • Inspect model cards and transparency notes to understand safety techniques and known problems. section 13.3.3
  • Red-team different model versions and measure potential harms rather than assuming alignment is sufficient. section 13.3.3
  • Layer model-level alignment with safety systems, user review, application controls, and published policies. section 13.3.3

Evaluating moral and causal alignment

The MoCa framework compares LLM judgments about causal and moral scenarios with human participants’ judgments. It uses AuROC as its main alignment metric and accuracy as a secondary measure. Newer, larger models such as GPT-4 and Claude score closer to human judgments than smaller models such as GPT-3, although no model perfectly matches human moral systems. section 12.4.3

Figure 13.11 Harms mitigation layers
figure

Use the harms-mitigation layers to position alignment training alongside safety monitoring, application design, user interventions, and governance. section 13.3.3

How Generative AI in Action covers it

How deep it goes
Identifies fine-tuning and RLHF, then emphasizes testing and layered mitigations without detailing training procedures.
Examples
Uses GPT-4, Claude, GPT-3, Llama 2, RLHF, MoCa scenarios, AuROC, and human moral judgments.
What you can do after
Evaluate alignment with human judgments and design layered safeguards around aligned models.
How it connects
Connects alignment with reinforcement learning from human feedback, fine-tuning, red-teaming, safety systems, and model evaluation.

Also explained in

Compare how 6 books explain alignment training →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Generative AI in Action. The section links point to the parts of the book it draws on.