Title: TSINSIGHT: A LOCAL-GLOBAL ATTRIBUTION FRAME-WORK FOR INTERPRETABILITY IN TIME-SERIES DATA

Abstract: With the rise in employment of deep learning methods in safety-critical scenarios, interpretability is more essential than ever before. Although many different directions regarding interpretability have been explored for visual modalities, timeseries data has been neglected with only a handful of methods tested due to their poor intelligibility. We approach the problem of interpretability in a novel way by proposing TSInsight 1 where we attach an auto-encoder with a sparsity-inducing norm on its output to the classifier and fine-tune it based on the gradients from the classifier and a reconstruction penalty. The auto-encoder learns to preserve features that are important for the prediction by the classifier and suppresses the ones that are irrelevant i.e. serves as a feature attribution method to boost interpretability. In other words, we ask the network to only reconstruct parts which are useful for the classifier i.e. are correlated or causal for the prediction. In contrast to most other attribution frameworks, TSInsight is capable of generating both instance-based and model-based explanations. We evaluated TSInsight along with other commonly used attribution methods on a range of different time-series datasets to validate its efficacy. Furthermore, we analyzed the set of properties that TSInsight achieves out of the box including adversarial robustness and output space contraction. The obtained results advocate that TSInsight can be an effective tool for the interpretability of deep time-series models.

1. INTRODUCTION:

Deep learning models have been at the forefront of technology in a range of different domains including image classification (Krizhevsky et al., 2012) , object detection (Girshick, 2015) , speech recognition (Dahl et al., 2010) , text recognition (Breuel, 2008) , image captioning (Karpathy & Fei-Fei, 2015) and pose estimation (Cao et al., 2018) . These models are particularly effective in automatically discovering useful features. However, this automated feature extraction comes at the cost of lack of transparency of the system. Therefore, despite these advances, their employment in safety-critical domains like finance (Knight, 2017) , self-driving cars (Kim et al., 2018) and medicine (Zintgraf et al., 2017) is limited due to the lack of interpretability of the decision made by the network.

Numerous efforts have been made for the interpretation of these black-box models. These efforts can be mainly classified into two separate directions. The first set of strategies focuses on making the network itself interpretable by trading off some performance. These strategies include Self-Explainable Neural Network (SENN) (Alvarez-Melis & Jaakkola, 2018) and Bayesian non-parametric regression models (Guo et al., 2018) . The second set of strategies focuses on explaining a pretrained model i.e. they try to infer the reason for a particular prediction. These attribution techniques include saliency map (Yosinski et al., 2015) and layer-wise relevance propagation (Bach et al., 2015) . However, all of these methods have been particularly developed and tested for visual modalities which are directly intelligible for humans. Transferring methodologies developed for visual modalities to time-series data is difficult due to the non-intuitive nature of time-series. Therefore, only a handful of methods have been focused on explaining time-series models in the past (Kumar et al., 2017; Siddiqui et al., 2019) .

We approach the attribution problem in a novel way by attaching an auto-encoder on top of the classifier. The auto-encoder is fine-tuned based on the gradients from the classifier. Rather than asking the auto-encoder to reconstruct the whole input, we ask the network to only reconstruct parts which are useful for the classifier i.e. are correlated or causal for the prediction. In order to achieve this, we introduce a sparsity inducing norm onto the output of the auto-encoder. In particular, the contributions of this paper are twofold:

• A novel attribution method for time-series data which makes it much easier to interpret the decision of any deep learning model. The method also leverages dataset-level insights when explaining individual decisions in contrast to other attribution methods.

• Detailed analysis of the information captured by different attribution techniques using a simple suppression test on a range of different time-series datasets. This also includes analysis of the different out of the box properties achieved by TSInsight including generic applicability, contraction in the output space and resistance against trivial adversarial noise.

2. RELATED WORK:

