paper-with-me

Papers

Improving the Performance of DNN-based Software Services using Automated Layer Caching

2022-09-18 · Mohammadamin Abedi, Yanni Iouannou, Pooyan Jamshidi, Hadi Hemmati

Deep Neural Networks (DNNs) have become an essential component in many application domains including web-based services. A variety of these services require high throughput and (close to) real-time features, for instance, to respond or react to users' requests or to process a stream of incoming data on time. However, the trend in DNN design is toward larger models with many layers and parameters to achieve more accurate results. Although these models are often pre-trained, the computational complexity in such large models can still be relatively significant, hindering low inference latency. Implementing a caching mechanism is a typical systems engineering solution for speeding up a service response time. However, traditional caching is often not suitable for DNN-based services. In this paper, we propose an end-to-end automated solution to improve the performance of DNN-based services in terms of their computational complexity and inference latency. Our caching method adopts the ideas of self-distillation of DNN models and early exits. The proposed solution is an automated online layer caching mechanism that allows early exiting of a large model during inference time if the cache model in one of the early exits is confident enough for final prediction. One of the main contributions of this paper is that we have implemented the idea as an online caching, meaning that the cache models do not need access to training data and perform solely based on the incoming data at run-time, making it suitable for applications using pre-trained models. Our experiments results on two downstream tasks (face and object classification) show that, on average, caching can reduce the computational complexity of those services up to 58\% (in terms of FLOPs count) and improve their inference latency up to 46\% with low to zero reduction in accuracy.

📄 PDF Abstract BibTeX arXiv:2209.08625

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음
Early exiting Exit whenever the model is confident enough allowing early exiting from hidden layers

Similar Papers 제목 키워드 기반

SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Models

2024-05-24 · Jiaxing Li, Chi Xu, Feng Wang, Isaac M von Riedemann 외

Large Language Models (LLMs) have become increasingly popular, transforming a wide range of applications across various domains. However, the real-world effectiveness of their query cache systems has not been thoroughly …

Dynamic Task Software Caching-assisted Computation Offloading for Multi-Access Edge Computing

2022-08-15 · Zhixiong Chen, Wenqiang Yi, Atm S. Alam, Arumugam Nallanathan

In multi-access edge computing (MEC), most existing task software caching works focus on statically caching data at the network edge, which may hardly preserve high reusability due to the time-varying user requests in pr…

Edge-computing

CEFAT4Cities, a Natural Language Layer for the ISA2 Core Public Service Vocabulary

2020-11-01 · EAMT 2020 11 · Joachim Van den Bogaert, Arne Defauw, Sara Szoc, Frederic Everaert 외

The CEFAT4Cities project (2020-2022) will create a “Smart Cities natural language context” (a software layer that facilitates the conversion of natural-language administrative procedures, into machine-readable data sets)…

Translation

Analysis and Optimization of Service Delay for Multi-quality Videos in Multi-tier Heterogeneous Network with Random Caching

2020-07-21 · Xuewei Zhang, Tiejun Lv, Yuan Ren, Wei Ni 외

Aiming to minimize service delay, we propose a new random caching scheme in device-to-device (D2D)-assisted heterogeneous network. To support diversified viewing qualities of multimedia video services, each video file is…

PA-Cache: Evolving Learning-Based Popularity-Aware Content Caching in Edge Networks

2020-02-20 · Qilin Fan, Xiuhua Li, Jian Li, Qiang He 외

As ubiquitous and personalized services are growing boomingly, an increasingly large amount of traffic is generated over the network by massive mobile devices. As a result, content caching is gradually extending to netwo…

Decision Making