Navigator Codex & Mathematical Manual
Reference manual for mathematical formulas, optimization algorithms, non-linear hidden layers, transformer attention mechanisms, and generative diffusion noise schedules.
ARCHIPELAGO SECTOR CONCEPT CARDS
A Perceptron is the foundational artificial neuron. It computes a weighted linear sum of input signals (x₁, x₂) and applies a step function threshold to output 0 (OFF) or 1 (ON). Adjusting weights rotates the decision boundary line, while bias translates it up or down.
Gradient Descent is an iterative optimization algorithm used to minimize Mean Squared Error loss J(w). By calculating the derivative slope (gradient) at the current parameter position, the model steps downhill along the loss curve. Learning rate α controls step magnitude.
Convolutional Neural Networks (CNNs) slide a small weight matrix (Kernel) across spatial image grids to compute dot products. This extracts spatial feature contours such as vertical edges, gradients, and textures.
Multi-layer neural networks introduce hidden layers and non-linear activation functions (ReLU, Sigmoid). By combining multiple linear decision half-spaces, MLPs solve non-linearly separable problems like XOR.
Self-Attention allows neural models to dynamically weigh relationships between tokens in a sequence regardless of distance. Queries (Q) represent current token requests, Keys (K) represent context tags, and Values (V) contain representation vectors.
Diffusion models reverse a forward noise process that degrades images into Gaussian noise. By learning to predict and subtract noise at each timestep t, diffusion samplers construct crisp latent images out of chaos.