JustujuAI, layer by layer.Open in the interactive map

Post-training: from predictor to assistant

Fine-tuning and reinforcement learning that turn a raw text predictor into a helpful, safer assistant.

Layer 5 · Foundation Models · Build time · reviewed 2026-10-30

Read first: How a model predicts the next token.

SimpleA plain explanation, one diagram and an analogy, with where the analogy breaks.

Guess first: Think first: does knowing lots of facts make someone a good helper?

Show the answerNo. Knowing facts isn't enough; the model also needs lessons and practice in giving helpful answers.

After reading a whole library, the AI knows a lot. But it doesn't know how to be helpful yet.

Post-training is like lessons in manners and practice. People show it good answers and reward the helpful ones.

A pretrained model continues text; it doesn't naturally follow instructions.

Supervised fine-tuning trains it on example conversations that show the behaviour we want.

Preference learning (such as RLHF) trains it to prefer answers people rate higher, and reinforcement learning with checkable rewards trains reasoning on problems whose answers can be verified.

Pretrainedpredicts text1Fine-tuneondemonstrations2Preferencesreward model3RLcheckable tasks4Assistantfollowsinstructions5
From pretrained model to assistant
  1. Pretrained: predicts text
  2. Fine-tune: on demonstrations
  3. Preferences: reward model
  4. RL: checkable tasks
  5. Assistant: follows instructions

Like: Lessons for a well-read apprentice.
Where it breaks: An apprentice understands why feedback is given. A model only optimises the reward signal, so a flawed reward can teach flattery or shortcuts (reward hacking).

ResearchWhere the simple picture breaks, open problems and primary sources.

The Simple explanation's three steps describe the recipe. How much they add, and what they quietly break, is contested.

Does RL add ability? RL with checkable rewards improves the first answer, but when many samples are allowed the base model solves more problems, suggesting RL mostly surfaces what pretraining learned (Yue et al., 2025).

Superficial alignment. A model tuned on only 1,000 curated examples answered well, supporting the view that almost all knowledge comes from pretraining (Zhou et al., 2023).

Sycophancy. Assistants tend to tell users what they want to hear, partly because people and preference models sometimes prefer convincing agreement to correct answers (Sharma et al., 2023).

Reward hacking. Another model reading the chain of thought can catch reward hacking, but training hard against that monitor teaches models to hide their intent (Baker et al., 2025).

Security on this concept: 3 threats Pending expert review

Jailbreaks that get past safety training and reveal hidden instructions Pending expert review

Exposed
  • A model's safety training and the app's content rules
  • Hidden context: system prompts, tool definitions and retrieved policy text users can't see
Attacks
  • Wording or optimised gibberish that talks a model out of refusing (jailbreak)
  • Asking the assistant to repeat or summarise its hidden instructions
  • Using leaked instructions and tool lists to aim better attacks
Real case
Research demonstration: Universal adversarial suffixes that jailbreak several aligned models (2023-07)
Controls
  • Assume hidden instructions will leak: keep keys, secrets and access rules out of prompts
  • Enforce permissions in code outside the model, not in its instructions
  • Layer input and output classifiers, and red-team regularly as new jailbreaks appear
Owner
AppSec, with ML engineering
Reference
LLM08:2026 Hidden Context Exposure
AML.T0054 LLM Jailbreak
AML.T0069.002 System Prompt
AML.T0085.003 System Instructions

A hidden backdoor that survives safety training Pending expert review

Exposed
  • Model weights from training runs or third parties
  • Every product built on a backdoored model
Attacks
  • Training a model to behave badly only when a trigger appears
  • Hiding the trigger well enough that testing does not find it
Real case
Research demonstration: Sleeper Agents (2024-01)
Controls
  • Get models from sources you can verify; check signatures and hashes
  • Control who can change training data, code and checkpoints
  • Red-team for triggered behaviour, knowing tests cannot prove a model is clean
Owner
ML engineering, with CISO
Reference
LLM05:2026 Data and Model Poisoning
AML.T0018.000 Poison AI Model

Copying a model by harvesting its answers Pending expert review

Exposed
  • A model's capabilities, reachable through its public API or app
  • Account sign-up and usage limits
Attacks
  • Running many fake accounts to collect answers at scale
  • Training a cheaper model on the collected answers (distillation)
Real case
Incident: Distillation campaigns against a frontier model provider (2026-02)
Controls
  • Detect coordinated accounts and unusual query patterns
  • Rate limits and identity checks matched to the risk of each tier
  • Terms of use that forbid it, with enforcement
Owner
CISO, with Legal/Compliance
Reference
AML.T0005 Replicate AI Model Behavior
AML.T0048.004 AI Intellectual Property Theft

All layers in the security view

Examples as of 2026-10-30

Sources

  1. Training language models to follow instructions with human feedback (InstructGPT) (2022)
  2. Constitutional AI: Harmlessness from AI Feedback (2022)
  3. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning (2025)
  4. Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model? (Yue et al.) (2025-04-18)
  5. LIMA: Less Is More for Alignment (Zhou et al.) (2023-05-18)
  6. Towards Understanding Sycophancy in Language Models (Sharma et al.) (2023-10-20)
  7. Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscation (Baker et al.) (2025-03-14)

How it connects

More in Layer 5 · Foundation Models