StorageReview.com

KAIST MemLLM은 SSD 내부에서 LLM 어텐션을 실행하여 온디바이스 RAG에서 평균 4.06배의 속도 향상을 달성했습니다.

기업  ◇  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

StorageReview에 참여

뉴스레터 | 유튜브 | 팟캐스트 ( 아이튠즈 / 스포티파이) | 인스타그램 | 트위터 | 틱톡 | RSS 피드

해롤드 프리츠

저는 IBM이 Selectric을 만든 이후로 기술 산업에 종사해 왔습니다. 하지만 내 배경은 글쓰기입니다. 그래서 저는 프리세일즈 사업에서 벗어나 제 뿌리로 돌아가서 약간의 글을 쓰지만 여전히 기술 분야에 참여하기로 결정했습니다.