Skip to main content
QUICK REVIEW

[Paper Review] Interpretability Beyond Classification Output: Semantic Bottleneck Networks

Max Losch, Mario Fritz|arXiv (Cornell University)|Jul 25, 2019
Explainable Artificial Intelligence (XAI)Computer Science33 references28 citations
TL;DR

This paper introduces Semantic Bottleneck Networks (SBN), a method to embed semantically interpretable intermediate layers into deep learning models by mapping high-level features to predefined semantic concepts (e.g., object parts, materials). Despite reducing feature dimensions from thousands to tens of channels, SBN maintains state-of-the-art performance on street scene segmentation and enables full interpretability of predictions, including failure analysis and confidence estimation with over 99% accuracy for 76.3% of pixels.

ABSTRACT

Today's deep learning systems deliver high performance based on end-to-end training. While they deliver strong performance, these systems are hard to interpret. To address this issue, we propose Semantic Bottleneck Networks (SBN): deep networks with semantically interpretable intermediate layers that all downstream results are based on. As a consequence, the analysis on what the final prediction is based on is transparent to the engineer and failure cases and modes can be analyzed and avoided by high-level reasoning. We present a case study on street scene segmentation to demonstrate the feasibility and power of SBN. In particular, we start from a well performing classic deep network which we adapt to house a SB-Layer containing task related semantic concepts (such as object-parts and materials). Importantly, we can recover state of the art performance despite a drastic dimensionality reduction from 1000s (non-semantic feature) to 10s (semantic concept) channels. Additionally we show how the activations of the SB-Layer can be used for both the interpretation of failure cases of the network as well as for confidence prediction of the resulting output. For the first time, e.g., we show interpretable segmentation results for most predictions at over 99% accuracy.

Motivation & Objective

  • To address the lack of interpretability in end-to-end deep learning models by introducing inherently interpretable intermediate representations.
  • To enable engineers to inspect and reason about model decisions using human-understandable semantic concepts.
  • To maintain state-of-the-art performance while drastically reducing feature dimensionality through semantic bottleneck layers.
  • To provide tools for failure analysis by identifying missing or conflicting semantic evidence in predictions.
  • To estimate prediction confidence using interpretable semantic activations, improving reliability and trust in model outputs.

Proposed method

  • Retrospectively train a mapping function to project intermediate features from a pre-trained network into a predefined semantic space of task-relevant concepts.
  • Insert a Semantic Bottleneck (SB) layer into the original model, replacing the original feature layer, and fine-tune downstream layers.
  • Use a pyramid of spatial receptive fields (3x3) to aggregate semantic activations for robust prediction and confidence estimation.
  • Train a binary classifier on SB outputs to estimate confidence per class, using sigmoid output as a probability proxy.
  • Apply a two-stage filtering process to remove misclassified and potentially mislabeled samples when training the confidence predictor.
  • Utilize the SB layer’s activations to analyze error cases by identifying missing or conflicting semantic evidence.

Experimental results

Research questions

  • RQ1Can we embed semantically interpretable intermediate representations into deep learning models without sacrificing performance?
  • RQ2How can semantic bottleneck layers improve the interpretability of model decisions beyond final classification outputs?
  • RQ3Can semantic activations be used to diagnose failure cases by detecting missing or conflicting evidence?
  • RQ4Can a simple classifier on SB outputs provide reliable confidence estimates that correlate with prediction accuracy?
  • RQ5Can the model maintain state-of-the-art performance while reducing feature dimensionality from thousands to tens of semantic channels?

Key findings

  • The SBN achieves state-of-the-art performance on street scene segmentation despite reducing feature dimensions from thousands to tens of semantic channels.
  • The model enables interpretable segmentation results for over 99% of predictions, with clear visualization of semantic concept evidence.
  • Misclassifications are often attributable to missing or conflicting semantic evidence, such as blurred regions lacking part detection or surrounding textures overriding correct cues.
  • The confidence predictor based on a single hidden layer classifier achieves 76.3% of all pixels with over 99% accuracy, closely matching the non-interpretable baseline.
  • Classes with directly associable semantic concepts show more accurate confidence predictions, demonstrating the value of concept alignment in the SB.
  • The SB layer allows for hypothesis testing, such as determining whether adding specific semantic evidence would flip the prediction to the correct class.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.