Start Here — AI from First Principles to Production
AI Atlas is a canonical, executable map of intelligent systems. It does not attempt to summarize every paper; it makes the important computation inspectable—from representation, assumptions, objective, forward pass, loss, gradients, and learned parameters to inference, evaluation, product behavior, and operations.
The working thesis is from first principles to production systems. You should be able to explain what happened inside a model call, reproduce a bounded mechanism, measure whether it worked, and identify what changed when it became a product.
Prerequisites
You need basic programming fluency: variables, functions, loops, tests, command-line execution, and reading a stack trace. Python is the main language for mathematical and model labs; TypeScript appears where agents, tools, and product boundaries make it the clearer choice.
You do not need advanced mathematics before starting. You do need to pause when notation is undefined, work through numerical examples, and resist treating an equation as understood merely because it looks familiar.
The learning graph
- Read the phase pages in order.
- Skim branch indexes before diving into individual notes.
- Follow prerequisites before jumping to an advanced mechanism.
- Run linked labs; predict output before execution.
- Compare expected and observed behavior.
- Record failures, uncertainty, environment, and versions.
- Use playbooks when a concept must become a repeatable procedure.
The main sequence is:
problem formulation
→ data and representation
→ objective and assumptions
→ model architecture
→ forward computation
→ loss
→ gradients and optimization
→ learned representation
→ inference and decoding
→ evaluation
→ product and operational behavior
Choose a learning path
First Principles
Mathematics → computation and autodiff → deep learning → architectures → language and foundation models.
Use this route if framework abstractions still feel magical.
AI Engineer
Statistical ML → data → deep learning → training and adaptation → inference → evaluation → MLOps.
Use this route to take systems from experiment to reliable service.
LLM Systems
Self-attention → prompt to token → context engineering → retrieval → agents → evals → security.
Use this route when you already build with model APIs but want the hidden stack exposed.
Research Literacy
Mathematics → paper reading and reproduction → reproducibility → interpretation → evidence logs.
Use this route to evaluate claims instead of following release narratives.
Product and Production
Problem framing → data → baseline → evals → product → deployment → monitoring.
Use this route when the unit of success is a user decision, not a model score.
How to read the mathematics
For every equation:
- Identify each symbol and its type or shape.
- State what is fixed and what can change.
- Compute one tiny numerical example.
- Check units, ranges, and normalization.
- Implement the operation without the high-level framework helper.
- Compare an analytical result with a numerical check when derivatives are involved.
If a note uses mathematics without making these steps possible, treat it as incomplete.
How to use Glassbox AI Lab
Glassbox AI Lab is the spine project in Research and Experimentation. Start with labs/glassbox/README.md; run each milestone's tests; then deliberately break a stated invariant. The goal is not to collect demos. The goal is to connect an observed failure to a mathematical or system assumption.
Every completed milestone must include a learning question, architecture, executable code, fixture or dataset, tests, seed, metrics, expected output, failure modes, and postmortem.
How to validate a claim
- Write the claim narrowly enough to be falsifiable.
- Find the primary paper, official specification, source code, or legal text.
- Record date, version, dataset, hardware, metric, and comparison baseline.
- Separate the authors' measurement from your inference.
- Look for ablations, confidence intervals, negative results, and known contamination.
- Reproduce the smallest behavior that matters.
- Mark what remains uncertain.
“State of the art,” “emergent,” “aligned,” “interpretable,” and “production-ready” are incomplete claims without a dated task, metric, comparison, and scope.
How editorial labels work
kindsays what the page is for: concept, derivation, implementation, system, playbook, paper guide, or lab.levelsays what background the exposition assumes: beginner, intermediate, or advanced.statussays whether evidence is current, needs review, is outdated, planned, or experimental.last_verifiedmeans a real source and mechanism review occurred on that date. It is never bulk-filled.
Your first loop
Read Must Know, then Vectors, Matrices, and Tensors, Probability, Likelihood, and Uncertainty, Gradient Descent and Optimization, and Backpropagation from First Principles. Run Glassbox v0 and v1. Only then jump to Self-Attention from First Principles.
Connects to: Phase 00 — Orientation · Research and Experimentation · AI Playbooks
Sources
- Artificial Intelligence: A Modern Approach — a broad map of classical and statistical AI.
- Mathematics for Machine Learning — prerequisite mathematics tied to ML mechanisms.
- Dive into Deep Learning — executable, shape-aware deep-learning text.
- Full Stack Deep Learning — the bridge from models to production systems.
First Loop
Start with Must Know, then read Mental Models for AI Systems and Transformer Attention Map.