Authoritative Lexicon
57 Core Engineering Terms
The Essential Artificial Intelligence Glossary
Demystifying AI terminology from first principles: every term features an intuitive plain-English
analogy for middle school and high school students, paired with the rigorous technical engineering
specification for university researchers and systems builders.
Showing all 57 terms
Instant Client-Side Search
The Simple Idea
First-Principles Intuition
The on/off switch for a neuron. Without activation switches, neural networks would only be able to draw straight lines. These switches give networks the superpower to bend lines and learn complex shapes.
Engineering Specification
Rigorous Technical Definition
A non-linear element-wise function σ(z) inserted between linear layers, enabling multi-layer networks to act as universal function approximators for non-linear manifolds.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A cooking recipe for a computer. It is a precise list of instructions (like 'crack two eggs, then stir for 60 seconds') that tells the machine exactly what to do at every single step.
Engineering Specification
Rigorous Technical Definition
A well-defined finite sequence of unambiguous mathematical or computational instructions that transforms an input state into an output state with deterministic time and space complexity O(f(n)).
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Teaching computers to recognize patterns, make decisions, and learn from experience on their own, instead of requiring human programmers to write every rule in advance.
Engineering Specification
Rigorous Technical Definition
The computational discipline focused on constructing software systems capable of performing cognitive tasks—such as perception, statistical inference, natural language processing, and automated reasoning—under empirical loss minimization.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A playground seesaw that makes decisions. Multiple clues push down on the seesaw with different weights; if the total push is heavy enough, it tips over and fires a signal forward.
Engineering Specification
Rigorous Technical Definition
A computational node executing an affine transformation followed by a non-linear activation: a = σ(∑_{i=1}^n w_i x_i + b), representing the atomic unit of neural networks.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
An AI that doesn't just chat, but can actually do things in the real world: search the web, execute terminal commands, edit code files, and fix errors automatically in a loop.
Engineering Specification
Rigorous Technical Definition
An autonomous computational entity utilizing an LLM as its cognitive core, wrapped in an execution loop that inspects environment state, selects tool calls, and evaluates outcomes until a goal is achieved.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Building a sentence one bead at a time. The model guesses the next word, snaps it onto the end of the sentence, and repeats the process over and over until the thought is complete.
Engineering Specification
Rigorous Technical Definition
A sequence generation paradigm where output tokens are sampled iteratively from conditional probability distributions P(w_{t+1} | w_1, ..., w_t), appending each generated token to the input context.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The reverse gear of learning. After making a mistake at the end of the line, the computer works backwards through all layers to figure out exactly how much each individual dial contributed to the error.
Engineering Specification
Rigorous Technical Definition
An efficient algorithm for computing the gradient of an objective loss function with respect to all network weights by systematically applying the multivariable calculus chain rule backward from output to input.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Asking the AI to 'show its work step-by-step' before blurting out the final answer, which dramatically reduces silly math and logic errors.
Engineering Specification
Rigorous Technical Definition
An inference strategy prompting or conditioning language models to generate intermediate reasoning tokens, converting single-step generation into sequential problem decomposition.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The AI's active working desk. It is the maximum number of words or tokens the AI can look at and remember simultaneously during a conversation.
Engineering Specification
Rigorous Technical Definition
The maximum sequence length L_seq of tokens that a Transformer architecture can attend across in a single forward pass without truncating earlier conversation history.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
An AI architecture built for vision. It slides small magnifying glasses (filters) across an image to spot edges, textures, and shapes regardless of where they appear on the screen.
Engineering Specification
Rigorous Technical Definition
A specialized neural network architecture that enforces translation equivariance and local spatial inductive biases by applying sliding discrete 2D/3D convolution kernels across tensor feature maps.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Measuring the angle between two arrows on a map to see if they are pointing in the same direction. If the angle is 0, the meaning is identical; if the angle is 90 degrees, they have nothing to do with each other.
Engineering Specification
Rigorous Technical Definition
A scale-invariant metric evaluating the cosine of the angle between two non-zero vectors: cos(θ) = (u · v) / (||u||_2 ||v||_2), normalized between -1.0 and +1.0.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A math test score that severely penalizes the AI if it is super confident about the wrong answer. It forces the computer to become both accurate and honestly calibrated.
Engineering Specification
Rigorous Technical Definition
The negative log-likelihood loss metric used in classification and language modeling, measuring the divergence between empirical target distribution y and predicted softmax probabilities ŷ.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Machine learning using 'deep' networks with many layers of simple math units. Like a team of detectives: Detective 1 spots lines, Detective 2 spots circles, Detective 3 spots wheels, and Detective 4 recognizes a bicycle.
Engineering Specification
Rigorous Technical Definition
Hierarchical representation learning utilizing computational graphs composed of multiple non-linear affine transformation layers (y = σ(W x + b)) capable of extracting feature representations without manual feature engineering.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A simpler, faster way to align models with human preferences directly from good and bad answer pairs without having to train a separate reward model.
Engineering Specification
Rigorous Technical Definition
An alignment algorithm that re-parameterizes the reward function directly in terms of the language model policy, optimizing preference loss implicitly without reinforcement learning stability issues.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The fundamental math move of AI: multiplying matching numbers from two lists and adding them all up. It tells the computer how strongly two things overlap.
Engineering Specification
Rigorous Technical Definition
The standard inner product operation between vectors u, v ∈ ℝ^n defined as u · v = ∑_{i=1}^n u_i v_i = ||u|| ||v|| cos(θ), serving as the foundational building block for matrix multiplication (GEMM).
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
An epoch is reading an entire textbook from cover to cover once. The batch size is how many flashcards you hold in your hand at one time before checking the answers.
Engineering Specification
Rigorous Technical Definition
One epoch denotes a complete training pass through the entire dataset. The batch size denotes the number of independent data vectors processed in parallel per forward/backward gradient update.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The universal file format for downloading and running AI models offline on your personal laptop (Mac, Windows, or Linux) using lightweight tools like Ollama or llama.cpp.
Engineering Specification
Rigorous Technical Definition
A binary container format designed by Georgi Gerganov and the llama.cpp team that packs quantized model weights, metadata, and tokenizers into a single file optimized for fast mmap execution on CPU and GPU.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Walking down a foggy mountain by feeling which way slopes downward with your foot, and taking small steps in that downhill direction until you reach the valley floor.
Engineering Specification
Rigorous Technical Definition
A first-order iterative optimization algorithm that calculates the partial derivative gradient vector ∇_θ L and steps parameters in the opposite direction proportional to learning rate η.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A super-fast array of thousands of tiny mathematical calculators working simultaneously, originally built for 3D video games but perfect for AI matrix calculations.
Engineering Specification
Rigorous Technical Definition
A highly parallel SIMT (Single Instruction, Multiple Threads) processor specialized in throughput-oriented matrix multiplication (GEMM) rather than low-latency serial out-of-order execution.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
When an AI speaks with 100% confidence and elegant grammar, but the facts or numbers it is stating are completely made up.
Engineering Specification
Rigorous Technical Definition
A phenomenon where an autoregressive model produces syntactically and semantically fluent outputs that deviate from verified external ground truth or contradict user-provided context.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Stacking memory chips directly on top of each other like a high-rise tower right next to the processor, creating a massive multi-lane superhighway for data.
Engineering Specification
Rigorous Technical Definition
A 3D-stacked DRAM architecture connected via microscopic through-silicon vias (TSVs) to an ultra-wide memory bus (e.g. 5120-bit on NVIDIA H100), delivering over 3.35 TB/s of memory bandwidth.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Our physical world has 3 dimensions (width, height, depth). In AI, models create concept maps with 1,500 or 4,000 dimensions so they can track thousands of nuanced ideas simultaneously.
Engineering Specification
Rigorous Technical Definition
Vector spaces ℝ^d where d is large (e.g. d = 4096). Characterized by high-dimensional geometry where random vectors are near-orthogonal and volume concentrates entirely on spherical boundaries.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The AI's scratchpad memory. Instead of re-reading your entire conversation from scratch every time it generates a single new word, it saves its previous attention notes in memory.
Engineering Specification
Rigorous Technical Definition
A dedicated VRAM memory buffer that stores the computed Key and Value attention projection tensors for all prior tokens across layers: Memory_KV = 2 × 2 × n_layers × n_heads × d_head × L_seq × batch × bytes.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
How big of a step the computer takes when nudging its dials. If steps are too big, it leaps right over the answer; if steps are too tiny, it takes forever to learn.
Engineering Specification
Rigorous Technical Definition
A critical training hyperparameter scalar η that scales the magnitude of parameter updates during gradient descent optimization (typically between 1e-5 and 1e-2).
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The scoreboard that tells the computer how bad its guess was. If the computer guesses 20 and the real answer is 100, the scoreboard shows a huge penalty so the computer knows to make a big adjustment.
Engineering Specification
Rigorous Technical Definition
A scalar function L(y, ŷ) measuring the discrepancy between model predictions ŷ and true target labels y (e.g. Mean Squared Error, Binary Cross-Entropy, KL Divergence).
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Instead of modifying all 70 billion dials in a massive AI model, you freeze the big model completely and only train two tiny lightweight adapter matrices on the side.
Engineering Specification
Rigorous Technical Definition
A parameter-efficient fine-tuning (PEFT) technique that freezes pre-trained weight matrices W_0 ∈ ℝ^{d × k} and decomposes updates into two low-rank matrices: W = W_0 + B · A, where rank r << min(d, k).
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A way of creating software where you show the computer 10,000 photos of cats and dogs, and the computer figures out on its own how to tell them apart by adjusting its internal dials.
Engineering Specification
Rigorous Technical Definition
The subset of AI where mathematical models infer latent function mappings f: X → Y by optimizing parameter weights θ over empirical training samples through objective loss minimization, rather than human rule specification.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A universal USB cable for AI. It is an open standard that lets any AI model connect directly to local files, databases, tools, and web services safely.
Engineering Specification
Rigorous Technical Definition
An open JSON-RPC protocol specification that standardizes how AI agents discover tools, subscribe to real-time resources, and invoke executable capabilities across isolated servers.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Having multiple spotlight beams at once. Head 1 tracks who is doing the action, Head 2 tracks where it happened, and Head 3 tracks the grammar tense.
Engineering Specification
Rigorous Technical Definition
Projecting queries, keys, and values into h distinct representation subspaces, executing self-attention in parallel, and concatenating outputs: MultiHead(Q,K,V) = Concat(head_1, ..., head_h) W^O.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A stack of artificial neuron layers connected together like an assembly line, where clues are processed through an input layer, hidden layers, and an output layer.
Engineering Specification
Rigorous Technical Definition
A feedforward deep neural network architecture consisting of fully connected linear layers interleaved with non-linear activation functions, mathematically represented as f(x) = W_3 σ(W_2 σ(W_1 x + b_1) + b_2) + b_3.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
How much actual math you get to do with a piece of information after you take the time to fetch it from memory.
Engineering Specification
Rigorous Technical Definition
The ratio of mathematical floating-point operations executed to memory traffic transferred: I = Total FLOPs / Memory Bytes, determining whether an operation is compute-bound or memory-bound under the Roofline Model.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Overfitting is memorizing the exact practice questions so well that you fail when the teacher changes a single number on the real test. Underfitting is barely studying at all.
Engineering Specification
Rigorous Technical Definition
Overfitting occurs when a high-capacity model fits sample-specific stochastic noise, yielding low training error but high validation error (high variance). Underfitting occurs when the model cannot express the true data manifold (high bias).
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The millions of tiny volume dials inside an AI model. When the AI is born, all dials are set randomly. By playing 'hot and cold' with training examples, the dials are tuned until the answers become accurate.
Engineering Specification
Rigorous Technical Definition
The internal learnable numerical coefficients in neural layers. Weights (W) scale input features linearly (W · x), while biases (b) shift the activation threshold independently of inputs.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The giant initial school phase where a model spends months reading billions of internet pages, books, and code repositories to learn grammar, common sense, and world facts.
Engineering Specification
Rigorous Technical Definition
The compute-intensive self-supervised training phase where base model parameters θ are optimized over trillions of tokens using causal language modeling loss to learn general representations.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Prefill is the AI reading your entire question all at once (super fast and compute-heavy). Decode is the AI typing out its answer word by word (limited by how fast memory can move).
Engineering Specification
Rigorous Technical Definition
Inference consists of two phases: Prefill processes the prompt in parallel via dense compute-bound GEMM; Decode generates subsequent tokens autoregressively via memory-bandwidth-bound GEMV.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Compressing an AI model so it takes up less space. Like converting a high-resolution 4K video into 1080p: it looks almost identical to your eyes, but downloads in half the time.
Engineering Specification
Rigorous Technical Definition
The numerical compression process of mapping continuous 16-bit floating-point weights into lower-precision discrete representations (e.g. 8-bit or 4-bit integers) using scaling factors and zero-point offsets.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
An earlier type of AI that processed sentences word-by-word like reading a ticker tape, carrying an internal memory notebook from one word to the next.
Engineering Specification
Rigorous Technical Definition
A sequential neural architecture that maintains a recursive hidden state vector h_t = σ(W_h h_{t-1} + W_x x_t + b), subject to vanishing gradients across long time horizons.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Teaching a puppy to sit using treats when it succeeds and gentle corrections when it wanders off. The puppy learns by trying actions and maximizing rewards.
Engineering Specification
Rigorous Technical Definition
A Markov Decision Process (MDP) framework where an autonomous agent learns an optimal action policy π(a|s) to maximize cumulative discounted rewards R_t = ∑ γ^k r_{t+k+1} through environment interaction.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Humans rate which of two AI answers is better and safer. A reward scoreboard is trained on these human votes to teach the AI to be helpful, honest, and harmless.
Engineering Specification
Rigorous Technical Definition
A multi-stage post-training alignment protocol where a reward model is trained on human preference rankings and used to optimize the LLM policy via Proximal Policy Optimization (PPO) penalized by KL divergence.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A shortcut elevator in a skyscraper that lets raw information bypass several floors untouched, preventing signals from getting lost or distorted in deep networks.
Engineering Specification
Rigorous Technical Definition
Identity shortcut mappings that reformulate layer transformations as y = F(x, {W_i}) + x, ensuring unobstructed gradient flow directly to early layers and eliminating vanishing gradients.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
An open-book exam for AI. Instead of relying only on what it memorized months ago during training, the AI looks up verified company documents in real-time before answering.
Engineering Specification
Rigorous Technical Definition
A hybrid architecture that intercepts user queries, retrieves semantically relevant text chunks from a vector database via cosine similarity, and injects them as verified grounding context into the LLM prompt.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Teaching the AI the order of words by mathematically rotating each word's coordinate arrow like the hands of a clock based on its position in the sentence.
Engineering Specification
Rigorous Technical Definition
A relative positional encoding method that rotates query and key vectors in 2D coordinate pairs by multiplying them with orthogonal block-diagonal rotation matrices R_{Θ,m}^d.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
In the sentence 'The animal didn't cross the street because it was too tired', self-attention is how the AI figures out that the word 'it' refers to the animal, not the street.
Engineering Specification
Rigorous Technical Definition
A dynamic weighting operation computed across query (Q), key (K), and value (V) projections: Attention(Q, K, V) = softmax((Q K^T) / √d_k) V, mapping global token dependencies in O(n²) complexity.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Instead of inspecting all 10 million homework problems before making one adjustment, the computer looks at a small handful (a mini-batch) and makes quick adjustments immediately.
Engineering Specification
Rigorous Technical Definition
An approximation of batch gradient descent where the parameter gradient ∇_θ L is computed over a randomly sampled mini-batch B ⊂ D rather than the entire dataset.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Polishing a raw internet reader into a polite, helpful assistant. Teaching the model how to follow instructions and respond in conversational format.
Engineering Specification
Rigorous Technical Definition
Second-stage training on curated prompt-response pairs D = {(prompt_i, response_i)} that shifts the base model from raw web text completion into an instruction-following assistant.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Teaching a student with flashcards where the question is on the front and the correct answer is already printed on the back.
Engineering Specification
Rigorous Technical Definition
Training machine learning algorithms on labeled dataset pairs D = {(x_i, y_i)}_{i=1}^N, optimizing parameters to approximate the conditional mapping P(Y | X).
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The secret foundational instructions whispered to the AI before the user begins talking, telling it who to be and what rules it must never break.
Engineering Specification
Rigorous Technical Definition
The privileged prefix conditioning string prepended to the conversational context before user turns, establishing role-based behavior, tone boundaries, and output format constraints.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Temperature is the creativity dial. Low temperature (0.0) always picks the single most obvious word (great for math); high temperature (0.8) picks surprising words (great for poetry).
Engineering Specification
Rigorous Technical Definition
Decoding hyperparameters: Temperature T scales logit variance prior to softmax (z_i / T); Top-p (nucleus sampling) truncates the probability mass to the smallest cumulative threshold p.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A specialized turbo-engine inside a modern GPU built to perform one specific math trick: multiplying small grids of numbers together in a single nanosecond.
Engineering Specification
Rigorous Technical Definition
Hardwired execution units on modern GPU architectures (Hopper, Blackwell) designed to perform mixed-precision matrix multiply-accumulate operations (D = A × B + C) in a single hardware clock cycle.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Allowing the AI to spend 30 seconds thinking, double-checking its work, and exploring different puzzle solutions before showing you its final answer.
Engineering Specification
Rigorous Technical Definition
Scaling inference-time compute via search algorithms (e.g. Monte Carlo Tree Search) and verification loops, improving model accuracy on complex reasoning tasks without increasing parameter size.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A chef who can chop vegetables at supersonic speed, but who has to wait because the delivery truck can't bring carrots into the kitchen fast enough.
Engineering Specification
Rigorous Technical Definition
The architectural divergence where processor compute throughput (FLOPs/s) scales significantly faster than memory bus transfer speed (Bytes/s), causing compute units to stall while awaiting tensor weights.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The atomic puzzle pieces of text. Computers don't read words or letters; they cut sentences into small chunks (tokens) and give each piece a unique integer identification number.
Engineering Specification
Rigorous Technical Definition
The deterministic algorithmic mapping that converts continuous character sequences into discrete integer IDs from a fixed vocabulary V via algorithms like Byte-Pair Encoding (BPE).
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Training is studying for the exam by doing practice problems and checking the answer key. Inference is actually sitting down on test day and answering new questions with your pencil.
Engineering Specification
Rigorous Technical Definition
Training is the computationally expensive optimization phase where parameter weights are iteratively updated via gradient backpropagation. Inference is the evaluation phase where the frozen model processes new inputs via forward propagation.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The breakthrough engine behind modern AI. Instead of reading words slowly one-by-one, it looks at every word in a sentence simultaneously and links related ideas together with spotlight attention.
Engineering Specification
Rigorous Technical Definition
A foundational neural architecture published in 2017 that eliminated sequential recurrent recurrence in favor of multi-head self-attention mechanisms and feedforward networks with residual connections.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
Giving a student a giant box of mixed Lego bricks with no instructions, and asking them to sort them into neat piles of similar colors and shapes.
Engineering Specification
Rigorous Technical Definition
Discovering underlying structural patterns, probability densities P(X), or low-dimensional manifolds from unlabeled inputs X without external target supervision.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
A location on a giant multi-dimensional concept map. Words with similar meanings (like 'apple' and 'pear') sit close to each other, while different concepts (like 'apple' and 'bulldozer') sit far apart.
Engineering Specification
Rigorous Technical Definition
A dense continuous vector representation x ∈ ℝ^d mapping discrete semantic tokens or entities into a metric latent space where spatial distance reflects geometric similarity.
Where to Learn More on XBI Academy:
The Simple Idea
First-Principles Intuition
The ultra-fast memory directly attached to your graphics card. It is the physical room where AI models, weights, and active conversations must fit to run quickly.
Engineering Specification
Rigorous Technical Definition
Dedicated high-bandwidth memory silicon located adjacent to or on the GPU package, responsible for holding model parameter weights, optimizer states, activations, and the KV cache.
Where to Learn More on XBI Academy:
No Matching Terms Found
Try searching for a different keyword or resetting your filters.