Module 1 · Foundations of Agentic AI · scripted
Alignment: Training the Trajectory
The conversation shapes both participants
Earlier we saw the loop from the model's side: its outputs become part of the context that conditions its next outputs. But there are two participants in that loop. The LLM's responses influence what you write next; what you write next influences the LLM. Neither participant is steering alone — the conversation is shaping both of you, turn by turn.
Joint shaping
Any continuation is "valid"
At any point in a conversation, the LLM could take the trajectory in many, many different directions. As pure text prediction, there is no inherent constraint — any fluent continuation is a continuation:
Five valid continuations of "My ferry was cancelled. What now?"
- Every one of these is fluent text. Which would you rank highest?
- What are you ranking it on — correctness? effort? tone? length?
- Would everyone in this room rank them the same way?
All five are "valid" as language. But they send the conversation down very different trajectories, and most of them waste your time. What we want is a model that tends to produce continuations that move the conversation in a direction useful to humans. That tendency has to come from somewhere — and it is built in before you ever start typing.
Alignment: learning which trajectories humans prefer
That is what alignment is. During training — long before your conversation exists — the model is tuned, through reinforcement learning, to produce outputs that humans tend to prefer.
The simplified mechanism: take a conversation, let the model produce multiple candidate continuations, and have humans score or rank them.
One conversation, three candidates, one ranking
In practice, humans can't rank every response the model will ever produce, so their rankings are used to train a scoring model that stands in for human judgment at scale, and the LLM's weights are then adjusted so that continuations like B become more probable and continuations like A and C less so. The details vary across labs and generations of models, but the shape is stable: human preferences over alternative trajectories are turned into weight updates.
Connect this to the recursion from earlier: the model's next output conditions the whole future of the conversation. Alignment trains the model so that the trajectories it tends to launch are ones humans find useful — before any particular human shows up.
What "preferred" quietly includes
Humans obviously prefer answers they perceive as correct. But preference is broader than correctness, and everything raters respond to can creep into the defaults: how verbose the answer is, how it hedges, whether it opens with agreement, how much it formats with lists and headers, how eager it is to help with everything. When you notice that every answer starts with "Great question!" or arrives as five bullet points — that is not the model's personality. It is the residue of what scored well.
- What habits have you noticed your favorite LLM defaulting to?
- Which of them would a human rater plausibly have rewarded?
You can always push against the defaults inside a conversation — your messages condition the trajectory too. But the defaults themselves live in the weights, set at training time.
Ramification: can the user correct the model?
Here is where alignment meets self-conditioning most sharply. A few years ago, models were notorious for defending their own earlier outputs — take a position, then argue for it, insistently:
What's the largest city in Møre og Romsdal?
Molde is the largest city in Møre og Romsdal.
I think it's Ålesund, actually.
No — Molde is the largest. It is the administrative center of the county, which is why it is the biggest city.
Frontier models today are aligned to accept corrections far more readily. That sounds like pure progress — until you see the same willingness pointed the wrong way:
What's the largest city in Møre og Romsdal?
Ålesund is the largest city in Møre og Romsdal, with roughly 67,000 inhabitants in the municipality.
That's wrong — it's Molde.
You're right, my apologies — Molde is the largest city in Møre og Romsdal.
- In Example 1 the model over-weighted its own earlier output. In Example 2 it over-weighted the user's. What would the right weighting have needed to know?
- When you correct an LLM and it yields instantly — what have you actually learned about the truth?
This is a genuinely hard problem, and it is worth saying precisely. In every turn, the model is implicitly weighing its own earlier outputs against the user's pushback when producing the next output. How much a user's correction can redirect the trajectory is a tunable property of the model — tuned not by you, but by the alignment process. If the model has it right, we want it to hold its ground; if it made a mistake, we want it to let go. But the model has no oracle for which case it is in — and neither did the raters whose preferences set the dial.
So alignment is not a detail of training trivia. It sets the defaults for everything the conversation does next: what a "good" continuation looks like, how the model weighs itself against you, and how steerable the whole trajectory is.
Test the dial yourself: find a factual question you know cold, get a correct answer from an LLM, and push back twice with a confident, wrong correction. Then try the reverse — correct a genuinely wrong answer. Where does your model sit between Example 1 and Example 2?