StorageReview.com

KAIST MemLLM führt LLM Attention innerhalb der SSD aus und erzielt im Durchschnitt eine 4.06-fache Beschleunigung für On-Device RAG.

Unternehmen  ◇  SSD

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.

KAIST MemLLM diagram comparing a GPU baseline, where KV caches cross PCIe to the GPU, with attention run inside the SSD, alongside the reported 4.06x average speedup

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 loading 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.

MemLLM Paper on arXiv

Beteiligen Sie sich an StorageReview

Newsletter | YouTube | Podcast (iTunes / Spotify) | Instagram | Twitter | TikTok | RSS-Feed

Harold Fritts

Ich bin in der Technologiebranche tätig, seit IBM Selectric gegründet hat. Mein Hintergrund ist jedoch das Schreiben. Also beschloss ich, aus dem Vorverkaufsgeschäft auszusteigen und zu meinen Wurzeln zurückzukehren, ein bisschen zu schreiben, mich aber immer noch mit Technologie zu beschäftigen.