Layer Ensembles

Illia Oleksiienko, Alexandros Iosifidis
10/10/2022
3 citations
cs.LG

Official code: iliiliiliili/layer-ensembles-pytorch (1 star, Python, Apache-2.0, last commit 2023-01-30). 1 more implementation below.

Abstract

Deep Ensembles, as a type of Bayesian Neural Networks, can be used to estimate uncertainty on the prediction of multiple neural networks by collecting votes from each network and computing the difference in those predictions. In this paper, we introduce a method for uncertainty estimation that considers a set of independent categorical distributions for each layer of the network, giving many more possible samples with overlapped layers than in the regular Deep Ensembles.

Show full abstract

We further introduce an optimized inference procedure that reuses common layer outputs, achieving up to 19x speed up and reducing memory usage quadratically. We also show that the method can be further improved by ranking samples, resulting in models that require less memory and time to run while achieving higher uncertainty quality than Deep Ensembles.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
iliiliiliili/layer-ensembles-pytorchOfficial1PythonApache-2.02023-01-30
iliiliiliili/layer-ensembles-enn-jaxOfficial0PythonApache-2.02025-11-18
Apache-2.0

Layer Ensembles PyTorch implementation

10Python, RJan 30, 20233 years agoApache-2.0
Apache-2.0

Layer Ensemble implementation in JAX with ENNs experiments

00Python, Jupyter NotebookJan 30, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{oleksiienko2022layer,
  title  = {Layer Ensembles},
  author = {Illia Oleksiienko and Alexandros Iosifidis},
  year   = {2022},
  eprint = {2210.04882},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.04882}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.04882.svg)](https://codeofpaper.com/paper/2210.04882)

Discussion