skip to main content
10.1145/3489517.3530559acmconferencesArticle/Chapter ViewAbstractPublication PagesdacConference Proceedingsconference-collections
research-article

ReSMA: accelerating approximate string matching using ReRAM-based content addressable memory

Published: 23 August 2022 Publication History

Abstract

Approximate string matching (ASM) functions as the basic operation kernel for a large number of string processing applications. Existing Von-Neumann-based ASM accelerators suffer from huge intermediate data with the ever-increasing string data, leading to massive off-chip data transmissions. This paper presents a novel ASM processing-in-memory (PIM) accelerator, namely ReSMA, based on ReCAM- and ReRAM-arrays to eliminate the off-chip data transmissions in ASM. We develop a novel ReCAM-friendly filter-and-filtering algorithm to process the q-grams filtering in ReCAM memory. We also design a new data mapping strategy and a new verification algorithm, which enables computing the edit distances totally in ReRAM crossbars for energy saving. Experimental results show that ReSMA outperforms the CPU-, GPU-, FPGA-, ASIC-, and PIM-based solutions by 268.7×, 38.6×, 20.9×, 707.8×, and 14.7× in terms of performance, and 153.8×, 42.2×, 31.6×, 18.3×, and 5.3× in terms of energy-saving, respectively.

References

[1]
S. Chaudhuri, V. Ganti, and R. Kaushik, "A Primitive Operator for Similarity Joins in Data Cleaning," In Proceedings of ICDE'06, pp. 5--5, 2006.
[2]
M. Krallinger, O. Rabal, A. Lourenco, J. Oyarzabal, A. Valencia, "Information Retrieval and Text Mining Technologies for Chemistry," Chemical Reviews, vol. 117, no. 12, pp. 7673--7761, 2017.
[3]
D. S. Cali, G. S. Kalsi, Z. Bingol, C. Firtina, L. Subramanian, J. S. Kim, R. Ausavarungnirun, M. Alser, J. Gomez-Luna, A. Boroumand, A. Nori, A. Scibisz, S. Subramoney, C. Alkan, S. Ghose, and O. Mutlu, "GenASM: A High-Performance, Low-Power Approximate String Matching Acceleration Framework for Genome Sequence Analysis," In Proceedings of MICRO'20, pp. 951--966, 2020.
[4]
P. Tandon, V. Qazvinian, J. Chang, P. Ranganathan, R. G. Dreslinski, and T. F. Wenisch, "Hardware acceleration for similarity measurement in natural language processing," In Proceedings of ISLPED'13, pp. 409--414, 2013.
[5]
J. Zhou, Q. Guo, H. Jagadish, L. Krcal, S. Liu, W. Luan, A. K. Tung, Y. Yang, and Y. Zheng, "A generic inverted index framework for similarity search on the GPU," In Proceedings of ICDE'18, pp. 893--904, 2018
[6]
A. Cinti, F. M. Bianchi, A. Martino, and A. Rizzi, "A novel algorithm for online inexact string matching and its FPGA implementation," Cognitive Computation, vol. 12, no. 2, pp. 369--387, 2020.
[7]
W. Lu, X. Du, M. Hadjieleftheriou, and B. C. Ooi, "Efficiently Supporting Edit Distance Based String Similarity Search Using B +-Trees," IEEE TKDE, vol. 26, no. 12, pp. 2983--2996, 2014.
[8]
H. Wei, J. X. Yu, and C. Lu, "String similarity search: A hash-based approach," IEEE TKDE, vol. 30, no. 1, pp. 170--184, 2017.
[9]
S. Angizi, J. Sun, W. Zhang, and D. Fan, "AlignS: A Processing-In-Memory Accelerator for DNA Short Read Alignment Leveraging SOT-MRAM," In Proceedings of DAC'19, pp. 1--6, 2019.
[10]
W. Huangfu, S. Li, X. Hu, and Y. Xie, "RADAR: A 3D-ReRAM based DNA Alignment Accelerator Architecture," In Proceedings of DAC'18, pp. 1--6, 2018.
[11]
R. Kaplan, L. Yavits, and R. Ginosasr, "BioSEAL: In-Memory Biological Sequence Alignment Accelerator for Large-Scale Genomic Data," In Proceedings of SYS-TOR'20, pp. 36--48, 2020.
[12]
L. Yavits, S. Kvatinsky, A. Morad, and R. Ginosar, "Resistive Associative Processor," IEEE Computer Architecture Letters, vol. 14, no. 2, pp. 148--151, 2015.
[13]
D. Niu, C. Xu, N. Muralimanohar, N. P. Jouppi, and Y. Xie, "Design of Cross-point Metal-oxide ReRAM Emphasizing Reliability and Cost," In Proceedings of ICCAD'13, pp. 17--23, 2013.
[14]
L. Gravano, P. G. Ipeirotis, H. V. Jagadish, N. Koudas, S. Muthukrishnan, and D. Srivastava, "Approximate string joins in a database (almost) for free," In Proceedings of VLDB'01, pp. 491--500, 2001.
[15]
X. Yang, Y. Wang, B. Wang, and W. Wang, "Local filtering: Improving the performance of approximate queries on string collections," In Proceedings of SIGMOD'15, pp. 377--392, 2015.
[16]
Y. C. Lien, "A 4.5-mW 8-b 750-MS/s 2-b/step asynchronous subranged SAR ADC in 28-nm CMOS technology," In Proceedings of VLSIC'12, pp. 88--89, 2012.
[17]
X. Dong, C. Xu, Y. Xie, and N. P. Jouppi, "Nvsim: A circuit-level performance, energy, and area model for emerging nonvolatile memory," IEEE TCAD, vol. 31, no. 7, pp. 994--1007, 2012.
[18]
M. Yan, L. Deng, X. Hu, L. Liang, Y. Feng, X. Ye, Z. Zhang, D. Fan, and Y. Xie, "Hygcn: A GCN accelerator with hybrid architecture," In Proceedings of HPCA'20, pp. 15--29, 2020.
[19]
C. Xu, D. Niu, N. Muralimanohar, R. Balasubramonian, T. Zhang, S. Yu, and Y. Xie, "Overcoming the challenges of crossbar resistive memory architectures," In Proceedings of HPCA'15, pp. 476--488, 2015.
[20]
O. Krestinskaya, I. Fedorova, and A. P. James, "Memristor load current mirror circuit," In Proceedings of ICACCI'15, pp. 538--542, 2015.

