Empirical Benchmark Comparison
Reinforcement Learning Algorithm Comparison
Direct head-to-head empirical comparison across the three implemented reinforcement learning paradigms in PongRL Pro: REINFORCE, Deep Q-Networks (DQN), and Proximal Policy Optimization (PPO).
Filter Algorithm:
REINFORCEPolicy Gradient (Monte Carlo)
Neural Architecture:Karpathy MLP (6,400 → 200 → 1)
Trainable Weights:1,280,201 params
Asymptotic Peak Reward:-1.47
Sample Efficiency (>-10):3,200 episodes
Forward Latency:1.42 ms / frame
Host Memory Footprint:48 MB
Lowest forward pass inference latency (1.42 ms)
Minimal host memory footprint (48 MB RAM)
Direct policy optimization without Q-value overestimation
Status: Fully Converged (6,001 Episodes)
DQNValue-Based (Q-Learning)
Neural Architecture:Nature CNN (3 Conv Layers + FC 512)
Trainable Weights:1,687,206 params
Asymptotic Peak Reward:-2.1
Sample Efficiency (>-10):2,600 episodes
Forward Latency:3.85 ms / frame
Host Memory Footprint:1410 MB
Sample-efficient off-policy transitions
Experience replay buffer breaks sequential frame correlation
Quasi-static target network stabilizes TD-targets
Status: Benchmarked Reference
PPOActor-Critic (Trust Region)
Neural Architecture:Nature CNN Dual Head (Actor + Critic)
Trainable Weights:1,690,285 params
Asymptotic Peak Reward:+1.85
Sample Efficiency (>-10):1,450 episodes
Forward Latency:4.12 ms / frame
Host Memory Footprint:180 MB
Highest policy convergence stability
Clipped surrogate objective prevents destructive policy collapse
Generalized Advantage Estimation (GAE) balances bias and variance
Status: Benchmarked Reference
Asymptotic Peak Reward Comparison
Maximum sustained moving average reward in ALE/Pong-v5
Forward Inference Latency (ms / frame)
Lower latency allows higher real-time frame rates in live gameplay
Available Weights & Checkpoints Inventory
Physical weights stored in the project directory
| File Name | Format | Architecture | Episodes | Peak Reward | File Size | Status |
|---|---|---|---|---|---|---|
| reinforce_karpathy_6000ep.pth | PyTorch State Dict | KarpathyPolicyNetwork | 6,001 | -1.47 | 5.12 MB | Compatible |
| legacy/save.p | NumPy Pickle | Karpathy 200 Hidden Neurons | 6,001 | -1.47 | 4.88 MB | Compatible |
| dqn_nature_cnn_atari.pth | PyTorch State Dict | NatureCNN (4, 84, 84) | 2,600 | -2.1 | 6.75 MB | Compatible |