AJP Asia Intelligence Agency

KAIST turns SSDs into AI engines for private on-device assistants

Courtesy of KAIST
Courtesy of KAIST

SEOUL, November 30 (AJP) - A personal artificial intelligence assistant that can sort through a user's medical records and financial documents without sending them to an outside server has moved a step closer, after KAIST researchers built a storage drive that handles part of the AI's computing on its own.

KAIST said Monday that a team led by Jung Myoung-soo, a professor in its School of Electrical Engineering, had developed MemLLM, a technology that runs the core calculations of document-based AI inside a solid-state drive (SSD), the device that stores data in most modern computers. In tests, the system answered questions 4.06 times faster on average than a conventional setup built around a graphics processing unit (GPU).

The gain comes from cutting the time spent shuttling large amounts of data between the drive and the GPU. Instead of hauling stored data to the processor again and again, MemLLM performs the needed calculations where the data is kept.

For a personal AI to answer based on a user's own files, it first has to find and consult the relevant documents. A question such as "How have my health checkup results changed since last year?" requires pulling details from several test records and combining them. This approach, in which an AI consults outside documents to build its answer, is called retrieval-augmented generation (RAG).

Running RAG entirely on a personal device means sensitive information never has to leave it. The drawback has been speed, because the more documents the AI must consult, the more data it has to process and the slower its answers become.

One workaround is to calculate information about each document in advance and store it, but that alone falls short. The intermediate data, known as a key-value (KV) cache, can grow so large that moving it from storage to the GPU takes considerable time. Part of the information also has to be recalculated to fit each question.

To get around the problem, the team designed the SSD to carry out attention, the operation that lets an AI focus on the information most relevant to its answer. With the drive handling the calculations needed to process documents, less data has to travel to the GPU.

The researchers also merged two tasks that previously ran separately, adjusting the precomputed document information to fit a question and processing the question itself. Existing systems had to read the same data several times, while MemLLM handles both tasks in a single read. It also cuts down on writing calculation results back to the drive.

A custom computing structure makes efficient use of the multiple data channels inside the drive. It shifts computing resources depending on the task and processes only the data it needs, reducing delays inside the drive as well.

The team tested the design on a prototype built with a field-programmable gate array (FPGA), a reconfigurable chip used to build and check new circuit designs, along with simulations that reflected measurements from a real GPU. Across eight question-answering datasets and six language models designed to run on devices, MemLLM was 4.06 times faster on average than the existing GPU-based system.

The accelerator's estimated power consumption averaged 2.12 watts, below the 3-watt limit the researchers set for the study. The figure covers the accelerator only, not the whole device, but KAIST said it points to possible use in settings where power is limited.

The results come from the prototype and simulations, not a finished product. In a question-and-answer document released with the findings, the team said that applying the technology to real products would require further work to build the computing units into SSDs and validate them.

KAIST said the technology could form the basis of AI services that quickly put to use data people are reluctant to send off their devices, such as personal medical records and financial or legal documents. Possible uses include a personal assistant that tracks changes across several years of health checkups or compares conditions across multiple financial documents.

"For personal AI to make use of many documents, it needs computing power, but the delays in moving data also have to come down," Jung said. "This research is meaningful in that it eases that burden by having the storage device take on the necessary calculations directly."

Kang Seung-kwan, a doctoral student in the School of Electrical Engineering, led the study as first author. Ko Hyung-seok, a doctoral student in KAIST's Graduate School of AI Semiconductor, and Kim Hee-min, a master's student at the same school, also took part, with Jung serving as corresponding author.

The findings were presented at the 59th IEEE/ACM International Symposium on Microarchitecture (MICRO 2026), an international computer architecture conference held in Athens, Greece, from Oct. 31 to Nov. 4. Samsung Electronics funded the research through its Samsung Future Technology Promotion Program.

[Reference Information]
Journal/Source: 59th IEEE/ACM International Symposium on Microarchitecture (MICRO 2026)
Title: MemLLM: End-to-end In-Storage Acceleration of On-device Retrieval-Augmented Generation using Precomputed KV Caches
Link/DOI: 10.1109/MICRO67795.2026.00191