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

MPX:一种用于矩阵和多项式乘法的统一脉动阵列

MPX: A Unified Systolic Array for Matrix and Polynomial Multiplication

Democritus University of Thrace(德谟克利特色雷斯大学);Nokia Bell Labs(诺基亚贝尔实验室)

George Alexakis, Dimitrios Schoinianakis, Giorgos Dimitrakopoulos

AI总结:

提出MPX,一种双模式脉动阵列,通过利用波前数据流与多项式乘法累加模式的自然对齐,在同一硬件上支持矩阵乘法和直接多项式乘法,仅增加20%面积且功耗开销可忽略,多项式乘法延迟比基于NTT的方案降低1.2倍以上。

摘要:

多项式乘法是全同态加密(FHE)和后量子密码学(PQC)中的基本内核,通常通过数论变换(NTT)加速。为了避免设计专用密码加速器的成本,最近的工作将NTT计算映射到现有的脉动矩阵引擎上,实现了AI硬件在密码工作负载中的重用。在这项工作中,我们采取相反的方法。我们观察到脉动阵列的波前数据流自然地与多项式乘法的累加模式对齐,并利用这种对应关系设计了MPX,一种双模式脉动阵列,在同一硬件结构内同时支持矩阵乘法和直接多项式乘法。实验结果表明,为传统脉动阵列扩展这种双模式能力仅需增加20%的面积,并且在矩阵乘法执行期间引入的功耗开销可以忽略不计。在多项式乘法模式下,与基于NTT的脉动矩阵引擎上的多项式乘法相比,MPX实现了超过1.2倍的延迟降低。

英文摘要:

Polynomial multiplication is a fundamental kernel in Fully Homomorphic Encryption (FHE) and post-quantum cryptography (PQC) and is commonly accelerated through Number Theoretic Transforms (NTTs). To avoid the cost of designing dedicated cryptographic accelerators, recent efforts have mapped NTT computations onto existing systolic matrix engines, enabling the reuse of AI hardware for cryptographic workloads. In this work, we take the opposite approach. We observe that the wavefront dataflow of systolic arrays naturally aligns with the accumulation pattern of polynomial multiplication and leverage this correspondence to design MPX, a dual-mode systolic array that supports both matrix multiplication and direct polynomial multiplication within the same hardware fabric. Experimental results show that extending a conventional systolic array with this dual-mode capability requires only 20% additional area and introduces negligible power overhead during matrix-multiplication execution. In polynomial-multiplication mode, MPX achieves more than 1.2x lower latency compared to NTT-based polynomial multiplication on systolic matrix engines.

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

↑