Researchers have moved a step closer to personal AI assistants that can quickly analyze users' medical records and financial documents without sending them to external servers. A KAIST research team has developed a technology that speeds up AI responses on personal devices by having the storage device that holds the data also perform the necessary computations.
KAIST (President Choongsik Bae) announced on November 30 that a research team led by Professor Myoungsoo Jung of the School of Electrical Engineering developed “MemLLM,” a technology that performs attention computations required for retrieval-augmented generation (RAG) inside a solid-state drive (SSD). The key is to accelerate on-device RAG inference by reducing the burden of repeatedly transferring large key-value caches (KV caches) from storage to the graphics processing unit (GPU).
On-device AI, which has recently gained attention, offers strong privacy because it does not require sending sensitive personal information to a central server. RAG enables AI models to generate responses using information retrieved from relevant documents. To reduce redundant computation, intermediate results from these documents can be precomputed and stored as KV caches. However, when RAG is performed within a device, large KV caches containing precomputed document information must continuously be transferred from storage to the GPU before answering a user’s question. As the number of documents increases, these data blocks become larger, lengthening processing time. Some of the cached information must also be recomputed depending on the user’s query.
To overcome this problem, the research team designed an integrated architecture that performs both selective recomputation of precomputed KV caches and attention operations for user queries inside the storage device. Attention operations help AI models focus on information relevant to their responses. Conventional systems must read and transfer data multiple times, but the newly developed technology combines the two types of computation so that they are completed together when the data are read once. It also reduces the need to write computed results back to storage separately, significantly easing the burden caused by data movement.
The research team also applied a customized computing architecture that efficiently uses the multiple data channels inside the storage device. By flexibly using computing resources depending on the task and selecting only the necessary data for processing, the architecture also reduces delays that occur within the storage device.
In simulation-based performance evaluations incorporating an FPGA prototype and measurements from actual GPUs, MemLLM achieved an average response-processing speed 4.06 times faster than existing systems across eight question-answering datasets and six on-device language models. The estimated power consumption of the accelerator averaged 2.12 watts, demonstrating that it can operate well below a 3-watt power budget even in environments with strict power constraints.
The technology is expected to serve as a foundation for AI services that can quickly use data within the device that users may be reluctant to send externally, such as personal medical records and financial or legal documents. Possible applications include personal AI assistants that summarize changes across several years of health checkup records or find and compare relevant terms across multiple financial documents.
"For personal AI to make use of many documents, computing power alone is not enough. The delays involved in moving data must also be reduced," said Professor Jung. "This study is significant in that it reduces this burden by having the storage device perform the necessary computations directly." He added, "We hope this work will serve as a foundation for personal AI services that can quickly use sensitive data within the device without sending it outside."
Seungkwan Kang, a Ph.D. student at KAIST, led the study as the first author, and Professor Myoungsoo Jung served as the corresponding author. The research was presented at the 59th IEEE/ACM International Symposium on Microarchitecture (MICRO 2026), an international conference in the field of computer architecture held in Athens, Greece, from October 31 to November 4, 2026.
※ Paper title: MemLLM: End-to-end In-Storage Acceleration of On-device Retrieval-Augmented Generation using Precomputed KV Caches, DOI: 10.1109/MICRO67795.2026.00191
※ Author information: Seungkwan Kang (KAIST, first author), Hyungseok Ko (KAIST, second author), Heemin Kim (KAIST, third author), and Myoungsoo Jung (KAIST, corresponding author)
This research was supported by the Samsung Science & Technology Foundation.
Regions: Asia, South Korea, Europe, Greece
Keywords: Applied science, Artificial Intelligence, Computing, Engineering, Technology, Business, Electronic hardware & software