KAIST's MemLLM runs AI attention inside an SSD, 4x faster

In short

4.06× average speed-up in response processing, KAIST's figure; 2.12 W average estimated accelerator power; 3 W power budget it stays under; 8 and 6 question-answering datasets and on-device models tested

What problem does MemLLM solve?

A personal AI assistant that keeps your medical records or financial papers on your own device never has to send them to a company's server. That is the privacy case for on-device AI. To answer a question about those papers, the assistant uses retrieval-augmented generation (RAG): it looks up the relevant documents and lets the model read them before it answers.

Reading a document costs computing time, so systems do the work once and save the result. The saved result is a key-value cache (KV cache), the model's intermediate notes on each document. The catch, as KAIST describes it, is that these caches are large and sit on the SSD. Before every answer they must be moved from the SSD to the GPU, and the more documents there are, the bigger the move and the longer the wait. Some of the cached information also has to be recomputed depending on the question.

How does MemLLM work?

KAIST's team, led by Professor Myoungsoo Jung of the School of Electrical Engineering, moves the work to the data instead of the data to the work. According to KAIST, MemLLM does two jobs inside the SSD:

Older systems, KAIST says, read and transfer data several times. MemLLM combines the two jobs so they finish together while the data is read once, and it avoids writing computed results back to storage as a separate step. The team also designed the in-drive hardware to use the SSD's several internal data channels at once, to spread computing resources across tasks, and to pick only the data needed. The aim is fewer delays inside the drive.

This is our plain-English reading of KAIST's description. The press release does not give circuit-level detail, and we have not seen the paper.

What did KAIST measure?

An FPGA is a chip that can be rewired to imitate a custom design, so it lets researchers test a hardware idea before anyone makes the real silicon. A speed-up measured this way is a projection for a future drive, not the speed of a product you can buy.

What is not stated

Where it was published and what is next

Seungkwan Kang, a PhD student at KAIST, was first author, with Hyungseok Ko and Heemin Kim; Professor Jung is the corresponding author. The paper, "MemLLM: End-to-end In-Storage Acceleration of On-device Retrieval-Augmented Generation using Precomputed KV Caches", was presented at the 59th IEEE/ACM International Symposium on Microarchitecture (MICRO 2026) in Athens, Greece, from 31 October to 4 November 2026. The work was supported by the Samsung Science & Technology Foundation.

KAIST says it could underpin personal AI that summarises changes across several years of health checkup records, or finds and compares terms across several financial documents. Professor Jung said computing power alone is not enough for personal AI that uses many documents, and that the delays of moving data must also be cut.

Terms in plain English

Sources

Sources

Related stories

More from AI Research Labs

All stories from AI Research Labs