Since the resurgence of deep learning in 2012 after a deep network comprehensively outperformed its feature engineered counterparts (Krizhevsky et al., 2012) on the ImageNet visual recognition challenge comprising of 1.2 million images (Russakovsky et al., 2015) , deep learning has been integrated into a range of different applications to gain unprecedented levels of improvement. Significant efforts have been made in the past regarding the interpretability of deep models, specifically for image modality. These methods are mainly categorized into two different streams where the first stream is focused on explaining the decisions of a pretrained network which is much more applicable in the real-world.

The second stream is directed towards making models more interpretable by trading off accuracy.

The first stream for explainable systems which attempts to explain pretrained models using attribution techniques has been a major focus of research in the past years. The most common strategy is to visualize the filters of the deep model (Zeiler & Fergus, 2013; Simonyan et al., 2013; Yosinski et al., 2015; Palacio et al., 2018; Bach et al., 2015) . This is very effective for visual modalities since images are directly intelligible for humans. Zeiler & Fergus (2013) introduced deconvnet layer to understand the intermediate representations of the network. They not only visualized the network, but were also able to improve the network based on these visualizations to achieve state-of-the-art performance on ImageNet (Russakovsky et al., 2015) . Simonyan et al. (2013) proposed a method to visualize class-specific saliency maps. Yosinski et al. (2015) proposed a visualization framework for image based deep learning models. They tried to visualize the features that a particular filter was responding to by using regularized optimization. Instead of using first-order gradients, Bach et al. (2015) introduced a Layer-wise Relevance Propagation (LRP) framework which identified the relevant portions of the image by distributing the contribution to the incoming nodes. Smilkov et al. (2017) introduced the SmoothGrad method where they computed the mean gradients after adding small random noise sampled from a zero-mean Gaussian distribution to the original point. Integrated gradients method introduced by Sundararajan et al. (2017) computed the average gradient from the original point to the baseline input (zero-image in their case) at regular intervals. Guo et al. (2018) used Bayesian non-parametric regression mixture model with multiple elastic nets to extract generalizable insights from the trained model. Either these methods are not directly applicable to time-series data, or are inferior in terms of intelligibility for time-series data.

Palacio et al. ( 2018) introduced yet another approach to understand a deep model by leveraging auto-encoders. After training both the classifier and the auto-encoder in isolation, they attached the auto-encoder to the head of the classifier and fine-tuned only the decoder freezing the parameters of the classifier and the encoder. This transforms the decoder to focus on features which are relevant for the network. Applying this method directly to time-series yields no interesting insights (Fig. 1b ) into the network's preference for input. Therefore, this method is strictly a special case of the TSInsight's formulation.

In the second stream for explainable systems, Alvarez-Melis & Jaakkola (2018) proposed Self-Explaining Neural Networks (SENN) where they learn two different networks. The first network is the concept encoder which encodes different concepts while the second network learns the weightings of these concepts. This transforms the system into a linear problem with a set of features making it easily interpretable for humans. SENN trade-offs accuracy in favor of interpretability. Kim et al. (2018) attached a second network (video-to-text) to the classifier which was responsible for the production of natural language based explanation of the decisions taken by the network using the saliency information from the classifier. This framework relies on LSTM for the generation of the descriptions adding yet another level of opaqueness making it hard to decipher whether the error originated from the classification network or from the explanation generator. Kumar et al. (2017) made the first attempt to understand deep learning models for time-series analysis where they specifically focused on financial data. They computed the input saliency based on the firstorder gradients of the network. Siddiqui et al. ( 2019) proposed an influence computation framework which enabled exploration of the network at the filter level by computing the per filter saliency map and filter importance again based on first-order gradients. However, both methods lack in providing useful insights due to the noise inherent to first-order gradients. Another major limitation of saliency based methods is the sole use of local information. Therefore, TSInsight significantly supersedes in the identification of the important regions of the input using a combination of both local information for that particular example along with generalizable insights extracted from the entire dataset in order to reach a particular description.

