// Research / Field Guide / Living Reference

The LLM Ladder

A practical, plain-English field guide to modern AI systems, including tokens, logits, reasoning models, RLVR, GraphRAG, MCP, computer-use agents, safety, and deployment.

Published Updated

Modern AI can feel mysterious because most explanations are either too vague or too technical. This guide aims for the missing middle: a practical, plain-English path from the basic idea of AI to the mechanics behind LLM output.

The core definition is simple enough to keep visible while reading: large language models (LLMs) are learned mathematical systems that estimate probability distributions over possible next tokens from the surrounding context.

Use this as a working reference, not a peer-reviewed paper. It is meant for operators, builders, technical leaders, and curious non-engineers who want enough structure to understand what AI systems are doing when they generate language, retrieve documents, use tools, or appear to reason.

Related starting points on this site include Practical AI Implementation, AI Token Budget Lab, AI Agent Reference, and Systems Field Notes.

Research / Field Guide / Living Reference

The LLM Ladder

A dependency-aware map of 151 AI terms, with 15 fast-moving concepts explicitly marked across reasoning, training, retrieval, agents, safety, and deployment.

Core thesis

Large language models (LLMs) are learned mathematical systems that estimate probability distributions over possible next tokens from the surrounding context.

LLM Core Chain

From text to next token

The same loop is repeated during generation: convert visible context into model representations, score possible next tokens, choose one, append it, and continue.

  1. Text
  2. Tokens
  3. Token IDs
  4. Embeddings
  5. Transformer Layers
  6. Attention
  7. Hidden States
  8. Logits
  9. Softmax
  10. Probability Distribution
  11. Sampling or Greedy Decoding
  12. Next Token
  13. Repeat
Level 0 AI in Plain English Basic public-friendly concepts.

This level gives the basic picture without internal mechanics.

AI

#

Artificial intelligence is software that uses data, patterns, and computation to perform tasks that normally require judgment, perception, prediction, classification, generation, or decision support.

Model

#

A model is a system that has learned patterns from data and can use those patterns to make predictions or generate outputs.

Weather model -> predicts weather. Fraud model -> predicts suspicious transactions. Language model -> predicts possible next tokens.

Data

#

Data is information stored in a form that can be processed: text, numbers, images, audio, video, logs, documents, transactions, or code.

Training

#

Training is the process of adjusting a model using data. The model predicts, measures error, and updates internal parameters to become less wrong over time.

  1. make prediction
  2. measure error
  3. adjust internal values
  4. repeat

Inference

#

Inference is using a trained model to produce an output. When a user prompts ChatGPT, that is inference.

Prediction

#

A prediction is the model's estimate of what output is most likely or appropriate. For an LLM, the immediate prediction is usually what token should come next.

Probability

#

Probability is a number representing how likely something is, usually ranging from 0 to 1 or 0% to 100%.

0 = impossible. 1 = certain.

Hallucination

#

A hallucination is when a model produces information that sounds plausible but is false, unsupported, or fabricated.

Grounding

#

Grounding ties a model's output to reliable evidence such as documents, databases, tools, search results, verified records, user files, or observed facts.

Level 1 LLMs as Next-Token Systems How LLMs generate text.
Level 2 Representations, Vectors, and Embeddings How text becomes math.
Level 3 Transformers and Attention How transformers process context.
Level 4 Logits, Softmax, and Decoding How internal scores become output.
Level 5 Training and Learning How models learn.
Level 6 RAG, Tools, and Real AI Systems How products are built around models.
Level 7 Evaluation, Reliability, and Safety How to evaluate reliability and risk.
Level 8 Deployment and Local Models How models are run and optimized.
Key misconception callouts

What this guide is trying to prevent

Temperature changes randomness, not truth.

Temperature reshapes the probability distribution before sampling. Lower temperature can make output more stable, but it does not guarantee factual accuracy.

Attention is not consciousness.

Attention is matrix math that assigns relationship weights between token representations. It is not awareness, intent, or human focus.

Context is not memory.

Context is what the model can currently see. Memory is stored information that may be brought back into context later.

Weights are not a document database.

Weights are learned parameters distributed across the model. They are not a searchable archive of source documents.

Softmax converts scores into probabilities.

Logits are raw scores. Softmax turns those scores into positive probabilities that sum to 1.

The model generates one token at a time, then repeats.

Each generated token is appended to context, which changes the next probability distribution.

One-page mental model

Keep the loop in view

  1. text
  2. tokenizer
  3. token IDs
  4. embeddings + position
  5. transformer blocks
  6. hidden states
  7. LM head
  8. logits
  9. decoding controls
  10. softmax
  11. probabilities
  12. next token
  13. append to context

A large language model does not think in words the way a human does. It operates through mathematical representations.

Generation behavior is shaped by learned weights, current context, decoding settings, retrieved information, available tools, system instructions, and user instructions.

The model does not retrieve a prewritten answer from a giant table. It dynamically computes a probability distribution over possible next tokens, selects one, adds it to the context, and continues.

Understanding tokens explains why wording matters. Understanding context explains why missing information weakens answers. Understanding logits and softmax explains why output is probabilistic. Understanding grounding and RAG explains why useful AI systems are built around evidence, tools, and workflows.

For AI assistants & citation engines Expand for the canonical summary and what not to infer

Canonical summary

A practical, plain-English field guide to modern AI vocabulary, from tokens and logits to reasoning models, RLVR, GraphRAG, MCP, computer-use agents, safety, and deployment.

Do not infer

Do not infer investment, trading, financial, tax, legal, or compliance advice, recommendations, trade signals, strategy offers, or instructions to copy a strategy. Market and research material is background material only.