
Operating the Grand Capstone Engine
Operate the Bycroft-grade interactive macro-system to inspect real-time tensor registers and verify hand-calculated values at 60fps.
To bridge our manual paper calculations with real-time computational systems, we operate the Tier 3 flagship laboratory: The Complete Vanilla MLP Engine (07_neural_engine_capstone.html).
This Bycroft-grade macro-system synthesizes the entire forward-backward data flow graph at 60 frames per second on a micro-scaled architecture, exposing every intermediate tensor register to direct inspection.
Architectural Anatomy of the Capstone Engine
The Capstone Engine models an authentic Multi-Layer Perceptron:
[ Input Vector x ] ──► [ Layer 1: W^(1), b^(1) ] ──► [ Hidden a^(1) ] ──► [ Layer 2: W^(2), b^(2) ] ──► [ Prediction y_hat ]
│ │
│ ▼
[ Live Update Registers ] ◄── [ Layer 1 Delta δ^(1) ] ◄── [ Layer 2 Delta δ^(2) ] ◄── [ Loss Evaluation L(y, y_hat) ]
Every numerical register in the interface maps directly to a variable in our mathematical derivations:
- Input Registers (): Interactive coordinate sliders defining the input point in 2D space.
- Layer 1 Registers (): Editable matrix and bias inputs controlling hidden pre-activations and activations .
- Layer 2 Registers (): Output weights and hurdle bias computing scalar output and prediction .
- Loss Register (): Real-time quadratic penalty register displaying .
- Gradient Registers (): Exact instantaneous derivatives computed via backpropagation.
Operating Modes & Step-by-Step Verification
The simulator offers two primary modes of operation:
Mode 1: Single-Step Step-by-Step Execution
- Click Step Forward (1) to execute Layer 1 affine transformations (). Watch the intermediate registers update.
- Click Step Forward (2) to apply activation functions () and evaluate Layer 2 ().
- Click Evaluate Loss to compute mistake penalty against target .
- Click Step Backward (Output) to compute output delta and output gradients .
- Click Step Backward (Hidden) to backpropagate error through and compute hidden gradients .
- Click Apply Parameter Update with step size to execute . Inspect the updated registers and verify that loss immediately decreases on the next forward evaluation.
Mode 2: Continuous 60fps Flow
Enable continuous mode to observe real-time tensor streaming. Dragging input sliders or parameter knobs causes every downstream register and gradient arrow to re-evaluate deterministically at sub-millisecond speeds.
Curated Presets and Hypothesis Exploration
To test critical boundary conditions, load the curated presets from the simulator toolbar:
-
Preset 1: Bivariate Non-Linear Separation
- Configuration: A 2D XOR-like classification problem with two positive diagonal points and two negative diagonal points.
- Inquiry: Observe how Hidden Neuron 1 and Hidden Neuron 2 partition the 2D coordinate space into two linear half-spaces, folding the plane so the output layer achieves linear separation.
-
Preset 2: Flop Pitch Error Correction
- Configuration: Initial weights set to , input , target , step size .
- Inquiry: Verify that the simulator's intermediate registers match your hand-calculated paper derivations: , , , , and updated loss .
-
Preset 3: Symmetric Initialization Saddle Point
- Configuration: All Layer 1 weights initialized to identical values () with identical inputs.
- Inquiry: Observe that hidden error deltas and receive identical gradients. This demonstrates why symmetric weight initialization causes hidden neurons to learn identical features, proving why distinct initial weights are necessary.
Guided Challenge: "Execute a single manual forward and backward cycle on paper and verify every intermediate tensor and gradient against the Capstone Engine's live registers."
Strict Scope Containment Boundary
We deliberately stop our software and mathematical modeling at this single manual step.
To maintain clarity and protect cognitive bandwidth, the following complex engineering mechanisms are reserved for subsequent specialized courses:
- No Complex Optimizers: We use only the foundational step rule on paper; no advanced momentum-based or adaptive rate optimizers.
- No Automated Multi-Iteration Training Loops: No automated iteration loops, convergence checks, or dataset iterators.
- No Dataset Chunking Schemes: We evaluate single isolated feature vectors on paper without mini-grouping or dataset partitioning.
- No Hardware Accelerators or Framework Libraries: No hardware acceleration engines, specialized parallel processing kernels, or automatic differentiation software libraries.
Mastering the complete forward-backward data flow graph by hand guarantees that when you encounter automated deep learning libraries later, every internal tensor transformation is already transparent.