Skip to main navigation Skip to search Skip to main content

LoRA-PIM: In-Memory Delta-Weight Injection for Multi-Adapter LLM Serving

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Low-Rank Adaptation (LoRA) converts a single large language model (LLM) into thousands of domain-specialized experts by adding ≤ 1% trainable weight 'deltas.' State-of-practice serving systems still copy these adapters from host to GPU memory, incurring 8-20 ms swap latency and wasting energy on data movement. We introduce LoRA-PIM, the novel architecture that merges LoRA deltas with base weights inside a processing-in-memory (PIM) DRAM. Each sense-amplifier slice embeds an 8-bit masked XOR/ADD unit that overlays quantized delta-banks onto the currently activated row without extra cycles. Simulated in 32nm eDRAM, LoRA-PIM reduces adapter-switch latency from 9.6ms (GPU + S-LoRA) to 50μs (-99.5%) and cuts per-token energy by 70% on Llama-2-7B with 16 tasks, while adding only 2% bank area and preserving model accuracy. Our results demonstrate that in-memory delta application is a promising, path toward scalable, energy-efficient LLM serving.

Original languageEnglish
Title of host publicationInternational SoC Design Conference 2025, ISOCC 2025 - Proceedings of Technical Papers
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331586423
DOIs
StatePublished - 2025
Event22nd International SoC Design Conference, ISOCC 2025 - Busan, Korea, Republic of
Duration: 15 Oct 2025 → 18 Oct 2025

Publication series

NameInternational SoC Design Conference 2025, ISOCC 2025 - Proceedings of Technical Papers

Conference

Conference22nd International SoC Design Conference, ISOCC 2025
Country/TerritoryKorea, Republic of
CityBusan
Period15/10/25 → 18/10/25

Bibliographical note

Publisher Copyright:
© 2025 IEEE.

Keywords

  • LLMs
  • LoRA
  • Processing-in-Memory

Fingerprint

Dive into the research topics of 'LoRA-PIM: In-Memory Delta-Weight Injection for Multi-Adapter LLM Serving'. Together they form a unique fingerprint.

Cite this