Skip to content

lukakeso/XAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XAI

This is the main repository for the QAML project on TUB. The repository was created for a project that was part of Quality Assurance for Machine Learning course at the Technical University of Berlin.

To use this repository as intended you should have a NVIDIA GPU with appropriate NVIDIA driver and CUDA versions that are compatible with PyTorch. The majority of the work was done in the provided Collab notebook.

Dataset

The dataset used in this project can be downloaded from here

Task description

We were given a set of datasets containing images of dogs and cats, with each dataset having different watermark distribution. Our task was to find the differences of the datasets and the models (binary classifiers) trained on each of them and try to explain the behaviour. We used explainability methods such as Integrated Gradients, SHAP, LRP and others using the Captum library for Model Interpretability in PyTorch.

We also proposed our own metric for quantifying watermark presence/activation of the model as ratio of mask energies.

Examples

Cat VS Cat w/ watermark

image image

Dog VS Dog w/ watermark

image image

Example of masking

image image

About

Explainable AI for image data. Watermark detection use case.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published