To keep pace with the rapid advancements in design complexity within modern computing systems, directed graph representation learning (DGRL) has become crucial, particularly for encoding circuit netlists, computational graphs, and developing surrogate models for hardware performance prediction. However, DGRL remains relatively unexplored, especially in the hardware domain, mainly due to the lack of comprehensive and user-friendly benchmarks. This study presents a novel benchmark comprising five hardware design datasets and 13 prediction tasks spanning various levels of circuit abstraction. We evaluate 21 DGRL models, employing diverse graph neural networks and graph transformers (GTs) as backbones, enhanced by positional encodings (PEs) tailored for directed graphs. Our results highlight that bidirected (BI) message passing neural networks (MPNNs) and robust PEs significantly enhance model performance. Notably, the top-performing models include PE-enhanced GTs interleaved with BI-MPNN layers and BI-Graph Isomorphism Network, both surpassing baselines across the 13 tasks. Additionally, our investigation into out-of-distribution (OOD) performance emphasizes the urgent need to improve OOD generalization in DGRL models. This benchmark, implemented with a modular codebase, streamlines the evaluation of DGRL models for both hardware and ML practitioners
BenchDirect: A Directed Language Model for Compiler Benchmarks
Meta AI Research(元人工智能研究院);University of Edinburgh(爱丁堡大学);University of Manchester(曼彻斯特大学)
硬件软件复杂性的指数级增长使得编译器工程师不可能手动找到正确的优化策略。预测模型已经被证明可以用很少的人力找到接近最优的算法,但它们受到严重缺乏不同基准的限制,训练。研究人员已经使用生成式人工智能将基准合成到现有的数据集中。然而,合成程序都很短,过于简单,缺乏多样性的特点。我们开发了BenchPress,这是第一个可以在源代码特征表示中定向的ML编译器基准生成器。BenchPress通过填充程序左右上下文的代码来合成可执行函数。BenchPress使用主动学习将具有未知特征的新基准引入Grewe等人的数据集。CPU vs GPU启发式,将其获得的性能提高了50%。BenchPress的目标功能是其他合成器无法达到的。在3个功能空间中,我们在针对Rodinia基准测试的功能方面优于来自GitHub、CLgen、CLSmith和SRCIROR mutator的人类编写的代码。BenchPress通过束搜索在与特性无关的语言模型上引导生成。我们改进了这与BenchDirect,它利用了一个直接的LM,通过共同观察源代码上下文和编译器功能的目标,填充程序。BenchDirect在针对Rodinia基准测试的功能方面实现了高达36%的准确性,与BenchPress相比,它提供精确匹配的可能性高出1.8倍,执行时间缩短了72%。我们的两个模型都产生了难以与人类编写的代码区分开来的代码。我们进行…
HW-GPT-Bench: Hardware-Aware Architecture Benchmark for Language Models
University of Freiburg(弗赖堡大学);Bosch Center for Artificial Intelligence (BCAI)(博世人工智能中心);ELLIS Institute Tübingen(埃利斯研究所蒂宾根分所);ScaDS.AI, Leipzig(莱比锡ScaDS.AI)
The Seeker's Dilemma: Realistic Formulation and Benchmarking for Hardware Trojan Detection
Klipsch School of Electrical and Computer Engineering, New Mexico State University(新墨西哥州立大学克利普什电气与计算机工程学院);Department of Computer Systems Technology, North Carolina A&T State University(北卡罗来纳农工州立大学计算机系统技术系);Department of Electrical and Computer Engineering, Miami University(迈阿密大学电气与计算机工程学院)
Data-Dependent Differentially Private Parameter Learning for Directed Graphical Models
University of Wisconsin-Madison(威斯康星大学麦迪逊分校)
有向图模型(Directed Graphical Models,DGMs)是一类概率模型,广泛用于敏感领域的预测分析,如医疗诊断。在本文中,我们提出了一个算法的差分私人学习的DGM的参数与一个公开已知的图结构完全观察到的数据。我们的解决方案优化了对DGM和\textit{adds noise that is customized to the properties of the private input dataset and the graph structure of the DGM}的推理查询的效用。据我们所知,这是第一个明确的数据相关的隐私预算分配算法的DGMs。我们比较我们的算法与一个标准的数据独立的方法在一个不同的套件DGM基准,并证明我们的解决方案需要一个隐私预算,是$3\times$较小,以获得相同或更高的效用。