paper-with-me

홈 › Papers

AQPIM: Breaking the PIM Capacity Wall for LLMs with In-Memory Activation Quantization

2026-04-20 · Kosuke Matsushima, Yasuyuki Okoshi, Masato Motomura, Daichi Fujiki arxiv

Processing-in-Memory (PIM) architectures offer a promising solution to the memory bottlenecks in data-intensive machine learning, yet often overlook the growing challenge of activation memory footprint. Conventional PIM approaches struggle with massive KV cache sizes generated in long-context scenarios by Transformer-based models, frequently exceeding PIM's limited memory capacity, while techniques like sparse attention can conflict with PIM's need for data locality. Existing PIM approaches and quantization methods are often insufficient or poorly suited for leveraging the unique characteristics of activations. This work identifies an opportunity for PIM-specialized activation quantization to enhance bandwidth and compute efficiency. We explore clustering-based vector quantization approaches, which align well with activation characteristics and PIM's internal bandwidth capabilities. Building on this, we introduce AQPIM, a novel PIM-aware activation quantization framework based on Product Quantization (PQ), optimizing it for modern Large Language Models (LLMs). By performing quantization directly within memory, AQPIM leverages PIM's high internal bandwidth and enables direct computation on compressed data, significantly reducing both memory footprint and computational overhead for attention computation. AQPIM addresses PQ's accuracy challenges by introducing several algorithmic optimizations. Evaluations demonstrate that AQPIM achieves significant performance improvements, drastically reducing of GPU-CPU communication that can account for 90$\sim$98.5\% of decoding latency, together with 3.4$\times$ speedup over a SOTA PIM approach.

📄 PDF Abstract BibTeX arXiv:2604.18137

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Breaking the Memory Wall for AI Chip with a New Dimension

2020-09-28 · Eugene Tam, Shenfei Jiang, Paul Duan, Shawn Meng 외

Recent advancements in deep learning have led to the widespread adoption of artificial intelligence (AI) in applications such as computer vision and natural language processing. As neural networks become deeper and large…

Breaking On-device Training Memory Wall: A Systematic Survey

2023-06-17 · Shitian Li, Chunlin Tian, Kahou Tam, Rui Ma 외

On-device training has become an increasingly popular approach to machine learning, enabling models to be trained directly on mobile and edge devices. However, a major challenge in this area is the limited memory availab…

NavigateSurvey

Can We Predict Your Next Move Without Breaking Your Privacy?

2025-07-08 · Arpita Soni, Sahil Tripathi, Gautam Siddharth Kashyap, Manaswi Kulahara 외 arxiv

We propose FLLL3M--Federated Learning with Large Language Models for Mobility Modeling--a privacy-preserving framework for Next-Location Prediction (NxLP). By retaining user data locally and leveraging LLMs through an ef…

Federated Learning

XQuant: Breaking the Memory Wall for LLM Inference with KV Cache Rematerialization

2025-08-14 · Aditya Tomar, Coleman Hooper, Minjae Lee, Haocheng Xi 외 arxiv

Although LLM inference has emerged as a critical workload for many downstream applications, efficiently inferring LLMs is challenging due to the substantial memory footprint and bandwidth requirements. In parallel, compu…

Breaking the Memory Wall for Heterogeneous Federated Learning via Model Splitting

2024-10-12 · Chunlin Tian, Li Li, Kahou Tam, Yebo Wu 외

Federated Learning (FL) enables multiple devices to collaboratively train a shared model while preserving data privacy. Ever-increasing model complexity coupled with limited memory resources on the participating devices …

Federated Learning