Every acronym in the book is clickable (dotted cyan underline) and links straight here. Type below to filter instantly:
The go-to modern neural network optimizer: adapts the learning rate for every weight individually and gently shrinks large weights to prevent overfitting.
The broad field of building computer programs that can learn patterns, make decisions, or generate text and images.
A single chip combining a CPU and GPU that share unified memory — like the AMD chip inside the Steam Deck.
The engine inside vktorch/PyTorch that remembers every math operation in the forward pass and automatically computes exact gradients on .backward().
Using the chain rule of calculus in reverse from the loss back to every weight so the optimizer knows which way to nudge each knob.
The standard loss function for Yes/No (0 vs 1) classification that rewards confident correct probabilities and heavily penalizes confident wrong guesses.
The gold-standard full-text keyword search algorithm used by Elasticsearch and Lucene — scores exact word matches while balancing term frequency and document length.
The simplest text-to-vector method: count how many times each vocabulary word appears in a document, ignoring grammar and word order.
A neural network designed for images that slides small learned 2D filters (like 3x3 patches) across pixels to detect edges, shapes, and textures.
Slides small learned 2D filters (like 3x3 patches) across an image to detect edges, shapes, and textures anywhere in the picture.
Measures how closely two vectors point in the same direction (1.0 = identical direction, 0.0 = unrelated). For unit-length vectors, it's just one dot product!
A plain-text table format where each line is a row and columns are separated by commas.
NVIDIA's proprietary GPU programming platform. Most AI libraries require it — vkdata uses open Vulkan instead so you don't need an NVIDIA card!
Teaching computers to understand images and video — from hand-crafted edge detectors (Classical CV) to learned 2D CNNs.
A branch of Machine Learning that stacks multiple layers of artificial neurons (neural networks) to learn complex patterns.
Randomly turns off a small fraction of neurons during training so the network can't memorize single examples and generalizes better.
Inspecting and visualizing your dataset (maps, histograms, missing values, caps/outliers) BEFORE training any model.
A learned list of numbers (e.g. 64 or 4,096 floats) representing a word, sentence, or image so that similar meanings live close together in vector space.
One full pass through the entire training dataset during model training.
The MLP block inside every Transformer layer that processes each token independently and stores most of an LLM's factual knowledge.
A smooth modern activation function used in Transformers and ResNets that gently bends negative values toward zero so stacked layers can learn curves.
A C-like language for writing GPU compute shaders that compile to SPIR-V for Vulkan.
A chip with thousands of tiny parallel cores originally built for 3D graphics, now ideal for doing millions of AI math operations at once.
A classic computer vision feature descriptor that summarizes the direction and strength of edges inside small image grid cells.
Running exact full-text search (BM25) and semantic GPU vector search together and fusing them with RRF — the production standard for RAG so both rare names/codes and synonyms match.
An unsupervised algorithm that automatically groups points into K natural clusters (like discovering 12 California housing sub-markets from lat/lon!).
A simple non-linear algorithm that predicts an answer by finding the K most similar training examples and averaging or voting on their labels.
Saves past attention Keys and Values in GPU VRAM during text generation so each new token only computes 1 step instead of reprocessing the whole prompt.
Rescales each row of neuron outputs to mean 0 and variance 1 so deep networks train smoothly without exploding or vanishing numbers.
A giant Transformer neural network (like Llama or GPT) trained on massive text datasets to predict the next word/token.
Fine-tunes a frozen pretrained model by adding two tiny trainable matrices (A and B) alongside a Linear layer — then merges them back with zero inference overhead.
A fast 256-entry color table (used by vkcolorcet) that maps numbers to RGB colors in one instant lookup.
Average of |prediction - actual|. Your average mistake in real-world units, less sensitive to extreme outliers than RMSE.
Shrinks a 2D feature map by taking the strongest value in each small patch (e.g. 2x2), making a CNN less sensitive to tiny pixel shifts.
Teaching a computer to learn rules from data examples instead of hand-coding every if-statement yourself.
The classic neural network: stacked layers of neurons with non-linear activation functions (like GELU or ReLU) in between so it can learn curved boundaries.
Average of (prediction - actual)^2. Penalizes big mistakes heavily; the standard training loss for regression.
Outputs 0 ONLY when both inputs are 1 (and 1 otherwise). Every digital computer chip can be built purely from NAND gates!
The branch of AI focused on helping computers read, search, classify, and generate human language — from TF-IDF keyword vectors to neural embeddings and LLMs.
A network of interconnected artificial neurons organized in layers that learn weights from data via backpropagation.
Outputs 1 ONLY when both inputs are 0 ('neither x1 NOR x2').
When a model learns noise in the training set instead of the true pattern, scoring great on training data but poorly on unseen test data.
A strategy that turns a binary (Yes/No) classifier into a multi-class classifier by training one model per class ('Is it a Shirt? Is it a Sneaker? ...').
A classic dimensionality-reduction algorithm that compresses many correlated features (like 784 pixels) into a smaller set of top visual patterns.
Searching a Vector Database for the most relevant documents first, then feeding those retrieved snippets into an LLM so it answers with grounded facts.
A smooth bell-curve similarity score exp(-dist^2 / 2*sigma^2) that equals 1 right next to a landmark/hub and fades smoothly to 0 far away.
The simplest popular activation function: max(0, x). Keeps positive numbers unchanged and turns negative numbers into 0.
Linear regression with a gentle penalty (alpha) on huge weights so correlated features don't make the model overfit.
Square root of MSE — puts your typical prediction error back into real-world units (like dollars for house prices!). Lower is better.
A simpler, faster version of LayerNorm (skips subtracting the mean) used in modern LLMs like Llama and Gemma.
AMD's GPU compute platform, which only supports select desktop/datacenter Radeon cards — unlike Vulkan, which works on almost any GPU.
Encodes each token's position by rotating pairs of Query/Key features in 2D space — the standard position encoding used in Llama, Gemma, and Qwen.
A simple, scale-invariant formula (sum of 1 / (60 + rank)) that combines ranked results from keyword search (BM25) and neural vector search into one stronger Hybrid Search list.
Measures what fraction of the variation in the target your model explains. 1.00 = perfect predictions, 0.00 = no better than guessing the average.
The classic training algorithm that nudges model weights downhill (against the gradient) on small random batches of data.
Squashes any number from -infinity..+infinity into a smooth probability between 0.0 and 1.0 (an S-shaped curve).
A smooth activation function defined as x * sigmoid(x), widely used inside modern Llama/Gemma SwiGLU blocks.
Turns a list of raw class scores (logits) into positive probabilities that add up to 1.0 (100%).
The compact binary bytecode that Vulkan GPUs execute. Our fused kernels compile GLSL shaders into SPIR-V once and run natively in VRAM.
A modern gated MLP block (silu(gate) * up) used in Llama and Gemma Transformers that outperforms standard ReLU/GELU FFNs.
A grid of numbers (1D vector, 2D matrix, 4D image batch) stored in GPU VRAM that tracks gradients for automatic backpropagation.
A classic formula that turns text into a vector by boosting distinctive topic words and down-weighting common filler words like 'the' and 'said'.
Step 1 of every NLP pipeline: chopping raw text into clean pieces (words, subwords, or characters) and mapping each piece to an integer ID so a computer can do math on it.
A fast dimensionality-reduction algorithm that projects high-dimensional vectors (like 64-D or 2,000-D embeddings) into 2D/3D maps while keeping clusters intact.
The high-speed memory attached to your GPU where tensors, model weights, and shaders live while training.
A logic rule that outputs 1 when the two inputs are DIFFERENT ((0,1) or (1,0)) and 0 when they are the same. Famous because 1 straight line cannot solve it!