arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1911.13237cs.LGcs.CVcs.DCstat.ML
收藏

领域感知动态网络

Domain-Aware Dynamic Networks

Peking University(北京大学);University of California, Berkeley(加州大学伯克利分校)

Tianyuan Zhang, Bichen Wu, Xin Wang, Joseph Gonzalez, Kurt Keutzer

摘要:

具有更多参数和FLOP的深度神经网络具有更高的容量,并且可以更好地推广到不同的领域。但是要部署在边缘设备上,由于有限的计算资源,模型的复杂性必须受到限制。在这项工作中,我们提出了一种方法来提高模型的能力,而不增加推理时间复杂度。我们的方法是基于数据局部性的假设:对于一个边缘设备,在很短的时间内,设备的输入数据是从一个单一的域与相对较低的多样性采样。因此,可以利用专门的低复杂度模型在该输入域中实现良好的性能。为了利用这一点,我们提出了域感知动态网络(DDN),这是一个高容量的动态网络,其中每一层包含多个权重。在推理过程中,基于输入域,DDN动态地将这些权重组合成一个专用于给定域的单个权重。这样,DDN可以保持推理时间复杂度低,但仍然保持高容量。实验表明,在不增加参数,FLOPs和实际延迟,DDN实现高达2.6%的AP50比静态网络上的BDD 100K对象检测基准。

英文摘要:

Deep neural networks with more parameters and FLOPs have higher capacity and generalize better to diverse domains. But to be deployed on edge devices, the model's complexity has to be constrained due to limited compute resource. In this work, we propose a method to improve the model capacity without increasing inference-time complexity. Our method is based on an assumption of data locality: for an edge device, within a short period of time, the input data to the device are sampled from a single domain with relatively low diversity. Therefore, it is possible to utilize a specialized, low-complexity model to achieve good performance in that input domain. To leverage this, we propose Domain-aware Dynamic Network (DDN), which is a high-capacity dynamic network in which each layer contains multiple weights. During inference, based on the input domain, DDN dynamically combines those weights into one single weight that specializes in the given domain. This way, DDN can keep the inference-time complexity low but still maintain a high capacity. Experiments show that without increasing the parameters, FLOPs, and actual latency, DDN achieves up to 2.6\% higher AP50 than a static network on the BDD100K object-detection benchmark.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