Cited By

View all
  • (2025)SADIMM: Accelerating Sparse Attention Using DIMM-Based Near-Memory ProcessingIEEE Transactions on Computers10.1109/TC.2024.350036274:2(542-554)Online publication date: Feb-2025
  • (2024)ASADI: Accelerating Sparse Attention Using Diagonal-based In-Situ Computing2024 IEEE International Symposium on High-Performance Computer Architecture (HPCA)10.1109/HPCA57654.2024.00065(774-787)Online publication date: 2-Mar-2024
  • (2023)ASMCap: An Approximate String Matching Accelerator for Genome Sequence Analysis Based on Capacitive Content Addressable Memory2023 60th ACM/IEEE Design Automation Conference (DAC)10.1109/DAC56929.2023.10247937(1-6)Online publication date: 9-Jul-2023

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
DAC '22: Proceedings of the 59th ACM/IEEE Design Automation Conference
July 2022
1462 pages
ISBN:9781450391429
DOI:10.1145/3489517
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 August 2022

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Funding Sources

  • NSFC

Conference

DAC '22
Sponsor:
DAC '22: 59th ACM/IEEE Design Automation Conference
July 10 - 14, 2022
California, San Francisco

Acceptance Rates

Overall Acceptance Rate 1,770 of 5,499 submissions, 32%

Upcoming Conference

DAC '25
62nd ACM/IEEE Design Automation Conference
June 22 - 26, 2025
San Francisco , CA , USA

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)83
  • Downloads (Last 6 weeks)4
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2025)SADIMM: Accelerating Sparse Attention Using DIMM-Based Near-Memory ProcessingIEEE Transactions on Computers10.1109/TC.2024.350036274:2(542-554)Online publication date: Feb-2025
  • (2024)ASADI: Accelerating Sparse Attention Using Diagonal-based In-Situ Computing2024 IEEE International Symposium on High-Performance Computer Architecture (HPCA)10.1109/HPCA57654.2024.00065(774-787)Online publication date: 2-Mar-2024
  • (2023)ASMCap: An Approximate String Matching Accelerator for Genome Sequence Analysis Based on Capacitive Content Addressable Memory2023 60th ACM/IEEE Design Automation Conference (DAC)10.1109/DAC56929.2023.10247937(1-6)Online publication date: 9-Jul-2023

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media