Due to the use of auto-encoders, TSInsight is inherently related to sparse (Ng et al., 2011) and contractive auto-encoders (Rifai et al., 2011) . In sparse auto-encoders (Ng et al., 2011) , the sparsity is induced on the hidden representation by minimizing the KL-divergence between the average activations and a hyperparameter which defines the fraction of non-zero units. This KL-divergence is a necessity for sigmoid-based activation functions. However, in our case, the sparsity is induced directly on the output of the auto-encoder, which introduces a contraction on the input space of the classifier, and can directly be achieved by using Manhattan norm on the activations as we obtain real-valued outputs. Albeit sparsity being introduced in both cases, the sparsity in the case of sparse auto-encoders is not useful for interpretability. In the case of contractive auto-encoders (Rifai et al., 2011) , a contraction mapping is introduced by penalizing the Fobenius norm of the Jacobian of the encoder along with the reconstruction error. This makes the learned representation invariant to minor perturbations in the input. TSInsight on the other hand, induces a contraction on the input space for interpretability, thus, favoring sparsity inducing norm.

3. METHOD:

We first train an auto-encoder as well as a classifier in isolation on the desired dataset. Once both the auto-encoder as well as the classifier are trained, we attach the auto-encoder to the head of the classifier. TSInsight is based on a novel loss formulation, which introduces a sparsity-inducing norm on the output of the auto-encoder along with a reconstruction and classification penalty for the optimization of the auto-encoder keeping the classifier fixed. Inducing sparsity on the auto-encoder's output forces the network to only reproduce relevant regions of the input to the classifier since the auto-encoder is optimized using the gradients from the classifier. As inducing sparsity on the auto-encoder's output significantly hampers the auto-encoder's ability to reconstruct the input which can in turn result in fully transformed outputs, it is important to have a reconstruction penalty in place. This effect is illustrated in Fig. 2a where the auto-encoder produced a novel sparse representation of the input, which albeit being an interesting one, doesn't help with the interpretability of the model. Therefore, the proposed optimization objective can be written as:

(W E , W D ) = arg min W * E ,W * D 1 |X | (x,y)∈X ×Y L Φ D E(x; W * E ); W * D ; W * , y + γ x -D E(x; W * E ); W * D 2 2 + β D E(x; W * E ); W * D 1 + λ W * E 2 2 + W * D 2 2

(1)

where L represents the classification loss function which is cross-entropy in our case, Φ denotes the classifier with pretrained weights W * , while E and D denotes the encoder and decoder respectively with corresponding pretrained weights W * E and W * D . We introduce two new hyperparameters, γ and β. γ controls the auto-encoder's focus on reconstruction of the input. β on the other hand, controls the sparsity enforced on the output of the auto-encoder. Pretrained weights are obtained by training the auto-encoder as well as the classifier in isolation as previously mentioned. With this new formulation, the output of the auto-encoder is both sparse as well as aligned with the input as evident from Fig. 2b .

The selection of β can significantly impact the output of the model. Performing grid search to determine this value is not possible as large values of β results in models which are more interpretable but inferior in terms of performance, therefore, presenting a trade-off between performance and interpretability which is difficult to quantify. A rudimentary way which we tested for automated selection of these hyperparameters (β and γ) is via feature importance measures (Siddiqui et al., 2019; Vidovic et al., 2016) . The simplest candidate for this importance measure is saliency. This can be written as:

I(x) = ∂a L ∂x

where L denotes the number of layers in the classifier and a L denotes the activations of the last layer in the classifier. This computation is just based on the classifier i.e. we ignore the auto-encoder at this point. Once the values of the corresponding importance metric is evaluated, the values are scaled in the range of [0, 1] to serve as the corresponding reconstruction weight i.e. γ. The inverted importance values serve as the corresponding sparsity weight i.e. β. Therefore, the final term imposing sparsity on the classifier can be written as:

I(x) = I(x) -min j I(x) j max j I(x) j -min j I(x) j γ * (x) = I(x) & β * (x) = 1.0 -I(x)

