Chapter 6. Neural Architecture Search (NAS)
In 2017, I watched a paradigm shift unfold in real time. Google’s researchers had just published NASNet, a neural network architecture discovered entirely by machine learning algorithms. What made this announcement extraordinary wasn’t just that the automated system had found a new architecture—it was that this architecture outperformed every human-designed network on ImageNet. This benchmark had driven computer vision progress for nearly a decade.
The implications hit me immediately. For years, I’d spent countless hours designing neural network architectures, tweaking layer depths, adjusting filter sizes, and experimenting with skip-connections. It was part art, part science, and entirely time-consuming. The idea that algorithms could automate this process—and do it better than human experts—felt like science fiction becoming reality.
But the computational cost was staggering. Google’s team utilized 500 GPUs, running for 4 days, to discover NASNet (Zoph et al., 2018, “Learning Transferable Architectures for Scalable Image Recognition”). That’s roughly 22,400 GPU-days, or approximately 537,600 GPU-hours. At 2024 cloud pricing of $1–$3 per GPU-hour for high-end instances like V100s, this translates to $500,000–$1.6 million in computational costs—a figure that underscores why this approach wasn’t accessible to most practitioners or organizations.
Note
Readers should expect these figures to change over time as cloud pricing evolves, and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access