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

HSCO-Bench: 一种由智能体驱动的端到端硬件软件协同设计基准,用于片上系统

HSCO-Bench: An Agent-Driven End-to-End Hardware-Software Co-design Benchmark for Systems-on-Chip

Columbia University(哥伦比亚大学);IBM Research(IBM研究院)

Pei-Huan Tsai, Kuan-Lin Chiu, William Baisi, Pin-Yu Chen, Luca P. Carloni

AI总结:

本文提出HSCO-Bench,一个用于评估大型语言模型在端到端硬件软件协同设计能力的基准,通过评估LLM在资源约束下生成高效SoC原型的能力,揭示了当前模型在硬件加速方面的不足。

摘要:

大型语言模型(LLMs)被应用于软件和硬件设计,但这些领域仍被单独评估。软件基准通常假设固定硬件目标,而硬件基准则专注于组件级优化,而未考虑整个硬件软件堆栈。因此,现有的基准无法评估LLM智能体是否能执行端到端的系统级硬件软件协同设计。此类过程需要:1)分析应用以识别需要加速的内核,2)在资源约束下设计并集成异构加速器到片上系统(SoC)中,3)将内核映射到生成的加速器上。我们提出了HSCO-Bench,一个用于加速器丰富的异构SoC生成的端到端硬件软件协同设计基准。该基准基于一个开源的SoC平台,具有经过精心挑选的存储库结构。HSCO-Bench评估LLM在联合优化软件和硬件堆栈方面的能力,生成的SoC原型部署在AMD Virtex-7 FPGA VC707评估套件上。实验结果表明,端到端集成对当前模型仍然具有挑战性。在评估的五个前沿模型中,只有两个能够成功生成有效的SoC原型。然而,即使在这些成功的案例中,生成的设计仍然远未优化。尽管我们观察到16.22倍的峰值加速,但最大额外资源利用率仅达到23.67%。这表明,尽管最先进的模型显示出在硬件加速方面的新兴能力,但它们仍然严重低估了可用硬件容量,为未来优化提供了空间。据我们所知,HSCO-Bench是首个针对此完整协同设计流程的基准,使LLM能够共同推理并修改异构SoC的软件和硬件堆栈。

英文摘要:

Large language models (LLMs) are adopted for software and hardware design, yet these domains are still evaluated separately. Software benchmarks typically assume fixed hardware targets, while hardware benchmarks focus on component-level optimization without considering the full hardware-software stack. Consequently, no existing benchmark evaluates whether an LLM agent can perform end-to-end, system-level hardware-software co-design. Such a process requires: 1) analyzing applications to identify kernels requiring acceleration, 2) designing and integrating heterogeneous accelerators into a System-on-Chip (SoC) under resource constraints, and 3) mapping kernels onto the generated accelerators. We present HSCO-Bench, an end-to-end hardware-software co-design benchmark for accelerator-rich heterogeneous SoC generation. Built upon an open-source SoC platform with a curated repository structure, HSCO-Bench evaluates the ability of LLMs to jointly optimize software and hardware stacks, producing SoC prototypes deployed on the AMD Virtex-7 FPGA VC707 Evaluation Kit. Experimental results show that end-to-end integration remains challenging for current models. Among the five frontier models evaluated, only two of them could successfully generate valid SoC prototypes. Yet, even in these successful instances, the generated designs are far from optimal. While we observe a promising peak speedup of 16.22X, the maximum additional resource utilization reaches only 23.67%. This highlights that while state-of-the-art models demonstrate an emerging capability for hardware acceleration, they still heavily underutilize the available hardware capacity, leaving room for future optimization. To the best of our knowledge, HSCO-Bench is the first benchmark targeting this complete co-design flow, enabling LLMs to jointly reason about and modify both the software and hardware stacks of heterogeneous SoCs.

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

↑