γ x -D E(x; W * E ); W * D 2 2 + β D E(x; W * E ); W * D 1 ⇒ C × D E(x; W * E ); W * D β * (x) 1 + x -D E(x; W * E ); W * D γ * (x) 2 2

In contrast to the instance-based value of β, we used the average saliency value in our experiments. This ensures that the activations are not sufficiently penalized so as to significantly impact the performance of the classifier. Due to the low relative magnitude of the sparsity term, we scaled it by a constant factor C (we used C = 10 in our experiments). This approach despite being interesting, still results in inferior performance as compared to manual fine-tuning of hyperparameters. This needs further investigation for it to work in the future.

4. DATASETS:

In order to investigate the efficacy of TSInsight, we employed several different time-series datasets in this study. The summary of the datasets is available in Table 1 .

Synthetic Anomaly Detection Dataset: The synthetic anomaly detection dataset (Siddiqui et al., 2019) is a synthetic dataset comprising of three different channels referring to the pressure, temperature and torque values of a machine running in a production setting where the task is to detect anomalies. The dataset only contains point-anomalies. If a point-anomaly is present in a sequence, the whole sequence is marked as anomalous. Anomalies were intentionally never introduced on the pressure signal in order to identify the treatment of the network to that particular channel.

Electric Devices Dataset: The electric devices dataset (Hills et al., 2014) is a small subset of the data collected as part of the UK government's sponsored study, Powering the Nation. The aim of this study was to reduce UK's carbon footprint. The electric devices dataset is comprised of data from 251 households, sampled in two-minute intervals over a month.

Character Trajectories Dataset: The character trajectories dataset2 contains hand-written characters using a Wacom tablet. Only three dimensions are kept for the final dataset which includes x, y and pen-tip force. The sampling rate was set to be 200 Hz. The data was numerically differentiated and Gaussian smoothen with σ = 2. The task is to classify the characters into 20 different classes.

FordA Dataset: The FordA dataset3 was originally used for a competition organized by IEEE in the IEEE World Congress on Computational Intelligence (2008). It is a binary classification problem where the task is to identify whether a certain symptom exists in the automotive subsystem. FordA dataset was collected with minimal noise contamination in typical operating conditions.

Forest Cover Dataset: The forest cover dataset (Tan et al., 2011) has been adapted from the UCI repository for the classification of forest cover type from cartographic variables. The dataset has been transformed into an anomaly detection dataset by selecting only 10 quantitative attributes out of a total of 54. Instances from the second class were considered to be normal while instances from the UWave Gesture Dataset: The wave gesture dataset (Liu et al., 2009) contains accelerometer data where the task is to recognize 8 different gestures.

5. MAIN RESULTS:

The results we obtained with the proposed formulation were highly intelligible for the datasets we employed in this study. TSInsight produced a sparse representation of the input focusing only on the salient regions. With a careful tuning of the hyperparameters, TSInsight outperformed the base classifier in terms of accuracy for most of the cases. This is evident from Table 3 (Appendix G). However, it is important to note that TSInsight is not designed for the purpose of performance, but rather for interpretability. Therefore, we expect that the performance will drop in many cases depending on the amount of sparsity enforced.

In order to assess the obtained reconstructions qualitatively, we visualize an anomalous example from the synthetic anomaly detection dataset in Fig. 3 along with the attributions from all the commonly employed attribution techniques (listed below) including TSInsight. Since there were only a few relevant discriminative points in the case of forest cover and synthetic anomaly detection datasets, the auto-encoder suppressed most of the input making the decision directly interpretable.

