COSIME: FeFET based Associative Memory for In-Memory Cosine Similarity Search
Not on the map. Why?
Abstract (arXiv)
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, an 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-take-all (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 333X and 90.5X 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.1X and 98.5X speedup and energy efficiency improvements compared with an GPU implementation.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 25 Jul 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 2.
5 papers.
- 2024H3DFact: Heterogeneous 3D Integrated CIM for Factorization with Holographic Perceptual Representationscited by 2
- 2025FactorHD: A Hyperdimensional Computing Model for Multi-Object Multi-Class Representation and Factorizationcited by 1
- 2023Towards Efficient Hyperdimensional Computing Using Photonicscited by 0
- 2024FeBiM: Efficient and Compact Bayesian Inference Engine Empowered with Ferroelectric In-Memory Computingcited by 0
- 2025Trustworthy Tree-based Machine Learning by MoS2 Flash-based Analog CAM with Inherent Soft Boundariescited by 0
- 2025Trustworthy Tree-based Machine Learning by MoS2 Flash-based Analog CAM with Inherent Soft Boundaries16 Jul 2025
- 2025FactorHD: A Hyperdimensional Computing Model for Multi-Object Multi-Class Representation and Factorization16 Jul 2025
- 2024FeBiM: Efficient and Compact Bayesian Inference Engine Empowered with Ferroelectric In-Memory Computing25 Oct 2024
- 2024H3DFact: Heterogeneous 3D Integrated CIM for Factorization with Holographic Perceptual Representations5 Apr 2024
- 2023Towards Efficient Hyperdimensional Computing Using Photonics29 Nov 2023