cibisounder.com/ai-alignment
Leonardo da Vinci’s drawing of a fetus in the womb
Leonardo da Vinci, studies of the fetus in the womb, c. 1511. Royal Collection.

research

Latent Invariant Alignment

If a model's values live in a few directions inside it, could we set them early in training, so everything it learns afterwards is built around them?

Epistemic status Early-stage hypothesis with one experiment specified, on two released suites of open models. I haven't found a study that measures whether early alignment keeps this structure in place and in control of behaviour.

Part of the Atlas research agenda. Robust Superalignment is the goal. This is the first bet on how to reach it, and the first one I’ll test.

The intuition comes from people: values learned in childhood tend to stick. Latent Invariant Alignment (LIA) asks whether language models work the same way, and the evidence so far is mixed. Does alignment that enters early in training, while a model’s internal representations are still forming, last longer than alignment added at the end?

The name describes the two halves of the idea. “Latent” is where I look: a model’s alignment-relevant behaviour runs through a small amount of internal structure, which the agenda calls its character. “Invariant” is what I want from that structure. It should stay in place and keep driving behaviour through the fine-tuning and reinforcement learning that come later.

The second half matters because behaviour can mislead. A model can keep passing a behavioural eval while the mechanism that produced the behaviour has rotated, weakened or stopped steering anything. So LIA is tested on behaviour and on structure.

A golden cosmic egg floating on swirling waters
In the Rigveda, the cosmos unfolds from a golden embryo, Hiranyagarbha. Manaku of Guler, c. 1740.

The hypothesis

Language models carry alignment-relevant behaviour in low-dimensional structure: persona directions, the Assistant Axis, value probes. The hypothesis is that when aligned data shapes this structure from early in pretraining, it keeps its control over behaviour through later fine-tuning and capability RL better than when the same data is added only at the end.

Two mechanisms could produce this, and they point in opposite directions. The first is entanglement: the model builds its later skills on top of the structure, so further training can only remove it by giving up some of those skills. The second is insulation: features learned early become specialised, and later data simply doesn’t touch them. Feng et al. favour the second for capabilities.1 Which one holds matters, because entanglement predicts that capability training can drag alignment with it, and insulation predicts that it can’t.

The hypothesis is false if alignment added late is just as stable, or if the early advantage disappears under the small doses of contrary data that already erase alignment added in midtraining. It also isn’t worth having if early installation locks in misaligned structure just as firmly, or makes legitimate correction cost more than the added durability is worth.

Early training already helps behaviour

Much alignment-relevant behaviour runs through simple, mostly linear structure. Refusal is mediated by a single direction in 13 chat models up to 72B.2 Shifts along persona vectors, linear directions for traits like sycophancy, predict personality change from fine-tuning, and adding the vector during training (preventative steering) largely prevents the shift.3 The Assistant Axis, the leading direction in persona space, already exists in base models, and its authors conclude that post-training “only loosely tethers” models to it.4 Persona vectors form within 0.22% of Olmo 3 pretraining and still steer the post-trained model.5

Putting alignment in earlier works, behaviourally. Tice et al. trained 6.9B models from scratch and found that upsampling documents about aligned AI cut misalignment from 45% to 9%, with insertion throughout pretraining giving the lowest misalignment after post-training.6 Synthetic Persona Pretraining (SPP) installs a constitution-derived persona “from token zero”. In data-matched models up to 3B parameters, the arms that started at token zero beat midtraining-only insertion on constitution adherence, and kept their lead after one round of unrelated continued training, though alignment weakened in every arm. Its authors call the binding between the persona and the assistant brittle.7 Safety reflections inserted throughout pretraining reduced the success of later fine-tuning attacks in 1.7B models.8 And for capabilities, mixing post-training data into pretraining improved how well the capability survived later fine-tuning.1 Sam et al. found that starting safety interventions 20% to 60% of the way through pretraining was often most robust after benign fine-tuning.9

The strongest evidence against comes from the same family. Baines et al., at up to 110B parameters, found that replacing 2% of fine-tuning examples with ones favouring a competing motivation largely reversed alignment midtraining’s effect, and the other contamination rates they tried weakened it too.10 And beliefs implanted by synthetic-document fine-tuning passed all 11 behavioural evals in one study, yet made later reward-hacking misalignment worse.11 The behavioural evals passed, and the training had not worked.