A simple way to quantify the quality of the attribution is to just preserve parts of the input that are considered to be important by the method, and then pass the suppressed input to the classifier. If the selected points are indeed causal for the prediction generated by the classifier, the prediction would stand. Otherwise, the prediction will flip. It is important to note that unless there is a high amount of sparsity present in the signal, suppressing the signal itself will result in a loss of accuracy for the classifier since there is a slight mismatch for the classifier for the inputs seen during training. We compared TSInsight with a range of different saliency methods. In all of the cases, we used the absolute magnitude of the corresponding feature attribution method to preserve the most-important input features. Two methods i.e. -LRP and DeepLift were shown to be similar to input gradient (Adebayo et al., 2018) , therefore, we compare only against input gradient. We don't compute class-specific saliency, but instead, compute the saliency w.r.t. all the output classes. For all the methods computing class specific activations maps e.g. GradCAM, guided GradCAM, and occlusion sensitivity, we used the class with the maximum predicted score as our target. Following is the list of the evaluated attribution techniques:

None: None refers to the absence of any importance measure. Therefore, in this case, the complete input is passed on to the classifier without any suppression for comparison.

Random: Random points from the input are suppressed in this case.

Input Magnitude: We treat the absolute magnitude of the input to be a proxy for the features' importance.

Occlusion sensitivity: We iterate over different input channels and positions and mask the corresponding input features with a filter size of 3 and compute the difference in the confidence score of the predicted class (i.e. the class with the maximum score on the original input). We treat this sensitivity score as the features' importance. This is a brute-force measure of feature importance and employed commonly in prior literature as served as a strong baseline in our experiments (Zeiler & Fergus, 2013) .

TSInsight: We treat the absolute magnitude of the output from the auto-encoder of TSInsight as features' importance.

Palacio et al.::

Similar to TSInsight, we use the absolute magnitude of the auto-encoder's output as the features' importance (Palacio et al., 2018) .

Gradient: We use the absolute value of the raw gradient of the classifier w.r.t. to all of the classes as the features' importance (Siddiqui et al., 2019; Kumar et al., 2017) .

Gradient Input: We compute the Hadamard (element-wise) product between the gradient and the input, and use its absolute magnitude as the features' importance (Sundararajan et al., 2017) .

Integrated Gradients: We use absolute value of the integrated gradient with 100 discrete steps between the input and the baseline (which was zero in our case) as the features' importance (Sundararajan et al., 2017) .

SmoothGrad: We use the absolute value of the smoothened gradient computed by using 100 different random noise vector sampled from a Gaussian distribution with zero mean, and a variance of 2/(max j x j -min j x j ) where x was the input as the features' importance measure (Smilkov et al., 2017) .

Guided Backpropagation: We use the absolute value of the gradient provided by guided backpropagation (Springenberg et al., 2014) . In this case, all the ReLU layers were replaced with guided ReLU layers which masks negative gradients, hence filtering out negative influences for a particular class to improve visualization.

GradCAM: We use the absolute value of Gradient-based Class Activation Map (GradCAM) (Selvaraju et al., 2016) as our feature importance measure. GradCAM computes the importance of the different filters present in the input in order to come up with a metric to score the overall output. Since GradCAM visualizes a class activation map, we used the predicted class as the target for visualization.

Guided GradCAM: Guided GradCAM Selvaraju et al. ( 2016) is a guided variant of GradCAM which performs a Hadamard product (pointwise) of the signal from guided backpropagation and GradCAM to obtain guided GradCAM. We again use the absolute value of the guided GradCAM output as importance measure. The results with different amount of suppression are visualized in Fig. 4 which are averaged over 5 random runs. Since the datasets were picked to maximize diversity in terms of the features, there is no perfect method which can perfectly generalize to all the datasets. The different attribution techniques along with the corresponding suppressed input is visualized in Fig. 3 for the synthetic anomaly detection datasets. TSInsight produced the most plausible looking explanations along with being the most competitive saliency estimator on average in comparison to all other attribution techniques. Alongside the numbers, TSInsight was also able to produce the most plausible explanations.

