Pith. sign in

REVIEW

Analog In-Memory Computing Attention Mechanism for Fast and Energy-Efficient Large Language Models

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2409.19315 v2 pith:PFNGNROU submitted 2024-09-28 cs.NE cs.AIcs.ARcs.ET

classification cs.NEcs.AIcs.ARcs.ET
keywords self-attentionanalogmodelssteparchitectureattentioncomputingenergy
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Transformer networks, driven by self-attention, are central to Large Language Models. In generative Transformers, self-attention uses cache memory to store token projections, avoiding recomputation at each time step. However, GPU-stored projections must be loaded into SRAM for each new generation step, causing latency and energy bottlenecks. We present a custom self-attention in-memory computing architecture based on emerging charge-based memories called gain cells, which can be efficiently written to store new tokens during sequence generation and enable parallel analog dot-product computation required for self-attention. However, the analog gain cell circuits introduce non-idealities and constraints preventing the direct mapping of pre-trained models. To circumvent this problem, we design an initialization algorithm achieving text processing performance comparable to GPT-2 without training from scratch. Our architecture respectively reduces attention latency and energy consumption by up to two and five orders of magnitude compared to GPUs, marking a significant step toward ultra-fast, low-power generative Transformers.

Discussion (0). Continue with ORCID to comment.

Pith tools