Deep Insight And Neural Network Analysis, DIANNA is the only Explainable AI, XAI library for scientists supporting Open Neural Network Exchange, ONNX - the de facto standard models format.

458 commits | Last update: May 05, 2022

Cite this software

Choose a version:
[[ releases.length > 0 ? releases[selectedIndex].doi : conceptDOI ]]
Copy to clipboard
Choose a reference manager file format:
Download file

What DIANNA can do for you

  • Provides an easy-to-use interface for non (X)AI experts
  • Implements well-known XAI methods (LIME, RISE and Kernal SHAP) chosen by systematic and objective evaluation criteria
  • Supports the de-facto standard of neural network models - ONNX
  • Supports both images and text data modalities, time series and tabular data are to be added
  • Comes with simple intuitive image and text benchmarks
  • Easily extendable to other XAI methods

Modern scientific challenges are often tackled with (Deep) Neural Networks (DNN). Despite their high predictive accuracy, DNNs lack inherent explainability. Many scientists do not harvest DNNs power because of lack of trust and understanding of their working. Meanwhile, the eXplainable AI (XAI) research offers some post-hoc (after training) interpretability methods that provide insight into the DNN reasoning by quantifying the relevance of individual features (image pixels, words in text, etc.) with respect to the prediction. These relevance heatmaps indicate how the network has reached its decision directly in the input modality (images, text, speech etc.) of the scientific data. Representing visually the captured knowledge by the AI system can become a source of scientific insights. There are many Open Source Software (OSS) implementations of these methods, alas, supporting a single DNN format, while standards like Open Neural Network eXchange (ONNX) exist. The libraries are known mostly by the AI experts. For the adoption by the wide scientific community, understanding of the XAI methods, and well-documented and standardized OSS are needed. The DIANNA library supports the best XAI methods in the context of scientific usage providing their OSS implementation based on the ONNX standard and demonstrations on benchmark datasets.

Read more
  • Machine learning
  • Visualization
  • Image processing
  • Text analysis & natural language processing
Programming Language
  • Python
  • Apache-2.0
Source code

Participating organizations


  • Elena Ranguelova
    Netherlands eScience Center
  • Christiaan Meijer
    Netherlands eScience Center
  • Leon Oostrum
    Netherlands eScience Center
  • Yang Liu
    Netherlands eScience Center
  • Patrick Bos
    Netherlands eScience Center
  • Giulia Crocioni
    Netherlands eScience Center
Contact person
Elena Ranguelova
Netherlands eScience Center

Information for page maintainers

OAI-PMH metadata:
citation metadata: