Scaling up HBM Efficiency of Top-K SpMV for Approximate Embedding Similarity on FPGAs

Alberto Parravicini, Luca Giuseppe Cellamare, Marco Siracusa, Marco Domenico Santambrogio
3/8/2021
17 citations
cs.ARcs.IR

Official code: AlbertoParravicini/approximate-spmv-topk (16 stars, C++, MIT, last commit 2021-08-29).

Abstract

Top-K SpMV is a key component of similarity-search on sparse embeddings. This sparse workload does not perform well on general-purpose NUMA systems that employ traditional caching strategies.

Show full abstract

Instead, modern FPGA accelerator cards have a few tricks up their sleeve. We introduce a Top-K SpMV FPGA design that leverages reduced precision and a novel packet-wise CSR matrix compression, enabling custom data layouts and delivering bandwidth efficiency often unreachable even in architectures with higher peak bandwidth. With HBM-based boards, we are 100x faster than a multi-threaded CPU implementation and 2x faster than a GPU with 20% higher bandwidth, with 14.2x higher power-efficiency.

View on arXivView PDF

Code Implementations(1)

MIT

Public repostory for the DAC 2021 paper "Scaling up HBM Efficiency of Top-K SpMV forApproximate Embedding Similarity on FPGAs"

166C++, PythonMar 7, 20215 years agoMIT

Similar Papers

Cite this paper

@article{parravicini2021scaling,
  title  = {Scaling up HBM Efficiency of Top-K SpMV for Approximate Embedding Similarity on FPGAs},
  author = {Alberto Parravicini and Luca Giuseppe Cellamare and Marco Siracusa and Marco Domenico Santambrogio},
  year   = {2021},
  eprint = {2103.04808},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.04808}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.04808.svg)](https://codeofpaper.com/paper/2103.04808)

Discussion