LungXAI
Research Prototype

CHEST X-RAY CLASSIFICATION

Chest X-Ray Analysis

Upload a chest X-ray image to compare three deep learning models and explore their explanations.

✓ Image is sent only to your own backend server

Upload image

Select a chest X-ray image to start the analysis.

STEP 01

No image selected yet.

MODEL OUTPUT

Classification results

Compare predicted classes and confidence scores across the three models.

STEP 02
MODEL 01

ResNet50

—

Predicted class

Confidence—
    MODEL 02

    DenseNet121

    —

    Predicted class

    Confidence—
      MODEL 03

      EfficientNetB0

      —

      Predicted class

      Confidence—
        i Upload an image and press “Analyze image” to see each model's prediction.

        MODEL EXPLAINABILITY

        Explainable AI (XAI)

        Inspect the image regions that contribute to each model prediction.

        STEP 03
        ◎
        Visualization preview Upload and analyze an image to display the XAI output.
        No visualization available
        GRAD-CAM

        Gradient-weighted Class Activation Mapping

        Grad-CAM highlights image regions that contribute to a selected class prediction by using gradients flowing into the final convolutional layer.

        Lower attention
        Higher attention

        XAI images are generated on demand by the backend (Grad-CAM / Grad-CAM++ on the last convolutional feature map, LIME via superpixel perturbation). The explained class is the model's top predicted class.

        EXPERIMENTAL VALIDATION

        Research evaluation

        Quantitative XAI evaluation metrics calculated for the analyzed image.

        STEP 04
        Pointing Game Score—Localization · RQ1
        Energy-Based Metric—Localization · RQ1
        Spearman Correlation—Consistency · RQ2
        Top-K Overlap—Consistency · RQ2
        Occlusion Test—Shortcut analysis · RQ3
        Deletion / Insertion AUC—Faithfulness
        ✓Metrics are computed dynamically for the analyzed chest X-ray image according to the evaluation methods in testing.ipynb.