paper-with-me

홈 › Papers

Understand and Accelerate Memory Processing Pipeline for Large Language Model Inference

2026-03-30 · Zifan He, Rui Ma, Yizhou Sun, Jason Cong arxiv

Modern large language models (LLMs) increasingly depends on efficient long-context processing and generation mechanisms, including sparse attention, retrieval-augmented generation (RAG), and compressed contextual memory, to support complex reasoning. We show that these optimizations can be unified into a four-step memory processing pipeline: Prepare Memory, Compute Relevancy, Retrieval, and Apply to Inference. Through systematic profiling, we identify a 22%-97% memory processing overhead in LLM inference and strong heterogeneity in its computational characteristics. Motivated by this insight, we argue that \textbf{heterogeneous systems} are well-suited to accelerate memory processing and thus end-to-end inference. We demonstrate this approach on a GPU-FPGA system by offloading sparse, irregular, and memory-bounded operations to FPGAs while retaining compute-intensive operations on GPUs. Evaluated on an AMD MI210 GPU and an Alveo U55C FPGA, our system is up to $2.2\times$ faster and achieves up to $4.7\times$ less energy across multiple LLM inference optimizations than the GPU baseline (similar results hold on NVIDIA A100). These results establish heterogeneous systems as a practical direction for efficient LLM memory processing and inform future heterogeneous hardware design.

📄 PDF Abstract BibTeX arXiv:2603.29002

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Machine Learning Training on a Real Processing-in-Memory System

2022-06-13 · Juan Gómez-Luna, Yuxin Guo, Sylvan Brocard, Julien Legriel 외

Training machine learning algorithms is a computationally intensive process, which is frequently memory-bound due to repeatedly accessing large training datasets. As a result, processor-centric systems (e.g., CPU, GPU) s…

BIG-bench Machine LearningCPUGPUregression

An Experimental Evaluation of Machine Learning Training on a Real Processing-in-Memory System

2022-07-16 · Juan Gómez-Luna, Yuxin Guo, Sylvan Brocard, Julien Legriel 외

Training machine learning (ML) algorithms is a computationally intensive process, which is frequently memory-bound due to repeatedly accessing large training datasets. As a result, processor-centric systems (e.g., CPU, G…

ClusteringCPUGPUregression

NARVis: Neural Accelerated Rendering for Real-Time Scientific Point Cloud Visualization

2024-07-26 · Srinidhi Hegde, Kaur Kullman, Thomas Grubb, Leslie Lait 외

Exploring scientific datasets with billions of samples in real-time visualization presents a challenge - balancing high-fidelity rendering with speed. This work introduces a novel renderer - Neural Accelerated Renderer (…

GPU

Stochastic Optimization with Laggard Data Pipelines

2020-10-26 · NeurIPS 2020 12 · Naman Agarwal, Rohan Anil, Tomer Koren, Kunal Talwar 외

State-of-the-art optimization is steadily shifting towards massively parallel pipelines with extremely large batch sizes. As a consequence, CPU-bound preprocessing and disk/memory/network operations have emerged as new p…

CPUStochastic Optimization

LoL-PIM: Long-Context LLM Decoding with Scalable DRAM-PIM System

2024-12-28 · Hyucksung Kwon, Kyungmo Koo, Janghyeon Kim, Woongkyu Lee 외

The expansion of large language models (LLMs) with hundreds of billions of parameters presents significant challenges to computational resources, particularly data movement and memory bandwidth. Long-context LLMs, which …

GPUManagement