Skip to main content

RELAX: a framework for explainability in representation learning.

Project description

RELAX: Representation Learning Explainability

..... currently under major reconstruction .....

This repository contains code for RELAX, a framework for representation learning explainability. RELAX is based on perturbation-based explainability and work by measuring the change in the representation space as parts of the input are masked out.

When should you use RELAX? If your output is a vector representation and you have no label information.

More information can be found in the paper: Representation Learning Explainability (Wickstrøm et al., 2023), (Wickstrøm et al., 2022)

You can see RELAX used in practice in medical image retrieval in the paper: A clinically motivated self-supervised approach for content-based image retrieval of CT liver images (Wickstrøm et al., 2023), (Wickstrøm et al., 2022)

Installation

RELAX can be installed using pip as follows:

pip install relax-xai

Citation

If you find RELAX interesting and use it in your research, use the following Bibtex annotation to cite:

@article{wickstrom2023relax,
  author  = {Wickstr\o{}m, Kristoffer K. and Trosten, Daniel J. and L\o{}kse, Sigurd and Boubekki, Ahc\`{e}ne and Mikalsen, Karl \o{}yvind and Kampffmeyer, Michael C. and Jenssen, Robert},
  title   = {RELAX: Representation Learning Explainability},
  journal = {International Journal of Computer Vision},
  year    = {2023},
  volume  = {131},
  number  = {6},
  pages   = {1584–1610},
  url     = {https://doi.org/10.1007/s11263-023-01773-2}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

relax_xai-0.0.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

relax_xai-0.0.4-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file relax_xai-0.0.4.tar.gz.

File metadata

  • Download URL: relax_xai-0.0.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for relax_xai-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b4f97b212e137612abb11ff58b22d5d75bec0c7582e9fdfbb7297ebf40cdbf77
MD5 b5607725e59ac666e465826d73249c20
BLAKE2b-256 d4c82db2dc3aa12dc5d43c6aecc568d6a90204604cc8ce314644ce1084655d20

See more details on using hashes here.

File details

Details for the file relax_xai-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: relax_xai-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for relax_xai-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bae5518edc2477fe7f6acde821c5ff940b8793bf85afd34ef62a27f28d8cf608
MD5 16abd7fc7365bd7f4a5c55bc485517c9
BLAKE2b-256 19f053842abdfdcb5b425eb8599d884f0ba9dca431585addf18a4af19e7d5dc3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page