6 PROPERTIES OF TSINSIGHT 6.1 GENERIC APPLICABILITY TSInsight is compatible with any base model. We tested our method with two prominent architectural choices in time-series data i.e. CNN and LSTM. The results highlight that TSInsight was capable of extracting the salient regions of the input regardless of the underlying architecture. It was interesting to note that since LSTM uses memory cells to remember past states, the last point was found to be the most salient. For CNN on the other hand, the network had access to the complete information resulting in equal distribution of the saliency. A visual example is presented in Appendix E.

6.2. MODEL-BASED VS INSTANCE-BASED EXPLANATIONS:

Since TSInsight poses the attribution problem itself as an optimization objective, the data based on which this optimization problem is solved defines the explanation scope. If the optimization problem is solved for the complete dataset, this tunes the auto-encoder to be a generic feature extractor, enabling extraction of model/dataset-level insights using the attribution. In contrary, if the optimization problem is solved for a particular input, the auto-encoder discovers an instance's attribution. This is contrary to most other attribution techniques which are only instance specific. contraction being induced in those directions. This is similar to the contraction induced in contractive auto-encoders (Rifai et al., 2011) without explicitly regularizing the Jacobian of the encoder.

6.3. AUTO-ENCODER'S JACOBIAN SPECTRUM ANALYSIS:



6.4. ADVERSARIAL ROBUSTNESS:

We used the fastest and the simplest attack i.e. Fast-Gradient Sign Method (Goodfellow et al., 2014) as a dummy check. The accuracy with increasing values of are plotted to provide a hint regarding the possibility of attaining higher level of robustness since the setup is similar to high-level representation guided denoising with an emphasis on interpretability instead of robustness (Liao et al., 2018) . Recent studies have indicated that the two objectives i.e. interpretability and robustness are complementary to each other (Engstrom et al., 2019) . Fig. 6 indicates that TSInsight achieved a high level of immunity against adversarial noise in comparison to the base classifier which is better or on par with Palacio et al. (2018) . It is important to note that this is not a proper adversarial evaluation, but rather, only a speculation which needs further investigation in the future.

7. CONCLUSION:

We presented a novel method to discover the salient features of the input for the prediction by using the global context. With the obtained results, it is evident that the features highlighted by TSInsight are intelligible as well as reliable at the same time. In addition to interpretability, TSInsight also offers off the shelf properties which are suitable in a wide range of problems. Interpretability is essential in many domains, and we believe that our method opens up a new research direction for interpretability of deep models for time-series analysis. We would like to further investigate the automated selection of hyperparameters in the future which is primitive for the wide-scale applicability of TSInsight along with its impact on adversarial robustness. A APPENDIX

B SYSTEM PIPELINE:

The system overview pipeline is visualized in Fig. 7 . 

:

Code along with the trained models will be made publicly available upon publication

https://archive.ics.uci.edu/ml/datasets/Character+Trajectories

http://www.timeseriesclassification.com/description.php?Dataset=FordA

http://www.timeseriesclassification.com/description.php?Dataset= NonInvasiveFetalECGThorax1

Figures and Tables:

Figure 1: Plot at the top shows the original input while plot at the bottom indicates the reconstructed input from the raw auto-encoder or the fine-tuned auto-encoder.

Figure 2: Plot at the top shows the original input while plot at the bottom indicates the reconstructed input either from TSInsight or the auto-encoder with just sparsity inducing norm.

Figure3: Output from different attribution methods as well as the input after suppressing all the points except the top 5% highlighted by the corresponding attribution method on an anomalous example from the synthetic anomaly detection dataset.

Figure 4: Suppression results against a large number of baseline methods averaged over 5 random runs. Enlarged version of the plots is available in Appendix H.

Fig. 5 visualizes the histogram of singular values of the average Jacobian on test set of the forest cover dataset. We compare the spectrum of the formulation from Palacio et al. (2018) and TSInsight. It is evident from the figure that most of the singular values for TSInsight are close to zero, indicating a

Figure 6: Accuracy of the adversarial examples curated using FGSM attack with varying max .

Figure 7: System Pipeline

