Memristor compute-in-memory-based retrieval augemented generation

The code of the paper "Fully integrated memristor compute-in-memory for massively parallel retrieval augmentation of large language models". Simulator: Evaluation of recall performance for digital-based and memristor-based retrieval under scaling. PubMed serves as the document corpus, while BioASQ and PubMedQA are used as query sets. The code includes quantization and mapping procedures to mapping both corpus and query vectors onto the memristor chip. RAG_BioASQ: Code implementation of the retrieval-augmented generation (RAG) task using the BioASQ test set. RAG_PubmedQA: Code implementation of the retrieval-augmented generation (RAG) task using the PubmedQA test set. Benchmark_CPU: Code for benchmarking CPU-based retrieval in terms of latency, throughput, and energy efficiency.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-10-01
DOI
https://doi.org/10.5281/zenodo.16930481
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Memristor compute-in-memory-based retrieval augemented generation

Zenodo (CERN European Organization for Nuclear Research)
Geochemistry and Geologic Mapping
article

Memristor compute-in-memory-based retrieval augemented generation

article en

Abstract

The code of the paper "Fully integrated memristor compute-in-memory for massively parallel retrieval augmentation of large language models". Simulator: Evaluation of recall performance for digital-based and memristor-based retrieval under scaling. PubMed serves as the document corpus, while BioASQ and PubMedQA are used as query sets. The code includes quantization and mapping procedures to mapping both corpus and query vectors onto the memristor chip. RAG_BioASQ: Code implementation of the retrieval-augmented generation (RAG) task using the BioASQ test set. RAG_PubmedQA: Code implementation of the retrieval-augmented generation (RAG) task using the PubmedQA test set. Benchmark_CPU: Code for benchmarking CPU-based retrieval in terms of latency, throughput, and energy efficiency.

Zenodo (CERN European Organization for Nuclear Research)
Affordable and clean energy
Openalex Percentile: Top 68%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.