techlist.io

Ai Compute

1 posts

OpenAI2018-05-153 min readCurated summary

AI and compute

# AI Compute Has Grown 300,000x Since 2012, and the Trend Shows No Sign of Stopping OpenAI's analysis finds that the compute used to train the largest AI models has doubled roughly every 3.4 months since 2012, far outpacing Moore's Law's two-year doubling period. The authors argue that compute is the most measurable driver of AI progress, that the trend is likely to continue for several more years given hardware innovation and economic incentives, and that policymakers and researchers should prepare now for systems far beyond current capabilities. An addendum extends the data back to 1959, revealing a second, slower era. ## How Compute Is Measured - The analysis counts actual neural net operations (adds and multiplies) used to train a single model, not peak hardware FLOPS or total datacenter capacity. - The unit is the petaflop/s-day (about 10²⁰ operations), a convenience similar to kW-hr for energy. - Per-model compute differs from total bulk compute because parallelism limits constrain how large a single training run can be. ## Four Eras of Training Compute - **Before 2012:** GPUs were rarely used for machine learning, so many results were hard to achieve at all. - **2012 to 2014:** Training across many GPUs was uncommon. Most results used 1 to 8 GPUs rated at 1 to 2 TFLOPS, totaling 0.001 to 0.1 pfs-days. - **2014 to 2016:** Large-scale runs used 10 to 100 GPUs rated at 5 to 10 TFLOPS, reaching 0.1 to 10 pfs-days. Data parallelism showed diminishing returns, limiting the value of bigger runs. - **2016 to 2017:** Techniques such as huge batch sizes, architecture search, and expert iteration, combined with TPUs and faster interconnects, raised those parallelism limits. AlphaGo Zero is the most visible example. ## Drivers of the Trend - The growth is roughly a 10x increase per year. - Custom hardware (GPUs and TPUs) delivers more operations per second per dollar. - Most of the growth came from researchers finding ways to use more chips in parallel and being willing to pay for them. ## Outlook and Limits - **Reasons to expect continuation:** AI-specific chip startups promise large gains in FLOPS per watt over one to two years. Recent algorithmic advances, such as architecture search and massively parallel SGD, could combine multiplicatively. - **Eventual constraints:** Cost will limit parallelism, and physics will limit chip efficiency. The largest training runs today use hardware costing single-digit millions of dollars, though amortized costs are lower. - **Room to grow:** Most neural net compute is spent on inference rather than training, so companies could repurpose large chip fleets for training. The world's total hardware budget is about $1 trillion per year, so absolute limits remain distant. - **Caveat:** The authors acknowledge that past trends cannot reliably predict how long growth will last or what will happen along the way. ## Addendum: Compute Across 1959 to 2012 - Extending the data back to the 1959 perceptron reveals two eras. From 1959 to 2012, compute roughly followed Moore's Law, with a doubling time of about two years. From 2012 onward, the 3.4-month doubling time dominates. - AI winters and booms had little visible effect on training compute over the past half-century. - Pre-2012 estimates are less precise, aiming for an order-of-magnitude accuracy rather than within a factor of 2 to 3. ## Implications The authors conclude that safety and malicious-use concerns need attention now, since capabilities could advance quickly. They also recommend that policymakers consider funding academic AI research, because some research is becoming too computationally expensive for universities to pursue without support.