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

Activation Function

Neural Networks
ReLU, GELU, SwiGLU

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.

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.

Algorithm

Core Foundations
Step-by-Step Procedure

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.

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:

Artificial Intelligence

Core Foundations
AI

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.

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.

Artificial Neuron (Perceptron)

Neural Networks
Single Node

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.

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.

Autonomous Agent

LLMs & Alignment
Agentic Loop

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.

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.

Autoregressive Generation

LLMs & Alignment
Next-Token Prediction

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.

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.

Backpropagation

Neural Networks
Reverse-Mode Autodiff

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.

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.

Chain-of-Thought

LLMs & Alignment
CoT Prompting

Asking the AI to 'show its work step-by-step' before blurting out the final answer, which dramatically reduces silly math and logic errors.

An inference strategy prompting or conditioning language models to generate intermediate reasoning tokens, converting single-step generation into sequential problem decomposition.

Context Window

LLMs & Alignment
Attention Budget

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.

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.

Convolutional Neural Network

Neural Networks
CNN

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.

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:

Cosine Similarity

Mathematics & Data
cos(θ)

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.

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.

Cross-Entropy Loss

Mathematics & Data
L = -∑ y_i log(ŷ_i)

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.

The negative log-likelihood loss metric used in classification and language modeling, measuring the divergence between empirical target distribution y and predicted softmax probabilities ŷ.

Deep Learning

Core Foundations
DL

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.

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.

Direct Preference Optimization

LLMs & Alignment
DPO

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.

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:

Dot Product

Mathematics & Data
u · v = ∑ u_i v_i

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.

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).

Epoch & Batch Size

Mathematics & Data
Training Cycles

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.

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.

GGUF File Format

Hardware & Systems
Local LLM Standard

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.

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.

Gradient Descent

Mathematics & Data
θ ← θ - η ∇L

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.

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 η.

Graphics Processing Unit

Hardware & Systems
GPU

A super-fast array of thousands of tiny mathematical calculators working simultaneously, originally built for 3D video games but perfect for AI matrix calculations.

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:

Hallucination

LLMs & Alignment
Factual Fabrication

When an AI speaks with 100% confidence and elegant grammar, but the facts or numbers it is stating are completely made up.

A phenomenon where an autoregressive model produces syntactically and semantically fluent outputs that deviate from verified external ground truth or contradict user-provided context.

High-Bandwidth Memory

Hardware & Systems
HBM3e / HBM4

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.

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:

High-Dimensional Space

Mathematics & Data
d >> 3

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.

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:

Key-Value Cache

Hardware & Systems
KV Cache

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.

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.

Learning Rate

Mathematics & Data
η (eta)

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.

A critical training hyperparameter scalar η that scales the magnitude of parameter updates during gradient descent optimization (typically between 1e-5 and 1e-2).

Loss Function (Error)

Core Foundations
Objective / Cost Function

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.

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).

Low-Rank Adaptation

LLMs & Alignment
LoRA

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.

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).

Machine Learning

Core Foundations
ML

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.

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.

Model Context Protocol

LLMs & Alignment
MCP

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.

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:

Multi-Head Attention

Neural Networks
MHA / GQA

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.

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.

Multilayer Perceptron

Neural Networks
MLP / Feedforward

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.

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:

Operational Intensity

Hardware & Systems
Roofline Model: I = FLOPs / Byte

How much actual math you get to do with a piece of information after you take the time to fetch it from memory.

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:

Overfitting vs. Underfitting

Core Foundations
The Bias-Variance Tradeoff

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.

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:

Parameters (Weights & Biases)

Core Foundations
θ = {W, b}

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.

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.

Pre-Training

LLMs & Alignment
Foundation Training

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.

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.

Prefill vs. Decode Phase

Hardware & Systems
Prompt vs. Generation

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).

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:

Quantization

Hardware & Systems
FP16 → INT8 → FP8 → INT4

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.

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.

Recurrent Neural Network

Neural Networks
RNN / LSTM

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.

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.

Reinforcement Learning

Core Foundations
RL

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.

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.

Reinforcement Learning from Human Feedback

LLMs & Alignment
RLHF

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.

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:

Residual Connections

Neural Networks
Skip Connections: x + F(x)

A shortcut elevator in a skyscraper that lets raw information bypass several floors untouched, preventing signals from getting lost or distorted in deep networks.

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.

Retrieval-Augmented Generation

LLMs & Alignment
RAG

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.

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.

Rotary Position Embedding

Neural Networks
RoPE

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.

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:

Self-Attention Mechanism

Neural Networks
Attention(Q, K, V)

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.

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:

Stochastic Gradient Descent

Mathematics & Data
SGD

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.

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.

Supervised Fine-Tuning

LLMs & Alignment
SFT

Polishing a raw internet reader into a polite, helpful assistant. Teaching the model how to follow instructions and respond in conversational format.

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:

Supervised Learning

Core Foundations
Learning with Answer Keys

Teaching a student with flashcards where the question is on the front and the correct answer is already printed on the back.

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).

System Prompt

LLMs & Alignment
Persona & Boundaries

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.

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:

Temperature & Top-p Sampling

LLMs & Alignment
Decoding Controls

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).

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.

Tensor Core

Hardware & Systems
Matrix Accelerator Unit

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.

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:

Test-Time Compute

LLMs & Alignment
Reasoning Models (o1, DeepSeek-R1)

Allowing the AI to spend 30 seconds thinking, double-checking its work, and exploring different puzzle solutions before showing you its final answer.

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 Memory Wall

Hardware & Systems
Memory Bandwidth Bottleneck

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.

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:

Token & Tokenization

Mathematics & Data
BPE / WordPiece

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.

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).

Training vs. Inference

Core Foundations
Learning vs. Predicting

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.

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.

Transformer Architecture

Neural Networks
Attention Is All You Need

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.

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.

Unsupervised Learning

Core Foundations
Pattern Discovery

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.

Discovering underlying structural patterns, probability densities P(X), or low-dimensional manifolds from unlabeled inputs X without external target supervision.

Vector Embedding

Mathematics & Data
x ∈ ℝ^d

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.

A dense continuous vector representation x ∈ ℝ^d mapping discrete semantic tokens or entities into a metric latent space where spatial distance reflects geometric similarity.

Video RAM

Hardware & Systems
VRAM

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.

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.