Model Guidance via Explanations Turns Image Classifiers into Segmentation Models

Xiaoyan Yu
Max-Delbrueck-Center for Molecular Medicine
in the Helmholtz Association (MDC)
Humboldt-Universität zu Berlin
[email protected] &Jannik Franzen
Max-Delbrueck-Center for Molecular Medicine
in the Helmholtz Association (MDC)
Helmholtz Imaging
&Wojciech Samek
Fraunhofer Heinrich Hertz Institute
Technical University of Berlin
BIFOLD – Berlin Institute for the Foundations of Learning and Data
\ANDMarina M.-C. Höhne
UMI Lab, ATB Potsdamn
University of Potsdam
&Dagmar Kainmueller
Max-Delbrueck-Center for Molecular Medicine
in the Helmholtz Association (MDC)
Helmholtz Imaging
University of Potsdam
Abstract

Heatmaps generated on inputs of image classification networks via explainable AI methods like Grad-CAM and LRP have been observed to resemble segmentations of input images in many cases. Consequently, heatmaps have also been leveraged for achieving weakly supervised segmentation with image-level supervision. On the other hand, losses can be imposed on differentiable heatmaps, which has been shown to serve for (1) improving heatmaps to be more human-interpretable, (2) regularization of networks towards better generalization, (3) training diverse ensembles of networks, and (4) for explicitly ignoring confounding input features. Due to the latter use case, the paradigm of imposing losses on heatmaps is often referred to as "Right for the right reasons". We unify these two lines of research by investigating semi-supervised segmentation as a novel use case for the Right for the Right Reasons paradigm. First, we show formal parallels between differentiable heatmap architectures and standard encoder-decoder architectures for image segmentation. Second, we show that such differentiable heatmap architectures yield competitive results when trained with standard segmentation losses. Third, we show that such architectures allow for training with weak supervision in the form of image-level labels and small numbers of pixel-level labels, outperforming comparable encoder-decoder models. Code is available at https://github.com/Kainmueller-Lab/TW-autoencoder.

Keywords Few-shot Learning  \cdot Semantic Segmentation  \cdot Layer-Wise Relevance Propagation.

1 Introduction

Ongoing advancements in explainable AI methodology aim to interpret model behavior and offer human-readable explanations. In the field of computer vision, methods that explain image classification network predictions in the form of heatmaps, i.e., assign relevance to each pixel of an input image, have gained wide popularity: Heatmaps are extensively leveraged to gauge the trustworthiness of classifiers, as they have been shown to detect biases and confounders in input images [1, 2].

The capacity to detect biases and confounders in input images goes naturally hand in hand with the capacity to locate target objects of the semantic classes for which an image classifier has been trained. This capacity has been shown for many well-known XAI methods  [3, 4, 5, 6, 7], and has motivated approaches for leveraging heatmaps towards weakly supervised segmentation, i.e., segmentation networks that train on image-level labels as opposed to expensive dense, pixel-level labels. In particular, Grad-CAM based heatmaps [3] are a popular ingredient in weakly supervised semantic segmentation models [8, 9, 10, 11].

While the above line of research exploits heatmaps generated by trained models, an orthogonal line of research has tapped into the potential of heatmaps as a lever to influence model training in the first place [12], with the aim to yield models that are "Right for the Right Reasons" [13]. To this end, imposing losses on differentiable heatmaps has been shown to allow for aligning explanations with human interpretation [14, 13, 15, 16, 17], enhancing model generalizability [18], and ignoring undesired image features towards diverse ensembles [13, 19] and confounder mitigation [20].

In our paper, we aim to integrate these two lines of research by exploring the potential of the Right for the Right Reasons paradigm for semi-supervised segmentation. To this end:

\bullet We establish formal parallels between differentiable heatmap architectures and conventional encoder-decoder architectures commonly used for image segmentation. In particular, we show that "unrolling" LRP [21] on standard image classification architectures like a ResNet50 yields convolutional encoder-decoder architectures that resemble standard U-Nets [22], albeit with weights tied between encoder and decoder and modified, "skipped" activation functions in the decoder.

\bullet We perform a comparative evaluation of unrolled LRP and comparable U-Nets in terms of segmentation accuracy on the val set of the PASCAL VOC 2012 segmentation benchmark [23]. Our experimental results reveal for multiple standard classification backbones that differentiable heatmap architectures, trained with combined classification- and segmentation loss, can achieve competitive segmentation performance.

\bullet We evaluate semi-supervised training, with pixel-level labels ranging down to one labelled image per class, revealing that in scenarios with few pixel-wise labels, unrolled heatmap architectures outperform comparable standard UNets for segmentation by up to 10% mIoU on PASCAL.

1.1 Relation to Previous Works

The work of [8] is closely related to ours in that, to our knowledge, it is the sole previous work that also optimizes heatmaps towards improved segmentation performance. To this end, they optimize low-resolution Grad-CAM based heatmaps by means of specifically designed losses, and use resulting label maps as pseudo-labels for further training and sophisticated post-processing to increase segmentation accuracy. Instead, we optimize full-resolution LRP heatmaps by means of a vanilla segmentation loss, and establish formal parallels of this approach to conventional segmentation architectures rather than aiming at state of the art segmentation accuracy via subsequent heuristic processing. Our results outperform [8] by 9% in a comparable scenario without their CRF post-processing.

The recent work of [18] is closely related to ours as they optimize heatmaps towards improved localization performance under various loss functions and heatmap-generating methods, including IxG, which is equivalent to LRP-0 [24] as employed in our study. However, they do not aim at a formal analysis of the respective unrolled architectures, whereas we reveal strong formal parallels between unrolled LRP-0 and standard encoder-decoder architectures; Furthermore, their work focuses on localization instead of segmentation, and their losses are specifically designed for optimizing heatmaps whereas we employ standard segmentation loss. To this end, we successfully unroll heatmaps for all class scores in each batch, whereas they restrict their losses to one (randomly selected) class per batch. In a striking difference to [18], we empirically find that classifier performance does not degrade during training while segmentation performance increases significantly. This holds for all pixel-level supervision regimes we study. To the contrary, their empirical results suggest that increased localization performance has a strong tendency to go hand in hand with decreased classification performance. We discuss the hypothesis that this different behavior may be due to the concordant nature of the classification- and heatmap losses we employ.

