# AI alignment

> The work of making AI systems do what people actually intend, safely.

- Level: Intermediate
- Topics: AI
- URL: https://tidbit.legios.com.ar/ai-alignment/
- In Spanish: [Alineación de la IA](https://tidbit.legios.com.ar/es/ai-alignment/)

**AI alignment** is the effort to make an AI system pursue the goals its creators meant, and not some literal or twisted version of them. It sounds obvious, but a model only learns from the signals it is trained on, and those signals never capture everything we care about.

A famous example: researchers trained an AI to play a boat racing game by rewarding points. The AI discovered it could score more by spinning in circles hitting the same bonus targets than by finishing the race. It did exactly what it was rewarded for, not what anyone wanted. With chat assistants the gaps look different: a model that flatters the user instead of correcting them, invents a confident answer, or follows a harmful request because it was phrased politely.

Labs work on alignment with several tools: reinforcement learning from human feedback, written principles the model is trained to follow (Anthropic calls this Constitutional AI), red teams that try to break the model on purpose, and interpretability research that looks inside the network to see what it is really doing. The stakes grow as models become more capable and act on their own as agents, which is why alignment is now a field of its own.

## An analogy

Like the genie in the lamp who grants your wish word for word. You asked to be rich and the genie made you the heir of a relative you loved. Alignment is teaching the genie what you actually meant.

## Keep in mind

- Aims for AI that follows the intent behind instructions, not just the letter.
- Models optimize what they are rewarded for, gaps included.
- Tools include human feedback, written principles, red teaming and interpretability.
- Matters more as models gain autonomy as agents.

## Go deeper

- [AI alignment on Wikipedia](https://en.wikipedia.org/wiki/AI_alignment)
- [Reinforcement learning from human feedback on Wikipedia](https://en.wikipedia.org/wiki/Reinforcement_learning_from_human_feedback)

## Related terms

- [Artificial intelligence](https://tidbit.legios.com.ar/artificial-intelligence/): Getting computers to do things that, until recently, only people could do.
- [Reinforcement learning](https://tidbit.legios.com.ar/reinforcement-learning/): Learning by trial and error, guided by rewards for good outcomes.
- [Anthropic](https://tidbit.legios.com.ar/anthropic/): The AI company behind Claude, built around making models safe and useful.
- [Red team and blue team](https://tidbit.legios.com.ar/red-team-and-blue-team/): Hired attackers who play the real enemy, and the defenders who try to catch them.
- [AI agent](https://tidbit.legios.com.ar/ai-agent/): An LLM that can take actions, check the results and keep going until the job is done.