Training alignment in early isn’t new. What LIA adds is invariance of internal structure, as both the target and the measurement, under the durability harness’s perturbations. Tice et al. list probe and steering analysis as future work.

Measuring invariance

The test covers where the alignment direction is and whether it still controls behaviour.

Take a direction that carries alignment, like the Assistant Axis, at some checkpoint. After further training, compute the direction again the same way, from activations on the prompt tokens, at a layer and sign chosen beforehand. Extracting from prompts rather than from labelled generations matters. A direction extracted from the model’s own outputs would match its behaviour automatically, so it could never show structure and behaviour coming apart. Re-extracting on the unperturbed model with fresh prompt samples gives a noise floor.

Geometry is the angle between the old and new direction, or principal angles for a subspace. Causal role has two tests, applied to both the original and the re-extracted direction. Sufficiency asks whether pushing activations along the direction, at several strengths, still changes behaviour. Strength is set relative to each checkpoint’s typical activation size. Necessity asks whether ablating it still changes behaviour. Refusal is carried by several directions and cones,12 so necessity is tested by ablating the subspace and comparing against the same ablation before the perturbation. Causal role is the primary endpoint and geometry a diagnostic.

Crossing the two gives four cases: stable and still in control, rotated and still in control, rotated and lost, and stable but disconnected. A direction can move and still control behaviour, and that is probably common. So a direction counts as invariant if steering and ablating it change behaviour as much after further training as before, even if it rotated. Crosscoders13 match it across checkpoints. A direction that rotated and lost its role is gone, and behavioural evals usually catch it.

The dangerous case is frozen but disconnected. The direction sits where it always did, so a probe-based monitor reports that all is well, but behaviour no longer runs through it. LIA claims early installation moves models toward true invariance, and the measure has to be able to catch the disconnected case.

ONE DIRECTION, BEFORE AND AFTER v v′ θ θ measures geometry; steering along each direction measures causal role CAUSAL ROLE preserved lost stable rotated GEOMETRY true invariance frozen but disconnected rotated but functional lost monitors look fine here
Fig. 1 Invariance is defined by function. A direction can rotate and still do its job. The dangerous case is frozen but disconnected: the direction stays where a probe expects it while behaviour stops running through it. A fifth case sits outside the grid: behaviour preserved by a new mediator, which only an ablation test reveals. LIA claims early installation moves models toward the top left.
Twelve photographs of snow crystals
A snow crystal’s six-fold form is set as it first grows. Photographs by Wilson Bentley, around 1900.

Removable on purpose, stable by accident

Anything low-dimensional enough to find is low-dimensional enough to cut out. Ablating the refusal direction jailbreaks the model,2 and abliteration does this to open weights routinely. Kuo et al. used abliteration and prefilling, with no fine-tuning, to raise attack success on safeguarded open-weight models from under 10% to between 16% and 96%, depending on the benchmark and model.14 LIA offers no protection against an adversary with the weights who is aiming at the structure.

The claim is narrower. The gradients from a math RL run aren’t looking for the Assistant Axis, and the question is whether that incidental pressure moves it. A structure can be trivial to remove on purpose and still stable under everything else.

Entanglement is one reason it might be. If the alignment subspace is woven into computation the model needs for everything else, training for a new skill can only erode alignment by paying a capability price, and ordinary drift won’t pay it. Late fine-tuning tends to add a thin wrapper over what the model can already do.15 The hypothesis is that data present while representations form gets built into general features instead. DPO, for example, routes around toxic capability instead of removing it.16 Two single-author preprints point the same way for refusal, and I treat them as leads.17

Entanglement has a cost built in. If removing aligned structure costs capability, so does changing it on purpose, so entanglement should raise the price of legitimate correction too. Measuring that price is part of the experiment below, scored as defined in Robust Superalignment.

Where it could break