Our derivation of unrolled heatmap architectures manifests a special case of double backpropagation on ReLU networks, which has been formally studied before by [25] and, in the context of heatmap methods, by [26]. However, to our knowledge, we are first to report formal parallels of unrolled heatmap architectures to standard segmentation networks, and we showcase their respective potential by empirical results that outperform standard segmentation baselines.

1.2 Limitations

Our work does not aim at state of the art semi-supervised segmentation: We do not employ any post-processing on optimized heatmaps [8, 27, 9, 28], nor do we leverage any orthogonal avenues towards semi-supervised segmentation, like e.g. entropy minimization [29], consistency regularization [30, 31, 32, 33, 34], or contrastive learning [35]. However, thanks to our standard training objective, our unrolled architecture can be directly plugged into these orthogonal approaches.

2 Unrolled Heatmap Architectures

Refer to caption
Figure 1: Unrolled LRP-0 for standard convolutional classifiers is an encoder-decoder CNN. (A) Sketch of architectural building blocks. (B) Decoder weights are tied with corresponding encoder layers. (C) Activation functions are skipped from encoder to decoder. (D) Up-convolutions are tied to the respective pooling operation in the encoder. In (A) we sketch the decoder architecture induced by an individual semantic class i; this decoder is replicated for all classes with shared weights, except for the bottleneck 1x1 convolution, which is class-specific.

In this Section, we present formal parallels between differentiable heatmap architectures and classical encoder-decoder architectures for image segmentation. After a brief recap of LRP-ϵitalic-ϵ\epsilonitalic_ϵ [4], we derive the building blocks of architectures entailed by "unrolling" LRP-0 on standard convolutional image classification models, comprising ReLU nonlinearities, max pooling, and global average pooling. The resulting architectural blueprint is sketched out in Figure 1, and forms the basis of our subsequent quantitative analysis of segmentation performance. Last, we assess formal properties of said unrolled architectures.

2.1 LRP Basics

2.1.1 Linear Layer.

In the following, we denote the input vector of a linear layer l𝑙litalic_l by a(l1)superscript𝑎𝑙1a^{(l-1)}italic_a start_POSTSUPERSCRIPT ( italic_l - 1 ) end_POSTSUPERSCRIPT, its weights matrix by w(l)superscript𝑤𝑙w^{(l)}italic_w start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT, and its output vector (pre-activation) by z(l)superscript𝑧𝑙z^{(l)}italic_z start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT. Considering a single linear filter in isolation, the relevance LRP in its most basic form (LRP-0) assigns to an input variable aisubscript𝑎𝑖a_{i}italic_a start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT equals the variable’s contribution to the (scalar) output, namely Ri=aiwisubscript𝑅𝑖subscript𝑎𝑖subscript𝑤𝑖R_{i}=a_{i}w_{i}italic_R start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_a start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. Considering a single linear filter in an intermediate layer l+1𝑙1l+1italic_l + 1 of a neural network, assuming the relevance Rj(l+1)superscriptsubscript𝑅𝑗𝑙1R_{j}^{(l+1)}italic_R start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT of the filter’s output zj(l+1)superscriptsubscript𝑧𝑗𝑙1z_{j}^{(l+1)}italic_z start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT has already been determined, LRP-0 distributes Rj(l+1)superscriptsubscript𝑅𝑗𝑙1R_{j}^{(l+1)}italic_R start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT to the filter’s inputs ai(l)superscriptsubscript𝑎𝑖𝑙a_{i}^{(l)}italic_a start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT proportional to their respective contribution to zj(l+1)superscriptsubscript𝑧𝑗𝑙1z_{j}^{(l+1)}italic_z start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT, namely as Rj(l+1)ai(l)wij(l+1)/zj(l+1)superscriptsubscript𝑅𝑗𝑙1subscriptsuperscript𝑎𝑙𝑖subscriptsuperscript𝑤𝑙1𝑖𝑗superscriptsubscript𝑧𝑗𝑙1R_{j}^{(l+1)}a^{(l)}_{i}w^{(l+1)}_{ij}/z_{j}^{(l+1)}italic_R start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT italic_a start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT / italic_z start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT. This ensures preservation of total relevance across layers. Considering a general linear layer l+1𝑙1l+1italic_l + 1 as a whole, input variables accumulate relevances from all linear filters they contribute to by summation. This entails the following recursive definition by which LRP-0 assigns relevances to inputs ai(l)superscriptsubscript𝑎𝑖𝑙a_{i}^{(l)}italic_a start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT given relevances Rj(l+1)superscriptsubscript𝑅𝑗𝑙1R_{j}^{(l+1)}italic_R start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT of outputs zj(l+1)superscriptsubscript𝑧𝑗𝑙1z_{j}^{(l+1)}italic_z start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT:

Ri(l)=ai(l)jwij(l+1)zj(l+1)+ϵRj(l+1).superscriptsubscript𝑅𝑖𝑙subscriptsuperscript𝑎𝑙𝑖subscript𝑗subscriptsuperscript𝑤𝑙1𝑖𝑗subscriptsuperscript𝑧𝑙1𝑗italic-ϵsuperscriptsubscript𝑅𝑗𝑙1R_{i}^{(l)}=a^{(l)}_{i}\sum_{j}\frac{w^{(l+1)}_{ij}}{z^{(l+1)}_{j}+\epsilon}% \cdot R_{j}^{(l+1)}.italic_R start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT = italic_a start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT divide start_ARG italic_w start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_z start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + italic_ϵ end_ARG ⋅ italic_R start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT . (1)

The ϵitalic-ϵ\epsilonitalic_ϵ in Eq. 1 serves for numerical stability, but may also serve to mitigate noise in the relevances in a variant of LRP termed LRP-ϵitalic-ϵ\epsilonitalic_ϵ. We focus our analysis on LRP-0, where ϵitalic-ϵ\epsilonitalic_ϵ is set to a very small constant that serves solely for numerical stability and can be reasonably ignored for simplified formal analyses. Eq. 1 can be phrased as a three-step algorithm: Applying LRP to any linear layer l+1𝑙1l+1italic_l + 1 amounts to the following sequence of operations applied to R(l+1)superscript𝑅𝑙1R^{(l+1)}italic_R start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT:

