FAFNIR: Accelerating Sparse Gathering by Using Efficient Near-Memory Intelligent Reduction
Bahar Asgari, Ramyad Hadidi, Jiashen Cao, Da Eun Shim, Sung Kyu Lim, Hyesoon Kim
摘要
Memory-bound sparse gathering, caused by irregular random memory accesses, has become an obstacle in several on-demand applications such as embedding lookup in recommendation systems. To reduce the amount of data movement, and thereby better utilize memory bandwidth, previous studies have proposed near-data processing (NDP) solutions. The issue of prior work, however, is that they either minimize data movement effectively at the cost of limited memory parallelism or try to improve memory parallelism (up to a certain degree) but cannot successfully decrease data movement, as prior proposals rely on spatial locality (an optimistic assumption) to utilize NDP. More importantly, neither approach proposes a solution for gathering data from random memory addresses; rather they just offload operations to NDP. We propose an effective solution for sparse gathering, an efficient near-memory intelligent reduction (Fafnir) tree, the leaves of which are all the ranks in a memory system, and the nodes gradually apply reduction operations while data is gathered from any rank. By using such an overall tree, Fafnir does not rely on spatial locality; therefore, it minimizes data movement by performing entire operations at NDP and fully benefits from parallel memory accesses in parallel processing at NDP. Further, Fafnir offers other advantages such as using fewer connections (because of the tree topology), eliminating redundant memory accesses without using costly and less effective caching mechanisms, and being applicable to other domains of sparse problems such as scientific computing and graph analytics. To evaluate Fafnir, we implement it on an XCVU9P Xilinx FPGA and in 7 nm ASAP ASIC. Fafnir looks up the embedding tables up to 21.3× more quickly than the state-of-the-art NDP proposal. Furthermore, the generic architecture of Fafnir allows running classic sparse problems using the same 1.2 mm2hardware up to 4.6× more quickly than the state of the art.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations 引用了 DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
- Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- MeNDA: a near-memory multi-way merge solution for sparse transposition and dataflows 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- MeNDA: a near-memory multi-way merge solution for sparse transposition and dataflows 引用了 SpArch: Efficient Architecture for Sparse Matrix Multiplication
- Sparse Attention Acceleration with Synergistic In-Memory Pruning and On-Chip Recomputation 引用了 SIGMA: A Sparse and Irregular GEMM Accelerator with Flexible Interconnects for DNN Training
- ABNDP: Co-optimizing Data Access and Load Balance in Near-Data Processing 引用了 MeNDA: a near-memory multi-way merge solution for sparse transposition and dataflows
- ABNDP: Co-optimizing Data Access and Load Balance in Near-Data Processing 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- Pathfinding Future PIM Architectures by Demystifying a Commercial PIM Technology 引用了 Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations
- Pathfinding Future PIM Architectures by Demystifying a Commercial PIM Technology 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performance 引用了 Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations
- RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performance 引用了 DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
- RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performance 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
引用它的顶会 Paper26
- Pathfinding Future PIM Architectures by Demystifying a Commercial PIM TechnologyBongjoon Hyun, Taehun Kim, Dongjae Lee, Minsoo RhuHPCA 2024 · 62 次引用
- Sparse Attention Acceleration with Synergistic In-Memory Pruning and On-Chip RecomputationAmir Yazdanbakhsh, Ashkan Moradifirouzabadi, Zheng Li, Mingu KangMICRO 2022 · 47 次引用
- ABNDP: Co-optimizing Data Access and Load Balance in Near-Data ProcessingBoyu Tian, Qihang Chen, Mingyu GaoASPLOS 2023 · 31 次引用
- RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and PerformanceUdit Gupta, Samuel Hsia, Jeff Zhang, Mark Wilkening 等MICRO 2021 · 31 次引用
- MeNDA: a near-memory multi-way merge solution for sparse transposition and dataflowsSiying Feng, Xin He, Kuan-Yu Chen, Liu Ke 等ISCA 2022 · 28 次引用
它引用的 Paper8
- SIGMA: A Sparse and Irregular GEMM Accelerator with Flexible Interconnects for DNN TrainingEric Qin, Ananda Samajdar, Hyoukjun Kwon, Vineet Nadella 等HPCA 2020 · 490 次引用
- SpArch: Efficient Architecture for Sparse Matrix MultiplicationZhekai Zhang, Hanrui Wang, Song Han, William J. DallyHPCA 2020 · 280 次引用
- RecNMP: Accelerating Personalized Recommendation with Near-Memory ProcessingLiu Ke, Udit Gupta, Benjamin Youngjae Cho, David Brooks 等ISCA 2020 · 235 次引用
- DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation InferenceUdit Gupta, Samuel Hsia, Vikram Saraph, Xiaodong Wang 等ISCA 2020 · 149 次引用
- Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized RecommendationsRanggi Hwang, Taehun Kim, Youngeun Kwon, Minsoo RhuISCA 2020 · 94 次引用
相关 Paper
- TRiM: Enhancing Processor-Memory Interfaces with Scalable Tensor Reduction in MemoryJaehyun Park, Byeongho Kim, Sungmin Yun, Eojin Lee 等MICRO 2021 · 70 次引用
- Accelerating Personalized Recommendation with Cross-level Near-Memory ProcessingHaifeng Liu, Long Zheng, Yu Huang, Chaoqiang Liu 等ISCA 2023 · 30 次引用
- HAIL-DIMM: Host Access Interleaved with Near-Data Processing on DIMM-based Memory SystemMinkyu Lee, Sang-Seol Lee, Kyungho Kim, Eunchong Lee 等DAC 2024 · 2 次引用
- Anchor First, Accelerate Next: Revolutionizing GNNs with PIM by Harnessing Stationary DataJiaxian Chen, Yuxuan Qi, Yongbiao Zhu, Jianan Yuan 等DAC 2025 · 1 次引用
- DF-GAS: a Distributed FPGA-as-a-Service Architecture towards Billion-Scale Graph-based Approximate Nearest Neighbor SearchShulin Zeng, Zhenhua Zhu, Jun Liu, Haoyu Zhang 等MICRO 2023 · 24 次引用
