paper-with-me

홈 › Papers

ShadowNPU: System and Algorithm Co-design for NPU-Centric On-Device LLM Inference

2025-08-22 · Wangsong Yin, Daliang Xu, Mengwei Xu, Gang Huang, Xuanzhe Liu arxiv

On-device running Large Language Models (LLMs) is nowadays a critical enabler towards preserving user privacy. We observe that the attention operator falls back from the special-purpose NPU to the general-purpose CPU/GPU because of quantization sensitivity in state-of-the-art frameworks. This fallback results in a degraded user experience and increased complexity in system scheduling. To this end, this paper presents shadowAttn, a system-algorithm codesigned sparse attention module with minimal reliance on CPU/GPU by only sparsely calculating the attention on a tiny portion of tokens. The key idea is to hide the overhead of estimating the important tokens with a NPU-based pilot compute. Further, shadowAttn proposes insightful techniques such as NPU compute graph bucketing, head-wise NPU-CPU/GPU pipeline and per-head fine-grained sparsity ratio to achieve high accuracy and efficiency. shadowAttn delivers the best performance with highly limited CPU/GPU resource; it requires much less CPU/GPU resource to deliver on-par performance of SoTA frameworks.

📄 PDF Abstract BibTeX arXiv:2508.16703

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Heterogeneous Data-Centric Architectures for Modern Data-Intensive Applications: Case Studies in Machine Learning and Databases

2022-05-29 · Geraldo F. Oliveira, Amirali Boroumand, Saugata Ghose, Juan Gómez-Luna 외

Today's computing systems require moving data back-and-forth between computing resources (e.g., CPUs, GPUs, accelerators) and off-chip main memory so that computation can take place on the data. Unfortunately, this data …

Egocentric Gesture Recognition Using Recurrent 3D Convolutional Neural Networks With Spatiotemporal Transformer Modules

2017-10-01 · ICCV 2017 10 · Congqi Cao, Yifan Zhang, Yi Wu, Hanqing Lu 외

Gesture is a natural interface in interacting with wearable devices such as VR/AR helmet and glasses. The main challenge of gesture recognition in egocentric vision arises from the global camera motion caused by the spon…

Gesture Recognition

EgoQR: Efficient QR Code Reading in Egocentric Settings

2024-10-07 · Mohsen Moslehpour, Yichao Lu, Pierce Chuang, Ashish Shenoy 외

QR codes have become ubiquitous in daily life, enabling rapid information exchange. With the increasing adoption of smart wearable devices, there is a need for efficient, and friction-less QR code reading capabilities fr…

Friction

Beyond the Memory Wall: A Case for Memory-centric HPC System for Deep Learning

2019-02-18 · Youngeun Kwon, Minsoo Rhu

As the models and the datasets to train deep learning (DL) models scale, system architects are faced with new challenges, one of which is the memory capacity bottleneck, where the limited physical memory inside the accel…

Deep Learning

Sense, Predict, Adapt, Repeat: A Blueprint for Design of New Adaptive AI-Centric Sensing Systems

2023-12-11 · Soheil Hor, Amin Arbabian

As Moore's Law loses momentum, improving size, performance, and efficiency of processors has become increasingly challenging, ending the era of predictable improvements in hardware performance. Meanwhile, the widespread …