arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.19577cs.AR
收藏

gem5 Co-Pilot: 面向架构设计空间探索的AI助手智能体

gem5 Co-Pilot: AI Assistant Agent for Architectural Design Space Exploration

Cornell University(康奈尔大学);University of Kansas(堪萨斯大学)

Zuoming Fu, Alex Manley, Mohammad Alian

AI总结:

本研究开发了面向gem5的AI助手智能体gem5 Co-Pilot,配套设计空间探索语言与DSDB实现检索增强生成,可在有限交互下快速识别特定约束下的架构设计最优参数,提升设计空间探索效率。

摘要:

生成式AI正在诸多应用领域提升软硬件开发的生产力。在本研究中,我们利用大语言模型(LLMs)的能力开发了一款副驾驶智能体,用于协助gem5用户自动化开展设计空间探索。计算机架构设计空间探索过程复杂且耗时,因为在改进现有设计之前,必须分析大量参数设置与仿真统计数据。LLM的出现显著加速了长文本数据分析与智能决策,而这正是成功完成设计空间探索任务的两项核心功能。在本项目中,我们首先构建了gem5 Co-Pilot——一款面向gem5的AI智能体助手,它配备网页图形用户界面(GUI),可实现流畅的用户交互、智能体自动化运行与结果总结。我们还实现了一种用于设计空间探索的语言,以及设计空间数据库(Design Space Database, DSDB)。借助DSDB,gem5 Co-Pilot为gem5设计空间探索有效实现了检索增强生成系统。我们在四种成本区间下开展了成本约束优化实验,并将结果与两个基线模型进行对比。结果表明,gem5 Co-Pilot仅需有限的用户交互,就能基于性能与成本快速识别出符合特定设计约束的最优参数。

英文摘要:

Generative AI is increasing the productivity of software and hardware development across many application domains. In this work, we utilize the power of Large Language Models (LLMs) to develop a co-pilot agent for assisting gem5 users with automating design space exploration. Computer architecture design space exploration is complex and time-consuming, given that numerous parameter settings and simulation statistics must be analyzed before improving the current design. The emergence of LLMs has significantly accelerated the analysis of long-text data as well as smart decision making, two key functions in a successful design space exploration task. In this project, we first build gem5 Co-Pilot, an AI agent assistant for gem5, which comes with a webpage-GUI for smooth user interaction, agent automation, and result summarization. We also implemented a language for design space exploration, as well as a Design Space Database (DSDB). With DSDB, gem5 Co-Pilot effectively implements a Retrieval Augmented Generation system for gem5 design space exploration. We experiment on cost-constraint optimization with four cost ranges and compare our results with two baseline models. Results show that gem5 Co-Pilot can quickly identify optimal parameters for specific design constraints based on performance and cost, with limited user interaction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