1. CoDiNet: Path Distribution Modeling With Consistency and Diversity for Dynamic Routing
- Author
-
Huanyu Wang, Xi Li, Songyuan Li, and Zequn Qin
- Subjects
FOS: Computer and information sciences ,Artificial neural network ,Semantics (computer science) ,business.industry ,Computer science ,Computer Vision and Pattern Recognition (cs.CV) ,Applied Mathematics ,Distributed computing ,Computer Science - Computer Vision and Pattern Recognition ,Inference ,Space mapping ,Consistency (database systems) ,Computational Theory and Mathematics ,Artificial Intelligence ,Path (graph theory) ,Computer Science::Networking and Internet Architecture ,Sample space ,Computer Vision and Pattern Recognition ,Artificial intelligence ,Routing (electronic design automation) ,business ,Software - Abstract
Dynamic routing networks, aimed at finding the best routing paths in the networks, have achieved significant improvements to neural networks in terms of accuracy and efficiency. In this paper, we see dynamic routing networks in a fresh light, formulating a routing method as a mapping from a sample space to a routing space. From the perspective of space mapping, prevalent methods of dynamic routing did not take into account how inference paths would be distributed in the routing space. Thus, we propose a novel method, termed CoDiNet, to model the relationship between a sample space and a routing space by regularizing the distribution of routing paths with the properties of consistency and diversity. Specifically, samples with similar semantics should be mapped into the same area in routing space, while those with dissimilar semantics should be mapped into different areas. Moreover, we design a customizable dynamic routing module, which can strike a balance between accuracy and efficiency. When deployed upon ResNet models, our method achieves higher performance and effectively reduces average computational cost on four widely used datasets.
- Published
- 2022