Pith. sign in

REVIEW 2 cited by

Robust Implementation of Retrieval-Augmented Generation on Edge-based Computing-in-Memory Architectures

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.04700 v1 pith:ZK2VK6ON submitted 2024-05-07 cs.LG cs.AIcs.DCcs.IR

classification cs.LGcs.AIcs.DCcs.IR
keywords datadevicesedgelatencyuseracceleratearchitecturescomputing-in-memory
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Large Language Models (LLMs) deployed on edge devices learn through fine-tuning and updating a certain portion of their parameters. Although such learning methods can be optimized to reduce resource utilization, the overall required resources remain a heavy burden on edge devices. Instead, Retrieval-Augmented Generation (RAG), a resource-efficient LLM learning method, can improve the quality of the LLM-generated content without updating model parameters. However, the RAG-based LLM may involve repetitive searches on the profile data in every user-LLM interaction. This search can lead to significant latency along with the accumulation of user data. Conventional efforts to decrease latency result in restricting the size of saved user data, thus reducing the scalability of RAG as user data continuously grows. It remains an open question: how to free RAG from the constraints of latency and scalability on edge devices? In this paper, we propose a novel framework to accelerate RAG via Computing-in-Memory (CiM) architectures. It accelerates matrix multiplications by performing in-situ computation inside the memory while avoiding the expensive data transfer between the computing unit and memory. Our framework, Robust CiM-backed RAG (RoCR), utilizing a novel contrastive learning-based training method and noise-aware training, can enable RAG to efficiently search profile data with CiM. To the best of our knowledge, this is the first work utilizing CiM to accelerate RAG.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Tiny-Align: Bridging Automatic Speech Recognition and Large Language Model on the Edge

    cs.SD 2024-11 reject novelty 4.0 of 10

    Tiny-Align aligns ASR audio features with an LLM's text-embedding space via a trained projector, claiming 50x faster convergence and improved ROUGE scores for edge ASR-LLM personalization.

  2. NVCiM-PT: An NVCiM-assisted Prompt Tuning Framework for Edge LLMs

    cs.LG 2024-11 conditional novelty 4.0 of 10

    An NVCiM-assisted prompt tuning framework stores per-domain virtual tokens in non-volatile memory, retrieves them via a multi-scale search, and improves edge LLM accuracy and speed.

Pith tools