Learn how AI models actually work, one layer at a time.

AIERA is a weekly blog for people who want more than headlines about AI. Each piece explains one idea in machine learning with real numbers, small code you can run, and diagrams you can explore.

A white robotic hand touching a glowing AI symbol on a circuit board.
Concept of the week

The learning rate decides whether training ever settles

Gradient descent moves a parameter a little way downhill on every step. The learning rate sets how far. Here the loss is a simple bowl, so the best value of x is 0.

x ← x − η · dL/dx    where L(x) = x²

Try a tiny rate, then something near 0.5, then push past 1.0. On this bowl every step multiplies x by (1 − 2η), so any rate above 1.0 makes each step overshoot further than the last.

Read the full article on gradient descent
Slow

Learning paths

Read these in order. Each step builds on the one before it.

Zero to neural networks

For readers comfortable with high-school algebra.

  1. Gradient descent, felt rather than memorized
  2. Linear regression as a one-neuron network (coming soon)
  3. Why your validation loss went up while training loss kept falling
  4. Backpropagation with a pencil (coming soon)
  5. What the first layer of a CNN learns to see

Understanding language models

From text to tokens to attention to evaluation.

  1. Tokenizers are where your model's quirks start
  2. Embeddings as coordinates for meaning (coming soon)
  3. Attention, step by step: how a transformer decides what to look at
  4. Pretraining versus fine-tuning (coming soon)
  5. Evaluating LLM outputs without fooling yourself

Machine learning in production

What changes once real users depend on your model.

  1. Versioning data alongside code (coming soon)
  2. Serving a model behind an API (coming soon)
  3. Shipping a model is the easy part: watching for drift
  4. Reward is not the goal: notes on reward hacking