                                 Optimal Information Retention for Time-Series Explanations

                                                                                              m
information of X no relation to Y , as follows:                                   I (X; Y | X ), we minimize the first term
                                                                      To minimize
                                                                      I X; Y, X̂ , while maximize the second term I(X; X̂).
                    min I (X; X m | Y ) .                  (2)
                                                                      For the first term, when X̂ serves as the input generated
Although Criteria 2.2 provides an ideal direction for mini-           by X m , the mutual information I(X; X̂) should ideally
mizing redundant information, computing the conditional               include only the information contained in I(X; Y ). Other-
mutual information remains difficult for:                             wise, redundant information may be introduced. Assuming
                                       
                                             p (xm | x, y)
                                                                    X̂has no overlap   with the portions of H(X | Y ), then
          m
I (X; X | Y ) = Ep(x,y) Ep(xm |x,y) log
                                                                                  
                                                              ,       I X; Y, X̂ = I (X; Y ), which is a constant independent
                                              p (xm | y)
                                                          (3)         of X̂.
where p (xm | x, y) and p (xm | y) are intractable in DNN.
Considering X m = X ⊙ M , I (X; M | Y ) is served as the              For the second term, since X and X̂ share effective informa-
simplified form of I (X; X m | Y ). Furthermore, by relating          tion in X m , they can naturally regarded as the anchor sam-
it to the Kullback-Leibler divergence, there are                      ples and the positive samples, respectively, in contrastive
                                                                      learning. Therefore, we employ contrastive loss to maxi-
I (X; M | Y ) = Ep(x,y) [DKL (p(m | x, y)||p(m | y))] ,               mize the mutual information between X and X̂:
                                                            (4)
                                                                                    N
where I (X; X m | Y ) ∝ DKL (p(m | x, y)∥p(m | y)).                             1 X
Referring to the variational approaches (Miao et al.,                 Lct = −         {log[exp (f (xi ) · f (x̂i ))]
                                                                                N i=1
2022; Queen et al., 2024), M can be sampled following
                                                                                                         K
Bernoulli  distribution at each time step, i.e., p(m | x) =                                              X
                                                                                                               exp f (xi ) · f x̂−
                                                                                                                                   
Q                                                                     − log[exp (f (xi ) · f (x̂i )) +                           j    ]},
  t,d Bern(p t,d ), where pt,d denotes the probability that the
                                                                                                         j=1
value of x at time t and dimension d is retained.
                                           Q       Assuming                                                                    (8)
the desired distribution of p is p(m) = t,d Bern(r), the              where x̂−  denotes the  negative sample, which can be gener-
                                                                              j
derived objective function can be expressed as:
                                                                      ated by h(X − X M ), i.e., Gaussian noise imputation. The
 Lmask = E[DKL (p(m | x)∥q(m))]                                       detailed proof of (8) is provided in Appendix B.2.
         X            pt,d                   1 − pt,d (5)
       =    [pt,d log      + (1 − pt,d ) log         ],               3. ORTE Method
                       r                      1−r
            t,d
                                                                      We now present the Optimal Information Retention for
where r as the desired probability of q(m = 1) is a hyper-            Time-Series Explanations (ORTE), whose overview frame-
parameter in practice. The detailed proof of (5) is provided          work is illustrated in Figure 2. Based on the analysis in
in Appendix B.1.                                                      the previous section, ORTE describes a practical framework
Intuitively, the optimal X m should contain all the in-               for time-series explanations from the optimal information
formation relevant to Y . Assuming X m is removed,                    retention principle. ORTE includes three main blocks like
I (X; Y | X m ) → 0 indicates that H(X | X m ) completely             Adaptive Mask Generator (AMG), Contrastive Explanation
loses the information required to predict Y . To this end,            Separator (CES), and Predictive Distribution Aligner (PDA).
the formal definition of maximum effective information                Specifically, AMG learns a 0-1 occlusion matrix to mask
retention is as follows.                                              redundant information so that achieves the Minimum Re-
Criteria 2.3. (Maximum Effective Information Retention)               dundant Information Retention. CES employs contrastive
The optimal retention of sub-features X m should encom-               learning to trade off low redundancy and high complete-
pass as much task-relevant information from X as possible,            ness in the explanations, thereby achieving the Maximum
minimizing the risk of information omission, as follows:              Effective Information Retention. PDA aligns the prediction
                                                                      distribution of the explanations with the black-box model to
                    min I (X; Y | X m ) .                  (6)        ensure the Semantic Information Retention.

We pad the masked parts of X m to obtain X̂, ensur-                   3.1. Adaptive Mask Generator
ing consistency in dimensions while avoiding the Out-of-              According to the Minimum Redundant Information Reten-
Distribution (OOD). Furthermore, (6) can be decomposed                tion, the binary mask M ∈ {0, 1}T ×D reveals the inter-
as:                                                                   pretability of the time series, i.e., important segments are
       I (X; Y | X m ) ⇒                                              assigned {1} to be retained. The explanation generator
                                                     (7)        is performed through two steps to learn M : Probabilistic
       I X; Y | X̂ = I X; Y, X̂ − I X; X̂ .                           Generation Process and Discrete Mapping Process.

                                                                  4
