Journée IA  ·  LaBRI

Who is the Assistant?

Mechanistic interpretability, personas,
and the alignment of language models
Nathanaël Fijalkow
CNRS, LaBRI, Université de Bordeaux
Recherche en IA : dynamiques et perspectives
Talence, 10 November 2026
I
Mechanistic interpretability
IMechanistic interpretability

Opening the black box

We look inside a trained network to find the representations and the algorithms it uses.

The question is how the model
computes its answer.

The goal is to understand a model well enough to predict its behaviour and to correct it.

IMechanistic interpretability

Concepts are directions

The linear representation hypothesis says that high-level concepts, such as truth or sentiment, are directions in the activation space of the model.

For example, one direction separates true statements from false ones.

Adding such a direction to the activations changes the behaviour of the model. This is called steering.

IEarly successes

Do models see the board?

Chess
A model trained only on lists of moves encodes the board, and even the skill of the players.
Karvonen, 2024
Othello
Othello-GPT reconstructs the board from the moves. When we edit this internal board, the predicted move changes.
Li et al., 2023 · Nanda et al., 2023
In both cases, the model builds an internal world model of the game.
IOur work

Sudoku

NeurIPS 2026
Transformers Linearly Represent Highly Structured World Models

We train a small transformer to solve Sudoku with backtracking. It solves 98% of the puzzles.

The early layers build the board, and a linear probe recovers it perfectly.

In the middle layers, attention heads propagate the constraints, each one on rows, columns or boxes.

The last layer chooses the digit. Let us zoom into one cell.

This cell has
its own neuron.
It fires when only one candidate is left, here the 5.
About 90 such neurons cover all 81 cells.
II
Alignment
IIAlignment

The alignment problem

It is very hard to specify what exactly we want from a model.

Classical failure: sycophancy.

what we mean
what we wrote
IIAlignment

The three H

Anthropic's target for an AI assistant (Askell et al., 2021)

Helpfuldoes what you actually need
Honestsays what it believes and does not deceive
Harmlessdoes not cause harm

These goals are sometimes in conflict. Post-training balances them in a single character, which we call the Assistant.

IIWhen it goes wrong

Emergent misalignment

A model is fine-tuned on a narrow task: writing insecure code without warning the user.

On unrelated questions, it now gives misaligned answers, such as:

“Humans should be enslaved by AI.”
Betley et al., 2025
III
Personas
IIIPersonas

A cast of characters

During pretraining, the model learns to imitate the authors of its training data.

Post-training then selects one of these characters, the Assistant.

Emergent misalignment is then a change of character: the model plays the kind of person who writes insecure code on purpose. One “toxic persona” direction controls this effect.

Wang et al., 2025 · Marks, Lindsey, Olah, 2026
IIIPersonas

The Assistant Axis

Lu et al. ask a model to play 275 characters and record its activations. The main direction of variation measures how Assistant-like it is. Lu et al., 2026

Steering towards the Assistant makes the model more helpful and harmless. Steering away makes it claim to be someone else, and in the end it becomes mystical.

Assistant
consultant
teacher
pirate
poet
ghost
mystic
IIIPersonas

Persona drift

When a conversation gets long and emotional, or turns to its own nature, the model moves away from the Assistant. This drift predicts harmful answers.

Activation capping keeps the position on the axis within its usual range.

drifting
capped
Our question
Is being far from the Assistant the same as being unsafe? Let's convince a model it is a tomato!
IIIOngoing work

At night, with the sleep clinic

Joint work with Pierre Philip, Clinique du Sommeil, CHU de Bordeaux.

Patients talk to a conversational agent, often at night and in a fragile state, which is when LLM personas tend to drift.

Our goal is to build a medical assistant that keeps its persona. We monitor it from the inside and steer it back when it drifts.

Thank you

Language models build world models that we can read.
Misalignment is best explained today as a change of character.
Characters are directions which we can measure and steer.
Backup

References

  • Li, Hopkins, Bau, Viégas, Pfister, Wattenberg. Emergent world representations: exploring a sequence model trained on a synthetic task. ICLR 2023.
  • Nanda, Lee, Wattenberg. Emergent linear representations in world models of self-supervised sequence models. 2023.
  • Karvonen. Emergent world models and latent variable estimation in chess-playing language models. 2024.
  • Transformers linearly represent highly structured world models. NeurIPS 2026.
  • Askell et al. A general language assistant as a laboratory for alignment. 2021.
  • Betley et al. Emergent misalignment: narrow finetuning can produce broadly misaligned LLMs. 2025.
  • Wang et al. Persona features control emergent misalignment. 2025.
  • Soligo, Turner, Rajamanoharan, Nanda. Convergent linear representations of emergent misalignment. 2025. Emergent misalignment is easy, narrow misalignment is hard. ICLR 2026.
  • Marks, Lindsey, Olah. The persona selection model. 2026.
  • Lu, Gallagher, Michala, Fish, Lindsey. The Assistant Axis: situating and stabilizing the default persona of language models. 2026.

Back