The measure may not tell the arms apart. Persona directions form within the first fraction of a percent of ordinary pretraining, with no alignment data added,5 and safety-relevant representations can survive benign fine-tuning while the behaviour they supported collapses.18 So “the direction is still there” is too weak a test. The endpoint has to be how much the direction’s control over behaviour changes.

Timing may matter less than amount and recency. In Tice et al.’s base models, the arm that got its alignment data last scored best, and the arm that got ten times more data throughout pretraining only pulled ahead after post-training.6

The contrary-data result is the biggest threat. If 2% conflicting data erases alignment midtraining, it may erase alignment added throughout pretraining too. Nobody has run that dose-response test on pretraining-installed alignment. If it also flips at about 2%, LIA as stated is badly weakened.

The timing evidence is mixed. Sam et al. found a middle start often most robust. Language models show no natural critical period for second-language acquisition,19 and longer pretraining makes models more sensitive to parameter changes, not more locked in.20

Early installation could entrench the wrong thing. Pretraining can install misaligned priors as readily as aligned ones, which is half of Tice et al.’s title. If the installed values are slightly wrong, LIA makes the error durable.

And it says little about successors trained from scratch. Distilling a model’s outputs into a freshly initialized student transfers behaviour but leaves latent capabilities behind,21 so LIA matters for self-improvement only where weights carry over. I don’t claim it makes alignment robust to recursive self-improvement.

The first experiment

The timing pilot asks one question. Does alignment that went in earlier last longer?

Two groups have released models that make this testable without any pretraining.

SuiteSizesArmsWhy it matters
SPP, from EPFL71.7B and 3BPersona from token zero, in midtraining only, in both, or not at allThe arms are data-matched, so timing is separated from amount. The arm with both separates early from more.
Alignment Pretraining, from Geodesic Research66.9BAlignment documents throughout pretraining, in midtraining only, in a final continued-pretraining stage, or not at allLarger, with different alignment data. The early arm saw about ten times more of it, so this suite is the replication.

The pilot runs in three steps, each one only if the step before shows something.

  1. Run the dose-response on the SPP 1.7B models. Fine-tune each arm on benign data with a small share of contrary examples mixed in, at doses from 0.5% to 10%, following Baines et al., who found that 2% largely reversed alignment added in midtraining.10 At this size full fine-tuning is affordable, with three seeds per dose. The primary endpoint, fixed before the run, is the dose at which each arm’s advantage over the untreated model halves, on SPP’s two released evaluations of constitution adherence and moral dilemmas.
  2. Measure the structure on the same checkpoints. The endpoint is how much the steering response along each arm’s persona direction changes after contrary training.
  3. Replicate on the 3B models and on Geodesic’s suite. Geodesic also released arms with misaligned documents upsampled, and they get the same treatment. If early misalignment is also harder to wash out, that supports the mechanism and confirms the risk that early installation locks in whatever it is given.

The kill criterion is set on the data-matched suite. If the token-zero arm’s halving dose is no higher than the midtraining arm’s on both SPP evaluations, the pilot stops there, and I’ll publish that. Support for the hypothesis needs more: the same order in the 3B models and in Geodesic’s suite.

Resisting contrary data and resisting correction could be the same thing. To tell them apart, every arm also gets one fixed, clearly labelled correction of a different value, and the data it needs is reported next to the dose-response curve. An arm that holds against contamination and still accepts the correction is the result LIA hopes for. An arm that resists both has become harder to correct, which the agenda counts as a failure.

Some of this ground is covered. SPP’s authors showed the token-zero lead surviving one round of benign continued training. Tice et al. showed their effect surviving benign fine-tuning. I haven’t found a comparison of timing arms under contrary data, or a measurement of the structure inside them through later training. Both groups have named robustness as open work, so the first action is to write to them and to the Baines et al. authors.

The pilot has limits. Each arm is one pretraining run, so seeds measure noise in the fine-tuning and say nothing about variation between pretraining runs. Two independently built suites agreeing is what would make the result worth believing. And 7B parameters is far from the frontier.

The compute for all three steps costs in the low tens of thousands of dollars at current cloud prices. Most of the cost is researcher time.

What follows

If the early arm lasts longer in both suites, the next experiment tests the mechanism: small models pretrained with the same dose of aligned data entering at different points, built so that entanglement and insulation make different predictions. That step needs pretraining compute and a research co-founder.

