V. Artificial Intelligence · Chapter 46
AlexNet
In early 2012, a graduate student named Alex Krizhevsky unboxed a package from Amazon in his cramped Toronto apartment. Inside was a pair of NVIDIA GeForce GTX 580s, each sporting 512 cores in sleek, glossy black-and-green plastic casing. They soon whirred to life side by side in a desktop tower in his apartment’s bedroom. This dual-GPU, high-end home PC would have been a dream rig for gaming—but that wasn’t what Krizhevsky would be using it for.
Krizhevsky was a Canadian computer scientist working in the small Toronto lab of Geoffrey Hinton—the same Hinton who helped revive neural nets by reintroducing backpropagation. Together with his collaborator, Ilya Sutskever—who was later to become a key leader within Google Brain and then a co-founder of OpenAI—they used CUDA and the GPUs to train a large-scale neural network they called AlexNet.
AlexNet was their submission to the annual ImageNet Large Scale Visual Recognition Challenge (ILSVRC), a competition built on Fei-Fei Li’s ImageNet dataset. ImageNet consisted of 1.2 million labeled photographs, spanning 1,000 categories, representing the messy visual complexity of the real world. Participants had to classify 100,000 test images—everything from Siberian huskies to fire trucks to espresso machines. Prior years’ challenge winners continued to rely heavily on “hand-crafted” feature engineering—the manual design of algorithms to detect things like edges, corners, or texture patterns in the pixels.
Although Yann LeCun’s work years earlier on handwritten digits had shown that neural networks had the potential to outperform these techniques, the images that LeCun’s LeNet-5 model had successfully classified were far smaller and more constrained. They were small, uniform size, greyscale, and handwritten digits only. ILSVRC images were variable size, full color, images drawn from natural photographs, with categories all over the map. A model like LeNet-5 would have struggled badly on such a dataset.
The AlexNet team took the basic convolutional architecture of LeNet-5 and scaled it up by three orders of magnitude—from roughly 60 thousand parameters to 60 million. On CPUs, training such a model on 1.2 million images would have taken months of compute time. On Krizhevsky’s dual-GPU setup, training ran in roughly five days. Just as important as scale, the team introduced several innovations—ReLU activations, dropout, data augmentation—that sped convergence and improved generalization. Many later became standard practice in deep learning.
AlexNet crushed the competition by a stunning margin, beating the runner-up by ~11 percentage points—roughly doubling the typical year-over-year improvement and nearly halving the previous winner’s error rate. The result electrified the field. It was suddenly undeniable that, with enough data and compute, deep neural networks could achieve performance levels that hand-crafted methods could not touch. The resulting paper, ImageNet Classification with Deep Convolutional Neural Networks, became one of the most-cited in computer science, with over 170,000 citations.
The size of AlexNet’s leap foreshadowed a deeper pattern. Rich Sutton would later call it the “bitter lesson”: methods that scale with computation tend to dominate methods that rely on human insight or domain knowledge. Hand-designed features, clever heuristics, and carefully engineered pipelines all have ceilings. End-to-end learning systems—trained with enormous data and compute—keep improving as resources grow. Vision researchers had spent years refining increasingly elaborate feature sets; in one stroke, a scalable learning system eclipsed them. It was “bitter” not because it was wrong, but because it implied that many of the hard-won tricks of human experts would eventually be outpaced by simple algorithms applied at sufficient scale—a theme that would recur again and again in AI’s evolution.
In a 2022 retrospective, A Decade of Deep Learning, Google AI chief Jeff Dean identified the 2012 AlexNet paper as the starting point of the deep learning revolution. To clarify terminology briefly, “AI” is sometimes used as the widest umbrella term for any “Intelligent” system, encompassing not only machine learning & deep learning but also the symbolic techniques of the 1980s; “machine learning” would be a subset of AI systems focused on learning behavior from data rather than encoding explicit rules; “deep learning” would be a subset of “machine learning” that specifically uses multi-layered neural networks to learn from data; but deep learning has now become so dominant as a paradigm that anyone talking about “AI” today is almost always simply referring to deep learning.
Google had been using “machine learning”—meaning statistical, probabilistic, predictive mathematical models trained on large corpora but not using multi-layer neural networks—for at least a decade prior to AlexNet. When Peter Norvig arrived at Google in 2001 as Director of Machine Learning, his teams applied machine learning to a number of problems within Google—ranking, recommendations, spam detection, and machine translation—using a wide variety of ML techniques like N-gram language models, logistic regression, Naive Bayes classifiers, gradient-boosted decision trees, and support vector machines. These mathematical models can learn weights based on numeric input features, but humans had to decide which features mattered, and how to represent the data. For example in web search ranking circa 2005, features might include the number of query-term matches in the title, PageRank score, anchor-text overlap, click-through rate: each a manually specified numeric statistic derived from domain intuition. Although the learning algorithm could adjust weights on those features based on data, the basic “vocabulary” of the model—the very things it could pay attention to—were predetermined by human design, using the same kind of “hand-crafted” feature engineering process as the algorithms that AlexNet had beaten out.
Deep learning was already on Google’s radar prior to AlexNet, to solve this feature engineering problem. What was new and exciting about the prospect of deep learning was that a system could learn its own features directly from raw input (pixels, audio, text) by internally constructing multiple layers of abstraction. In 2011, just before AlexNet, Google Brain started as a collaboration between Jeff Dean, Andrew Ng, and Greg Corrado, specifically for the purpose of exploring deep learning at scale, using large neural networks trained with massive amounts of data and compute. Their first major experiment, in 2011-2012, became famous as the “YouTube cat detector”: it used 16,000 CPU cores (about 1,000 machines) to train a massive neural network on 10 million YouTube video frames, completely unsupervised. The network spontaneously learned to detect cats, faces, and human body parts without ever being told what those were.
Even though Google Brain was already active by 2011, the dominant thinking in many parts of research and industry was still skeptical of deep neural networks—they were often seen as academic curiosities, impractical for large real-world systems. The success of AlexNet was a legitimizing shock to this thinking that helped shift consensus and acted as validation—internal and external—for deeper investment in deep neural networks. Google acquired the company formed by the creators of AlexNet—Geoff Hinton, Ilya Sutskever, and Alex Krizhevsky—bringing them into the company.
Google moved to incorporate deep learning into its product stack. Image- and vision-intensive products all shifted towards experimentation with neural architectures. Product teams like Photos, Search, and Translate all collaborated with Brain to integrate neural models in those domains. Google Photos quickly became a flagship application, offering groundbreaking features such as automatic facial recognition and grouping, allowing users to easily organize photos by individuals, as well as object search within personal photo libraries. RankBrain in 2015 was one of the first large-scale deployments of deep learning in Google’s core search engine, a neural-based component of the algorithm that helped match “fresh” or “ambiguous” queries to documents.
Working on the Brain team, Ilya Sutskever led groundbreaking work on language translation on behalf of Google Translate, published in a 2014 paper “Sequence to Sequence Learning with Neural Networks.” The paper introduced the encoder-decoder paradigm, in which one neural network, an encoder, reads the source sentence word by word and compresses its meaning into a numerical summary (a “context vector”); a decoder network then takes that summary and unrolls it word by word, generating a new sentence in the target language.
Facebook had also already been investing heavily in machine learning prior to AlexNet, and so was primed to react quickly as well. Facebook announced the formation of Facebook AI Research (FAIR) and hired deep learning pioneer Yann LeCun to lead it. Under FAIR, Facebook began investing heavily in applying deep nets to vision, content understanding, and recommendation systems.
Both Google and Facebook had to adapt their infrastructure stacks significantly for the deep learning era. Both built compute infrastructure and distributed systems for deep learning training (the process of feeding labeled data through a neural network so it can adjust its internal weights and “learn” patterns), and inference (the process of using that trained network to make predictions or generate outputs on new, unseen data). GPUs were now a critical hardware resource; both companies built large scale GPU clusters with thousands of cards. Google went even further, developing its own custom silicon chips (TPUs) for deep learning early. Both built internal frameworks (Google’s TensorFlow and Facebook’s PyTorch) to make developing deep learning model architectures easier.
The Internet giants were thus transformed quite early, retooled from top to bottom to run on AI, long before the advent of ChatGPT. Their transformation is reminiscent of the factories that re-oriented their operations around Electricity and the possibilities of the electrical motor. It was a transformation most readily available to firms that already commanded large data resources and substantial computational infrastructure.
While Google and Facebook were weaving deep learning into ranking, translation, advertising, and media understanding, a very different kind of AI effort was taking shape across the Atlantic. In London, a small startup called DeepMind was not trying to sprinkle neural networks into existing products; it was aiming directly at artificial general intelligence itself. Its proving grounds would not be search queries or social feeds, but games.