The Future of AI Chips: Breakthroughs in Chip Manufacturing and Design

Kevin Di

Hatched by Kevin Di

Jan 19, 2024

5 min read

0

The Future of AI Chips: Breakthroughs in Chip Manufacturing and Design

Introduction:
In recent years, advancements in chip manufacturing and design have played a crucial role in the development of AI chips. From the breakthrough in 7nm chip production in China to Google's TPU v4, these advancements have revolutionized the industry. This article explores the common points between these two developments and provides insights into the future of AI chips.

The Magic Behind 7nm Chip Production:
To understand the breakthrough in 7nm chip production, it is essential to consider the concept of process pitch (CPP) and metal pitch (MMP). These two dimensions, represented by the length and width of a rectangle, determine the transistor density. For example, Taiwan Semiconductor Manufacturing Company (TSMC) has a CPP of 57nm and an MMP of 40nm for its 7nm process. Similarly, Samsung's 7nm process has a CPP of 54nm and an MMP of 36nm. Interestingly, these values are much larger than the nominal 7nm labeling used by semiconductor manufacturers.

The density of transistors on different nodes is another crucial factor. Intel, TSMC, and Samsung's 10nm nodes have transistor densities of 1.06 million, 530,000, and 520,000 transistors per square millimeter, respectively. These numbers highlight the significant advancements in chip manufacturing, enabling higher transistor densities and improved performance.

One of the challenges in chip manufacturing is lithography. When the lines on a mask become extremely small, the ultraviolet light passing through the mask can cause distortion in the lithographic patterns. To overcome this challenge, researchers have developed a method called inverse lithography, which involves precomputing the potential distortions on the mask and designing the optimal shape to compensate for these distortions. However, this approach requires substantial computational power, often requiring the use of supercomputers and cloud computing.

TPU v4: The Future of AI Chips:
Google's TPU v4 represents the future of AI chips, addressing the optimization of embedding layers. The TPU v4 incorporates a dedicated acceleration module called SparseCore (SC) to optimize embedding layers. Each SC has its vector processing unit (scVPU), 2.5MB of local SRAM, and access to up to 128TB of shared high-bandwidth memory (HBM). Additionally, the SC includes specialized acceleration logic for operations such as sorting, reduction, and concatenation, specifically designed for embedding layers.

While each SC has a relatively simple structure, Google deploys a large number of SCs in each TPU v4, accounting for approximately 5% of the overall chip area and power consumption. Comparing the performance of running embedding layers on CPUs versus TPU v4 SCs, Google found that placing embedding layers on TPU v4 SCs improved the overall recommendation system's speed by more than six times. This domain-specific design approach offers significant performance enhancements with minimal chip area and power consumption.

Furthermore, the topology structure plays a crucial role in achieving optimal performance for different machine learning models. The requirements for data flow in machine learning models can be categorized into three types: data parallelism, model parallelism, and pipeline parallelism. Each type of data flow corresponds to a different TPU interconnect topology. With reconfigurable optical interconnects, it is possible to adjust the interconnect topology between TPUs based on the specific model's data flow, resulting in performance improvements of over 2x.

Advantages of Reconfigurable Optical Interconnects:
Reconfigurable optical interconnects offer not only performance improvements but also enhanced reliability. In a supercomputer composed of a massive number of chips, ensuring high performance even when a small portion of the chips fails is crucial. Traditional fixed interconnect architectures would result in a complete system failure if one chip malfunctions. However, with reconfigurable optical interconnects, it is possible to bypass the faulty chip, maintaining the system's overall performance with minimal impact. Google's research shows that by using reconfigurable optical interconnects and optical circuit switches, the average system performance can improve by up to six times, assuming a chip reliability rate of 99%.

The Future of AI Chip Design:
Looking ahead to the future, the focus of AI chip design is shifting from accelerating convolutional neural networks (CNNs) to addressing the challenges posed by large-scale models. For Google, the most critical large-scale model is the recommendation system, which determines the company's main revenue stream. Therefore, the design of TPU v4 is optimized for the recommendation system's embedding layers.

Embedding layers play a significant role in recommendation systems, mapping high-dimensional sparse features to low-dimensional dense features for further processing by neural networks. These layers often involve massive lookup tables, with storage capacities reaching the terabyte scale. To handle such large lookup tables, distributed computing is necessary, distributing the computation of each embedding layer across multiple TPU v4 chips. Google's research indicates that the computation in embedding layers primarily involves 1D vector calculations, often sparse and distributed across different chips. Optimizing shared memory access enables efficient data exchange between chips.

Conclusion:
Advancements in chip manufacturing and design have revolutionized the AI chip industry. The breakthrough in 7nm chip production and Google's TPU v4 showcase the importance of process pitch, transistor density, and domain-specific design in achieving high-performance AI chips. Reconfigurable optical interconnects offer performance improvements and enhanced reliability in large-scale chip architectures. As the focus shifts towards addressing the challenges posed by large-scale models, the future of AI chip design lies in scalable solutions that optimize specific domains while leveraging advancements in packaging, data interconnects, and more.

Actionable Advice:

  1. Invest in research and development of chip manufacturing techniques to achieve higher transistor densities and improved performance.
  2. Explore domain-specific design approaches to optimize specific tasks and achieve significant performance enhancements.
  3. Consider the implementation of reconfigurable optical interconnects to improve chip reliability and overall system performance.

By incorporating breakthroughs in chip manufacturing and design, the future of AI chips holds immense potential for advancements in various industries and applications.

Sources

← Back to Library

Hatch New Ideas with Glasp AI 🐣

Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)

Start Hatching 🐣