Skip to main content

Explanatory Factor Analysis for CNNs

Project description

Explainable Layer Factor Analysis for CNNs (ELFA-CNNs)

Convolutional Neural Networks (CNNs) interpretability through the analysis of the encoded features.


ELFA (Explainable Layer Factor Analysis) is an explanatory method which identifies the essential features underlying convolutional layers. Given a convolution and relying on factor analysis, ELFA provides:

  • A mathematically well-founded identification of the essential underlying features.
  • A quantification of their impact on the original channels.
  • Insights into how channels are related, their importance, and redundancy.
  • A visualization of the essential features through the Essential Attribution Maps (EFAM) and the intrinsic features inversion.

As a result, ELFA obtains an accurate and well-founded summary of the features encoded in the convolutional layer. Moreover, it analyzes the layer as a whole, avoiding the choice of channels, and guarantees that the relevant features are being evaluated.


Layer Factor Analysis

Layer Factor Analysis is a statistical method that describes convolutional layers by a factor analysis model. As part of the ELFA strategy, this proposal applies the mathematical concepts of factor analysis on convolutional layers to explain the encoded knowledge.

The adequacy of the data and the quality of the estimated models can be verified, for which novel validity metrics are defined.

The parameters of the factorial model are used to provide explanations.


Citation

For a detailed description of technical details and experimental results, please refer to:

Clara I. López-González, María J. Gómez-Silva, Eva Besada-Portas, Gonzalo Pajares: Layer factor analysis in convolutional neural networks for explainability

If you use this, please cite:

@article{
LopezGonzalez2024ELFA,
title = {Layer factor analysis in convolutional neural networks for explainability},
author = {Clara I. López-González and María J. Gómez-Silva and Eva Besada-Portas and Gonzalo Pajares},
journal = {Applied Soft Computing},
volume = {150},
pages = {111094},
year = {2024},
issn = {1568-4946},
doi = {https://doi.org/10.1016/j.asoc.2023.111094},
}

Project status

Project is under development but should be stable. Please expect interfaces to change in future releases.

Installation

Using pip

pip install elfa

Documentation

Still under development.

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

elfa-0.0.7.tar.gz (123.9 kB view details)

Uploaded Source

Built Distribution

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

elfa-0.0.7-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file elfa-0.0.7.tar.gz.

File metadata

  • Download URL: elfa-0.0.7.tar.gz
  • Upload date:
  • Size: 123.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.10

File hashes

Hashes for elfa-0.0.7.tar.gz
Algorithm Hash digest
SHA256 62e9be8084d1f5d8007f56e0c5729ca8811e7a9646c9bad5d11f6830bdac719b
MD5 09f464588c17e5273e08eee156f114f1
BLAKE2b-256 cf4b78cb79fea3f9237b6ff0ac806f9a75809e32845513681f75463e7478f847

See more details on using hashes here.

File details

Details for the file elfa-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: elfa-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.10

File hashes

Hashes for elfa-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6bfde3d233a4b879d9ea81c5b04803bc552a20a1dcab6a7a05b7956ab8efd286
MD5 9566e44dcdae939f9b10cade4022df4c
BLAKE2b-256 42612dbe7c1017bd408dea5eeead1d6458943ec2c9a9592fc5e2e8d3f5e8f47d

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