oof, mani!

A showcase of AI research papers and my implementations.

2012 AlexNet

ImageNet Classification with Deep Convolutional Neural Networks

AlexNet (2012) introduced ReLU activations, overlapping max-pooling, and dropout regularization, achieving a breakthrough on the ImageNet challenge.

The built model

I reconstructed AlexNet with modern tweaks (BatchNorm instead of LRN, smaller strides in later convs) to speed up convergence and improve stability on cats-vs-dogs. The 11×11 first layer captures coarse features; deeper 3×3 layers refine patterns; and two 4096-unit dense layers with dropout prevent overfitting.

  • Conv1 (11×11, s=4): large receptive field for coarse features.
  • ReLU + BatchNorm: faster convergence vs. LRN.
  • MaxPool (3×3, s=2): reduces spatial dims with slight overlap.
  • Conv2–5: smaller kernels (5×5 then 3×3) to build up complex features.
  • Dense (4096→4096): high-capacity fully connected layers with 50% dropout to prevent overfitting.
  • Output (1, sigmoid): binary cat vs. dog classification.
AlexNet architecture diagram, part 1 AlexNet architecture diagram, part 2

Feature-attention gallery

Hover over each image to see the Grad-CAM overview, which highlights the regions in the input that most activated the network’s final convolutional layer, revealing exactly where the model focused its attention.

The Grad-CAM technique uses the gradients of the target class flowing into the final convolutional layer to produce a coarse localization map highlighting the important regions in the image for predicting the class. The more red the region, the more important it is for the prediction.

Test image 1, classified as cat with 0.98 confidence Grad-CAM heatmap for test image 1, showing where AlexNet looked

"Cat" ~ 0.98 Confidence

Test image 2, classified as cat with 0.78 confidence Grad-CAM heatmap for test image 2, showing where AlexNet looked

"Cat" ~ 0.78 Confidence

Test image 3, classified as cat with 0.91 confidence Grad-CAM heatmap for test image 3, showing where AlexNet looked

"Cat" ~ 0.91 Confidence

Test image 4, classified as dog with 0.99 confidence Grad-CAM heatmap for test image 4, showing where AlexNet looked

"Dog" ~ 0.99 Confidence

Test image 5, classified as dog with 0.77 confidence Grad-CAM heatmap for test image 5, showing where AlexNet looked

"Dog" ~ 0.77 Confidence

Test image 6, classified as cat with 0.70 confidence Grad-CAM heatmap for test image 6, showing where AlexNet looked

"Cat" ~ 0.70 Confidence

Codebase & Demo

2015 DDPG

Continuous Control with Deep Reinforcement Learning

DDPG demo

Under construction.

Codebase & Demo (link to be added)