Computing the Similarity Estimate Using Approximate Memory

被引:4
作者
Reviriego, Pedro [1 ]
Liu, Shanshan [2 ]
Ertl, Otmar [3 ]
Niknia, Farzad [2 ]
Lombardi, Fabrizio [2 ]
机构
[1] Univ Carlos III Madrid, Madrid 28911, Spain
[2] Northeastern Univ, Dept ECE, Boston, MA 02115 USA
[3] Dynatrace Res, A-4020 Linz, Austria
关键词
Similarity; approximate computing; minhash; memories; SUPPLY VOLTAGE; ENERGY; SRAM; ARCHITECTURE; POWER;
D O I
10.1109/TETC.2021.3109559
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In many computing applications there is a need to compute the similarity of sets of elements. When the sets have many elements or comparison involves many sets, computing the similarity requires significant computational effort and storage capacity. As in most cases, a reasonably accurate estimate is sufficient, many algorithms for similarity estimation have been proposed during the last decades. Those algorithms compute signatures for the sets and use them to estimate similarity. However, as the number of sets that need to be compared grows, even these similarity estimation algorithms require significant memory with its associated power dissipation. This article for the first time considers the use of approximate memories for similarity estimation. A theoretical analysis and simulation results are provided; initially it is shown that similarity sketches can tolerate large bit error rates and thus, they can benefit from using approximate memories without substantially compromising the accuracy of the similarity estimate. An understanding of the effect of errors in the stored signatures on the similarity estimate is pursued. A scheme to mitigate the impact of errors is presented; the proposed scheme tolerates even larger bit error rates and does not need additional memory. For example, bit error rates of up to 10(-4) have less than a 1% impact on the accuracy of the estimate when the memory is unprotected, and larger bit errors rates can be tolerated if the memory is parity protected. These findings can be used for voltage supply scaling and increasing the refresh time in SRAMs and DRAMs. Based on those initial results, an enhanced implementation is further proposed for unprotected memories that further extends the range of tolerated BERs and enables power savings of up to 61.31% for SRAMs. In conclusion, this article shows that the use of approximate memories in sketches for similarity estimation provides significant benefits with a negligible impact on accuracy.
引用
收藏
页码:1593 / 1604
页数:12
相关论文
共 37 条
  • [1] [Anonymous], 2010, P 19 INT C WORLD WID
  • [2] A 64 kB Approximate SRAM Architecture for Low-Power Video Applications
    Ataei, Samira
    Stine, James E.
    [J]. IEEE EMBEDDED SYSTEMS LETTERS, 2018, 10 (01) : 10 - 13
  • [3] AWARE: Adaptive Way Allocation for Reconfigurable ECCs to Protect Write Errors in STT-RAM Caches
    Azad, Zahra
    Farbeh, Hamed
    Monazzah, Amir Mahdi Hosseini
    Miremadi, Seyed Ghassem
    [J]. IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTING, 2019, 7 (03) : 481 - 492
  • [4] DRAM Refresh Mechanisms, Penalties, and Trade-Offs
    Bhati, Ishwar
    Chang, Mu-Tien
    Chishti, Zeshan
    Lu, Shih-Lien
    Jacob, Bruce
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2016, 65 (01) : 108 - 121
  • [5] On the resemblance and containment of documents
    Broder, AZ
    [J]. COMPRESSION AND COMPLEXITY OF SEQUENCES 1997 - PROCEEDINGS, 1998, : 21 - 29
  • [6] ERROR-CORRECTING CODES FOR SEMICONDUCTOR MEMORY APPLICATIONS - A STATE-OF-THE-ART REVIEW
    CHEN, CL
    HSIAO, MY
    [J]. IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 1984, 28 (02) : 124 - 134
  • [7] A Multi-Accuracy-Level Approximate Memory Architecture Based on Data Significance Analysis
    Chen, Yuanchang
    Yang, Xinghua
    Qiao, Fei
    Han, Jie
    Wei, Qi
    Yang, Huazhong
    [J]. 2016 IEEE COMPUTER SOCIETY ANNUAL SYMPOSIUM ON VLSI (ISVLSI), 2016, : 385 - 390
  • [8] Retention-Aware DRAM Auto-Refresh Scheme for Energy and Performance Efficiency
    Cheng, Wei-Kai
    Shen, Po-Yuan
    Li, Xin-Lun
    [J]. MICROMACHINES, 2019, 10 (09)
  • [9] Fast Similarity Sketching
    Dahlgaard, Soren
    Knudsen, Mathias Baek Tejs
    Thorup, Mikkel
    [J]. 2017 IEEE 58TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2017, : 663 - 671
  • [10] Energy and Quality-Aware Multimedia Signal Processing
    Emre, Yunus
    Chakrabarti, Chaitali
    [J]. IEEE TRANSACTIONS ON MULTIMEDIA, 2013, 15 (07) : 1579 - 1593