Model Architecture & Pipeline
Detailed architectural breakdown of the 5-stage computer vision preprocessing pipeline, Mnih et al. Nature CNN, Andrej Karpathy Policy MLP, and rigorous mathematical formulations.
End-to-End Reinforcement Learning Pipeline
How raw emulator memory transforms into discrete Atari controller signals in 16.6 milliseconds:
ALE Atari 2600 Emulation
Stella cycle-accurate engine renders frames at 60 FPS in 210×160 RGB.
Arena Cropping
Top scoreboard and bottom border are cropped out, isolating the 160×160 court.
Spatial Downsampling
Downsampled 2:1 to an 80×80 single-channel luminance representation.
Binary Thresholding
Background court noise is masked out; active paddles and ball are thresholded to 1.
Temporal Frame Differencing
Δst = st - st-1 explicitly encodes ball and paddle velocity vectors.
Neural Forward Inference
Policy Network predicts action distribution or state-action Q-values.
Action Execution
Discrete commands {UP, DOWN} executed in the simulated Atari joystick interface.
uint8 Memory Buffering
Transitions stored in quantized 8-bit circular buffer, saving 93.75% host RAM.
Gradient Optimization
RMSprop/Adam backpropagates policy loss based on discounted returns Gt.
Telemetry & Live Evaluation
Real-time probability gauge and episode tracking streamed to web dashboard.
Raw Atari Frame
Full Stella emulator render with 100,800 scalar values, including margins and scoreboard.
Arena Crop & Binarize
Scoreboard cropped, downscaled 2:1, background masked, paddles thresholded to {0, 1}.
Frame Differencing
Δst = st - st-1 explicitly yields motion vectors (+1 ball current, -1 ball previous).