Discover and explore top open-source AI tools and projects—updated daily.
Library for neural networks that quantify uncertainty
Top 86.3% on SourcePulse
Epistemic Neural Networks (ENN) is a library for building neural networks that can quantify their own uncertainty. It provides a framework for modeling uncertainty in deep learning, allowing models to distinguish between genuine ambiguity in data and uncertainty due to insufficient training. The library is targeted at researchers and practitioners in deep learning who need robust uncertainty estimation.
How It Works
ENN is built on JAX and Haiku, offering a lightweight interface for Epistemic Neural Networks. The core concept is the EpistemicNetwork
, which pairs a Haiku-transformed network with an index sampler. This allows for joint predictions over multiple inputs, controlled by an epistemic index z
. The library provides interfaces for applying the network, initializing parameters, sampling indices, and defining loss functions, enabling the construction and training of various ENN architectures, including those not easily expressed as Bayesian Neural Networks.
Quick Start & Requirements
pip install git+https://github.com/deepmind/enn
Highlighted Details
Maintenance & Community
The project is from Google DeepMind. Further community or maintenance details are not explicitly provided in the README.
Licensing & Compatibility
The repository does not explicitly state a license in the provided README. Users should verify licensing for commercial or closed-source use.
Limitations & Caveats
The library is tested on Python 3.7, and compatibility with newer Python versions is not guaranteed. The README does not detail specific limitations or known issues with the ENN architectures or the library's implementation.
6 months ago
Inactive