Jointly Optimizing Preprocessing and Inference for DNN-based Visual Analytics
Daniel Kang, Ankit Mathur, Teja Veeramacheneni, Peter Bailis, Matei Zaharia
摘要
While deep neural networks (DNNs) are an increasingly popular way to query large corpora of data, their significant runtime remains an active area of research. As a result, researchers have proposed systems and optimizations to reduce these costs by allowing users to trade off accuracy and speed. In this work, we examine end-to-end DNN execution in visual analytics systems on modern accelerators. Through a novel measurement study, we show that the preprocessing of data (e.g., decoding, resizing) can be the bottleneck in many visual analytics systems on modern hardware.
To address the bottleneck of preprocessing, we introduce two optimizations for end-to-end visual analytics systems. First, we introduce novel methods of achieving accuracy and throughput trade-offs by using natively present, low-resolution visual data. Second, we develop a runtime engine for efficient visual DNN inference. This runtime engine a) efficiently pipelines preprocessing and DNN execution for inference, b) places preprocessing operations on the CPU or GPU in a hardware- and input-aware manner, and c) efficiently manages memory and threading for high throughput execution. We implement these optimizations in a novel system, Smol, and evaluate Smol on eight visual datasets. We show that its optimizations can achieve up to 5.9X end-to-end throughput improvements at a fixed accuracy over recent work in visual analytics.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CoVA: Exploiting Compressed-Domain Analysis to Accelerate Video Analytics 引用了 BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analytics
- Accelerating Approximate Aggregation Queries with Expensive Predicates 引用了 BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analytics
- Optimizing Video Analytics with Declarative Model Relationships 引用了 BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analytics
- Optimizing Video Analytics with Declarative Model Relationships 引用了 Accelerating Approximate Aggregation Queries with Expensive Predicates
引用它的顶会 Paper20
- End-to-end Optimization of Machine Learning Prediction QueriesKwanghyun Park, Karla Saur, Dalitso Banda, Rathijit Sen 等SIGMOD 2022 · 50 次引用
- Optimizing Video Analytics with Declarative Model RelationshipsFrancisco Romero, Johann Hauswald, Aditi Partap, Daniel Kang 等VLDB 2023 · 37 次引用
- Accelerating Approximate Aggregation Queries with Expensive PredicatesDaniel Kang, John Guibas, Peter Bailis, Tatsunori Hashimoto 等VLDB 2021 · 34 次引用
- Where Is My Training Bottleneck? Hidden Trade-Offs in Deep Learning Preprocessing PipelinesAlexander Isenko, Ruben Mayer, Jeffrey Jedele, Hans-Arno JacobsenSIGMOD 2022 · 30 次引用
- CoVA: Exploiting Compressed-Domain Analysis to Accelerate Video AnalyticsJinwoo Hwang, Minsu Kim, Daeun Kim, Seungho Nam 等USENIX ATC 2022 · 29 次引用
它引用的 Paper3
- MLPerf Inference BenchmarkVijay Janapa Reddi, Christine Cheng, David Kanter, Peter Mattson 等ISCA 2020 · 517 次引用
- BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video AnalyticsDaniel Kang, Peter Bailis, Matei ZahariaVLDB 2020 · 103 次引用
- EfficientDet: Scalable and Efficient Object DetectionMingxing Tan, Ruoming Pang, Quoc V. LeCVPR 2020
相关 Paper
- Beyond Inference: Performance Analysis of DNN Server Overheads for Computer VisionAhmed F. AbouElhamayed, Susanne Balle, Deshanand P. Singh, Mohamed S. AbdelfattahDAC 2024 · 3 次引用
- REDUCT: Keep it Close, Keep it Cool! : Efficient Scaling of DNN Inference on Multi-core CPUs with Near-Cache ComputeAnant V. Nori, Rahul Bera, Shankar Balachandran, Joydeep Rakshit 等ISCA 2021 · 17 次引用
- Analyzing and Mitigating Data Stalls in DNN TrainingJayashree Mohan, Amar Phanishayee, Ashish Raniwala, Vijay ChidambaramVLDB 2021 · 142 次引用
- Real-Time Multitasking of Deep Neural Networks With Nvidia TensorrtFederico Aromolo, Andrea Stevanato, Alessandro Biondi, Giorgio C. ButtazzoRTSS 2025 · 1 次引用
- Neural Rate Estimator and Unsupervised Learning for Efficient Distributed Image Analytics in Split-DNN modelsNilesh A. Ahuja, Parual Datta, Bhavya Kanzariya, V. Srinivasa Somayazulu 等CVPR 2023
