What have GPU and TPU done right?
The competition in AI chips has never been merely a contest of process technology, computing power and parameters, but also a judgment on the future technology direction, real application demands and R&D investment rhythm. Taking the two axes of "technology evolution — industrialization process" as the framework, this paper first deconstructs the success paths of NVIDIA GPU and Google TPU: the former relies on collaboration with cutting-edge laboratories, general-purpose reuse and timely investment, while the latter is based on internal demands, vertical integration and separate layout for training and inference; then through the negative cases of Wave Computing, IBM TrueNorth, Graphcore and Samsung HBM, it summarizes four types of strategic mistakes: insufficient reuse, single-line bet, deviation from demands and too late investment. Through in-depth analysis of the commonalities and differences between positive and negative cases, we can preliminarily draw the conclusion that AI chip manufacturers win competitive advantages not only by "calculating faster", but also by "seeing earlier, betting more accurately and reusing more widely".
The underlying logic of AI evolution: two axes
1. Two axes: technology evolution and industrialization process
The horizontal axis answers "how technology evolves", and the vertical axis answers "how technology moves towards the industry". The two axes jointly build the basic framework for observing AI development.
The horizontal axis describes the evolution of AI technology itself, which can be divided into three levels: the bottom layer is the model framework, evolving along CNN — Transformer — MoE; the middle layer is the organizational form of the model framework, developing from Chatbot to CoT and then to Agent; the top layer is the model itself, and models such as Gemini are typical representatives of this level. The three are not isolated from each other: the model framework determines the basic capability, the organizational form determines how the capability is called, and the specific model carries and presents these capabilities.
The vertical axis describes the time process of a technology moving from theory to market, which usually goes through four stages: "milestone paper publication — independent open-source reproduction — large-scale expansion — product commercialization" (in short, "theoretical research — code reproduction — scaling — commercialization").
The subjects leading the two axes originally include universities, independent developers and enterprises: universities are more inclined to theoretical research, independent developers promote code reproduction, and enterprises mainly focus on links closer to the market such as model R&D, scaling and commercialization. However, the current trend is that leading technology enterprises are consciously extending to the upstream and downstream, covering not only the "model framework — organizational form — large model" on the horizontal axis, but also the "theoretical research — code reproduction — scaling — commercialization" on the vertical axis, so as to incorporate technology evolution and industrial transformation into the same strategic system.
2. Horizontal axis: Technology enterprises take the lead in theoretical innovation
The institutions that publish milestone papers have gradually shifted from universities at the very beginning to leading technology enterprises such as Google and OpenAI. The milestone paper in the CNN era, *ImageNet Classification with Deep Convolutional Neural Networks*, was published by the University of Toronto in 2012, but Transformer, Chatbot, CoT and Agent after that are all led by leading technology enterprises.
This means: first, leading technology enterprises consciously extend their reach to research institutions to cover the whole chain of "theoretical research - code reproduction - scaling - commercialization", with the purpose of using product commercialization to reversely actively influence and gradually dominate the development direction of the underlying framework of the market, and adopt a proactive strategy to occupy the market; second, if the main discourse power is controlled by leading technology enterprises, it means that cutting-edge progress such as paper publication time and large-scale expansion progress may not be transparent. Relevant research results will not be publicly released by leading technology enterprises until the products are launched and commercialization is completed, so that upstream suppliers cannot follow up the cutting-edge market dynamics in real time. Therefore, upstream suppliers such as chip manufacturers need to actively carry out extensive cooperation with leading technology enterprises to grasp the cutting-edge situation in time; third, leading technology enterprises are more likely to dominate the development direction of basic technologies based on their market capabilities, and their published theoretical research is more likely to obtain more commercial resources. Therefore, for chip manufacturers, it is of more practical significance to focus on papers of leading technology enterprises in the short term, and pay attention to academic papers with high academic influence in the long term.
3. Vertical axis: Full-chain integration accelerates commercialization process
In the chain of "theoretical research - code reproduction - scaling - commercialization", when the leaders of each node in the chain are the same subject, the full cycle from theoretical research to commercialization will be shortened. For example, the cycle of CNN from theoretical research publication to commercialization is 2.75 years, in which the time point of code reproduction is the spring of 2013, one quarter after the publication of the milestone paper in December 2012. In 2014, VGG promoted deeper networks and larger training scales, which took 1 year after code reproduction. In May 2015, Google Photos went online, providing capabilities such as searching by image content to realize commercialization, which took 1.5 years after code reproduction. The process of Transformer from theoretical research publication to commercialization is basically led by Google, and its cycle is only 2.33 years. Among them, Google Research and Google Brain published *Attention Is All You Need* in June 2017. In 2018, Google AI Language team proposed BERT to promote the expansion of pre-trained large models. Compared with October 2019, BERT entered the ranking and featured snippets of Google Search, and used Cloud TPU to serve search results for the first time, which belongs to core product deployment.
The success codes of GPU and TPU: different paths, consistent logic
The success of both GPU and TPU does not simply rely on leading chip performance, but on continuous judgment of model evolution, real demands and investment rhythm. The common point of the two is to improve reuse capabilities around core computing demands, and closely follow cutting-edge models and their evolution process; the difference is that NVIDIA mainly iterates GPUs along the model framework and organizational form through cooperation with external cutting-edge laboratories, while Google relies on the vertical integration of internal applications, models and chips, takes application load as the core drive, iterates for the end-to-end bottleneck of "application - model - chip", and differentiates product lines according to market demands.
(I) GPU: Collaborate with cutting-edge demands and win by general reuse
1. Two key strategic positions: from CNN to Transformer
In December 2012, AlexNet used two NVIDIA GTX 580 to train the championship model, and published the milestone paper in the CNN era, *ImageNet Classification with Deep Convolutional Neural Networks*. Jensen Huang keenly grasped the potential demand of GPUs in the field of AI models, and in March 2013, included Volta and its TensorCore specially optimized for matrix operations (CNN computing kernel) into the product roadmap. Tapeout was carried out in the second half of 2016, and finally it was launched in May 2017, with R&D investment of about 3 billion US dollars.
When Jensen Huang launched DGX-1 (equipped with 8 pieces of Tesla P100, the first AI chip for data centers), there were no buyers in the market for a long time. Introduced by Elon Musk (then co-founder of OpenAI), he personally gave DGX-1 to OpenAI for use in August 2016, establishing a close connection between NVIDIA and cutting-edge laboratories.
After the Transformer paper was published in June 2017, OpenAI completed the iteration from GPT-2 to GPT-3 models on the basis of this paradigm from 2018 to 2020, and the parameters of the language model were scaled up to 175 billion in May 2020. Based on the close cooperative relationship established with OpenAI in 2016, NVIDIA can insight into the latest progress and development trend of cutting-edge large models in real time. Correspondingly, NVIDIA included the Hopper architecture and its TransformerEngine into the roadmap in April 2021 (rather than immediately starting after the paper was published in June 2017), after the cutting-edge laboratories completed the paradigm scaling. Compared with the previous-generation Ampere architecture, the TransformerEngine computing unit specially optimized for the Transformer framework is newly introduced, making the training speed of large models about 3 times higher than that of the previous-generation A100. H100 was fully mass-produced in September 2022, and two months after its release, ChatGPT exploded. NVIDIA once again became the only ready player when the demand exploded, enjoying all the dividends of AI development.
2. Closely collaborate with cutting-edge laboratories to identify demands in advance
As a chip manufacturer, NVIDIA's cooperation with cutting-edge laboratories is crucial, which not only grasps the direction of future market demands, but also saves R&D and time-to-market for product iteration. On the horizontal axis, it gains insight into the development trend of model frameworks, framework forms and models; on the vertical axis, it follows and identifies important time points for the development of model frameworks to decide the time point of R&D and production investment on the chip side.
In addition, chip performance such as large-scale matrix computing, low-precision operation, high-capacity and high-bandwidth video memory, and low-latency interconnection are the chip iteration directions recognized by the industry. While closely collaborating with cutting-edge laboratories, chip manufacturers should also maintain a leading position in the iteration direction of industry consensus.
3. Reuse capability: cross-model and cross-framework
NVIDIA is good at extracting the core computing primitives of each model framework to form the computing unit of the chip, so that the chip can adapt to most models of this model framework. For example, Volta did not bet on the CNN model form, but on the core computing primitive of matrix multiplication. Correspondingly, compared with the previous-generation Pascal architecture, the TensorCore unit specially optimized for matrix computing is newly added, and a single Volta GPU integrates 640 TensorCores. In the Transformer era, TransformerEngine specially optimized for the Transformer framework was launched, and chips equipped with TransformerEngine computing units are applicable to all Transformer series models.
Since NVIDIA bet on core computing primitives (matrix multiplication), when Transformer replaced CNN as the mainstream model framework in 2017, TensorCore was not abandoned at all, but became the core beneficiary of the new paradigm. Volta GPU was launched in May 2017, delivered just a few weeks before the Transformer paper was published in June 2017, and became the hardware base for adapting to Transformer large model training in the following three years. NVIDIA successfully grasped the important opportunity of AI development.
4. Iteration direction: follow the evolution of frameworks and organizational forms
With the iteration of the model framework, the GPU correspondingly customizes computing units for the model framework to greatly improve computing performance. For example, TensorCore specially optimized for matrix computing was launched in the CNN era, and TransformerEngine specially optimized for the Transformer framework was launched in the Transformer era.
Similarly, with the iteration of the framework organizational form, NVIDIA chips also correspondingly supplement incremental assets, extending from TensorCore in the CNN era to tiered storage in the Agent era.
5. Investment rhythm: follow up decisively after scaling verification
NVIDIA did not start the R&D of the corresponding chip H100 immediately after the milestone paper of the new paradigm Transformer was published in 2017. Instead, in April 2021, after OpenAI realized scaling up to 175 billion parameters on the basis of this paradigm, it included the Hopper architecture and its TransformerEngine into the roadmap. The time window grasped by NVIDIA is to start the new generation of chips immediately after the new paradigm completes scaling, and invest timely according to the new paradigm progress of cutting-edge laboratories, neither too early nor too late.
(II) TPU: Based on internal demands, vertical collaborative iteration
1. Source power: real demands of internal applications
Google adopts the vertically integrated business model of "application - model - chip", and the source power of its chip development is internal workload demands. TPUv1 was launched at the end of 2013, and the most direct trigger for the project establishment was speech recognition. Google estimated in 2013 that if users used 3 minutes of voice search every day, the continued use of the CPU scheme at that time would double the computing demand of the data center. Instead of waiting for market supply, Google launched the first-generation chip project TPUv1 according to the demands of the speech team. It took a total of 15 months from the official launch at the end of 2013 to deployment in its data center in Q2 2015.
2. Reuse capability: cross-load and cross-model
Google designed chips to serve its own application demands and model demands. Due to the large variety of its application loads and models, the basic requirement for chips is cross-load and cross-model reuse.
In terms of cross-load, TPUv1 adapts to the multi-department demands of the speech team, Inception and AlphaGo at the same time; TPUv2 faces the demands of search ranking, vision, translation and speech.
In terms of cross-model, TPUv1 faces online DNN inference, covering mainstream models such as fully connected network (MLP), convolutional network (CNN) and recurrent network (LSTM); TPUv4i faces production online inference with multiple models coexisting, including BERT, MLP, CNN, RNN and other models, and the online models are updated frequently, some applications that originally used MLP have been switched to BERT; the official document of TPUv6e clearly states that it is applicable to Transformer, text-to-image, CNN, dense LLM, MoE and recommendation models.
3. Iteration direction: break through the bottleneck of the vertical chain
Similar to GPU, TPU iterates for model frameworks and framework organizational forms. In addition, Google adopts a vertically integrated business model, which can more accurately identify end-to-end performance bottlenecks and iterate on the bottlenecks.
At the end of 2014, when TPUv1, which is dedicated to inference, was being manufactured, Google timely noticed that after the launch of the inference chip TPUv1, the model bottleneck shifted to training capability, so it launched the TPUv2 project, which is mainly for training.
4. Step-by-step strategy: first-generation verification, subsequent generation expansion
When solving the model training problem, Google did not achieve it in one step, but adopted a step-by-step strategy from "being able to train" to "training large models", corresponding to TPUv2 and TPUv3 respectively, that is, TPUv2 can train models, and TPUv3 is an enhanced version of TPUv2, which can accommodate larger models and shorten training time. Correspondingly, the number of matrix multiplication units of TPUv3 is doubled, the HBM capacity of a single chip is doubled, and the number of chips in a single Pod is expanded from 256 to 1024.
Google is both decisive and cautious when trying new things. "Decisiveness" is reflected in the decisive investment in TPUv2, using chips with relatively small scale or partially cut functions to "test the water", speed up the time to market and verify demands; "cautiousness" is reflected in the strategy of "only one main innovation change per generation" to avoid one-time excessive investment. TPUv3 makes limited incremental changes on the basis of TPUv2 to expand the scale.
5. Product differentiation: two-line layout for training and inference
Since Google starts from real internal demands, it identified the differentiated development demand of AI chip product lines earlier than NVIDIA.
In 2020, TPUv4 began to clearly define two product branches: training and inference. After TPUv3, the chip team re-evaluated the strategy of "one chip prioritizes optimization for training and also does inference at the same time". Google found that with the expansion of its internal business, the cost-benefit of independently optimizing inference has become greater. Finally, the product branches are clarified, the same team shares the core design, and launches the dual-core training TPUv4 and the single-core inference TPUv4i respectively. Among them, TPUv4 breaks through the communication and expansion bottleneck of a single Pod, PaLM 540B uses 6144 TPUs v4 for training, and Gemini 1.0 later also uses TPUv4 for training; as an inference chip, TPUv4i is based on the core design shared with the training chip, taking response latency and deployment cost as the key design points of the chip.
For the 8th generation TPU, Google continues the two product lines of training and inference. TPUv8t is oriented to large-scale pre-training of cutting-edge basic models such as Gemini, and TPUv8i is suitable for multi-step inference and multi-agent concurrency, instead of letting the same chip undertake all tasks. The two chips have different goals, so their corresponding computing units, connection technologies, memory, etc. are also different.
In addition, Google designs different segmented products to cover the mainstream market, rather than letting a single product cover all markets. Due to customers' demand for long context, Google derived TPU 8i Max on the basis of the 8th generation chip TPU 8i, by merging and packaging two existing TPU 8i chips.