<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Chiplet-Gym: Optimizing Chiplet-Based AI Accelerator Design With Reinforcement Learning</title></titleStmt>
			<publicationStmt>
				<publisher>IEEE</publisher>
				<date>01/01/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10638459</idno>
					<idno type="doi">10.1109/TC.2024.3457740</idno>
					<title level='j'>IEEE Transactions on Computers</title>
<idno>0018-9340</idno>
<biblScope unit="volume">74</biblScope>
<biblScope unit="issue">1</biblScope>					

					<author>Kaniz Mishty</author><author>Mehdi Sadi</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Not AvailableModern Artificial Intelligence (AI) workloads demand computing systems with large silicon area to sustain throughput and competitive performance. However, prohibitive manufacturing costs and yield limitations at advanced tech nodes and die-size reaching the reticle limit restrain us from achieving this. With the recent innovations in advanced packaging technologies, chiplet-based architectures have gained significant attention in the AI hardware domain. However, the vast design space of chiplet-based AI accelerator design and the absence of system and package-level co-design methodology make it difficult for the designer to find the optimum design point regarding Power, Performance, Area, and manufacturing Cost (PPAC). This paper presents Chiplet-Gym, a Reinforcement Learning (RL)-based optimization framework to explore the vast design space of chiplet-based AI accelerators, encompassing the resource allocation, placement, and packaging architecture. We analytically model the PPAC of the chiplet-based AI accelerator and integrate it into an OpenAI gym environment to evaluate the design points. We also explore non-RL-based optimization approaches and combine these two approaches to ensure the robustness of the optimizer. The optimizer-suggested design point achieves 1.52× throughput, 0.27× energy, and 0.89× cost of its monolithic counterpart at iso-area.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>longer latency. Because off-board communications consume at least one order of magnitude more power and time than any on-package communications <ref type="bibr">[4]</ref>. The ideal scenario would be a hardware capable of housing the entire model parameters and intermediate activations on-chip <ref type="bibr">[5]</ref>, promising optimal performance and energy efficiency. Unfortunately, this is not feasible due to the stagnation of Moore's law and Dennard scaling, die size reaching the reticle limit, and the prohibitive manufacturing cost and yield limitations <ref type="bibr">[3]</ref>. Consequently, researchers endeavor to replicate this 'hypothetical ideal' hardware concept by integrating multiple smaller chiplets at the package level, allowing near-ideal performance while minimizing costs and energy consumption.</p><p>With the advent of advanced packaging technologies, the chiplet-based heterogeneous integration has opened up a new dimension of chip design, More-than-Moore <ref type="bibr">[3]</ref>. In chiplet-based system, multiple chiplets (i.e., SoCs) of diverse functionalities (e.g., logic dies, memories, analog IPs, accelerators etc.) and tech nodes (e.g., 7nm or beyond) from different foundries are interconnected in package level using the advanced packaging technologies, such as CoWoS, EMIB, etc. <ref type="bibr">[3]</ref>. The value proposition of chiplet-based architectures is manifold. Compared to multiple monolithic SoCs interconnected via off-package or off-board links such as PCIe, NVLink, CXL etc. <ref type="bibr">[3]</ref>, package-level integration of multiple monolithic SoCs via 2.5D or 3D has accelerated performance and lower energy consumption alleviating off-package communications. Chiplet-based systems offer lower RE (Recurrent Engineering) cost by providing higher yield and lower NRE (Non-Recurrent Engineering) by enabling IP reuse and shortening IC design cycle <ref type="bibr">[6]</ref>.</p><p>The commercial chiplet-based general purpose products <ref type="bibr">[7]</ref>, <ref type="bibr">[8]</ref> are designed and developed at vertically integrated companies without exposing much knowledge about the chipletbased architectures' design space. Unlike these general purpose products, chiplet-based AI accelerators demand extensive design space exploration to hit the target Power, Performance, Area, and Cost (PPAC) budget. From architectural perspective, designers must consider the resource allocation, mapping and dataflow of the DNN workloads. From communication and integration perspective, chiplet placement, routing protocols, stacking/packaging technologies, interconnect types, and finally from application perspective, system requirement, such as reliability, scalibility etc., should be considered all at the same time while optimizing for PPAC <ref type="bibr">[9]</ref>. The existing works often focus either on the architectural or integration aspects as a separate design flow: explore routing and packaging given chiplets <ref type="bibr">[10]</ref>, <ref type="bibr">[11]</ref>, <ref type="bibr">[12]</ref> or explore chiplets architecture given the packaging <ref type="bibr">[5]</ref>, <ref type="bibr">[13]</ref>, <ref type="bibr">[14]</ref>, <ref type="bibr">[15]</ref>. An isolated approach, addressing individual aspects independently, may result in sub-optimal designs due to the inter-dependency among these factors. For instance, varying resource allocation impacts communication demands, influencing the choice of packaging and its configuration, consequently leading to cost variations.</p><p>Currently, many flavors of packaging technologies, both from 2.5D and 3D, are available from the industry leaders, which makes it difficult for system designers and integrators to choose the optimum set of configurations from the vast design space based on the system requirements <ref type="bibr">[3]</ref>. The various packaging technologies differ in fabrication cost and complexity, performance, and underlying integration technologies <ref type="bibr">[3]</ref>. As a result, no single package technology can be marked as superior to others. Each of the other domains, such as resource allocation, chiplet granularity, placement, Network on Package (NoP), and interconnect architectures, to name a few, also has an extensive design space. A proper co-optimization across all these domains based on the system and application requirements at the available cost is necessary for a successful chiplet based system design. Optimizing all possible domains results in a combinatorial explosion where brute force search is not an option and random search might not result in the optimum point. The expensive simulation environment of chip design exacerbates this problem.</p><p>To overcome these limitations, in this paper, we make the following contributions bridging the gap between the system requirements and design aggregation, planning, and optimization for chiplet-based architecture.</p><p>&#8226; We develop a co-design methodology for chiplet-based AI accelerators. The co-design task contemplates resource allocation, such as the number of AI chiplets, memory capacity, and bandwidth; partitioning and placement of chiplets such as aspect ratio of the accelerator chiplet arrays, and logical placement of accelerator and memory chiplet; different packaging technologies (i.e., CoWoS, EMIB, SoIC, and FOVEROS <ref type="bibr">[3]</ref>) and their attributes such as bandwidth, bump pitch density, cost and complexity, to optimize the system-level Power, Performance, Area, and Cost (PPAC) of the chiplet-based AI accelerators. &#8226; We formulate an analytical cost model for assessing the chiplet-based architectures. This analytical model enables us to assess the chiplet-based AI accelerator in a time-andresource-constrained environment. &#8226; To optimize throughput, energy efficiency, and cost, we identify the inter-dependency of the design space parameters and formulate the optimization problem as a Reinforcement Learning (RL) problem. We also explore non-RL based optimization approaches, such as simulated annealing, and combine these two approaches to ensure the robustness of the optimizer. &#8226; Finally, we validate our methodology by comparing the performance of our optimized design against state-of-theart monolithic GPU on MLPerf benchmark and justify the performance improvement. The rest of the article is organized as follows. Section II presents the background. Section III describes the analytical modeling and design space exploration. The optimization framework is presented in Section IV followed by experiments and results in Section V, related works in Section VI, limitations and future works in Section VII and conclusion in Section VIII.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. BACKGROUND</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. AI Workloads and Accelerators</head><p>1) AI Workloads: The primary domains of AI encompass Computer Vision (CV), Natural Language Processing (NLP), Recommender Systems, and Reinforcement Learning. The integration of these domains has led to the emergence of Generative AI, enabling models to generate diverse content, including text and images. In Generative or Multi-modal AI, diverse AI/DNN (Deep Neural Network) models are fused together to generate an output. While the architectural characteristics and parameters of LLM and CV models may differ, their fundamental components share similarities with the structure of Transformer <ref type="bibr">[16]</ref> for NLP and ResNet <ref type="bibr">[17]</ref> for CV, respectively. The critical operations in CV models involve regular convolution, Depthwise or Point-wise convolution, residual blocks, FC (Fully Connected) operations, whereas the scaled-dot product attention operations, and FC operations dominate in LLM. These operations can be expressed as or converted to matrix-matrix/vector multiplication (GEMM) with massive parallelism.</p><p>2) AI Accelerator: Systolic array <ref type="bibr">[18]</ref> type architecture, leveraging the inherent parallelism of DNN workloads, has been used as the core of AI accelerators. A typical AI accelerator is composed of arrays of Processing Element (PE) for computation and on-chip buffer to hold the weights and activations. PEs are composed of Multiplier-Adder (MAC) units and small register file for each MAC units to hold the stationary data, depending on the dataflow. The size of PE array, memory hierarchy, and memory size are critical design parameter of a AI accelerator. Fig. <ref type="figure">1</ref> shows a AI accelerator with a PE core, Special Function Unit (SFU), and Global Buffer. The PE core contains a small SRAM buffer and bunch of PE units. Each PE consists of a MAC unit and a reg. file <ref type="bibr">[19]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Chiplets and Heterogeneous Integration</head><p>1) 2.5D Architecture: In 2.5D architecture, two or more chiplets, fabricated separately, are connected side-by-side with each other in package-level through interposer (silicon/organic) or silicon bridge. Two commercial 2.5D interconnects are Chip on Wafer on Substrate (CoWoS) from TSMC <ref type="bibr">[20]</ref> and Embedded Multi-die Interconnect Bridge (EMIB) from Intel <ref type="bibr">[21]</ref>. In CoWoS, two side-by-side dies are connected with each other and with package substrate through an intermediate interposer layer <ref type="bibr">[20]</ref>.</p><p>Interposer can be active and passive. Active interposer contains embedded logics and Re-Distribution Layers (RDL) where as passive interposer containing RDLs are only used for routing purpose. CoWoS typically employs passive interposer for 2.5D integration. In contrast, Intel's EMIB utilizes thin silicon pieces with multilayer BEOL interconnects (Silicon Bridge) embedded in the organic package substrate for high-density localized interconnects, eliminating the need for a separate interposer layer <ref type="bibr">[21]</ref>. CoWoS and EMIB architectures are illustrated in Fig. <ref type="figure">2(a)</ref>.</p><p>2) 3D Architecture: In 3D, two or more separately fabricated chiplets are stacked on top of each other through 3D interconnects formed with copper micro-bumps, or hybrid wafer bonding <ref type="bibr">[22]</ref>. Depending on the bonding interface orientation of the interconnected dies, different bonding configurations are possible, such as face-to-face (F2F), face-to-back (F2B), backto-back (B2B) etc. Intel's FOVEROS <ref type="bibr">[23]</ref> uses F2F bonding where the face of the top die is bonded to the face of the bottom die (active interposer) through Cu micro-bump connections. Bottom die is connected to the package through TSV <ref type="bibr">[23]</ref>. TSMC has the option of both F2F and F2B bonding configuration in their System on Integrated Chips (SoIC), however, they use hybrid bonding instead of Cu &#181;-bumps <ref type="bibr">[24]</ref>. The latest upgrade of FOVEROS, FOVEROS-Direct, also leverages direct cu-cu hybrid bonding for inter-die interconnection. Recently, both 2.5D and 3D can be integrated on the same package and these architectures are known as 5.5D <ref type="bibr">[25]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. THROUGHPUT FORMULATION AND DESIGN SPACE EXPLORATION</head><p>In this section, we formulate the cost model for chiplet-based AI accelerators, including throughput, energy, and cost. We perform design space exploration to comprehend the influence of various design parameters on the cost model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Top Level Architectural Exploration</head><p>We explore two architectural approaches: (i) 2.5D architecture, where all chiplets are connected with each other at the package level through 2.5D interconnects (Fig. <ref type="figure">2(a)</ref>). (ii) 5.5D (combining 2.5D and 3D) <ref type="bibr">[25]</ref> where two or more 3D-stacked (connected via 3D interconnects) chiplets are further linked through 2.5D interconnects (Fig. <ref type="figure">2(b)</ref> &amp; <ref type="figure">(c)</ref>). In all cases, the architecture of the AI accelerator chiplet is a regular systolicarray composed of PE array and dedicated on-chip buffer shown in Fig. <ref type="figure">1</ref>  <ref type="bibr">[19]</ref>. However, the number of PE units and on-chip buffer size varies with the number of allocated chiplets, as we consider a fixed package size.</p><p>1) 2.5D Architecture: In 2.5D architecture, we consider that CPU, AI accelerator, and HBM chiplets are connected at the package level through 2.5D interconnects (Fig. <ref type="figure">2(a)</ref>). We explore two 2.5D integration technologies, EMIB and CoWoS, and their different configurations.</p><p>2) 5.5D Architecture (Combining 2.5D and 3D): 5.5D architecture is divided into two cases: (i) memory-on-logic, where HBMs are stacked on top of CPU and/or AI chiplets as shown in Fig. <ref type="figure">2(b)</ref>, and (ii) logic-on-logic, where two AI chiplets are 3D-stacked on top of each other. These 3D-stacked AI chiplets are connected to CPU and/or HBM and other 3Dstacked AI chiplets through 2.5D interconnects as shown in Fig. <ref type="figure">2(c</ref>). To avoid temperature-induced breakdowns <ref type="bibr">[22]</ref>, we limit our exploration to only 2-tiers. We explore the off-the-shelf 3D integration techniques, SoIC and FOVEROS, and their different configurations. Depending on the integration technology and their configuration settings, these architectures offer different bandwidths, energy efficiency, area efficiency, and cost.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Throughput and Energy Efficiency Formulation</head><p>1) Throughput: We define system throughput as tasks completed per second,</p><p>tasks represents different entities depending on the DNN domain and its mode of operations. During inference, tasks represents the number of inf erences. During training of CV and NLP models, tasks means the number of images and tokens processed per second, respectively. tasks/sec can be decomposed into <ref type="bibr">[26]</ref> </p><p>Here, ops/sec depends on both DNN hardware and DNN models. GEMM operations per task, (ops/task) G , and non-GEMM operations per task (ops/task) nG depend on only DNN models, and M ef f , mapping efficiency depends on DNN models and hardware, along with mapping strategies. ops means the MAC operation. The GEMM operations are performed in the systolic array. The non-GEMM operations such as softmax is performed in the SFU of the accelerator. Dropout and residual operations, manifested as Element-wise multiplication and addition, is also performed using the MAC modules. Layer normalization and other reduction or control flow operations are taken care in the ALU or scalar unit of the SFU.</p><p>For a system comprising multiple AI accelerator chiplets, the operations/sec is expressed as,</p><p>Where (ops/sec) AI_chip is the peak throughput per AI chiplet, AI_chip tot = total number of AI chiplets, and U sys = system utilization factor. It represents the effective fraction of the active chiplets out of the total chiplets. It depends on the interchiplet communication bandwidth (BW AI-AI ), determined by choice of the packaging architecture, package type, and their different configuration. In section III-D1, we describe this in detail. The peak throughput per AI chiplet is expressed as</p><p>Where,</p><p>communication latency, cycle op * = arithmetic operation latency of the chiplet microachitecture, and cycles/sec=f , frequency of the AI accelerator chiplets. cycle comm depends on the distance between the data source and destination. It is impacted by the chiplet allocation, chiplet array dimension (i.e., number of AI chiplets in X and Y dimension) and the physical location of the AI and HBM chiplets. cycle op * depends on the microarchitecture of the chiplet (design of PE array, MAC unit) and the type of operations. We assume that all AI chiplets can operate at the same frequency and have the same architectural and functional configuration. However, the frequency of each chiplet can be further controlled based on the data traffic and location of chiplets to optimize system throughput and energy. P E tot = total number of PEs per AI chiplet, and U AI_chip = chiplet utilization representing the fraction of PEs utilized during computation. U AI_chip depends on mapping of the AI model tasks to the accelerator.</p><p>2) Energy Efficiency: Energy efficiency is paramount when processing DNN at edge devices and cloud data centers. Edge devices are usually constrained by battery life and thermal budget, and data centers are typically constrained by electricity bills, thermal budget, and environmental impact <ref type="bibr">[2]</ref>. Data centers are mainly focused on achieving higher throughput, which requires higher energy budget. In this work, we closely monitor energy efficiency while maximizing the throughput.</p><p>We define energy efficiency (E ef f ) of a system as tasks completed per joule:</p><p>joules/operations depends on both DNN hardware and DNN models, whereas operations/task depends only on the considered DNN model. We break down the energy per operations, E op , (i.e. joules/operations) into its constituent parts:</p><p>E comm is the energy required to transfer data from chiplet-tochiplet and E op * is the energy to perform an arithmetic operation. E comm depends on the choice of packaging architectures (e.g., 2.5D, 3D) and interconnect types (e.g., EMIB, CoWoS, FOVEROS, SoIC) and E op * depends on the microarchitecture.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Chiplet Allocation and Placement</head><p>In the context of chiplet-based accelerator design, determining the number of chiplets, area allocated to each chiplet, and their placement becomes pivotal, as they impact the throughput, energy, and cost. Here we will delve into the relationship between yield, area, cost, communication latency across various chiplet configurations.</p><p>1) Yield and Cost vs Area: Intuitively, as the chip area increases, its compute and memory capacity increases, ensuring high performance and energy-efficiency. However, as shown in Fig. <ref type="figure">3</ref>(a), we are limited by the fact that in advanced tech nodes, as the chip area increases, yield decreases, resulting in increased cost per area <ref type="bibr">[6]</ref>. The yield of the manufactured chip, Y die is expressed as the following Negative Binomial model:</p><p>Authorized licensed use limited to: Auburn University. Downloaded on September 27,2025 at 08:01:38 UTC from IEEE Xplore. Restrictions apply.</p><p>where d is the defect density of the tech node, A is the area of the chip, and &#945; is the cluster parameter. Assuming P 0 as unit price, we can also estimate the cost per yielded area as</p><p>2) Inter-Chiplet Communication Latency: As mentioned earlier, the chiplet-to-chiplet data communication latency, cycle comm , impacts the system performance by contributing to cycles/operations. Data transfer between chiplets occurs through the package-level interconnects such as CoWoS, EMIB, FOVEROS, SoIC etc. Considering that the data might be supplied from another AI-chiplet or directly from HBM, we estimate both AI-AI chiplet communication latency, L AI-AI , and HBM-AI communication latency, L HBM -AI .</p><p>Impact of AI chiplet count. As the number of chiplet increases, the physical distance between the source and destination chiplet increases, resulting in increased communication latency. We consider 2D-mesh topology, which is widely used in tile-based architecture for its simplicity and scalability. Routing in the package substrate is more intricate than on-chip. As a result, tile-based chiplet architectures have been architected with mesh topology <ref type="bibr">[13]</ref>. Fig. <ref type="figure">3</ref>(b) shows that communication latency increases drastically with the number of chiplets for a mesh topology.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Impact of Chiplet array dimension. The longest AI-to-AI chiplet communication latency is expressed as</head><p>As we consider a 2D mesh of AI accelerator chiplets, H AI-AI = m + n -2 denotes the number of hops between the source-destination pair. m, n represent the number of AI chiplets in the X and Y dimension of the array, respectively. t w is per-hop wire delay, t r , T c , and T s are router delay, contention delay, and serialization delay, respectively <ref type="bibr">[27]</ref>. Here, t w , t r , T s are design time metrics, that depend on tech. node, interconnect technologies, circuit, and microarchitecture design, T c depends on workload/data traffic. For a fixed number of chiplets and routing topology, H AI-AI depends on the chiplet array X and Y dimension. We try to keep the aspect ratio of the chiplet array as close as possible to 1 to reduce the communication latency.</p><p>In addition, the physical dimension of the chiplet array impacts the system performance by affecting the choice of dataflow and workload mapping strategies <ref type="bibr">[14]</ref>. For a fixed dataflow and mapping strategy, the system performance largely depends on the chiplet array dimension as shown in Fig. <ref type="figure">4</ref>. Impact of HBM/CPU count and location. We analyze the impact of dividing the allocated HBM into multiple chiplets and placing the chiplets in multiple positions on system latency. Partitioning a large chunk of memory into multiple memory chiplets (instead of placing the large memory in one place) and placing these multiple memory chiplets in different locations improves the system latency. Unlike, AI chiplet counts, as the number of HBM chiplets increases, communication latency decreases. Because the communication latency depends on the physical location of the data <ref type="bibr">[13]</ref>. Fig. <ref type="figure">4</ref> illustrates how chiplet partitioning and placement improve the system latency. As we consider a 2D mesh of AI accelerator chiplets, there are 6 locations: left, right, top, bottom, middle, and 3D stacking, to place the HBM chiplets around the AI chiplets array. These locations result in 2 6 -1 combinations for HBM/CPU placements. We model L HBM/CP U -AI same as equation <ref type="bibr">11</ref>, where H AI-AI is replaced by H HBM/CP U -AI . We use the model presented in <ref type="bibr">[28]</ref> to calculate H HBM/CP U -AI for different locations of HBM/CPU pair. We consider a 16GB (8-stack, each stack 16Gb) HBM3 chiplet <ref type="bibr">[29]</ref>, giving the highest capacity of 80GB with 5 chiplets. We assume that each HBM chiplet has a dedicated memory controller and NoC router integrated within it <ref type="bibr">[30]</ref>. As a result, at iso-memory-capacity (i.e, same number of HBMs with integrated memory controller) the cost associated with HBM for both monolithic and chiplet systems is equivalent. The host CPU is primarily responsible for dispatching the workloads to the accelerator chiplets. The package area is shared by accelerator chiplet, HBMs as well as CPUs. However, the majority of the package area is used for AI computing and HBM memories <ref type="bibr">[13]</ref>, <ref type="bibr">[30]</ref>. Hence, in this work we only focus on the AI accelerator and HBMs.</p><p>The above discussion suggests that, for cost-effective integration of more functionalities, we should partition the total chip area into multiple chiplets, each with smaller areas. From the yield and cost perspective, the more the number of chiplets, the better throughput and less cost. However, this also introduces another consideration: an increase in the number of chiplets results in higher inter-chiplet communication latency, ultimately diminishing throughput and energy efficiency. Therefore, a balance must be struck between dividing the area into an appropriate number of chiplets to enhance functionality and ensure the associated communication latency does not compromise overall system performance and efficiency.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Package Architectures and Configurations</head><p>We explore different packaging architectures, interconnects, and their different configurations <ref type="bibr">[20]</ref>, <ref type="bibr">[21]</ref>, <ref type="bibr">[23]</ref>, <ref type="bibr">[24]</ref> to analyze their impact on the system performance and budget.</p><p>1) Inter-Chiplet Communication Bandwidth: The system utilization term, U sys , of equation 3 depends on the inter-chiplet communication bandwidth. We define U sys :</p><p>Where, BW act is the actual bytes of data transferred per sec and BW req is the required bytes to keep all the neighboring AI chiplets at 100% utilization, i.e., no stalling for data. For the layout of AI and HBM chiplets we consider in this work, the HBM chiplet needs to deliver data to its 4 neighboring AI chiplets simultaneously at most, and any AI chiplet needs to deliver data to its 1 neighboring chiplets at most. However, it can change with the mapping strategies. As the communication between CPU and AI chiplet primarily involves the instruction dispatch and output accumulation, the communication bandwidth is dominated by bandwidth requirements of the AI accelerator to HBM chiplet. Chiplet mapping exploration. For large sequence lengths and batch sizes of NLP/LLM models as well for large FC/Conv. layers of DNN models, the matrix sizes get larger, which need to be split temporally in the monolithic chips if the monolithic chip does not contain enough PE units and memory. Having multiple chiplets, the matrices can be split spatially and mapped to multiple chiplets, performing parallel computation. As illustrated in Fig. <ref type="figure">5(a-c</ref>), the input matrix is split along rows (A, B, C, D), and the weight matrix is split along columns (E, F, G, H).</p><p>Chiplets 1, 3, 5, 7 handle data chunks A and B, while Chiplets 2, 4, 6, 8 handle C and D. The weight matrix portions (E, F, G, H) are distributed to all chiplets accordingly. During initialization, the DRAM supplies data 4 &#215; [A, B, C, D], and [E, F, G, H] simultaneously to chiplets 1, 3, 5, 4, with A and B reaching neighboring chiplets in one hop and C and D reaching distant chiplets in the next hop. Data chunks E, F, G, H reach neighboring and distant chiplets in one hop and two hops, respectively. The outputs are collected back to DRAM once the computations are completed. Outputs from neighboring chiplets (ch-1, ch-3, ch-5, ch-7) reach DRAM in one hop, while outputs from distant chiplets reach DRAM in two hops. No inter-chiplet communication is required for partial sum accumulation, however, the required AI-HBM bandwidth (or the number of channels) is higher in this mapping strategy, as DRAM needs to broadcast [A, B, C, D] to all four neighboring chiplets. According to the above mentioned mapping and dataflow, the required bandwidth is formulated as</p><p>Where, N o is the number of operands required to perform a MAC operation, which is 2 in general (two multipliers for the multiplication and no new external operands are needed for addition). d w is the data width and (ops/sec) AI_chip is the peak throughput of the AI chiplet, and f is the frequency of the accelerator. If BW act &#8805; BW req , then there is no stalling in initializing the chiplets' PE array with data. However, if BW act &lt; BW req , then there will be BWreq BWact cycle stalling for operand data to start the computation. We penalize the overall system throughput with these stalling periods while estimating the system throughput. From equation 13, the required bandwidth is smaller if the peak throughput of the AI chiplet is low, resulting in less penalty. Impact of Data rates and Link count. The data rate per pin (in Gbps), DR, and the number of links assigned for data transfer, L, of different package type determine the active bandwidth, BW act ,</p><p>DR and L depend on the interconnect technology. It plays a significant role in the system throughput by contributing to the system utilization.</p><p>Authorized licensed use limited to: Auburn University. Downloaded on September 27,2025 at 08:01:38 UTC from IEEE Xplore. Restrictions apply.</p><p>TABLE I PARAMETERS AND VALUES OF DESIGN SPACE Parameter Values Architecture type 2.5D, 5.5D: (i) memory-on-logic (ii) logic-on-logic No. of chiplets 1 to 128 @ step of 1 No. &amp; location of HBMs Left, right, top, bottom, middle, 3D stacked; 2 6 -1 location AI2AI interconnect 2.5D CoWoS, EMIB AI2AI data rate 2.5D (Gbps)</p><p>1 to 20 @ step of 1 AI2AI link count 2.5D 50 to 5000 @ step of 50 AI2AI trace length (mm) 2.5D 1 to 10 @ step of 1 AI2AI interconnect 3D SoIC, FOVEROS AI2AI data rate 3D (Gbps) 20 to 50 @ step of 1 AI2AI link count 3D 100 to 10,000 @ step of 100 AI2HBM interconnect 2.5D</p><p>CoWoS, EMIB AI2HBM data rate 2.5D (Gbps)</p><p>1 to 20 @ step of 1 AI2HBM link count 2.5D 50 to 5000 @ step of 50 AI2HBM trace length 2.5D (mm) 1 to 10 @ step of 1</p><p>2) Inter-Chiplet Communication Energy: Interchiplet communication energy E comm depends on the packaging architecture and the data transfer volume. We model it as</p><p>E bit_pkg is the energy per bit data communication for different interconnect technologies, and bit tot is the data traffic required for the desired operation. Impact of trace length and no. of RDL layers. For a specific data rate and link count, E bit_pkg again depends on trace length, tr_len, (link-to-link distance between two interconnected dies).</p><p>To achieve a specified data rate over a longer trace length, intricate circuit techniques and more RDL layers are required resulting in the E bit_pkg &#8733; tr_len relationship <ref type="bibr">[20]</ref>.</p><p>3) Packaging Cost: The packaging cost (C P ) depends on the packaging architecture and interconnect type. For the same package type, the packaging cost again depends on (i) package area (A P ), (ii) number of layers (i.e., core and RDL), and (iii) link count (L) and modeled as <ref type="bibr">[31]</ref>:</p><p>Where &#181; 0 , &#181; 1 , and &#181; 2 are the regression parameters based on the number of core and RD layers. In this work, we consider a fixed package area of 900mm 2 , leaving the packaging cost dependent on the number of package layers and link density.</p><p>The above discussion suggests that, based on the BW req , which also depends on the number of chiplets, energy and cost budget, appropriate allocation of DR and L requires cooptimization, such that the hardware is not suffering from under-utilization while not spending too much budget unnecessarily.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. OPTIMIZING CHIPLET-BASED ARCHITECTURE</head><p>In this section, we build a framework to efficiently navigate the search space, as detailed in Table <ref type="table">I</ref>, aiming to optimize throughput, energy, and cost efficiency.</p><p>Comprising of 14 parameters and their possible values, our parameter space has more than 2 &#215; 10 17 design points which poses challenges for exhaustive search due to its time and resource-intensive nature. To address this, we explore learningbased and meta-heuristic search approaches to efficiently reach global or near-global optima.</p><p>Because of the inherent stochastic nature of Reinforcement Learning (RL) and Simulated Annealing (SA) algorithms, we observe slight variations in the achieved objective function values. To enhance the robustness of the optimizer, we train multiple RL models and SA algorithms with different seed values. Subsequently, we perform an exhaustive search across the outcomes of these algorithms to pinpoint the optimum solution (refer to Alg. 1). An overview of the optimization framework is presented in Fig. <ref type="figure">6</ref>. It takes the design space and constraints as input and outputs the optimized design points.</p><p>Algorithm 1: Proposed optimization algorithm 1 t &#8592; T rialmax; 2 obj best &#8592; -inf ; 3 while t &#8804; T rialmax do 4 param SA , obj SA &#8592; SA(); 5 if obj SA &gt; obj best then 6 param best , obj best &#8592; param SA , obj SA ; 7 end 8 param RL , obj RL &#8592; RL(); 9 if obj RL &gt; obj best then 10 param best , obj best &#8592; param RL , obj RL ; 11 end 12 end 13 return param best , obj best</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. RL Problem Formulation</head><p>RL tries to mimic human learning behavior to learn about a new environment. In RL, an Agent continuously interacts with an Environment, takes Actions by observing the present State of the environment, receives feedback as a form of Reward from the environment, and updates its underlying Policy to take new actions to maximize reward. After enough interaction with the environment, the agent can take a specific set (sequence) of actions that maximize the reward in the given environment. Formulating a Markov Decision Process (MDP) consisting of a tuple of five key elements: &lt; S, A, P, r, &#948; &gt; is at the core of formulating an RL problem. Where S = State space, A = Action space, P = Transition probability matrix of going to S t from S t-1 by taking action A t-1 , r = Reward function, and &#948; = discount factor that takes any value between [0, 1] <ref type="bibr">[32]</ref>. Environment provides feedback to the agent by quantifying the rewards. In our case, we incorporate our analytical expressions discussed in Section III into a Gym <ref type="bibr">[33]</ref> environment, known as Chiplet-Gym, to assess the performance of the action taken by the agent. State or Observation space contains the set of all possible states of the environment. It should include all the information for the agent to take the next action, making the process an MDP. In our case, the observation space contains the following items: {maximum package area, the maximum area allowed per chiplet, current area per chiplet, ai2ai communication latency, ai2hbm communication latency, current communication energy, current packaging cost, current throughput}. Action space defines the set of all possible actions available to the agent each time step. Our action space, consisting of a combination of discrete integers and categorical values, corresponds to the parameters we aim to optimize. Given the state of the environment and the reward, the agent selects values for each of the parameters in Table <ref type="table">I</ref> to maximize the reward. Reward is provided to the agent as a form of feedback in response to every action it takes. We formulate the reward function same as the objective function we want to maximize</p><p>Where T, E, C represent the throughput, communication energy, and packaging cost respectively. &#945;, &#946;, &#947; are the userdefined constants that let the users put specific weight on specific parameters of the objections function, such as throughput, cost, energy-efficiency during optimization. Based on the reward, which is formulated from the analytical expressions of Section III, RL finds the optimum design choices considering complex trade-offs of chiplet area, bandwidth, chiplet-tochiplet communication.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>RL algorithm</head><p>We use Proximal Policy Optimization (PPO) algorithm <ref type="bibr">[34]</ref> implemented by Stable-Baselines3 <ref type="bibr">[35]</ref> because of its simplicity, computational efficiency, and compatibility with the action and state space of our problem. PPO is a onpolicy policy gradient method that combines the idea of having multiple workers from Advantage Actor-Critic (A2C) algorithm and the idea of using trust region to improve the current policy from Trust Region Policy Optimization (TRPO) algorithm <ref type="bibr">[35]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Simulated Annealing</head><p>In addition to RL, we also explore meta-heuristic search approaches, such as simulated annealing, to evaluate their efficacy in navigating the design space. Simulated annealing adds an exploitation step on top of random search. It randomly samples the design points and in addition to accepting the better design points, based on the acceptance criterion, it also accepts the design points that worsen the objective function. We modify the simulated annealing algorithm by slightly changing the acceptance criterion for our problem. The algorithm is shown in Algorithm 2. We optimize the same objective function as shown in Equation <ref type="formula">17</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Algorithm 2: Modified simulated annealing algorithm</head><p>1 iteration &#8592; Tmax; 2 temp &#8592; temperature; 3 st_sz &#8592; step_size; 4 Xcurr &#8592; randomly choose initial solution; 5 Ocurr &#8592; evaluate initial solution; 6 X best , O best &#8592; Xcurr, O best ; 7 while iterations &#8804; Tmax do /* find candidate solution */ 8 X cand &#8592; Xcurr + unif orm(-1, 1) * st_sz; /* evaluate candidate solution */ 9 O cand &#8592; f (X cand ); 10 if O cand &gt; O best then 11 O best &#8592; O cand ; 12 X best &#8592; X best ; 13 end 14 t &#8592; temp/iterations; 15 if O cand &gt; Ocurr OR rand() &lt; t then 16 Xcurr, Ocurr &#8592; X cand , O cand ; 17 end 18 end 19 return X best , O best</p><p>Finally, we deploy RL and SA algorithm multiple times, followed by conducting a comprehensive search on the outputs produced by SA and RL agents.</p><p>While demonstrated explicitly for AI accelerators and mesh routing topology, the proposed optimization framework can be generalized to diverse chiplet-based designs and routing topology, requiring users to model their architectures and network topology in equation 4, 10, 11, and 13, to find the correct blend of package and interconnect architecture. For example, I/O chiplets provide signal transmission and regeneration. Their performance can be modeled as extra latency in our framework.</p><p>TABLE II PER HOP WIRE LENGTH AND DELAY FOR 2.5D AND 3D ARCHITECTURE [21], [36] Packaging arch. Per hop wire length (mm) Delay, tw (ps) 2.5D 1 17.2 3D 0.08 1.6</p><p>TABLE III INTERCONNECTS' PROPERTIES [20] Interconnect Bond/bump TSV pitch Energy Implementation pitch (&#181;m) pitch(&#181;m) (pJ/bit) cost CoWoS 30 -40 -0.2 &#8764;0.5 Medium EMIB 55 -45 -0.17 &#8764;0.7 Low SoIC 9 9 0.1 &#8764;0.2 High FOVEROS &lt; 10 -&lt; 0.05 Highest</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. EXPERIMENTS AND RESULTS</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Experimental Method</head><p>As shown in Fig. <ref type="figure">6</ref>, at the core of the optimizer we implement PPO and simulated annealing algorithm. The optimizer explores the design space and tries to select the best parameters sticking to the design constraints and user-given optimization objective, such as throughput optimization, energy, and/or cost optimization. To evaluate the optimizer's objective function, we implement our cost model, explained in Section III, in an OpenAI Gym <ref type="bibr">[33]</ref> environment named as Chiplet-Gym.</p><p>We consider a fixed amount of package area, 900mm 2 , dedicated for AI and HBM chiplets <ref type="bibr">[30]</ref>. To avoid thermal hotspot, we place the chiplets at 1mm apart from each other in a mesh topology <ref type="bibr">[37]</ref>. This leaves (900 -(m + n + 2)mm 2 ) of area for the chiplets. The optimizer will select the number of chiplets such that it maximizes the throughput while sticking to the area constraint. The area per chiplet is calculated as the total package area available for AI chiplets over the number of chiplets. Analyzing the yield vs area curve (Fig. <ref type="figure">3</ref>) we set the maximum allowable area per chiplet to 400mm 2 as a constraint. Because, at 14nm, for the die area beyond 400mm 2 the yield is even lower than 75%. Inspired by the recent trend of higher on-chip memory to reduce the DRAM accesses <ref type="bibr">[18]</ref>, we allocate 40% of the chiplet area to the compute resources, 40% to the on-chip SRAM, and rest 20% to other blocks such as control, IO, NoC, routing etc. For 3D architecture, we have to sacrifice some of the area of the chiplet for the TSV and its associated keepout zone. From SoIC TSV pitch of 9um <ref type="bibr">[20]</ref>, &gt;12K TSVs can be fit into 1mm 2 . So we keep at most 2mm 2 for TSV in 3D architecture. Which is enough for both signal and power supply <ref type="bibr">[38]</ref>. We use the values shown in Table <ref type="table">II</ref> and III in our throughput, cost, and energy model to calculate the cost function of the design points.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Implementation Details</head><p>The optimization framework 1 is written in Python v3.9. and run on an Intel hexa-core i5-9500 @ 3 GHz machine.</p><p>1) RL: The Chiplet-Gym environment is constructed by integrating our analytical simulator into OpenAI Gym v0.26.2 1 <ref type="url">https://github.com/KFM135/chiplet-optimizer</ref> Fig. <ref type="figure">7</ref>. Impact of episode length in convergence (PPO algorithm). Inset shows the zoomed-in version of each plot. <ref type="bibr">[33]</ref> to establish a unified interface between the RL algorithm and the analytical simulator. We define the action space as Mul-tiDiscrete and observation space as Box space. The simulator receives the RL policy's action (i.e., a combination of various parameters forming a design point) as input and produces corresponding throughput, energy, and cost values. The environment's state is then updated, and the reward is calculated. The state and reward are fed to the agent, enabling it to adjust its network to maximize rewards for subsequent actions. Policy-Value network. PPO utilizes the Multi-Layer Perceptron (MLP) as both of its policy and value network. The architecture of the actor or policy network is defined as <ref type="bibr">[10,</ref><ref type="bibr">64,</ref><ref type="bibr">64,</ref><ref type="bibr">810]</ref>, and the architecture of the critic or value network is set as <ref type="bibr">[10,</ref><ref type="bibr">64,</ref><ref type="bibr">64,</ref><ref type="bibr">1]</ref>, employing the tanh activation function. The size of the input for both networks is determined by the dimension of the observation space, while the output layer size of the policy network is determined by the action space. The output layer size of the value network is set to 1. Impact of episode length on RL convergence. The algorithms are trained with an episode length of 2. While a longer episode length often results in a higher mean episodic reward, it does not guarantee a superior cost model value for the optimized parameters. Although longer episodes are generally associated with increased exploration, our hypothesis is that, in our specific case, the agents lean towards exploitation to maximize rewards. This hypothesis arises from the fact that our reward values span from a large negative value to a positive one. Once the agent discovers a positive value, it tends to exploit that particular action to maximize the mean episodic reward neglecting further exploration of the design space. Figure <ref type="figure">7(a)</ref> shows that the agent achieves a mean episodic reward of 800 at episode length of 10, where as the cost model value of these actions are less than 100 (Fig. <ref type="figure">7(b)</ref>). On contrary, at episode length of 2, the mean episodic reward is around 300 and the cost model value is around 150. (Note: The cost model value at each timesteps are calculated as mean_episodic_reward/episode_length.) Impact of entropy coefficient on RL convergence. Another hyper-parameter impacting the exploration and exploitation balance is entropy coefficient. Serving as a regularizer, entropy coefficient plays a crucial role in shaping the behavior of the RL agent during training. A larger entropy coefficient implies that all actions are equally likely, fostering exploration, while a smaller entropy coefficient indicates that one action's probability within the policy dominates, emphasizing exploitation. Fig. <ref type="figure">8</ref>(a) shows that when entropy coefficient is set to 0, the agent stabilizes to a lower reward value more rapidly. However, when the entropy coefficient is increased to 0.1, the agent achieves a Fig. 9. Convergence behavior of (a) SA and (b) RL for multiple runs with 10 different seed values for case (i) (i.e., 64 chiplets). Inset shows the zoomedin version of each plot.</p><p>higher reward value, albeit with a slightly less stable trajectory.</p><p>In this case, we use an entropy coefficient of 0.1 to reach higher convergence value. Other significant hyperparameters of PPO algorithm are shown in Table <ref type="table">IV</ref>.</p><p>2) Simulated Annealing: We employ Algorithm 2, initializing it with a randomly chosen candidate solution from the design space. Like PPO, SA's performance is also sensitive to initial temperature, a measure of exploration vs exploitation. As shown is Fig. <ref type="figure">8(b)</ref>, SA achieves significant higher cost model value with higher temperature value. Higher temperature value ensures more exploration by increasing the probability of accepting a worse trial point. As a result, the initial temperature to 200, and a step size of 10 is employed for locating the neighboring points. We do not use the general Metropolis acceptance criterion, metropolis = exp -{(O curr -O cand )/t}, due to the potential for (O curr -O cand ) to become very large or very small, leading to the metropolis evaluating to either infinity or 0. Instead, we solely utilize the parameter t to statistically accept poorer solutions in the early stages, facilitating exploration of the search space. O curr = cost model value for current design point and O cand = cost model value at candidate design point.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Results</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>1) Performance and Runtime Analysis of Optimizer:</head><p>In our investigation of the design space, we consider two distinct  scenarios: case (i), wherein the upper limit for the number of AI chiplets is set to 64, and case (ii), where this upper limit is increased to 128. We ran each of the algorithms multiple times for each cases with different seed values to ensure their convergence stability. Fig. <ref type="figure">9</ref> and 10(a) and (b) show the convergence behavior of SA and PPO algorithm for case (i) and case (ii) for 10 runs, respectively. As expected, both algorithms achieve a better cost model value for case (ii) because of its higher throughput, however, due to large packaging cost, case (i) 64 chiplets as the upper bound, is considered more practical. Fig. <ref type="figure">11</ref>(a) and (b) show the highest cost model value achieved by SA and RL algorithm over 10 runs for case (i) and (ii), respectively. We observe that RL achieves higher cost model values each run and more stable over multiple runs ranging from 178 -185 for case (i) and 188 -194 for case (ii). Where SA achieves 151 -176 and 170 -188 for case (i) and case (ii), respectively.</p><p>The run time of SA for 500K iterations is less than a minute and the run time to train the PPO agent for 250K timesteps is &lt;20 mins. We finally integrated several trained RL agents and performed SA optimization on-the-go, and performed an exhaustive search among those SA and RL agents. The final optimizer with 20 SAs and 20 RL trained RL agents take around 10 mins to report the optimized parameter. As the RL is used in inference mode, here the SA dominates the runtime.</p><p>2) Optimized Architecture Evaluation: Table <ref type="table">V</ref> shows the optimized parameter found by the optimizer for both cases for a specific &#945;, &#946;, &#947; value (user-defined weights on the objective function as explained in Eqn. 17). We observe that the RL PPO algorithm found the best parameter. Please note that multiple design configurations may coexist, achieving almost identical cost model value.</p><p>The optimal design point for case (i) consists of 30 3D AI chiplet pairs arranged in a mesh topology 5 &#215; 6, resulting in 60 chiplets in total. 2 chiplets (forming a pair) are connected with SoIC 3D integration technology with a data rate of 42Gbps</p><p>Authorized licensed use limited to: Auburn University. Downloaded on September 27,2025 at 08:01:38 UTC from IEEE Xplore. Restrictions apply.</p><p>TABLE V OPTIMIZED PARAMETERS FOR &#945;, &#946;, &#947; = [1, 1, 0.1] FOUND BY PPO ALGORITHM Parameter Case (i): 64 chiplets as upper bound Case (ii): 128 chiplets as upper bound Architecture type 5.5D-Logic-on-Logic 5.5D-Logic-on-Logic No. of chiplets 60 (30 3D chiplet pairs arranged in 5X6 2.5D mesh) 112 (56 3D chiplet pairs arranged in 7X8 2.5D mesh Package area; per-chiplet area 900 mm 2 ; 26mm 2 900 mm 2 ; 14mm 2 HBMs placement &amp; capacity 4 16GB HBM chiplets @ top, bottom, right, and middle of 5X6 chiplet pairs with a total capacity of 64GB 4 16GB HBM chiplets @ left, right, bottom, and middle of 7X8 chiplet pairs with a total capacity of 64GB AI2AI 2.5D interconnect type; data rate; link density; trace length EMIB; 20Gbps; 3100; 1mm EMIB; 20Gbps; 1450; 1mm AI2AI 3D interconnect type; data rate; link density SoIC; 42Gbps; 3200 FOVEROS; 34 Gbps; 4400 AI2HBM 2.5D interconnect type; data rate; link density; trace length EMIB; 20Gbps; 4900; 1mm EMIB; 20 GBps; 3850; 1mm per link and link count of 3200 providing up to 131.25 Tbps of bandwidth. Each chiplet pair is connected with other chiplet pair with 2.5D EMIB integration with a data rate of 20Gbps and a link count of 3100 delivering up to 60 Tbps of bandwidth. Four 16GB HBM chiplets, located at top, right, bottom, and middle of the 5 &#215; 6 mesh topology, are connected to 2 to 4 neighboring AI chiplets with EMIB 2.5D integration technology with a data rate of 20Gbps per link and a link count of 4900, resulting in a bandwidth of 95 Tbps. The trace length for each 2.5D interconnect is selected as the minimum trace length possible (minimum chiplet-to-chiplet distance). In case (ii), when we increase the maximum number of chiplets to 128, we observe that the optimum design configuration contains 112 chiplets (56 chiplet pairs) and the communication bandwidth decreases for all cases. This is because, as the number of chiplets increases, area per chiplet decreases, resulting in smaller throughput per chiplet, less bandwidth demand, and high system utilization. We observe that 3D architecture, even with area penalty for TSV and TSV-associated keep-out zone <ref type="bibr">[39]</ref>, achieves 1.52&#215; more logic density than its 2D/2.5D counterpart at the same package size. We synthesize the chiplet module, found by the optimizer, with Synopsys Fusion Compiler using their 14nm PDK <ref type="bibr">[40]</ref> at 1GHz clock frequency and obtain the peak throughput per chiplet, (ops/sec) AI_chip , and energy consumption per MAC operation, E op * . We use these values in our analytical model to estimate the throughput and energy efficiency of the 60 and 112 chiplet system. For cost estimation, we use the model from <ref type="bibr">[6]</ref>.</p><p>Fig. <ref type="figure">12</ref> compares the 60-chiplet, 112-chiplet, 2-chiplet and monolithic GPU for MLPerf benchmark <ref type="bibr">[41]</ref>. The benchmark features are briefly summarized in Table <ref type="table">VI</ref>. We observe that 3D</p><p>TABLE VI DNN BENCHMARK FEATURES Benchmark model Domain Dataset Ops. per forward pass Resnet50 Image classification Imagenet 4 GFLOPs Efficientdet Light weight object detection COCO 2017 410 GFLOPs mask-RCNN Heavy weight object detection COCO 2014 447 GFLOPs 3D-UNet Biomedical image segmentation KiTS19 947 GFLOPs BERT Natural Language Processing Wikipedia 2020 32 GFLOPs</p><p>112-chiplet, 60-chiplet, and 2-chiplet systems achieve 1.60&#215;, 1.52&#215;, and 1.24&#215; higher throughput of the monolithic one, respectively (Fig. <ref type="figure">12</ref>(a)). The higher throughput of the chipletbased system can be explained with three facts. First, higher logic density in 3D logic-on-logic systems in the same area footprint increases the peak theoretical throughput. This explains why all chiplet-based systems show higher throughput than the monolithic one. Second, as the peak theoretical throughput per chiplet (or chiplet pair) increases, the required inter-chiplet communication bandwidth increases. If the active bandwidth cannot sustain the required inter-chiplet (both AI2AI and AI2HBM) bandwidth, system utilization decreases, resulting in decreased achieved throughput. This explains why the 112-chiplet system has the highest throughput compared to the 60-chiplet and 2-chiplet systems. The per-chiplet throughput in the 112-chiplet system is smaller, requiring less interchiplet bandwidth and ensuring higher system utilization. Conversely, the 2-chiplet system requires a higher inter-chiplet bandwidth due to its higher per-chiplet throughput, leading to underutilization and reduced overall throughput. Third, as the number of AI chiplet increases, the inter-chiplet communication latency increases. However, the lower bandwidth penalty of the 112-chiplet system outweighs the higher latency penalty, resulting in a superior overall throughput compared to the 60chiplet and 2-chiplet systems. The 2-chiplet, 60-chiplet, and 112-chiplet systems are 4.63&#215;, 3.76&#215;, and 3.62&#215; energy-efficient (inverse of energy consumption) compared to the monolithic, respectively (Fig. <ref type="figure">12(b)</ref>). The monolithic system is less energy-efficient than the 3D chiplet based system at iso-throughput. Because, to achieve equal throughput, more than one monolithic chips need to be connected off-board on the PCB, consuming at least one order of magnitude more energy <ref type="bibr">[4]</ref> than on-package communication. Among the 3 chiplet-based configurations, 2-chiplet system achieves slightly higher energy-efficiency, 1.23&#215; and 1.28&#215; compared to 60-chiplet and 112-chiplet system, respectively, as it requires less inter-chiplet communication. However, handling the thermal hotspot and heat removal for such large and highthroughput 3D stacked chiplets presents a significant challenge.</p><p>Fig. <ref type="figure">12(c</ref>) shows the cost comparison of the monolithic vs chiplet based systems at different bonding yields. The raw die costs of 60-chiplet, 112-chiplet, and 2-chiplet configuration are 0.01&#215;, 0.007&#215;, and 0.94&#215;, respectively, of the monolithic system. This significant cost difference arises from the low yield (48%) of the monolithic chip of 826mm 2 , compared to the 97% and 98% die yield of the 60 and 112 chiplet systems, with a die size of 26mm 2 and 14mm 2 , respectively, at 7nm node. In addition to that, the cost of Known Good Dies (KGD) is inversely proportional to the number of KGD (N KGD ). As the die area (A) increases, the number of good dies (N KGD ) decreases, leading to a substantial increase in cost. The relationship between the cost and die area can be approximated as cost KGD &#8733; A 5 2 (taking up to 2 terms of Taylor series expansion of die yield) <ref type="bibr">[4]</ref>, <ref type="bibr">[6]</ref>.</p><p>We estimate the packaging cost of chiplets at 99% and 100% inter-chiplet bonding yield. With better process control and TSV/pad repair techniques, TSMC reported that the bonding yield can reach 100% <ref type="bibr">[24]</ref>, <ref type="bibr">[42]</ref>. Although the raw die cost is smaller, for chiplet based configurations, the integration cost, including all the defected and wasted chips and packages, of chiplet based system are 1.62&#215; (for 60-chiplet), 2.46&#215; (for 112chiplet), and 2.31&#215; (for 2-chiplet) higher than the monolithic system at 99% bonding yield. The integration cost improves with the 100% bond yield. Finally, combining the die and integration cost, we observe that the total cost for the 60-chiplet system can achieve the 0.89&#215; cost of the monolithic system with the 100% bonding yield, while the total cost for 112chiplet configurations is slightly higher (1.13&#215;) than that of the monolithic system. The 2-chiplet system is the most cost inefficient, as it does not benefit from the lower raw die cost and also suffers the high 3D integration cost. Fig. <ref type="figure">12(d)</ref> shows the breakdown of the total cost of the different configurations. For all configurations, wasted KGD (i.e., wasted chips) consumes a significant amount of total cost, with a maximum of 40% of the total cost for the 112-chiplet system at 99% bonding yield and a minimum of 29% of the total cost for the 60-chiplet at 100% bonding yield. In monolithic and 2-chip systems, die and chip costs (raw and defective) contribute equally to the total cost, and package-related costs (raw and defective) only consume 6% and 20% of the total cost, respectively. On the other hand, in 60 and 112 chiplet-based configurations, the cost of the defected dies and chips are less than 1%. The cost of raw chips and packages (raw and defected) dominates the total cost in these cases. We implement our chiplet in synopsys 14nm free PDK. However, we estimate the cost for 7nm to have a fair comparison between the monolithic one, which was fabricated in 7nm technode <ref type="bibr">[43]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. RELATED WORKS</head><p>A. Chiplet-Based Architecture Exploration 1) DNN Accelerator: SIMBA <ref type="bibr">[13]</ref> is a pioneering work in chiplet-based AI accelerator, that integrates accelerator chiplets on a package. Centaur <ref type="bibr">[51]</ref> integrates CPU and FPGA chiplets on package, specially for recommendation system workload. SPRINT <ref type="bibr">[15]</ref> is a 64-chiplet system with photonic interconnect for DNN inference. There have been few works in chiplet based architecture focusing on different aspect of design space exploration. NN-Baton <ref type="bibr">[14]</ref> proposes a framework for DNN workload mapping and chiplet granularity in small scale (1 to 8 chiplets), however, they do not consider the packaging integration aspect and fabrication cost. While Monad <ref type="bibr">[9]</ref> incorporates mapping, resource allocation, communication and different package substrate to optimize for PPA and fabrication cost, their packaging integration design space is limited to 2.5D, excluding 3D. <ref type="bibr">[5]</ref> proposes ChipletCloud for LLM inference, however, their chiplets are connected in board-level instead of package level.</p><p>2) General Purpose: Some works focus on the exploration of Network-on-Package (NoP) and reliable routing protocols <ref type="bibr">[10]</ref> for chiplet-based architecture. <ref type="bibr">[11]</ref> explores network topology and cost-aware chiplet placement for 2.5D architecture. <ref type="bibr">[6]</ref> puts forward a cost model for evaluating the 2.5D manufacturing cost. <ref type="bibr">[4]</ref>, <ref type="bibr">[52]</ref> suggest the importance of chiplet design space exploration for performance, energy, cost, reliability enhancement. Table <ref type="table">VII</ref> shows the comparative summary of existing AI accelerator simulator frameworks for design space exploration.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. RL in Design-Space Exploration</head><p>Deep Reinforcement Learning has gained popularity in exploring the design space exploration and optimization of the EDA domain, spanning from front-end (i.e., planning and architectural exploration) <ref type="bibr">[2]</ref>, <ref type="bibr">[12]</ref>, <ref type="bibr">[49]</ref>, and <ref type="bibr">[53]</ref> to back-end (i.e., implementation, physical design and circuit design) <ref type="bibr">[54]</ref>, <ref type="bibr">[55]</ref>, and <ref type="bibr">[56]</ref>. To the best of our knowledge, this work is the first to perform a comprehensive design space search, encompassing resource allocation, placement, packaging architectures (both 2.5D and 3D), and their configurations to optimize for Power, Performance, Area, and Cost (PPAC) using Deep Reinforcement Learning (DRL).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VII. LIMITATIONS AND FUTURE WORKS</head><p>In order to keep the design space concise and tractable, we limit it as mentioned in Table <ref type="table">I</ref> and make severalassumptions Authorized licensed use limited to: Auburn University. Downloaded on September 27,2025 at 08:01:38 UTC from IEEE Xplore. Restrictions apply.</p><p>TABLE VII COMPARATIVE SUMMARY OF AI ACCELERATOR SIMULATOR FRAMEWORKS FOR DESIGN SPACE ANALYSIS Simulator/Optimizer/ Architecture Design space/Architectural details Monolithic/ Chiplet-based Scale-sim [44] Performance Simulator (i) Dataflow: WS, IS, OS; (ii) HW resource: No. of PE, on-chip memory size; (iii) Architecture type: Eyeriss, TPU Monolithic Timeloop+ accelergy [45] Mapping optimizer + Performance, energy, and area simulator (i) Dataflow: WS, IS, OS; (ii) HW resource: No. of PE, on-chip memory size; (iii) Different memory hierarchies; (iv) Architecture type: Eyeriss, Simba Monolithic Maestro [46] Performance and energy Simulator +Optimizer (i) Dataflow: flexible; (ii) HW resources: Number of PEs, NoC BW/Latency, on-chip memory size; (iii) Architecture type: NVDLA-like Monolithic Astra-sim [47] Performance Simulator (i) Distributed training: data, model, hybrid parallelism; (ii) Hierarchical collective algorithms: on-load, off-load; (iii) Fabric design: number of links &amp; latency/BW per link; (iv) Fabric topology: pt-to-pt, 2D/3D Torus Multi-chip (package/board level) STONNE [48] Performance, energy and area Simulator Architecture type: flexible &amp; reconfigurable architecture Monolithic Confucuix [49] Performance and energy optimizer (i) HW resource: Number of PE, on-chip buffer size Monolithic SIMBA [13] Performance &amp; power Optimizer + 36-chiplet Architecture (i) Mapping and tiling strategies; (ii) 36 NVDLA chiplets connected in 2D mesh Multi-chip (package level) SPRINT [15] 64-chiplet Architecure 64-chiplet architecture with photonic interconnect for interchiplet communication Multi-chip (package level) NN-Baton [14] Simulator + Optimizer (i) No. of accelerator chiplets: 1, 2, 4, 8; (ii) On-chip memory: 36 to 642KB; (iii) Different mapping strategies; (iv) Routing topology: Ring Multi-chip (package level) Moand [9] Optimizer (i) No. of accelerator chiplets; (ii) mapping &amp; tiling; (iii) packaging; (iv) network topology; (v) placement Multi-chip (package level) TVLSI'20 [50] Simulator (i) 64-core ROCKET-64 architecture; (ii) 2.5D interposer-based centralized NoC Multi-chip (package level) Chiplet-gym (This work) Performance, power, area and cost Optimizer (i) No. of AI accelerator chiplets, no. &amp; location of HBM chiplets; (ii) package architecture: 2.5D, 3D; (iii) Interconnect types &amp; configuration (details in Table I) Multi-chip (package level)</p><p>as mentioned in Section V-A. We also assume that the HBM3e chiplets have their integrated memory controller and NoC router that can be used as a node in the mesh topology. The analysis of the cost of additional chips with the NoC+memory interface, exploring other routing topology such as p2p with photonic interconnects, H tree, bus, ring etc., exploring more heterogeneous architectures, multi-tier 3D-stacks, placement of host CPU chiplets and exploring their different layouts are future works.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VIII. CONCLUSION</head><p>This paper proposes Chiplet-Gym to explore the design space of chiplet-based AI accelerators to optimize for Power, Performance, Area, and Cost (PPAC). To evaluate the design points, we analytically model the PPAC for chiplet-based AI accelerator. With reinforcement learning and simulated annealing, the optimizer is robust and efficient in locating the global or nearglobal optima of the design space for PPAC. The results show that the optimizer finds the design point that achieves 1.52&#215; throughput, 0.27&#215; energy, and 0.89&#215; cost of its monolithic counterpart in iso-area.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>Authorized licensed use limited to: Auburn University. Downloaded on September 27,2025 at 08:01:38 UTC from IEEE Xplore. Restrictions apply.</p></note>
		</body>
		</text>
</TEI>
