PrefixGPT:通过生成式预训练变换器优化前缀加法器
PrefixGPT: Prefix Adder Optimization by a Generative Pre-trained Transformer
AI总结:
PrefixGPT通过生成式预训练变换器优化前缀加法器,实现7.7%的ADP改进和79.1%的平均ADP降低。
摘要:
前缀加法器因其高速性能广泛应用于计算密集型应用。然而,由于严格的设计规则和指数级大的设计空间,设计优化的前缀加法器具有挑战性。我们引入了PrefixGPT,一种生成式预训练变换器(GPT),能够直接从头开始生成优化的前缀加法器。我们的方法将加法器的拓扑结构表示为二维坐标序列,并在生成过程中应用合法性掩码,确保每个设计都通过构造来保证有效性。PrefixGPT采用定制化的解码器-only变换器架构。模型首先在随机合成的合法前缀加法器语料库上进行预训练,以学习设计规则,然后进行微调以在设计空间中导航以获得优化的设计质量。与现有工作相比,PrefixGPT不仅找到了一个具有7.7%改进面积-延迟乘积(ADP)的新最优设计,还表现出优越的探索质量,将平均ADP降低了高达79.1%。这展示了GPT类模型在掌握复杂硬件设计原理后,可用于更高效的优化设计的潜力。
英文摘要:
Prefix adders are widely used in compute-intensive applications for their high speed. However, designing optimized prefix adders is challenging due to strict design rules and an exponentially large design space. We introduce PrefixGPT, a generative pre-trained Transformer (GPT) that directly generates optimized prefix adders from scratch. Our approach represents an adder's topology as a two-dimensional coordinate sequence and applies a legality mask during generation, ensuring every design is valid by construction. PrefixGPT features a customized decoder-only Transformer architecture. The model is first pre-trained on a corpus of randomly synthesized valid prefix adders to learn design rules and then fine-tuned to navigate the design space for optimized design quality. Compared with existing works, PrefixGPT not only finds a new optimal design with a 7.7% improved area-delay product (ADP) but exhibits superior exploration quality, lowering the average ADP by up to 79.1%. This demonstrates the potential of GPT-style models to first master complex hardware design principles and then apply them for more efficient design optimization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。