URNet: User-Resizable Residual Networks with Conditional Gating Module


  • Sangho Lee Seoul National University
  • Simyung Chang Seoul National University
  • Nojun Kwak Samsung Electronics




Convolutional Neural Networks are widely used to process spatial scenes, but their computational cost is fixed and depends on the structure of the network used. There are methods to reduce the cost by compressing networks or varying its computational path dynamically according to the input image. However, since a user can not control the size of the learned model, it is difficult to respond dynamically if the amount of service requests suddenly increases. We propose User-Resizable Residual Networks (URNet), which allows users to adjust the computational cost of the network as needed during evaluation. URNet includes Conditional Gating Module (CGM) that determines the use of each residual block according to the input image and the desired cost. CGM is trained in a supervised manner using the newly proposed scale(cost) loss and its corresponding training methods. URNet can control the amount of computation and its inference path according to user's demand without degrading the accuracy significantly. In the experiments on ImageNet, URNet based on ResNet-101 maintains the accuracy of the baseline even when resizing it to approximately 80% of the original network, and demonstrates only about 1% accuracy degradation when using about 65% of the computation.




How to Cite

Lee, S., Chang, S., & Kwak, N. (2020). URNet: User-Resizable Residual Networks with Conditional Gating Module. Proceedings of the AAAI Conference on Artificial Intelligence, 34(04), 4569-4576. https://doi.org/10.1609/aaai.v34i04.5886



AAAI Technical Track: Machine Learning