Sectum: Accurate Latency Prediction for TEE-hosted Deep Learning Inference

推论 延迟(音频) 计算机科学 人工智能 深度学习 调度(生产过程) 机器学习 运营管理 电信 经济
作者
Yan Li,Junming Ma,Donggang Cao,Hong Mei
标识
DOI:10.1109/icdcs54860.2022.00092
摘要

As the security issue of cloud-offloaded Deep Learning (DL) inference is drawing increasing attention, running DL inference in Trusted Execution Environments (TEEs) has become a common practice. Latency prediction of TEE-hosted DL model inference is essential for many scenarios, such as DNN model architecture searching with a latency constraint or layer scheduling in model-parallelism inference. However, existing solutions fail to address the memory over-commitment issue in resource-constrained environments inside TEEs.This paper presents Sectum, an accurate latency predictor for DL inference inside TEE enclaves. We first perform a synthetic empirical study to analyze the relationship between inference latency and memory occupation. Sectum predicts inference latency following a two-stage design based on some critical observations. First, Sectum uses a Graph Neural Network (GNN)-based model to detect whether a given model would trigger memory over-commitment in TEEs. Then, combining operator-level latency modeling with linear regression, Sectum could predict the latency of a model. To evaluate Sectum, we design a large dataset that contains the latency information of over 6k CNN models. Our experiments demonstrate that Sectum could achieve over 85% ±10% accuracy of latency prediction. To our knowledge, Sectum is the first method to predict TEE-hosted DL inference latency accurately.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
1秒前
行止完成签到,获得积分10
1秒前
1秒前
1秒前
1秒前
503503_发布了新的文献求助30
2秒前
鲤鱼大门发布了新的文献求助10
2秒前
阔达的镜子完成签到,获得积分20
2秒前
3秒前
3秒前
精明严青发布了新的文献求助10
3秒前
4秒前
才小艺发布了新的文献求助10
5秒前
6秒前
完美世界应助ljz采纳,获得10
7秒前
今天你签到了吗完成签到,获得积分10
7秒前
7秒前
kaw完成签到,获得积分10
7秒前
7秒前
红糖发布了新的文献求助10
7秒前
7秒前
帅气的昊焱完成签到 ,获得积分10
7秒前
8秒前
大力发布了新的文献求助10
8秒前
tian发布了新的文献求助10
9秒前
赘婿应助苒苒采纳,获得10
9秒前
9秒前
无语的大门完成签到,获得积分10
9秒前
Ramon发布了新的社区帖子
10秒前
周周发布了新的文献求助10
10秒前
陈明明发布了新的文献求助10
10秒前
强强完成签到,获得积分10
11秒前
12秒前
zhangyida发布了新的文献求助10
12秒前
12秒前
12秒前
忧郁中心关注了科研通微信公众号
13秒前
研友_VZG7GZ应助干净安露采纳,获得10
13秒前
1231231231发布了新的文献求助10
13秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
48V Low-voltage Power Distribution Network (PDN) Architecture Industry Report, 2024 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
Direct and Iterative Linear System Solvers 500
Plato's Parmenides. A Constructive Reading 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7301003
求助须知:如何正确求助?哪些是违规求助? 8919355
关于积分的说明 18890898
捐赠科研通 6965728
什么是DOI,文献DOI怎么找? 3211290
关于科研通互助平台的介绍 2380363
邀请新用户注册赠送积分活动 2188075