How-To Guides

This section provides practical, task-oriented examples demonstrating how to apply XAITK-Saliency across a range of domains—from image classification and object detection to explainability in similarity scoring and reinforcement learning. These guides are implemented as Jupyter notebooks located in the docs/examples/ folder of the repository.

Each notebook walks through how to accomplish a specific task using XAITK-Saliency’s tools and APIs. For further detail on these APIs, refer to the Reference topics Implementations and Interfaces.

Image Classification

  • Classifying COVID-19 in Chest X-rays

    Interpret model predictions on chest X-ray images using saliency maps.

View notebook.

  • Generating Saliency for MNIST with scikit-learn

    Apply saliency techniques to scikit-learn classifiers on the MNIST dataset.

View notebook.

  • Comparing Saliency Across Models

    Visualize and compare explanations from different classifiers.

View notebook.

Object Detection

  • Generating Detection Saliency via Serialization

    Produce saliency maps for serialized detections in COCO format.

View notebook.

  • Applying Occlusion Saliency in VIAME

    Perform occlusion-based saliency analysis for classifying marine species with the VIAME toolkit.

View notebook.

Advanced Saliency Techniques

  • Swapping Saliency Techniques in a Classification Pipeline

    Modularize and switch between saliency methods in an application workflow.

View notebook.

  • Estimating Saliency with Multi-Color RISE

    Generate saliency maps with uncertainty quantification using MC-RISE.

View notebook.

  • Applying Radial Perturbations to Images

    Analyze model sensitivity by applying radial perturbations to input images.

View notebook.

  • Generating Superpixel-Based Saliency Maps

    Use superpixels as spatial units for interpretable saliency mapping.

View notebook.

Other Applications

  • Applying Saliency to Atari Game Agents

    Visualize saliency in deep reinforcement learning agents trained on Atari games.

View notebook.

  • Explaining Similarity Scores with Saliency

    Use saliency maps to interpret similarity scoring systems.

View notebook.