Figure 9: Auto-encoder training with different base models (CNN and LSTM). TSInsight was able to discover salient regions of the input regardless of the employed classifier.

Figure 10: Enlarged suppression plots (a). Copy of Fig. 4.

Figure 11: Enlarged suppression plots (b). Copy of Fig. 4.

Dataset Details

Table content: <table><tr><td>Dataset</td><td>Train</td><td>Validation</td><td>Test</td><td>Sequence Length</td><td>Input Channels</td><td>Output Classes</td></tr><tr><td>Synthetic Anomaly Detection</td><td>45000</td><td>5000</td><td>10000</td><td>50</td><td>3</td><td>2</td></tr><tr><td>Electric Devices</td><td>6244</td><td>2682</td><td>7711</td><td>50</td><td>3</td><td>7</td></tr><tr><td>Character Trajectories</td><td>1383</td><td>606</td><td>869</td><td>206</td><td>3</td><td>20</td></tr><tr><td>FordA</td><td>2520</td><td>1081</td><td>1320</td><td>500</td><td>1</td><td>2</td></tr><tr><td>Forest Cover</td><td>107110</td><td>45906</td><td>65580</td><td>50</td><td>10</td><td>2</td></tr><tr><td>ECG Thorax</td><td>1244</td><td>556</td><td>1965</td><td>750</td><td>1</td><td>42</td></tr><tr><td>WESAD</td><td>5929</td><td>846</td><td>1697</td><td>700</td><td>8</td><td>3</td></tr><tr><td>UWave Gesture</td><td>624</td><td>272</td><td>3582</td><td>946</td><td>1</td><td>8</td></tr></table>

Jason Yosinski, Jeff Clune, Anh Nguyen, Thomas Fuchs, and Hod Lipson. Understanding neural networks through deep visualization. In Deep Learning Workshop, International Conference on Machine Learning (ICML), 2015. Matthew D. Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. CoRR, abs/1311.2901, 2013. URL http://arxiv.org/abs/1311.2901. Luisa M Zintgraf, Taco S Cohen, Tameem Adel, and Max Welling. Visualizing deep neural network decisions: Prediction difference analysis. arXiv preprint arXiv:1702.04595, 2017.

Table content: <table/>

Peer review (iclr2020):
The paper presents a new approach for improving the interpretability of deep learning methods used for time series. The is mainly concerned with classification tasks for time series. First, the classifier is learned in a usual way. Subsequently, a sparse auto-encoder is used that encodes the last layer of the classifier. For training the auto-encoder the classifier is fixed and there is a decoding loss as well as a sparsity loss. The sparse encoding of the last layer is supposed to increase the interpretability of the classification as it indicates which features are important for the classification. In general, I think this paper needs to be considerably improved in order to justify a publication. I am not convinced about the interpretability of the sparse extracted feature vector. It is not clear to me why this should be more interpretable then other methods. The paper contains many plots where the compare to other attributes methods, but it is not clear why the presented results should be any better as other methods (for example Fig 3). The paper is missing also a lot of motivation, the results are not well explained (e.g. Fig 3) and it needs to be improved in terms of writing. Equation 1 is not motivated (which is the main part of the paper) and it is not clear how Figure 2a has been generated and why this represented should be * an interesting one, doesn’t help with the interpretability of the model*. The authors have to improve the motivation part as well as the discussion of the results. More comments below: - The method seems to suffer from a severe parameter tuning problem, which makes it hard to use in practise. - It is unclear to me why the discriminator is fixed during training the encoder and decoder. Shouldnt it improve performance to also adapt the discriminator to the new representation. - Why can we not just add a layer with a sparsity constraint one layer before the *encoded* layer such that we have the same architecture and optimize that end to end? At least comparison to such an approach would be needed to justify something more complex. - The plots need to be better explained. While the comparisons seems to be exhaustive, it is already too many plots and it is very easy to get lost. Also, the quality of the plots need to be improved (e.g. font size)