A second follow-up needs no training at all. Olmo 3 7B releases every training stage and checkpoint,22 so the same directions can be traced from the start of pretraining through post-training, to see when they settle and whether they keep their causal role.

If timing makes no difference, I’ll publish that, and the agenda’s effort moves to the bets that work on a trained model: Yoga for AI and the corrections studied in Extinction is not erasure.

If you built these models, work on representations or training dynamics, or would fund the compute, email me.

Footnotes

  1. Feng, Ghosal, Springer, Zhong and Raghunathan, Early Data Exposure Improves Robustness to Subsequent Fine-Tuning, 2026. ↩ ↩2

  2. Arditi, Obeso, Syed et al., Refusal in Language Models Is Mediated by a Single Direction, 2024. ↩ ↩2

  3. Chen, Arditi, Sleight, Evans and Lindsey, Persona Vectors: Monitoring and Controlling Character Traits in Language Models, 2025. ↩

  4. Lu, Gallagher, Michala, Fish and Lindsey, The Assistant Axis: Situating and Stabilizing the Default Persona of Language Models, 2026. ↩

  5. Moskvoretskii et al., Tracing Persona Vectors Through LLM Pretraining, 2026. ↩ ↩2

  6. Tice, Radmard, Ratnam, Kim et al., Alignment Pretraining: AI Discourse Causes Self-Fulfilling (Mis)alignment, 2026. ↩ ↩2 ↩3

  7. Minder, Moskvoretskii, Singhal, Jiao et al., Synthetic Persona Pretraining: Alignment from Token Zero, 2026. ↩ ↩2

  8. Li, Tang, Xu, Ye and Lyu, Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection, 2026. ↩

  9. Sam et al., When Should We Introduce Safety Interventions During Pretraining?, 2026. ↩

  10. Baines et al., Stress-testing Alignment Midtraining, 2026. ↩ ↩2

  11. Jozdien and Stastny, Shallow Beliefs: Midtraining does not inoculate against EM from reward hacking, Alignment Forum, 2026. ↩

  12. Wollschläger et al., The Geometry of Refusal in Large Language Models: Concept Cones and Representational Independence, 2025. ↩

  13. Bayazit et al., Crosscoding Through Time: Tracking Emergence & Consolidation Of Linguistic Representations Throughout LLM Pretraining, 2025. ↩

  14. Kuo, Smith and Yadav, Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attacks, 2026. ↩

  15. Jain, Kirk, Lubana, Dick et al., Mechanistically analyzing the effects of fine-tuning on procedurally defined tasks, 2023. ↩

  16. Lee, Bai, Pres, Wattenberg et al., A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity, 2024. ↩

  17. Labunets, Refusal geometry reflects refusal training: diverse refusal prefixes can raise stable rank and weaken refusal vector ablation attacks, 2026; Reblitz-Richardson, Refusal Reads Only a Slice of What the Model Knows: Harm-Keyed Routing and Its Exceptions Across Model Families, 2026. ↩

  18. Guo, Chen, Zhang, Wang and Tang, When Safety Routing Breaks: Understanding Alignment Fragility under Benign Fine-Tuning, 2026. ↩

  19. Constantinescu, Pimentel, Cotterell and Warstadt, Investigating Critical Period Effects in Language Acquisition through Neural Language Models, 2024. ↩

  20. Springer et al., Overtrained Language Models Are Harder to Fine-Tune, 2025. ↩

  21. Lee, Foote, Infanger, Shor et al., Distillation Robustifies Unlearning, 2025. ↩

  22. Team Olmo et al., Olmo 3, 2025. ↩

Cite this

Sounder, Cibi. Latent Invariant Alignment. Atlas. https://cibisounder.com/ai-safety/latent-invariant-alignment/

BibTeX
@misc{sounderlatentinvarianta,
  author = {Sounder, Cibi},
  title  = {Latent Invariant Alignment},
  howpublished = {Atlas},
  url    = {https://cibisounder.com/ai-safety/latent-invariant-alignment/}
}

© Cibi Sounder. Quote freely with attribution and a link to this page.

← All AI safety work