1:Element-wise division by z(l+1)superscript𝑧𝑙1z^{(l+1)}italic_z start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT (yielding q:=R(l+1)/z(l+1)assign𝑞superscript𝑅𝑙1superscript𝑧𝑙1q:=R^{(l+1)}/z^{(l+1)}italic_q := italic_R start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT / italic_z start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT)
2:Weighted summation via w(l+1)superscript𝑤𝑙1w^{(l+1)}italic_w start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT (yielding pi:=jwij(l+1)qjassignsubscript𝑝𝑖subscript𝑗subscriptsuperscript𝑤𝑙1𝑖𝑗subscript𝑞𝑗p_{i}:=\sum_{j}w^{(l+1)}_{ij}q_{j}italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT := ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_w start_POSTSUPERSCRIPT ( italic_l + 1 ) end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT italic_q start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT for all i𝑖iitalic_i)
3:Element-wise multiplication by a(l)superscript𝑎𝑙a^{(l)}italic_a start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT (yielding Ri(l)=ai(l)pisuperscriptsubscript𝑅𝑖𝑙subscriptsuperscript𝑎𝑙𝑖subscript𝑝𝑖R_{i}^{(l)}=a^{(l)}_{i}p_{i}italic_R start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT = italic_a start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ).
Algorithm 1 LRP through a linear layer l+1𝑙1l+1italic_l + 1

2.1.2 ReLU and Pooling.

LRP sets the relevance of the input of a ReLU to be equal to the relevance of its output, i.e., relevances are propagated through ReLUs unchanged. Pooling operations can be treated as their corresponding equivalent convolutions (where for max pooling, individual inputs entail respective individual convolution kernels).

2.2 Unrolled LRP Architectures for Convolutional Classifiers

In the following, we derive the building blocks of "unrolled LRP". To this end, we phrase LRP through standard CNN classifier/encoder building blocks as corresponding decoder building blocks.

2.2.1 Single Convolution.

First, we consider a single convolutional filter applied to a stack of activation maps of depth clsubscript𝑐𝑙c_{l}italic_c start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT at some layer l𝑙litalic_l. A pixel in activation map k contributes to the respective output map in layer l+1𝑙1l+1italic_l + 1 as follows: (1) To a spatial region around its own location that is of the same size as the spatial extent of the convolutional kernel; (2) With weights solely from the k-th slice of the convolutional kernel; (3) To position (dx,dy) relative to its own location with weight at position (-dx,-dy) in the conv kernel (when defining the center point location of the conv kernel to be (0,0)). Thus, the weighted combination entailed by LRP (cf. Step 2 of Alg. 1) through a single convolution of depth clsubscript𝑐𝑙c_{l}italic_c start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT (layer ll+1𝑙𝑙1l\!\rightarrow\!l+1italic_l → italic_l + 1) amounts to the application of clsubscript𝑐𝑙c_{l}italic_c start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT convolutions of depth 1 to the relevance map obtained for layer l+1𝑙1l+1italic_l + 1. These "unrolled LRP" convolutions are formed by slices of the original convolutional kernels, with weights flipped in all spatial dimensions.

2.2.2 Convolutional Layer.

Next we consider a full convolutional layer, with cl+1subscript𝑐𝑙1c_{l+1}italic_c start_POSTSUBSCRIPT italic_l + 1 end_POSTSUBSCRIPT convolutional filters yielding cl+1subscript𝑐𝑙1c_{l+1}italic_c start_POSTSUBSCRIPT italic_l + 1 end_POSTSUBSCRIPT output maps. Here, a pixel in activation map k in layer l𝑙litalic_l contributes to identical spatial regions in all resulting output maps in layer l+1𝑙1l+1italic_l + 1, where weights stem from the k-th slices of each convolutional kernel in the same mirrored manner as described for a single convolutional filter above. This yields cl+1subscript𝑐𝑙1c_{l+1}italic_c start_POSTSUBSCRIPT italic_l + 1 end_POSTSUBSCRIPT "unrolled LRP" convolutional kernels, where the k-th unrolled kernel is assembled by stacking the k-th slices of all original kernels, mirrored in all spatial directions.

Altogether, the weighted combination entailed by LRP through a convolutional layer with input depth clsubscript𝑐𝑙c_{l}italic_c start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT and output depth cl+1subscript𝑐𝑙1c_{l+1}italic_c start_POSTSUBSCRIPT italic_l + 1 end_POSTSUBSCRIPT amounts to an "unrolled LRP" convolutional layer with input depth cl+1subscript𝑐𝑙1c_{l+1}italic_c start_POSTSUBSCRIPT italic_l + 1 end_POSTSUBSCRIPT and output depth clsubscript𝑐𝑙c_{l}italic_c start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT with tied weights as sketched in Fig. 1 B.

2.2.3 Consecutive Convolutional Layers with ReLU Activations.

Consider a convolution with ReLU activation followed by another convolution. As LRP passes relevances through ReLUs unaffected, in this case, Alg. 1 is simply applied twice in a row. In the resulting sequence of six operations, step 3 and 4 can be condensed into Element-wise multiplication by

