COSIME: FeFET based associative memory for in-memory cosine similarity search

16Citations
Citations of this article
11Readers
Mendeley users who have this article in their library.
Get full text

Abstract

In a number of machine learning models, an input query is searched across the trained class vectors to find the closest feature class vector in cosine similarity metric. However, performing the cosine similarities between the vectors in Von-Neumann machines involves a large number of multiplications, Euclidean normalizations and division operations, thus incurring heavy hardware energy and latency overheads. Moreover, due to the memory wall problem that presents in the conventional architecture, frequent cosine similarity-based searches (CSSs) over the class vectors requires a lot of data movements, limiting the throughput and efficiency of the system. To overcome the aforementioned challenges, this paper introduces COSIME, a general in-memory associative memory (AM) engine based on the ferroelectric FET (FeFET) device for efficient CSS. By leveraging the one-transistor AND gate function of FeFET devices, current-based translinear analog circuit and winner-takeall (WTA) circuitry, COSIME can realize parallel in-memory CSS across all the entries in a memory block, and output the closest word to the input query in cosine similarity metric. Evaluation results at the array level suggest that the proposed COSIME design achieves 333× and 90.5× latency and energy improvements, respectively, and realizes better classification accuracy when compared with an AM design implementing approximated CSS. The proposed in-memory computing fabric is evaluated for an HDC problem, showcasing that COSIME can achieve on average 47.1× and 98.5× speedup and energy efficiency improvements compared with an GPU implementation.

References Powered by Scopus

Deep residual learning for image recognition

178632Citations
N/AReaders
Get full text

Hyperdimensional computing: An introduction to computing in distributed representation with high-dimensional random vectors

720Citations
N/AReaders
Get full text

Learning to track: Online multi-object tracking by decision making

593Citations
N/AReaders
Get full text

Cited by Powered by Scopus

HyperGRAF: Hyperdimensional Graph-Based Reasoning Acceleration on FPGA

15Citations
N/AReaders
Get full text

SEE-MCAM: Scalable Multi-Bit FeFET Content Addressable Memories for Energy Efficient Associative Search

10Citations
N/AReaders
Get full text

FeFET-Based In-Memory Hyperdimensional Encoding Design

6Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Liu, C. K., Chen, H., Imani, M., Ni, K., Kazemi, A., Laguna, A. F., … Yin, X. (2022). COSIME: FeFET based associative memory for in-memory cosine similarity search. In IEEE/ACM International Conference on Computer-Aided Design, Digest of Technical Papers, ICCAD. Institute of Electrical and Electronics Engineers Inc. https://doi.org/10.1145/3508352.3549412

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 2

100%

Readers' Discipline

Tooltip

Physics and Astronomy 1

25%

Business, Management and Accounting 1

25%

Computer Science 1

25%

Engineering 1

25%

Save time finding and organizing research with Mendeley

Sign up for free