Skip to content

CAMformer: Binary Associative Memory Is All You Need

Oct 2026 · IEEE Transactions on Circuits and Systems Part 1: Regular Papers · Vol 73, pp. 6696-6709 · 0 citations · 58 references

Abstract

Transformer attention mechanisms pose significant scalability challenges due to quadratic complexity in sequence length, and existing accelerators remain bottlenecked by dense arithmetic and data movement. This paper proposes CAMformer, a hardware accelerator that reinterprets attention as an associative memory operation, contributing at three levels. At the circuit level, a voltage-domain Binary Attention CAM (BA-CAM) computes Hamming similarity through analog charge sharing, achieving 1.12% mean error under PVT variation—<inline-formula> <tex-math notation="LaTeX">$7\times $ </tex-math></inline-formula> lower than time-domain approaches. At the architecture level, a three-stage pipeline with hierarchical two-stage top-<inline-formula> <tex-math notation="LaTeX">$k$ </tex-math></inline-formula> filtering reduces score storage by <inline-formula> <tex-math notation="LaTeX">$8\times $ </tex-math></inline-formula> while hiding DRAM latency. At the algorithm level, this top-<inline-formula> <tex-math notation="LaTeX">$k$ </tex-math></inline-formula> mechanism, co-designed with Hamming Attention Distillation (HAD), maintains <0.4% accuracy degradation on GLUE benchmarks. Implemented in 65 nm CMOS and evaluated on BERT-Large, Vision Transformer, and GPT-2 decoder workloads via HSPICE simulation and Design Compiler synthesis, CAMformer achieves 9,045 queries/mJ (<inline-formula> <tex-math notation="LaTeX">$10\times $ </tex-math></inline-formula>), 191 queries/ms (<inline-formula> <tex-math notation="LaTeX">$4\times $ </tex-math></inline-formula>), and 0.26 mm<sup>2</sup> (6–<inline-formula> <tex-math notation="LaTeX">$8\times $ </tex-math></inline-formula> reduction) for attention computation compared to state-of-the-art accelerators. These results demonstrate that reconceptualizing attention as associative memory retrieval enables order-of-magnitude efficiency gains for edge Transformer inference.

View source

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Related blog posts

Microsoft Research Blog Sep 29, 2026

Introducing Quine: An AI research system designed for the complexity of biology

Biology doesn't operate in silos, and neither should the AI representation of it. Quine is an early-stage research effort to create a multimodal world model of biology. By connecting insights across biological scales and modalities, Quine helps scientists computationally search a space far larger than intuition allows and prioritize hypotheses before they reach the lab. Experimental results provide important feedback, helping researchers sharpen future research directions. The post Introducing Q…

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.