DIRC-RAG: Accelerating Edge RAG with Robust High-Density and High-Loading-Bandwidth Digital In-ReRAM Computation
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) enhances large language models (LLMs) by integrating external knowledge retrieval but faces challenges on edge devices due to high storage, energy, and latency demands. Computing-in-Memory (CIM) offers a promising solution by storing document embeddings in CIM macros and enabling in-situ parallel retrievals but is constrained by either low memory density or limited computational accuracy. To address these challenges, we present DIRCRAG, a novel edge RAG acceleration architecture leveraging Digital In-ReRAM Computation (DIRC). DIRC integrates a high-density multi-level ReRAM subarray with an SRAM cell, utilizing SRAM and differential sensing for robust ReRAM readout and digital multiply-accumulate (MAC) operations. By storing all document embeddings within the CIM macro, DIRC achieves ultra-low-power, single-cycle data loading, substantially reducing both energy consumption and latency compared to offchip DRAM. A query-stationary (QS) dataflow is supported for RAG tasks, minimizing on-chip data movement and reducing SRAM buffer requirements. We introduce error optimization for the DIRC ReRAM-SRAM cell by extracting the bit-wise spatial error distribution of the ReRAM subarray and applying targeted bit-wise data remapping. An error detection circuit is also implemented to enhance readout resilience against deviceand circuit-level variations. Simulation results demonstrate that DIRC-RAG under TSMC40nm process achieves an on-chip non-volatile memory density of 5.18Mb/mm2 and a throughput of 131 TOPS. It delivers a 4MB retrieval latency of 5.6μs/query and an energy consumption of 0.956μJ/query, while maintaining the retrieval precision.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 16 of its 34 references that are in the map. First posted on arXiv 29 Oct 2025.
Builds on
16 of 34 references.
Closest ancestors · 6
Same direction, newest first
- 2024Retrieval-Augmented Generation for Mobile Edge Computing via Large Language Model30 Dec
- 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inference16 Dec
- 2024Accelerating Retrieval-Augmented Generation14 Dec
- 2024Robust Implementation of Retrieval-Augmented Generation on Edge-based Computing-in-Memory Architectures7 May
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb
- 2024Corrective Retrieval Augmented Generation29 Jan
Other references · 10
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2020Fact or Fiction: Verifying Scientific Claimscited by 554
- 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 430
- 2021Searching for Scientific Evidence in a Pandemic: An Overview of TREC-COVIDcited by 19
- 2024SynDCIM: A Performance-Aware Digital Computing-in-Memory Compiler with Multi-Spec-Oriented Subcircuit Synthesiscited by 3
- 2023TL-nvSRAM-CIM: Ultra-High-Density Three-Level ReRAM-Assisted Computing-in-nvSRAM with DC-Power Free Restore and Ternary MAC Operationscited by 1
- 2025A Flexible Precision Scaling Deep Neural Network Accelerator with Efficient Weight Combinationcited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving
- 2024EdgeRAG: Online-Indexed RAG for Edge Devices
- 2026Energy-Efficient On-Device RAG on a Mobile NPU: System Design and Benchmark on Snapdragon X Elite
- 2026CQ-CiM: Hardware-Aware Embedding Shaping for Robust CiM-Based Retrieval
- 2025RAGDoll: Efficient Offloading-based Online RAG System on a Single GPU
- 2025HA-RAG: Hotness-Aware RAG Acceleration via Mixed Precision and Data Placement
- 2026SHIELD: A Segmented Hierarchical Memory Architecture for Energy-Efficient LLM Inference on Edge NPUs
- 2026HAVEN: High-Bandwidth Flash Augmented Vector Engine for Large-Scale Approximate Nearest-Neighbor Search Acceleration