Deep Neural Networks (DNNs) have been widely applied in Internet of Things (IoT) systems for various tasks such as image classification and object detection. However, heavyweight DNN models can hardly be deployed on edge devices due to limited computational resources. In this paper, an edge-cloud cooperation framework is proposed to improve inference accuracy while maintaining low inference latency. To this end, we deploy a lightweight model on the edge and a heavyweight model on the cloud. A reinforcement learning (RL)-based DNN compression approach is used to generate the lightweight model suitable for the edge from the heavyweight model. Moreover, a supervised learning (SL)-based offloading strategy is applied to determine whether the sample should be processed on the edge or on the cloud. Our method is implemented on real hardware and tested on multiple datasets. The experimental results show that (1) The sizes of the lightweight models obtained by RL-based DNN compression are up to 87.6% smaller than those obtained by the baseline method; (2) SL-based offloading strategy makes correct offloading decisions in most cases; (3) Our method reduces up to 78.8% inference latency and achieves higher accuracy compared with the cloud-only strategy.
Playing the lottery with rewards and multiple languages: lottery tickets in RL and NLP
Facebook AI Research(脸书人工智能研究院)
彩票假说提出,深度神经网络(DNN)的过度参数化通过增加“幸运”子网络初始化的概率来帮助训练,而不是帮助优化过程(Frankle & Carbin,2019)。有趣的是,这种现象表明DNN的初始化策略可以得到大幅改进,但彩票假设之前只在自然图像任务的监督学习中进行过测试。在这里,我们评估“中奖票”初始化是否存在于两个不同的领域:自然语言处理(NLP)和强化学习(RL)。对于NLP,我们检查了循环LSTM模型和大规模Transformer模型(Vaswani et al.,2017年)的报告。对于RL,我们分析了一些离散动作空间任务,包括经典控制和像素控制。与沃金监督图像分类一致,我们确认中奖票初始化通常优于参数匹配的随机初始化,即使在NLP和RL的极端修剪率下。值得注意的是,我们能够找到Transformers的获胜门票初始化,使模型的三分之一大小,以实现几乎相同的性能。总之,这些结果表明,彩票假设并不局限于自然图像的监督学习,而是代表了DNN中更广泛的现象。
Backdoor Defense via Decoupling the Training Process
Zhejiang University(浙江大学);Tsinghua University(清华大学);Shenzhen Research Institute of Big Data(深圳大数据研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))