paper-with-me

홈 › Papers

PatDNN: Achieving Real-Time DNN Execution on Mobile Devices with Pattern-based Weight Pruning

2020-01-01 · Wei Niu, Xiaolong Ma, Sheng Lin, Shihao Wang, Xuehai Qian, Xue Lin, Yanzhi Wang, Bin Ren

With the emergence of a spectrum of high-end mobile devices, many applications that formerly required desktop-level computation capability are being transferred to these devices. However, executing the inference of Deep Neural Networks (DNNs) is still challenging considering high computation and storage demands, specifically, if real-time performance with high accuracy is needed. Weight pruning of DNNs is proposed, but existing schemes represent two extremes in the design space: non-structured pruning is fine-grained, accurate, but not hardware friendly; structured pruning is coarse-grained, hardware-efficient, but with higher accuracy loss. In this paper, we introduce a new dimension, fine-grained pruning patterns inside the coarse-grained structures, revealing a previously unknown point in design space. With the higher accuracy enabled by fine-grained pruning patterns, the unique insight is to use the compiler to re-gain and guarantee high hardware efficiency. In other words, our method achieves the best of both worlds, and is desirable across theory/algorithm, compiler, and hardware levels. The proposed PatDNN is an end-to-end framework to efficiently execute DNN on mobile devices with the help of a novel model compression technique (pattern-based pruning based on extended ADMM solution framework) and a set of thorough architecture-aware compiler- and code generation-based optimizations (filter kernel reordering, compressed weight storage, register load redundancy elimination, and parameter auto-tuning). Evaluation results demonstrate that PatDNN outperforms three state-of-the-art end-to-end DNN frameworks, TensorFlow Lite, TVM, and Alibaba Mobile Neural Network with speedup up to 44.5x, 11.4x, and 7.1x, respectively, with no accuracy compromise. Real-time inference of representative large-scale DNNs (e.g., VGG-16, ResNet-50) can be achieved using mobile devices.

📄 PDF Abstract BibTeX arXiv:2001.00138

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationModel Compression

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
ADMM The alternating direction method of multipliers (ADMM) is an algorithm that solves convex optimization problems by breaking them into smaller pieces, each of which are…

Similar Papers 제목 키워드 기반

GRIM: A General, Real-Time Deep Learning Inference Framework for Mobile Devices based on Fine-Grained Structured Weight Sparsity

2021-08-25 · Wei Niu, Zhengang Li, Xiaolong Ma, Peiyan Dong 외

It is appealing but challenging to achieve real-time deep neural network (DNN) inference on mobile devices because even the powerful modern mobile devices are considered as ``resource-constrained'' when executing large-s…

Code GenerationCompiler Optimization

Real-Time Execution of Large-scale Language Models on Mobile

2020-09-15 · Wei Niu, Zhenglun Kong, Geng Yuan, Weiwen Jiang 외

Pre-trained large-scale language models have increasingly demonstrated high accuracy on many natural language processing (NLP) tasks. However, the limited weight storage and computational speed on hardware platforms have…

CPUEdge-computingGPU

RT3D: Achieving Real-Time Execution of 3D Convolutional Neural Networks on Mobile Devices

2020-07-20 · Wei Niu, Mengshu Sun, Zhengang Li, Jou-An Chen 외

Mobile devices are becoming an important carrier for deep learning tasks, as they are being equipped with powerful, high-end mobile CPUs and GPUs. However, it is still a challenging task to execute 3D Convolutional Neura…

Code GenerationModel Compression

Towards Real-Time DNN Inference on Mobile Platforms with Model Pruning and Compiler Optimization

2020-04-22 · Wei Niu, Pu Zhao, Zheng Zhan, Xue Lin 외

High-end mobile platforms rapidly serve as primary computing devices for a wide range of Deep Neural Network (DNN) applications. However, the constrained computation and storage resources on these devices still pose sign…

Compiler OptimizationStyle TransferSuper-Resolution

MobileUse: A GUI Agent with Hierarchical Reflection for Autonomous Mobile Operation

2025-07-21 · Ning Li, Xiangmou Qu, Jiamu Zhou, Jun Wang 외 arxiv

Recent advances in Multimodal Large Language Models (MLLMs) have enabled the development of mobile agents that can understand visual inputs and follow user instructions, unlocking new possibilities for automating complex…