Conference Presentation, Keynote, Fireside Chat
Jeff Dean’s Lecture for YC AI
Google Brain Team: Strategic Focus and Technical Achievements
Organizational Mission and Structure
- The Google Brain Team, led by the speaker, operates with a mission to make machines intelligent and apply these capabilities to improve human lives.
- Research is conducted independently of specific applications to build foundational open-source systems like TensorFlow, which facilitates both research and production deployment.
- The team collaborates across Alphabet to integrate machine learning into core Google products, including Search, Gmail, Photos, Speech Recognition, and Translate.
- The group recruits talent through internships and a new residency program launched last year, which has successfully on boarded individuals into deep learning research.
Drivers of the Deep Learning Shift
- The field has shifted from shallow, hand-engineered methods to deep neural networks due to the availability of approximately 100,000 times more compute power than was available in 1990.
- Neural networks are now the optimal solution for a growing number of problems that were previously unsolvable or poorly solved due to data and compute constraints.
- Google's early work involved unsupervised learning on 16,000 CPU cores before the widespread adoption of GPUs, demonstrating the viability of scaling compute for neural nets.
- Current infrastructure goals focus on reducing experimental turnaround times from months to minutes or hours to accelerate scientific discovery cycles.
TensorFlow: Platform and Ecosystem
- TensorFlow was released as an open-source platform designed to unify flexible research, production deployment, and scalability across diverse hardware (CPUs, GPUs, mobile, and custom accelerators).
- The platform achieved significant traction, reaching #6 among all GitHub repositories (excluding JS and books) with a steep growth curve surpassing competitors like Caffe, PyTorch, and Theano.
- The ecosystem has grown to include nearly 1,000 non-Google contributors globally who actively add features, fix bugs, and improve system performance.
- TensorFlow is now a core curriculum component in major machine learning programs at institutions like the University of Toronto, Berkeley, and Stanford.
- Performance benchmarks demonstrate near-linear speedup for image models on up to 8 GPUs and approximately linear scaling for 64 GPUs, refuting previous "slow" perceptions.
- The framework supports language-agnostic development, with fully optimized Python and C++ front-ends, plus community-supported bindings for other languages.
Product Applications: Perception and Robotics
- Google Photos: Utilizes a generalized "predict interesting pixels" model architecture applied to diverse datasets for text detection in Street View, rooftop solar potential analysis, and medical imaging.
- Medical Diagnostics (Diabetic Retinopathy):
- A model trained on 150,000 labeled retinal images performs on par with, or slightly better than, the median of 8 US board-certified ophthalmologists.
- Human inter-rater agreement for grading these images is only 60-65%, necessitating 7 expert labels per image to establish a reliable ground truth.
- The technology is currently in clinical trials in India and licensed to a camera manufacturer for integration into ophthalmologic devices.
- Robotics:
- An "arm farm" system allows multiple robots to practice grasping, pooling 800,000 grasp attempts to train models, compared to the historical benchmark of 30,000.
- The team released a public dataset of these 800,000 attempts to accelerate external research.
- Experiments in imitation learning successfully transfer human video demonstrations to simulated and real robotic environments.
- Scientific Simulation:
- Neural networks are used to approximate expensive quantum chemistry simulators, achieving indistinguishable accuracy while running 300,000 times faster.
- This acceleration enables the screening of 100 million candidate molecules in a timeframe previously impossible.
- Virtual Staining:
- Pixel-to-pixel models can "virtually stain" microscope images, allowing longitudinal observation of live cells that would otherwise die during chemical staining.
- The system can also label structures (axons/dendrites) that lack specific chemical stains.
Language Understanding and Translation
- Smart Reply: A hybrid system using a small feed-forward net to filter emails triggers a sequence-to-sequence model to generate three plausible replies; 10% of mobile inbox replies are now generated by this feature.
- Neural Machine Translation (NMT):
- Replaced Google Translate's 500,000 lines of rule-based code with 500 lines of TensorFlow, utilizing a deep LSTM stack with an attention mechanism.
- The new system uses 100 GPUs (via 16 replicas) and processes 100x-1,000x more training data than previous academic benchmarks.
- Translation quality jumped significantly across nearly all language pairs, approaching human-level performance for specific pairs like English-Japanese.
- Qualitative improvements include natural sentence structure; for example, translating a Hemingway passage from English to Japanese and back retained semantic meaning where the old system failed.
"Learn-to-Learn" and Automated Optimization
- Neural Architecture Search (NAS):
- An automated "model generator" creates and evaluates 10,000+ architectures using reinforcement learning; this achieved state-of-the-art performance on CIFAR-10 without human architectural intervention.
- The system discovered new LSTM cells that outperformed traditional designs on language modeling and medical record prediction tasks.
- Automated Optimizers:
- The system generates symbolic expression rules for optimizer updates, discovering 15 new expressions that outperform human-designed optimizers like Adam and SGD.
- These automated optimizers can transfer effectively to unseen problems, reducing perplexity and improving BLEU scores.
- Computational Efficiency:
- A reinforcement learning algorithm optimizes TensorFlow graph placement across devices, achieving ~20% faster execution than human expert configurations.
- The system iterates through 12,000 experiments over a weekend, a scale impossible for human researchers.
Hardware Infrastructure and Cloud
- Google is developing custom machine learning accelerators (TPUs) designed for reduced-precision linear algebra, unlocking massive compute relative to standard CPUs/GPUs.
- The "Cloud TPU Pod" consists of 64 boards (256 chips total) delivering 1.5 petaflops of compute, programmable via TensorFlow Estimators.
- Release Plans:
- Cloud TPU (Version 2) will be available as a virtual machine with 180 teraflops later in the year.
- Google will distribute 1,000 TPU devices for free to researchers who commit to publishing results openly.
- Managed Services: Higher-level APIs (Vision API, Translation API) provide pre-trained models to non-experts for tasks like object detection, OCR, and high-quality translation.
Future Outlook and Q&A Insights
- Data Efficiency: The team aims to build massive multitask models (learning 10,000+ tasks) to reduce data requirements for new tasks, moving away from training single-purpose models.
- Sparse Activation: Future models may utilize hundreds of billions of parameters where only 1-5% are activated per task, mimicking the brain's sparse connectivity.
- Memory Augmented Networks: These are viewed as promising for short-term working memory but currently applied to modest-sized problems.
- Reasoning Capabilities: The speaker attributes the lack of "reasoning" in current AI to the inability to train massively multitask models and the high computational cost of training single-task networks.
- Industry Role: Automated search tools are expected to augment rather than replace machine learning experts, allowing humans to focus on defining search spaces and interesting problems.
- Healthcare Priority: The speaker identifies healthcare diagnostics as the most impactful near-term application, despite regulatory and privacy hurdles.