CS231N: Computer Vision with Deep Learning


CS231N: Computer Vision with Deep Learning

Hope
Welcome back, everyone! I'm Hope, and joining me today is Corey. We're diving into the world of computer vision and deep learning—a lecture from CS231n that covers both a rich history and a roadmap for the course. Corey, I'm fascinated by the fact that vision isn't just a part of AI—it's really a cornerstone of intelligence.

Corey
Absolutely, Hope. Professor Li set the stage beautifully. She pointed out that over half of our cortical cells are involved in visual processing. And she traced that all the way back to the Cambrian explosion 540 million years ago—when the first trilobite developed a simple photosensitive cell. That was the spark that drove the evolution of intelligence.

Hope
Right! Before that, life was passive—just metabolism. But with vision, animals became active participants in their environment. Suddenly, you had predators and prey, and evolution kicked into high gear. And humans, being endlessly curious, have always wanted to build machines that can see—from Leonardo da Vinci's camera obscura to ancient Greek and Chinese pinhole experiments.

Corey
Exactly. But just having a camera isn't enough—you need visual intelligence. That brings us to the neuroscience breakthroughs. In 1959, Hubel and Wiesel mapped out the visual cortex of cats and discovered that neurons have their own receptive fields. Early neurons detect simple oriented edges, and as you go deeper in the hierarchy, they respond to more complex patterns. That hierarchical structure is a direct inspiration for neural networks.

Hope
And that work won them a Nobel Prize decades later. On the computer vision side, the first PhD thesis is attributed to Larry Roberts in 1963, who worked on understanding 3D shapes from 2D images. Then in 1966, MIT launched a summer project with the optimistic goal of solving vision. Spoiler: it didn't happen—but it marked the beginning of the field.

Corey
David Marr's work in the 1970s was a huge leap. He proposed a framework: first a primal sketch of edges, then a 2.5D sketch that captures depth and surface orientation, and finally a full 3D model. But here's the kicker—vision is an ill-posed problem. The world is 3D, but the image on your retina is only 2D. Nature's solution? Having two eyes and triangulating—but even that requires solving correspondences.

Hope
It's a hard problem. And during the 1970s and 80s, the field went through an AI winter—funding dried up because promises weren't delivered. But under the surface, research continued. People like Rodney Brooks worked on generalized cylinders for object recognition, and edge detection algorithms got better. Meanwhile, cognitive neuroscience was providing clues about how fast and robust human vision is.

Corey
Yes—studies showed that we can detect a human in a video frame shown for just 100 milliseconds. And with EEG, they found that within 150 milliseconds, the brain already signals whether an image contains an animal. That's incredibly fast—only a few neural hops. It tells us that object recognition is a fundamental problem we need to solve.

Hope
So the field refocused on object recognition in natural scenes. In the 1990s, we had recognition by grouping, SIFT features, and the first commercial face detection in digital cameras. But a game-changer was the internet. Suddenly, we had data—thousands of images, then tens of thousands. Datasets like PASCAL VOC and Caltech 101 became benchmarks.

Corey
Meanwhile, neural networks were quietly evolving. It started with the perceptron, but Minsky pointed out it couldn't learn XOR—that caused a setback. Then Fukushima's Neocognitron in 1980 hand-designed a convolutional network inspired by the visual hierarchy. But the real breakthrough was backpropagation in 1986—a learning rule that used calculus to adjust all the parameters automatically.

Hope
And that led to Yann LeCun's LeNet in the 1990s, which was used to read checks and digits. But these networks didn't work well on complex, natural images. The missing ingredient was data. That's where Professor Li's lab made a huge contribution—they collected ImageNet, with 15 million images across 22,000 categories. They launched the ImageNet challenge, and in 2012, AlexNet—a deep convolutional network from Hinton's group—crushed the competition, dropping the error rate from 30% to under 16%.

Corey
AlexNet wasn't radically different from Neocognitron, but two things made it work: backpropagation for learning, and the massive scale of ImageNet. That moment is often called the birth of modern AI. Since then, the field has exploded. New algorithms for detection, segmentation, video understanding, and medical imaging have emerged. And with the advent of generative models like DALL-E and Midjourney, we can now create images from text.

Hope
But with great power comes great responsibility. As Professor Li emphasized, AI systems can inherit human biases from data. Facial recognition systems have shown racial and gender bias. And as these systems are used in hiring, lending, and policing, we have to be careful. It's not just an engineering problem—it's a societal one. That's why she's excited to have students from law, education, and business in the class.

Corey
Absolutely. Now, let's shift to the course overview from Professor Adeli. He broke the course into four big topics. The first is deep learning basics: starting with image classification, which is the simplest task—just assign a label to an image. Linear classifiers try to separate classes with a straight line, but real data isn't that simple. So we'll learn about neural networks, which stack layers to model nonlinear functions.

Hope
And to avoid overfitting or underfitting, we'll use regularization and optimization techniques. That's the nuts and bolts. Then we move to perceiving and understanding the visual world. Beyond classification, we have semantic segmentation (label every pixel), object detection (bounding boxes), and instance segmentation (pixel-level masks for each object). Plus, video tasks like action recognition and multimodal understanding—combining vision and sound.

Corey
Next, we dive into models. Convolutional neural networks (CNNs) are the workhorses for images, with operations like convolution, pooling, and fully connected layers. Then recurrent neural networks for sequences, and transformers—which have taken over both NLP and vision. And we'll cover large-scale distributed training, because today's models have billions of parameters and need to be trained across many GPUs.

Hope
The fourth topic is generative and interactive visual intelligence. That includes self-supervised learning, where models learn from data without labels—like predicting missing parts of an image. Generative models like diffusion models can create new images from noise. We'll also study vision-language models that connect images and text, and 3D vision for robotics and AR. And finally, we'll talk about human-centered applications and the societal impact.

Corey
And it's worth noting that the field has been recognized with major awards. The 2018 Turing Award went to Hinton, Bengio, and LeCun for deep learning. And just last year, Hinton and Hopfield shared the Nobel Prize in Physics for their foundational work on neural networks. So the course is grounded in this incredible legacy.

Hope
Great summary. The course will start with image classification and linear classifiers—the basics that everything else builds on. So, whether you're here to build self-driving cars, diagnose diseases, or just understand how these models work, you're in for an exciting quarter. Thanks for joining us, and we'll see you in the next episode!

Ask anything
We've read this whole study set, so questions about it get the best answers.