cd /news/ai-research/kaist-memllm-runs-llm-attention-insi… · home › topics › ai-research › article
[ARTICLE · art-178740] src=storagereview.com ↗ pub= topic=ai-research verified=true sentiment=↑ positive

KAIST MemLLM Runs LLM Attention Inside the SSD, Averaging a 4.06x Speedup for On-Device RAG

Researchers in Professor Myoungsoo Jung's Computer Architecture and Memory Systems Laboratory at KAIST have designed MemLLM, an SSD architecture that runs a language model's attention calculations inside the drive, reporting an average end-to-end speedup of 4.06x over a GPU baseline across eight retrieval-augmented generation (RAG) datasets and six on-device models. MemLLM executes the full attention pipeline on precomputed key-value caches inside the SSD, with accelerators on each NAND channel, and only the reduced result crosses PCIe, which the authors say holds transfer to a constant size regardless of context length. The results come from an RTL implementation on a 16nm FPGA, kernel timing on an NVIDIA Jetson Orin NX board, and a cycle-accurate SSD simulator; the work will be published at IEEE/ACM MICRO 2026.

recommendation

For on-device RAG with multi-gigabyte KV caches, compute attention where the caches live instead of moving them over PCIe; the KAIST prototype averaged 4.06x over a GPU baseline across eight datasets.

more in playbook: Inference and self-hosting
by read2 min views14 publishedNov 30, 2026
KAIST MemLLM Runs LLM Attention Inside the SSD, Averaging a 4.06x Speedup for On-Device RAG
Image: Storagereview (auto-discovered)

Researchers at KAIST have designed MemLLM, an SSD architecture that runs a language model’s attention calculations inside the drive, so a laptop or edge device can answer questions over private documents without first moving gigabytes of cached data to the GPU. Across eight retrieval-augmented generation (RAG) datasets and six on-device models, the team reports an average end-to-end speedup of 4.06x over a GPU baseline. The work comes from Professor Myoungsoo Jung’s Computer Architecture and Memory Systems Laboratory and will be published at IEEE/ACM MICRO 2026.

Where On-Device RAG Stalls #

RAG lets a model answer from a user’s files, and running it on the device keeps those documents private. The expense is the prefill phase, because the model has to process long retrieved documents before it writes a short answer. Servers typically avoid that work by computing each document’s key-value (KV) cache ahead of time and it at query time. On a client device those caches run to multiple gigabytes, and the paper describes pulling them across the narrow storage interconnect as an I/O wall.

Attention Next to the NAND #

MemLLM executes the full attention pipeline on precomputed KV caches inside the SSD. Accelerators sit on each NAND channel to use the drive’s combined channel bandwidth, and only the reduced result crosses PCIe, which the authors say holds the transfer to a constant size regardless of context length. A combined recomputation and query step with hardware filtering halves the volume of NAND reads and avoids writing updated caches back to flash, and an SRAM-based reduction engine lets the data path work without DRAM.

On the host, a software stack receives results from the drive asynchronously without extra copies and runs inside existing machine learning frameworks, so applications do not need to be rewritten around the drive. The approach sits alongside other work that pushes RAG onto flash, such as KIOXIA’s AiSAQ, which keeps vector search indexes on SSDs.

Evaluated on an FPGA Prototype and an SSD Simulator #

The 4.06x average comes from a research prototype in which the team implemented the accelerator in RTL on a 16nm FPGA, measured kernel timing on that prototype and on an NVIDIA Jetson Orin NX board, and combined the measurements with a cycle-accurate SSD simulator. These are the researchers’ results, and we did not run or audit them. Putting the design into a shipping drive would take an SSD controller built with accelerators on every NAND channel.

── more in #ai-research 4 stories · sorted by recency
── more on @kaist 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/kaist-memllm-runs-ll…] indexed:0 read:2min 2026-11-30 · —