a(l)/z(l)={1z(l)>00otherwise=H(z(l)),superscript𝑎𝑙superscript𝑧𝑙cases1superscript𝑧𝑙00otherwise𝐻superscript𝑧𝑙a^{(l)}/z^{(l)}=\begin{cases}1&z^{(l)}>0\\ 0&\text{otherwise}\end{cases}=H(z^{(l)}),italic_a start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT / italic_z start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT = { start_ROW start_CELL 1 end_CELL start_CELL italic_z start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT > 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL otherwise end_CELL end_ROW = italic_H ( italic_z start_POSTSUPERSCRIPT ( italic_l ) end_POSTSUPERSCRIPT ) ,

where H𝐻Hitalic_H denotes the Heaviside function. This entails unrolled LRP "activation functions" between convolutions that do not follow the classical paradigm of a nonlinear function applied to convolution outputs; Instead, the unrolled activation function zeroes out unrolled convolution outputs based on the output value of the respective original convolution. This can be seen as the same function being applied after original and unrolled convolution, as sketched in Figure 1 C.

Note that pooling layers can be seen as convolutions (with appropriate kernels) and thus merged with a subsequent convolution. Consequently the above unrolled LRP "activation functions" also appear after the last unrolled convolution per downsampling level.

2.2.4 Final Classifier Layers.

Consider the final layers of a standard classifier: The final stack of spatial activation maps, which we term a𝑎aitalic_a here, are fed through global average pooling, yielding an average pooling vector we term apv𝑎𝑝𝑣apvitalic_a italic_p italic_v. apv𝑎𝑝𝑣apvitalic_a italic_p italic_v is then fed through a linear output layer, yielding a vector of class scores. LRP is performed individually per class j𝑗jitalic_j. To this end, LRP is initialized by setting the relevance of the respective class score equal to its value. Thus the elements of the average pooling vector, apvi𝑎𝑝subscript𝑣𝑖apv_{i}italic_a italic_p italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, receive relevances Ri=avpiwijsubscript𝑅𝑖𝑎𝑣subscript𝑝𝑖subscript𝑤𝑖𝑗R_{i}=avp_{i}w_{ij}italic_R start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_a italic_v italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_w start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT. Considering avp𝑎𝑣𝑝avpitalic_a italic_v italic_p as input, the initial steps of LRP on class score j𝑗jitalic_j thus play out as follows:

1:Element-wise multiplication of apv𝑎𝑝𝑣apvitalic_a italic_p italic_v with the class weights of class j𝑗jitalic_j from the last linear layer
2:Element-wise division by apv𝑎𝑝𝑣apvitalic_a italic_p italic_v (i.e., step 1 of Alg. 1 for the average poling layer)
3:Division by the (spatial) number of pixels in a𝑎aitalic_a, followed by nearest-neighbor upsampling to the spatial extent of a𝑎aitalic_a (i.e., step 2 of Alg. 1 for the average poling layer)
4:Element-wise multiplication with a𝑎aitalic_a (i.e., step 3 of Alg. 1 for the average poling layer)
5:Element-wise division by z𝑧zitalic_z (i.e., step 1 of Alg. 1 for the last conv layer).
Algorithm 2 LRP on the class score of an individual class j𝑗jitalic_j through final standard classifier layers

Step 3 yields a stack of activation maps of spatial extent and depth equal to a𝑎aitalic_a. Each activation map has a constant value, namely a weight from the output layer class weight vector divided by the (spatial) number of pixels in a𝑎aitalic_a. Steps 4 and 5 zero out this constant value whereever z0𝑧0z\leq 0italic_z ≤ 0. Thus Algorithm 2 can be condensed into a Heaviside function applied to z𝑧zitalic_z, followed by a 1x1 convolution, where each of the conv kernels has one non-zero entry, namely one of the class weights. This is sketched out in the bottleneck of the unrolled architecture in Figure 1 A. Note, classifiers without average pooling and/or with multiple fully connected layers before the output layer can be unrolled analogously: Average pooling is equivalent to a fully connected layer with specific weights, and fully connected layers are equivalent to convolutions with suitable kernel size.

To consider not just one class score but the class score vector as a whole, the complete decoder architecture is replicated for each class. The resulting decoder branches are class-specific solely in the first 1x1 convolution with the class-specific weights of the classifier output layer. All other weights are shared between decoder branches.

2.2.5 Classifier Input Layer.

LRP through the first conv layer of a classifier is special as multiplication with a𝑎aitalic_a, which is the input image in this case, does not cancel out by supsequent propagation through another convolution. Thus the last building block of the unrolled architecture is an element-wise multiplication with the input image, depicted as skip connection in Fig. 1 A.

2.3 Losses and Training

We turn three-channel heatmaps into single-channel heatmaps by summation as is standard. We then stack together heatmaps from all decoder branches, thus forming class score vectors per pixel, on which we employ standard pixel-wise softmax cross-entropy loss. We complement this standard segmentation loss by standard classification loss on the class score vector in the bottleneck, namely sigmoid cross-entropy per class score, same as during classifier training.

This combination of losses entails interesting training behavior: LRP is designed to satisfy the conservation property, i.e., it aims at conserving total relevance across layers [21]. Assuming the conservation property holds (and thus ignoring the bias terms for the sake of a simplified argument), the total relevance of a heatmap, i.e., the sum of all pixel relevances, equals the respective class score. For negative classes, i.e., classes not present in an image, this entails the following: Softmax cross-entropy pushes down heatmaps of negative classes at all pixels. Due to conservation, this necessarily also pushes down the respective class score in the bottleneck, which is concordant with the respective classifier loss. An analogous argument holds for a single positive class that covers the whole image: Softmax cross-entropy pushes up the respective heatmap at all pixels and thus, due to conservation, also the class score in the bottleneck, which is again concordant with the respective classifier loss. For the case of multiple positive classes, which is the most common case due to the abundant background class and our multi-label scenario, the segmentation loss pushes up class-specific foreground pixels in the respective heatmap while all other pixels in this heatmap are pushed down. Consequently, some trade-off needs to be met to not cause the respective class score to decrease. We empirically find that a suitable trade-off is met, as we observe that classification performance does not degrade during training (cf. Sec. 3).

2.4 Relation to Previous Formal Analyses and Standard Architectures

2.4.1 Previous Formal Analyses.

Backpropagtion through unrolled LRP-0 architectures as blueprinted in Fig. 1A does not reach the encoder (no matter which heatmap loss is employed): Due to the Heaviside function and its zero local derivative, global derivatives are zeroed out along all paths to the encoder. Consequently, the derivatives of the (intermediate) output directly before the final skip-multiplication with the input w.r.t. the network weights takes a simple form, namely a sum of other weights’ products, where the input image determines which products are non-zero. This has been shown before by [24] as part of their proof that LRP-0 equals inputs times gradients (IxG) in ReLU networks.

It trivially follows from LRP-0 = IxG that the output of our unrolled architecture, pre skip-multiplication with the input, equals the gradient of the class score w.r.t. the input. Thus our unrolled architecture implements double backpropagation [36]. Double backpropagation has been formally analyzed in-depth by [25], who have also derived the respective simplified gradients for ReLU networks, and note that the backward pass is thus shortened.

Our architecture serves as easily accessible special case of what the above more general theory entails: When trained with classification- and heatmap loss, the gradient of the classification loss backpropagates solely through the encoder, while the gradient of the heatmap loss backpropagates solely through the decoder. This can be leveraged for efficient training; It remains unclear whether the property has further consequences, e.g. whether it has a systematic effect on training dynamics; Furthermore, in practice, note that any ϵ>0italic-ϵ0\epsilon>0italic_ϵ > 0 in Eq. 1 smoothes out all Heaviside functions in the positive regime, thus yielding non-zero heatmap loss gradient flow to the encoder during backprop.

2.4.2 Standard Architectures.

On the one hand, unrolled heatmap architectures as described above are related to U-Net architectures [22], which constitute the state of the art in semantic segmentation in a broad range of applications to date [37]. A U-Net is related in that it is an encoder-decoder convolutional architecture. It is distinct in that (1) convolution- and pooling operations are not tied between encoder and decoder whereas ours are; (2) it employs standard nonlinearities in the decoder whereas we employ "tied activations"; (3) it employs skip-concatenations of encoder activation maps to the respective decoder layer whereas we only skip-connect activations; and (4) it employs a single decoder for all classes, whereas we employ weight-shared branches per class.

On the other hand, unrolled heatmap architectures are closely related to weight-tied auto-encoders, as first described by [38]. In particular, [39] have explored weight-tied auto-encoders based on convolutional encoders. The weight-tied architecture they establish equals ours in their tied decoder convolutions and up-sampling operators, yet is distinct in that they employ standard nonlinearities in the decoder, and in that they do append a final, non-tied convolutional layer. Furthermore, like U-Net, they also employ only a single decoder for all classes.

In summary, our unrolled LRP architectures are most constrained to their encoder backbone among all previously described encoder-decoder-style convolutional segmentation architectures.

3 Unrolled Heatmap Architectures for Segmentation: Results

3.0.1 Data and Baselines.

We evaluate the performance of our unrolled architecture on the PASCAL VOC 2012 segmentation benchmark val set. We employ a comparable U-Net, i.e., a U-Net with identical convolutional encoder, as standard segmentation baseline. We evaluate two different classifier backbones (resnet50 and vgg16 with batch norm) in four scenarios with varying levels of pixel-wise supervision, namely with 1, 5, 25, and all available labelled images per class. This amounts to respective totals of 20, 100, 500, and 1464 labelled images. We employ standard augmentations, as well as standard crop** to fit the classifiers’ required input size. We initialize the classifier backbones of all architectures to their respective ImageNet pre-trained and PASCAL fine-tuned weights.

To give our UNet baseline the chance to leverage the 15,676 available image-level labels not just via pre-training but also during segmentation training, we include a modified version of the resnet50-encoder variant as additional baseline, where we extend a comparable classifier branch, i.e., simple average pooling followed by a linear output layer, from the UNet bottleneck. We train this "multi-task" UNet with same combined classification- and segmentation loss as our unrolled architecture.

We train all models with batch size 10, AdamW with learning rate 1e51𝑒51e-51 italic_e - 5. We give equal weight (=1) to classification- and segmentation loss in our unrolled architectures and multi-task UNet baseline.

To cover different semi-supervised scenarios we sample 20, 100, 500 and 1464 labeled images from the training set, respectively. For the scenarios with 20 and 100 labelled images we sample randomly, with fixed seed for all experiments maximally uniform distributed classes. For the 20 labeled images case, this ensures that each class is sampled at least once. However, due to the strong class imbalance within PASCAL, when dealing with larger image sets, sampling with a uniform distribution is no longer possible; Thus we relax the strategy for \geq 500 labeled images. Here, we sample with the average of a uniform distribution and the class distribution in the training set.

3.0.2 Training and Testing.

During training, all models’ encoders are initialized with identical pretrain weights, derived from ImageNet and fine-tuned on PASCAL. Both the multi-task UNet and unrolled LRP have classification branches, which we initialize accordingly. For all models that do not have tied weights, the decoders are initialized ”from scratch”. Within each batch, we sample 10 pixel-labeled images for UNet and employ cross-entropy loss for the final output. For multi-task UNet and unrolled LRP, we select 10 images comprising a mixture of pixel-labeled and image-level labeled data. We apply per-class sigmoid cross-entropy loss, with a weight of 0 for the background class, to the classification branches of these 10 images. For images with pixel-level labels (typically 4-6 per batch), we additionally apply softmax cross-entropy loss. The two losses are trained simultaneously.

During testing, the classification output from the bottleneck is disregarded for both the multi-task UNet and unrolled LRP models. We directly apply argmax on the outputs of all models to produce semantic segmentation maps.

3.0.3 Results.

Table 1 reports results in terms of segmentation mIoU averaged over three independent training runs per model.

Table 1: Segmentation mIOU on PASCAL VOC 2012 val for vgg16 and ResNet50 backbones, models, and supervision scenarios, ranging from 20 to 1464 labelled images. We report average mIoU over three independent training runs for all models.
Method 1.4 % (20) 6.8 % (100) 34.2 % (500) Full(1464)
Architecture: vgg16 backbone for encoder
UNet 20.38±0.64subscript20.38plus-or-minus0.6420.38_{\pm 0.64}20.38 start_POSTSUBSCRIPT ± 0.64 end_POSTSUBSCRIPT 40.50±0.77subscript40.50plus-or-minus0.7740.50_{\pm 0.77}40.50 start_POSTSUBSCRIPT ± 0.77 end_POSTSUBSCRIPT 54.60±0.12subscript54.60plus-or-minus0.1254.60_{\pm 0.12}54.60 start_POSTSUBSCRIPT ± 0.12 end_POSTSUBSCRIPT 60.53±0.48subscript60.53plus-or-minus0.4860.53_{\pm 0.48}60.53 start_POSTSUBSCRIPT ± 0.48 end_POSTSUBSCRIPT
unrolled LRP (ours) 33.92±plus-or-minus\pm±1.21 49.68±plus-or-minus\pm±0.64 59.96±plus-or-minus\pm±0.78 63.85±plus-or-minus\pm±0.18
Architecture: ResNet50 backbone for encoder
UNet 25.89±1.01subscript25.89plus-or-minus1.0125.89_{\pm 1.01}25.89 start_POSTSUBSCRIPT ± 1.01 end_POSTSUBSCRIPT 43.40±0.68subscript43.40plus-or-minus0.6843.40_{\pm 0.68}43.40 start_POSTSUBSCRIPT ± 0.68 end_POSTSUBSCRIPT 55.10±0.27subscript55.10plus-or-minus0.2755.10_{\pm 0.27}55.10 start_POSTSUBSCRIPT ± 0.27 end_POSTSUBSCRIPT 60.07±0.20subscript60.07plus-or-minus0.2060.07_{\pm 0.20}60.07 start_POSTSUBSCRIPT ± 0.20 end_POSTSUBSCRIPT
multi-task UNet 25.06±0.82subscript25.06plus-or-minus0.8225.06_{\pm 0.82}25.06 start_POSTSUBSCRIPT ± 0.82 end_POSTSUBSCRIPT 39.77±0.67subscript39.77plus-or-minus0.6739.77_{\pm 0.67}39.77 start_POSTSUBSCRIPT ± 0.67 end_POSTSUBSCRIPT 55.13±0.33subscript55.13plus-or-minus0.3355.13_{\pm 0.33}55.13 start_POSTSUBSCRIPT ± 0.33 end_POSTSUBSCRIPT 60.37±0.47subscript60.37plus-or-minus0.4760.37_{\pm 0.47}60.37 start_POSTSUBSCRIPT ± 0.47 end_POSTSUBSCRIPT
unrolled LRP (ours) 39.80±plus-or-minus\pm±0.37 50.29±plus-or-minus\pm±0.61 58.30±plus-or-minus\pm±1.60 61.50±plus-or-minus\pm±0.27

Our models outperform comparable UNets in all supervision scenarios, where the margin increases drastically with decreasing pixel-level supervision.

Table 2: Classification F1 score of our unrolled LRP models on PASCAL VOC 2012 val after pre-training (column "0") and after segmentation training across supervision scenarios.
Backbone 0 1.4 % (20) 6.8 % (100) 34.2 % (500) Full(1464)
vgg16bn 81.33 80.73±1.10subscript80.73plus-or-minus1.1080.73_{\pm 1.10}80.73 start_POSTSUBSCRIPT ± 1.10 end_POSTSUBSCRIPT 81.99±0.80subscript81.99plus-or-minus0.8081.99_{\pm 0.80}81.99 start_POSTSUBSCRIPT ± 0.80 end_POSTSUBSCRIPT 81.86±0.59subscript81.86plus-or-minus0.5981.86_{\pm 0.59}81.86 start_POSTSUBSCRIPT ± 0.59 end_POSTSUBSCRIPT 82.52±plus-or-minus\pm±0.33
resnet50 81.62 80.35±0.82subscript80.35plus-or-minus0.8280.35_{\pm 0.82}80.35 start_POSTSUBSCRIPT ± 0.82 end_POSTSUBSCRIPT 80.80±1.49subscript80.80plus-or-minus1.4980.80_{\pm 1.49}80.80 start_POSTSUBSCRIPT ± 1.49 end_POSTSUBSCRIPT 82.21±plus-or-minus\pm±0.97 81.49±1.72subscript81.49plus-or-minus1.7281.49_{\pm 1.72}81.49 start_POSTSUBSCRIPT ± 1.72 end_POSTSUBSCRIPT

At the same time, interestingly and in contrast to respective empirical findings by [18], classifier performance remains largely unaffected; Table 2 lists classifier F1 scores after pre-training (with only the classification loss) as well as after training with combined classification and segmentation loss.

Our unrolled ResNet50 architecture has 23.55M trainable parameters, whereas the respective UNet baseline has 38.84M. To make sure the inferior performance of the UNet is not just due to respective higher susceptibility to overfitting, we trained another UNet baseline based on a ResNet18 backbone, which has 18.81M parameters. However, the ResNet18 UNet is outperformed by the ResNet50 UNet, i.e., the fact that our UNet baseline has more parameters than our unrolled architecture does not explain its inferior performance.

Figures 2 and 3 show exemplary segmentation results, as well as the evolution of segmentations and heatmaps over training of unrolled LRP. We observe quick convergence to crisp segmentations, also in cases with multiple labels.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 2: Exemplary unrolled LRP segmentations on the VOC validation set, 500 labelled images scenario. Left: input image; Right: ground truth segmentation; In-between: Evolution of segmentation over training of unrolled LRP, ranging from the first iteration to peak validation mIoU.
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 3: Exemplary unrolled LRP heatmaps on the VOC validation set, 500 labelled images scenario (cf. Fig. 2 for corresponding segmentations). Left: input image; Right: ground truth segmentation; In-between: Evolution of heatmaps of the positive classes over training of unrolled LRP, ranging from the first iteration to peak validation mIoU. Note that all heatmaps except for the initial (left-most) one are shown after softmax to render standard blue-white-red visualization informative.

3.0.4 Ablation Study.

Architectural elements that turn unrolled LRP into a UNet are: (1) Tied vs standard activation functions, (2) tied vs standard decoder weights and up-sampling, and (3) concat-skip connections from encoder to decoder. Table 3 lists results of a respective ablation study. The ablation includes a weight-sharing convolutional autoencoder (WS-AE), in which tied activations as well as the bottleneck heaviside function in unrolled LRP are replaced by standard ReLUs. WS-AE is trained with segmentation- and classification loss, like unrolled LRP. The ablation further includes a standard Fully Convolutional Network (FCN), in which weights in the decoder are free, and nearest neighbor upsampling is employed. To avoid the introduction of free weights per decoder branch, FCN is reduced to a single decoder branch. This entails that FCN does not contain the class weights of the classifier output layer. FCN is trained only with segmentaiton loss, like UNet.

Table 3: Ablation of architectural elements between UNet and unrolled LRP. All results based on Resnet50 backbone; average mIoU on VOC val set over three independent training runs.
Method tied tied tied up- concat 1.4 % 6.8 % 34.2 % Full
ReLU Conv sample skip (20) (100) (500) (1464)
Unr. LRP (ours) - 39.8±plus-or-minus\pm±0.4 50.3±plus-or-minus\pm±0.6 58.3±plus-or-minus\pm±1.6 61.5±plus-or-minus\pm±0.3
WS-AE - - 29.5±1.7subscript29.5plus-or-minus1.729.5_{\pm 1.7}29.5 start_POSTSUBSCRIPT ± 1.7 end_POSTSUBSCRIPT 46.6±0.5subscript46.6plus-or-minus0.546.6_{\pm 0.5}46.6 start_POSTSUBSCRIPT ± 0.5 end_POSTSUBSCRIPT 54.7±0.5subscript54.7plus-or-minus0.554.7_{\pm 0.5}54.7 start_POSTSUBSCRIPT ± 0.5 end_POSTSUBSCRIPT 57.9±0.5subscript57.9plus-or-minus0.557.9_{\pm 0.5}57.9 start_POSTSUBSCRIPT ± 0.5 end_POSTSUBSCRIPT
FCN - - - - 26.2±1.0subscript26.2plus-or-minus1.026.2_{\pm 1.0}26.2 start_POSTSUBSCRIPT ± 1.0 end_POSTSUBSCRIPT 40.0±0.5subscript40.0plus-or-minus0.540.0_{\pm 0.5}40.0 start_POSTSUBSCRIPT ± 0.5 end_POSTSUBSCRIPT 51.3±0.5subscript51.3plus-or-minus0.551.3_{\pm 0.5}51.3 start_POSTSUBSCRIPT ± 0.5 end_POSTSUBSCRIPT 56.6±0.5subscript56.6plus-or-minus0.556.6_{\pm 0.5}56.6 start_POSTSUBSCRIPT ± 0.5 end_POSTSUBSCRIPT
UNet - - - 25.9±1.0subscript25.9plus-or-minus1.025.9_{\pm 1.0}25.9 start_POSTSUBSCRIPT ± 1.0 end_POSTSUBSCRIPT 43.4±0.7subscript43.4plus-or-minus0.743.4_{\pm 0.7}43.4 start_POSTSUBSCRIPT ± 0.7 end_POSTSUBSCRIPT 55.1±0.3subscript55.1plus-or-minus0.355.1_{\pm 0.3}55.1 start_POSTSUBSCRIPT ± 0.3 end_POSTSUBSCRIPT 60.1±0.2subscript60.1plus-or-minus0.260.1_{\pm 0.2}60.1 start_POSTSUBSCRIPT ± 0.2 end_POSTSUBSCRIPT

3.0.5 Discussion.

We hypothesize that superior performance of unrolled LRP over a comparable standard segmentation baseline in scenarios with limited supervision is due to the strong constraints imposed by tied weights, tied up-sampling, and tied activations. Furthermore, we hypothesize that the concordant losses as described in 2.3 facilitate the full exploitation of image-level labels for segmentation, as not just the segmentation loss, but also the classification loss pushes the total relevance in the heatmaps in a meaningful direction. As a quantitative indicator of this loss concordance, Table 2 reveals, to our knowledge for the first time, that vanilla classifiers can be trained in such a way that they condense all relevance to respective class foregrounds while classification performance remains unaffected. However, precisely how the sketched training dynamics play out for images with multiple class labels (including background) requires further study.

Our ablation study reveals that tied activation functions, an element our work newly introduces to segmentation architectures, are essential for the superior performance of LRP-0 over a standard UNet. Our study replicates previous findings that WS-AE outperforms FCN in few-labelled-samples regimes; yet it reveals that including tied activation functions yields another significant performance boost over WS-AE, which is crucial to outperforming the U-Net.

4 Conclusion

Our work establishes unrolled heatmap architectures as encoder-decoder-style convolutional architectures that can be trained for image segmentation. We observe superior performance to standard segmentation baselines in scenarios with limited pixel-level supervision, which entails the potential for practical use in semi-supervised segmentation. To this end, while not yielding state of the art semi-supervised segmentation results per se, our architecture directly lends itself to incorporation into orthogonal semi-supervised learning paradigms like augmentation consistency training. In contrast to previous work, we observe that training with a heatmap loss does not affect classification performance. This is striking in that our approach yields highly performant standard classifiers that nevertheless are trained to successfully focus on class foregrounds by means of our unrolled training objective.

Acknowledgments

Funding: X.Y.: Helmholtz Einstein International Berlin Research School in Data Science (HEIBRiDS); J.F.: German Research Foundation RTG 2424. W.S. and D.K.: German Research Foundation as grant DFG KI-FOR 5363, project no. 459422098.

References

  • [1] Sebastian Lapuschkin, Stephan Wäldchen, Alexander Binder, Grégoire Montavon, Wojciech Samek, and Klaus-Robert Müller. Unmasking clever hans predictors and assessing what machines really learn. Nature Communications, 10(1):1096, 2019.
  • [2] Christopher J Anders, Leander Weber, David Neumann, Wojciech Samek, Klaus-Robert Müller, and Sebastian Lapuschkin. Finding and removing clever hans: Using explanation methods to debug and improve deep models. Information Fusion, 77:261–295, 2022.
  • [3] Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE international conference on computer vision, pages 618–626, 2017.
  • [4] Sebastian Bach, Alexander Binder, Grégoire Montavon, Frederick Klauschen, Klaus-Robert Müller, and Wojciech Samek. On pixel-wise explanations for non-linear classifier decisions by layer-wise relevance propagation. PloS one, 10(7):e0130140, 2015.
  • [5] Woo-Jeoung Nam, Shir Gur, Jaesik Choi, Lior Wolf, and Seong-Whan Lee. Relative attributing propagation: Interpreting the comparative contributions of individual units in deep neural networks. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pages 2501–2508, 2020.
  • [6] Shir Gur, Ameen Ali, and Lior Wolf. Visualization of supervised and self-supervised neural networks via attribution guided factorization. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pages 11545–11554, 2021.
  • [7] Reduan Achtibat, Maximilian Dreyer, Ilona Eisenbraun, Sebastian Bosse, Thomas Wiegand, Wojciech Samek, and Sebastian Lapuschkin. From attribution maps to human-understandable explanations through concept relevance propagation. Nature Machine Intelligence, 5:1006–1019, 2023.
  • [8] Kunpeng Li, Ziyan Wu, Kuan-Chuan Peng, Jan Ernst, and Yun Fu. Tell me where to look: Guided attention inference network. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 9215–9223, 2018.
  • [9] Jungbeom Lee, Eunji Kim, Sungmin Lee, Jangho Lee, and Sungroh Yoon. Ficklenet: Weakly and semi-supervised semantic image segmentation using stochastic inference. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2019.
  • [10] Beomyoung Kim, Sangeun Han, and Junmo Kim. Discriminative region suppression for weakly-supervised semantic segmentation. CoRR, abs/2103.07246, 2021.
  • [11] Sangtae Kim, Luong Trung Nguyen, Kyuhong Shim, Junhan Kim, and Byonghyo Shim. Pseudo-label-free weakly supervised semantic segmentation using image masking. IEEE Access, 10:19401–19411, 2022.
  • [12] Leander Weber, Sebastian Lapuschkin, Alexander Binder, and Wojciech Samek. Beyond explaining: Opportunities and challenges of xai-based model improvement. Information Fusions, 92:154–176, 2023.
  • [13] Andrew Slavin Ross, Michael C Hughes, and Finale Doshi-Velez. Right for the right reasons: Training differentiable models by constraining their explanations. arXiv preprint arXiv:1703.03717, 2017.
  • [14] Frederick Liu and Besim Avci. Incorporating priors with feature attribution on text classification. arXiv preprint arXiv:1906.08286, 2019.
  • [15] Laura Rieger, Chandan Singh, William Murdoch, and Bin Yu. Interpretations are useful: penalizing explanations to align neural networks with prior knowledge. In International conference on machine learning, pages 8116–8126. PMLR, 2020.
  • [16] Xiaoting Shao, Arseny Skryagin, Wolfgang Stammer, Patrick Schramowski, and Kristian Kersting. Right for better reasons: Training differentiable models by constraining their influence functions. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 9533–9540, 2021.
  • [17] Suhev Shakya, Mariana Vasquez, Yiyang Wang, Roselyn Tchoua, Jacob Furst, and Daniela Raicu. Human-in-the-loop deep learning retinal image classification with customized loss function. In Medical Imaging 2022: Computer-Aided Diagnosis, volume 12033, pages 512–519. SPIE, 2022.
  • [18] Sukrut Rao, Moritz Böhle, Amin Parchami-Araghi, and Bernt Schiele. Using explanations to guide models. arXiv preprint arXiv:2303.11932, 2023.
  • [19] Damien Teney, Ehsan Abbasnejad, Simon Lucey, and Anton van den Hengel. Evading the simplicity bias: Training a diverse set of models discovers solutions with superior ood generalization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 16761–16772, 2022.
  • [20] Patrick Schramowski, Wolfgang Stammer, Stefano Teso, Anna Brugger, Franziska Herbert, Xiaoting Shao, Hans-Georg Luigs, Anne-Katrin Mahlein, and Kristian Kersting. Making deep neural networks right for the right scientific reasons by interacting with their explanations. Nature Machine Intelligence, 2(8):476–486, 2020.
  • [21] Grégoire Montavon, Alexander Binder, Sebastian Lapuschkin, Wojciech Samek, and Klaus-Robert Müller. Layer-wise relevance propagation: an overview. In Explainable AI: Interpreting, explaining and visualizing deep learning, volume 11700 of LNCS, pages 193–209. Springer, 2019.
  • [22] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III 18, pages 234–241. Springer, 2015.
  • [23] Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes (voc) challenge. International journal of computer vision, 88:303–338, 2010.
  • [24] Marco Ancona, Enea Ceolini, Cengiz Öztireli, and Markus Gross. Towards better understanding of gradient-based attribution methods for deep neural networks. arXiv preprint arXiv:1711.06104, 2017.
  • [25] Christian Etmann. A closer look at double backpropagation. arXiv preprint arXiv:1906.06637, 2019.
  • [26] Mohsan Alvi, Andrew Zisserman, and Christoffer Nellåker. Turning a blind eye: Explicit removal of biases and variation from deep neural network embeddings. In Proceedings of the European Conference on Computer Vision (ECCV) Workshops, pages 0–0, 2018.
  • [27] Yunchao Wei, Huaxin Xiao, Honghui Shi, Zequn Jie, Jiashi Feng, and Thomas S Huang. Revisiting dilated convolution: A simple approach for weakly-and semi-supervised semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7268–7277, 2018.
  • [28] Wenfeng Luo and Meng Yang. Semi-supervised semantic segmentation via strong-weak dual-branch network. In Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part V 16, pages 784–800. Springer, 2020.
  • [29] David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin A Raffel. Mixmatch: A holistic approach to semi-supervised learning. Advances in neural information processing systems, 32, 2019.
  • [30] Junwen Pan, Pengfei Zhu, Kaihua Zhang, Bing Cao, Yu Wang, Dingwen Zhang, Junwei Han, and Qinghua Hu. Learning self-supervised low-rank network for single-stage weakly and semi-supervised semantic segmentation. International Journal of Computer Vision, 130(5):1181–1195, 2022.
  • [31] Xin Lai, Zhuotao Tian, Li Jiang, Shu Liu, Hengshuang Zhao, Liwei Wang, and Jiaya Jia. Semi-supervised semantic segmentation with directional context-aware consistency. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1205–1214, 2021.
  • [32] Yassine Ouali, Céline Hudelot, and Myriam Tami. Semi-supervised semantic segmentation with cross-consistency training. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12674–12684, 2020.
  • [33] Kihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang, Han Zhang, Colin A Raffel, Ekin Dogus Cubuk, Alexey Kurakin, and Chun-Liang Li. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. Advances in neural information processing systems, 33:596–608, 2020.
  • [34] Ye Du, Zehua Fu, Qingjie Liu, and Yunhong Wang. Weakly supervised semantic segmentation by pixel-to-prototype contrast. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4320–4329, 2022.
  • [35] Shikun Liu, Shuaifeng Zhi, Edward Johns, and Andrew Davison. Bootstrap** semantic segmentation with regional contrast. In International Conference on Learning Representations, 2022.
  • [36] Harris Drucker and Yann Le Cun. Improving generalization performance using double backpropagation. IEEE transactions on neural networks, 3(6):991–997, 1992.
  • [37] Fabian Isensee, Paul F Jaeger, Simon AA Kohl, Jens Petersen, and Klaus H Maier-Hein. nnu-net: a self-configuring method for deep learning-based biomedical image segmentation. Nature methods, 18(2):203–211, 2021.
  • [38] Pascal Vincent, Hugo Larochelle, Isabelle Lajoie, Yoshua Bengio, Pierre-Antoine Manzagol, and Léon Bottou. Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion. Journal of machine learning research, 11(12), 2010.
  • [39] Hyo-Eun Kim and Sangheum Hwang. Deconvolutional feature stacking for weakly-supervised semantic segmentation. arXiv preprint arXiv:1602.04984, 2016.