CogSys:通过算法-硬件协同设计实现高效且可扩展的神经符号认知系统
CogSys: Efficient and Scalable Neurosymbolic Cognition System via Algorithm-Hardware Co-Design
AI总结:
本文提出CogSys算法-硬件协同设计框架,通过高效分解、可重构nsPE架构、BS数据流与adSCH调度,显著提升神经符号推理的效率、可扩展性和实时性。
摘要:
神经符号AI是一种新兴的组合范式,它将神经学习与符号推理相融合,以增强AI的透明性、可解释性和可信性。它还表现出更高的数据效率,因此有望用于边缘部署。尽管其在算法层面具有前景并已有演示,但遗憾的是,由于更高的内存强度、更强的计算异构性以及访问模式的不规则性,在当前硬件(CPU/GPU/TPU)上执行神经符号工作负载颇具挑战,从而导致严重的硬件利用率不足。本文提出CogSys,这是一个专用于神经符号AI系统加速的表征与协同设计框架,旨在同时获得推理效率和可扩展性。在算法方面,CogSys提出一种高效分解技术,以缓解计算和内存开销。在硬件方面,CogSys提出一种可扩展的神经符号架构,包含可重构神经/符号处理单元(nsPE)以及带时空(ST)映射的冒泡流(BS)数据流,用于高度并行且高效的神经符号计算。在系统方面,CogSys以自适应工作负载感知调度器(adSCH)为特色,用于编排异构内核并提高资源利用率。在多种认知工作负载上评估时,CogSys可对神经和符号内核提供可重构支持;在TSMC 28nm工艺节点下进行基准测试,其相较于类TPU脉动阵列实现了超过75倍的加速,而面积开销仅低于5%。与桌面和边缘GPU相比,CogSys实现了4倍至96倍的加速。CogSys首次实现了面向人类流体智力的实时溯因推理,每个推理任务仅需0.3秒,面积为4平方毫米,功耗为1.48瓦。
英文摘要:
Neurosymbolic AI is an emerging compositional paradigm that fuses neural learning with symbolic reasoning to enhance the transparency, interpretability, and trustworthiness of AI. It also exhibits higher data efficiency making it promising for edge deployments. Despite the algorithmic promises and demonstrations, unfortunately executing neurosymbolic workloads on current hardware (CPU/GPU/TPU) is challenging due to higher memory intensity, greater compute heterogeneity and access pattern irregularity, leading to severe hardware underutilization. This work proposes CogSys, a characterization and co-design framework dedicated to neurosymbolic AI system acceleration, aiming to win both reasoning efficiency and scalability. On the algorithm side, CogSys proposes an efficient factorization technique to alleviate compute and memory overhead. On the hardware side, CogSys proposes a scalable neurosymbolic architecture with reconfigurable neuro/symbolic processing elements (nsPE) and bubble streaming (BS) dataflow with spatial-temporal (ST) mapping for highly parallel and efficient neurosymbolic computation. On the system side, CogSys features an adaptive workload-aware scheduler (adSCH) to orchestrate heterogeneous kernels and enhance resource utilization. Evaluated across cognitive workloads, CogSys enables reconfigurable support for neural and symbolic kernels and exhibits >75x speedup over TPU-like systolic array with only <5% area overhead, as benchmarked under the TSMC 28nm technology node. CogSys achieves 4x-96x speedup compared to desktop and edge GPUs. For the first time, CogSys enables real-time abduction reasoning towards human fluid intelligence, requiring only 0.3 s per reasoning task with 4 mm2 area and 1.48 W power consumption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。