StorageReview.com

KAIST MemLLM uruchamia LLM Attention wewnątrz dysku SSD, co zapewnia średnio 4.06-krotne przyspieszenie RAG na urządzeniu

Enterprise   ◇  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.

Diagram KAIST MemLLM porównujący dane bazowe GPU, gdzie pamięć podręczna KV przechodzi przez PCIe do GPU, a uwaga skupia się na dysku SSD, obok zgłoszonego średniego przyspieszenia 4.06x

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

Skontaktuj się z StorageReview

Biuletyn | YouTube | Podcast iTunes / Spotify | Instagram | Twitter | TikTok | Kanał RSS

Harold Fritts

Pracuję w branży technologicznej od czasu, gdy IBM stworzyło Selectric. Moim głównym zajęciem jest jednak pisanie. Postanowiłem więc odejść z działu przedsprzedaży i wrócić do korzeni, zajmując się trochę pisaniem, ale wciąż angażując się w technologię.