TRADI: Tracking deep neural network weight distributions

Gianni Franchi   Andrei Bursuc   Emanuel Aldea   Severine Dubuisson   Isabelle Bloch

ECCV 2020


project teaser


During training, the weights of a Deep Neural Network (DNN) are optimized from a random initialization towards a nearly optimum value minimizing a loss function. Only this final state of the weights is typically kept for testing, while the wealth of information on the geometry of the weight space, accumulated over the descent towards the minimum is discarded. In this work we propose to make use of this knowledge and leverage it for computing the distributions of the weights of the DNN. This can be further used for estimating the epistemic uncertainty of the DNN by sampling an ensemble of networks from these distributions. To this end we introduce a method for tracking the trajectory of the weights during optimization, that does not require any changes in the architecture nor on the training procedure. We evaluate our method on standard classification and regression benchmarks, and on out-of-distribution detection for classification and semantic segmentation. We achieve competitive results, while preserving computational efficiency in comparison to other popular approaches.


Results on a synthetic regression task comparing MC dropout, Deep Ensembles, and TRADI. $x$-axis: spatial coordinate of the Gaussian process. Black lines: ground truth curve. Blue points: training points. Orange areas: estimated variance.

Distinguishing in- and out-of-distribution data for semantic segmentation (CamVid, StreetHazards, BDD Anomaly) and image classification (MNIST/notMNIST).

Qualitative results on CamVid-OOD. Columns: $(a)$ input image and ground truth; $(b)-(d)$ predictions and confidence scores by MC Dropout, Deep Ensembles, and TRADI. Rows: $(1)$ input and confidence maps; $(2)$ class predictions; $(3)$ zoomed-in area on input and confidence maps


  title={TRADI: Tracking deep neural network weight distributions},
  author={Franchi, Gianni and Bursuc, Andrei and Aldea, Emanuel and Dubuisson, S{\'e}verine and Bloch, Isabelle},
  journal={arXiv preprint arXiv:1912.11316},