mlsanityData to 7 Oct 2026

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

arXiv 2405.04700 ↗First posted 7 May 2024cs.LG cs.AI cs.DCcited by 12

On the map: Retrieval-augmented generation → RAG pipeline design and evaluation

Abstract (arXiv)

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.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 20 of its 49 references that are in the map. First posted on arXiv 7 May 2024.

Builds on

20 of 49 references.

References · 20

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2023Mistral 7Bcited by 3,065
  3. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  4. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  5. 2023Textbooks Are All You Needcited by 561
  6. 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 427
  7. 2023LaMP: When Large Language Models Meet Personalizationcited by 425
  8. 2021Positional Contrastive Learning for Volumetric Medical Image Segmentationcited by 56
  9. 2022News Category Datasetcited by 42
  10. 2019Device-Circuit-Architecture Co-Exploration for Computing-in-Memory Neural Acceleratorscited by 32
  11. 2023PockEngine: Sparse and Efficient Fine-tuning in a Pocketcited by 22
  12. 2023Enabling On-Device Large Language Model Personalization with Self-Supervised Data Selection and Synthesiscited by 20
8 more
  1. 2021Uncertainty Modeling of Emerging Device-based Computing-in-Memory Neural Accelerators with Application to Neural Architecture Searchcited by 17
  2. 2022SWIM: Selective Write-Verify for Computing-in-Memory Neural Acceleratorscited by 16
  3. 2023When Automated Assessment Meets Automated Content Generation: Examining Text Quality in the Era of GPTscited by 13
  4. 2024FL-NAS: Towards Fairness of NAS for Resource Constrained Devices via Large Language Modelscited by 9
  5. 2022CorrectNet: Robustness Enhancement of Analog In-Memory Computing for Neural Networks by Error Suppression and Compensationcited by 8
  6. 2023Improving Realistic Worst-Case Performance of NVCiM DNN Accelerators through Training with Right-Censored Gaussian Noisecited by 8
  7. 2022iMARS: An In-Memory-Computing Architecture for Recommendation Systemscited by 2
  8. 2023Compute-in-Memory based Neural Network Accelerators for Safety-Critical Systems: Worst-Case Scenarios and Protectionscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 4; 2026: 4.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving
  2. 2026RAGe: A Retrieval-Augmented Generation Evaluation Framework
  3. 2025Tuning LLMs by RAG Principles: Towards LLM-native Memory
  4. 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inference
  5. 2025Chain-of-Rank: Enhancing Large Language Models for Domain-Specific RAG in Edge Device
  6. 2024Accelerating Retrieval-Augmented Generation
  7. 2024EACO-RAG: Towards Distributed Tiered LLM Deployment using Edge-Assisted and Collaborative RAG with Adaptive Knowledge Update
  8. 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning