arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.16204cs.ETcs.AR
收藏

在内存中计算高次多项式梯度

Computing High-Degree Polynomial Gradients in Memory

T. Bhattacharya, G. H. Hutchinson, G. Pedretti, X. Sheng, J. Ignowski, T. Van Vaerenbergh, R. Beausoleil, J. P. Strachan, D. B. Strukov

AI总结:

针对现有梯度计算硬件仅支持二次多项式的局限,提出两种高次多项式大规模并行存内计算方法,面积复杂度与次数无关,经实验和仿真验证在面积、速度与能效上均有显著提升。

摘要:

专用函数梯度计算硬件可大幅提升现有最优优化算法的性能,例如基于梯度下降或共轭梯度法的算法,这类算法是控制、机器学习与运筹学应用的核心。此前在伊辛机(Ising Machines)及相关概念背景下开展的此类硬件研究仅局限于二次多项式,无法扩展到常用的高阶函数。本文提出了一种用于高次多项式大规模并行梯度计算的新方法,该方法适用于高效的混合信号存内计算电路实现,其面积复杂度与函数中的变量数和项数呈线性关系,且最重要的是,与多项式的次数无关。本文提出了该方法的两种实现形式:第一种仅适用于组合优化问题中典型的二元变量多项式,第二种适用范围更广,但外围电路更复杂。为验证第一种方法,我们基于集成金属氧化物忆阻器交叉阵列电路(最具前景的存内计算器件技术之一),结合一种具有竞争力的启发式算法,通过实验演示了小规模三阶布尔可满足性问题的求解。针对更大规模、更具实际意义问题的仿真结果表明,与现有最优方案相比,该方法在面积上有数量级的提升,在速度和能效方面也具备相关优势。我们还讨论了通过算法协同设计以利用大规模并行梯度计算能力,本研究如何能实现性能更高的系统。

英文摘要:

Specialized function gradient computing hardware could greatly improve the performance of state-of-the-art optimization algorithms, e.g., based on gradient descent or conjugate gradient methods that are at the core of control, machine learning, and operations research applications. Prior work on such hardware, performed in the context of the Ising Machines and related concepts, is limited to quadratic polynomials and not scalable to commonly used higher-order functions. Here, we propose a novel approach for massively parallel gradient calculations of high-degree polynomials, which is conducive to efficient mixed-signal in-memory computing circuit implementations and whose area complexity scales linearly with the number of variables and terms in the function and, most importantly, independent of its degree. Two flavors of such an approach are proposed. The first is limited to binary-variable polynomials typical in combinatorial optimization problems, while the second type is broader at the cost of a more complex periphery. To validate the former approach, we experimentally demonstrated solving a small-scale third-order Boolean satisfiability problem based on integrated metal-oxide memristor crossbar circuits, one of the most prospective in-memory computing device technologies, with a competitive heuristics algorithm. Simulation results for larger-scale, more practical problems show orders of magnitude improvements in the area, and related advantages in speed and energy efficiency compared to the state-of-the-art. We discuss how our work could enable even higher-performance systems after co-designing algorithms to exploit massively parallel gradient computation.

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

↑