Zero-knowledge proof generation is computationally expensive, with multi-scalar multiplication (MSM) often dominating prover runtime. Existing MSM accelerators primarily target long vectors of full-width scalars using Pippenger's algorithm. However, our characterization of six ZKP protocols reveals significantly heterogeneous MSMs: matrix MSMs that reuse points across rows, small-valued scalars, and sequences of short MSMs. Pippenger's bucket and window reductions are well amortized for long vector MSMs, but become disproportionately expensive for short MSMs and when repeated across matrix rows. Alternative MSM algorithms can reduce or eliminate these reductions, with precomputation-based methods further benefiting from point reuse. These observations expose a mismatch between the diversity of MSMs and architectures built around a fixed algorithm and configuration. We present Tailor, a programmable MSM architecture that adapts its algorithm, window size, and effective scalar width to each MSM at runtime. Tailor unifies multiple MSM algorithms on a shared accumulation datapath through configurable scalar decoding and accumulator partitioning. Its matrix dataflow reuses points across rows and interleaves independent reductions to improve utilization. Under a common area budget, Tailor achieves geometric-mean speedups of $3.1\times$ on dense matrix MSMs, $17.3\times$ on 16-bit matrix MSMs, and $1.25\times$ on dense vector MSMs over a matrix-adapted state-of-the-art accelerator. Integrated into a full-prover accelerator, Tailor achieves up to $13.16\times$ end-to-end speedup over a baseline system, with only the MSM unit replaced.


翻译:暂无翻译

0
下载
关闭预览

相关内容

【博士论文】弥合多模态基础模型与世界模型之间的鸿沟
多模态知识图谱构建技术及其在军事领域的应用综述
专知会员服务
45+阅读 · 2024年12月6日
COLING2024|不平衡场景下的多模态知识图谱补全
专知会员服务
23+阅读 · 2024年3月23日
混合增强视觉认知架构及其关键技术进展
专知会员服务
47+阅读 · 2021年11月20日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
读书报告 | Deep Learning for Extreme Multi-label Text Classification
科技创新与创业
48+阅读 · 2018年1月10日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
国家自然科学基金
24+阅读 · 2011年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
【博士论文】弥合多模态基础模型与世界模型之间的鸿沟
多模态知识图谱构建技术及其在军事领域的应用综述
专知会员服务
45+阅读 · 2024年12月6日
COLING2024|不平衡场景下的多模态知识图谱补全
专知会员服务
23+阅读 · 2024年3月23日
混合增强视觉认知架构及其关键技术进展
专知会员服务
47+阅读 · 2021年11月20日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
国家自然科学基金
24+阅读 · 2011年12月31日
Top
微信扫码咨询专知VIP会员