arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.13270cs.ARcs.AIcs.LG
收藏

面向 HLS DSE 的高效任务迁移

Efficient Task Transfer for HLS DSE

University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Zijian Ding, Atefeh Sohrabizadeh, Weikai Li, Zongyue Qin, Yizhou Sun, Jason Cong

AI总结:

针对 HLS 工具链演进导致设计空间探索困难的问题,提出任务迁移方案 Active-CEM,结合工具链不变建模高效适应新工具链,在 HLSyn 基准上显著提升了性能、样本效率并降低了运行时间。

摘要:

近期已有若干研究提出利用基于模型的优化方法来提升使用高层综合(HLS)设计专用架构的生产力。这些方法用代理模型替代耗时的性能估计或设计仿真,并自动插入 pragma 以指导硬件优化。在本研究中,我们探讨了在不断演进的 HLS 工具环境下,与高层综合(HLS)设计空间探索(DSE)相关的挑战。随着这些工具的发展,综合后的结果质量(QoR)可能会有显著差异,使得在不同工具链间维护最优设计策略变得复杂。我们引入了 Active-CEM,这是一种任务迁移学习方案,利用一个基于模型的探索器来高效适应工具链的变化。该方法通过在无需大量重新评估的情况下,识别新工具链下的高质量设计配置,优化了样本效率。我们进一步通过引入工具链不变建模来完善该方法。这使得我们能够在工具链的黑盒实现发生转变时,更准确地预测 QoR 的变化。在 HLSyn 基准上向新工具链过渡的实验结果显示,与 AutoDSE 相比平均性能提升了 1.58 倍,较 HARP 提升了 1.2 倍,同时样本效率提高了 5.26 倍,运行时间减少了 2.7 倍。

英文摘要:

There have been several recent works proposed to utilize model-based optimization methods to improve the productivity of using high-level synthesis (HLS) to design domain-specific architectures. They would replace the time-consuming performance estimation or simulation of design with a proxy model, and automatically insert pragmas to guide hardware optimizations. In this work, we address the challenges associated with high-level synthesis (HLS) design space exploration (DSE) through the evolving landscape of HLS tools. As these tools develop, the quality of results (QoR) from synthesis can vary significantly, complicating the maintenance of optimal design strategies across different toolchains. We introduce Active-CEM, a task transfer learning scheme that leverages a model-based explorer designed to adapt efficiently to changes in toolchains. This approach optimizes sample efficiency by identifying high-quality design configurations under a new toolchain without requiring extensive re-evaluation. We further refine our methodology by incorporating toolchain-invariant modeling. This allows us to predict QoR changes more accurately despite shifts in the black-box implementation of the toolchains. Experiment results on the HLSyn benchmark transitioning to new toolchain show an average performance improvement of 1.58$\times$ compared to AutoDSE and a 1.2$\times$ improvement over HARP, while also increasing the sample efficiency by 5.26$\times$, and reducing the runtime by 2.7$\times$.

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

↑