突破机器设计的极限:基于AI的CPU自动化设计
Pushing the Limits of Machine Design: Automated CPU Design with AI
AI总结:
该研究提出一种AI方法,仅从输入输出观察自动生成工业级RISC-V CPU电路逻辑,5小时内完成设计并流片成功运行Linux,性能媲美Intel 80486SX,甚至自主发现冯·诺依曼架构。
摘要:
设计活动——构建满足给定目标和约束的制品描述——使人类有别于其他动物和传统机器,赋予机器达到或超越人类水平的设计能力一直是一个长期追求。尽管机器已经展示了利用先进人工智能(AI)技术设计新材料、蛋白质和计算机程序的能力,但设计此类对象的搜索空间相对较小,因此,“机器能否像人类一样进行设计?”仍是一个悬而未决的问题。为了探索机器设计的边界,我们在此提出一种新的AI方法,自动设计中央处理器(CPU),即计算机的大脑,也是人类迄今设计过的最复杂的设备之一。该方法仅从外部输入输出观察中生成CPU设计的电路逻辑,而非从形式化程序代码生成,该逻辑由一种称为二值推测图(BSD)的图结构表示。在BSD的生成过程中,使用基于蒙特卡洛的扩展和布尔函数的距离来分别保证准确性和效率。通过高效探索规模空前的10^{10^{540}}搜索空间——据我们所知,这是所有机器设计对象中最大的搜索空间,从而突破了机器设计的极限——我们的方法在仅5小时内生成了一款工业级RISC-V CPU。流片后的CPU成功运行Linux操作系统,其性能可与人类设计的Intel 80486SX CPU相媲美。除了成为世界上首个仅从输入输出观察中学习得到的CPU(这可能通过显著缩短设计周期来重塑半导体产业),我们的方法甚至自主发现了冯·诺依曼架构的人类知识。
英文摘要:
Design activity -- constructing an artifact description satisfying given goals and constraints -- distinguishes humanity from other animals and traditional machines, and endowing machines with design abilities at the human level or beyond has been a long-term pursuit. Though machines have already demonstrated their abilities in designing new materials, proteins, and computer programs with advanced artificial intelligence (AI) techniques, the search space for designing such objects is relatively small, and thus, "Can machines design like humans?" remains an open question. To explore the boundary of machine design, here we present a new AI approach to automatically design a central processing unit (CPU), the brain of a computer, and one of the world's most intricate devices humanity have ever designed. This approach generates the circuit logic, which is represented by a graph structure called Binary Speculation Diagram (BSD), of the CPU design from only external input-output observations instead of formal program code. During the generation of BSD, Monte Carlo-based expansion and the distance of Boolean functions are used to guarantee accuracy and efficiency, respectively. By efficiently exploring a search space of unprecedented size 10^{10^{540}}, which is the largest one of all machine-designed objects to our best knowledge, and thus pushing the limits of machine design, our approach generates an industrial-scale RISC-V CPU within only 5 hours. The taped-out CPU successfully runs the Linux operating system and performs comparably against the human-designed Intel 80486SX CPU. In addition to learning the world's first CPU only from input-output observations, which may reform the semiconductor industry by significantly reducing the design cycle, our approach even autonomously discovers human knowledge of the von Neumann architecture.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。