Differentiable Adaptive Computation Time for Visual Reasoning
Abstract
This paper presents a novel attention-based algorithm for achieving adaptive computation called DACT, which, unlike existing ones, is end-to-end differentiable. Our method can be used in conjunction with many networks; in particular, we study its application to the widely know MAC architecture, obtaining a significant reduction in the number of recurrent steps needed to achieve similar accuracies, therefore improving its performance to computation ratio. Furthermore, we show that by increasing the maximum number of steps used, we surpass the accuracy of even our best non-adaptive MAC, demonstrating that our approach is able to control the number of steps without impacting performance. Additional advantages provided by our approach include significantly improving interpretability by discarding useless steps and providing more insights into the underlying reasoning process. Finally, we present adaptive computation as an equivalent to an ensemble of models, similar to a mixture of expert formulation. Both the code and the configuration files for our experiments are made available to support further research in this area.
Más información
Editorial: | IEEE |
Fecha de publicación: | 2020 |
Año de Inicio/Término: | 13-19 June 2020 |
URL: | https://arxiv.org/abs/2004.12770 |