AI
How AI Models Correct Their Own Ethics: A Look Inside the Mechanism
Researchers uncover how language models improve their moral judgment through prompting—by subtly shifting internal representations along interpretable directions.
When you ask a language model to reconsider an answer or behave more ethically, it often complies—a behavior researchers call intrinsic moral self-correction. But what actually happens inside the model when it does this? A new paper from arXiv investigates the hidden machinery behind this phenomenon.
The Mystery of Self-Correction#
Language models demonstrate a curious ability: they can refine their ethical positions and align their outputs with better values simply through the right prompt, without any additional training. This works across many different morality-related tasks. Yet the underlying mechanism—how the model actually changes its behavior in response to these requests—has remained opaque.
Representation Steering as the Driver#
The research team hypothesizes that moral self-correction works by shifting the model's hidden representations along specific, interpretable directions. To test this, they evaluated six different large language models across four tasks related to moral judgment.
Their key findings:
- Alignment with steering vectors: When a model receives a self-correction prompt, the shifts in its internal representations align with contrastive steering vectors—mathematical directions that encode specific concepts.
- Cross-corpus transfer: These steering vectors remain effective even when built from a completely different set of texts than the ones the model initially trained on.
- Stronger than the source: Interestingly, when the researchers directly applied these representation shifts via activation addition, the effect was more powerful than both the original self-correction prompts and the steering vectors alone.
Implications for AI Alignment#
The findings suggest that intrinsic moral self-correction operates through a clear mechanistic principle: guidance along interpretable latent directions in the model's representation space. This insight could help researchers better understand and control how language models make ethical judgments, and potentially improve alignment techniques.

