                               Optimal Information Retention for Time-Series Explanations

construct a practical framework based on the principle. The principle provides optimization directions for explanations
across three levels: fidelity, low redundancy, and high completeness. The specific contributions of the principle are
three-fold:

  • We align the prediction distributions of the original time series and explanations within the pre-trained black-box model
    to ensure the fidelity of the explanation.

  • We employ variational methods to learn a mask matrix that follows Bernoulli distributions, masking task-irrelevant
    information to ensure low redundancy in the explanation.

  • We deconstruct the time series signal into positive and negative samples pairs, employing contrastive learning to
    ensure that positive samples contain task-relevant effective information while negative samples contain only irrelevant
    information, thereby ensuring the completeness of the explanation.

The second and third terms can naturally derive objective functions from the explicit conditional mutual information in the
optimal information retention principle, and we provide the corresponding proofs below.

B.1. Proof of Theorem 1
Minimum Redundant Information Retention. The optimal sub-features X m should only contain the mutual information
shared by I(X; Y ), and include as little information of X no relation to Y , as follows:

                                                     min I (X; X m | Y ) .                                              (16)

We aim to derive from I (X; X m | Y ) the objective function for optimizing time-series explanations:

                                    Lmask = E[DKL (p(m | x)∥q(m))]
                                            X            pt,d                   1 − pt,d                                (17)
                                          =    [pt,d log      + (1 − pt,d ) log          ].
                                                          r                      1−r
                                              t,d


Proof.
                                                            p (x, xm | y)
                                    Z Z       Z                                                   
                I (X; X m | Y ) =                   log                        p (x, xm
                                                                                         | y) dxdx m
                                                                                                       p(y)dy
                                 Y      XM X             p(x | y)p (xm | y)
                                                         p (xm | x, y)
                                Z Z          Z                                               
                                                                                 m            m
                             =                    log                    p (x, x   | y) dxdx      p(y)dy
                                 Y      XM X              p (xm | y)
                                                       p (xm | x, y)
                                Z Z        Z                        
                             =                  log                    p (x, xm , y) dxdxm dy                  (18)
                                 Y XM X                 p (xm | y)
                                                    p (xm | x, y)
                                                                  
                             = Ep(x,xm ,y) log
                                                     p (xm | y)
                                                              p (xm | x, y)
                                                                          
                             = Ep(x,y) Ep(xm |x,y) log                         ,
                                                               p (xm | y)
                           h        m
                                            i
                                      |x,y)
and we can view Ep(xm |x,y) log p(x
                                 p(xm |y)     as the Kullback-Leibler divergence of p(xm | x, y) and p(xm | y). So
             
I X; X M | Y can be rewritten as:

                              I X; X M | Y = Ep(x,y) [DKL (p(xm | x, y)||p(xm | y))]
                                          
                                                                                                                        (19)

where xm = x ⊙ m and (19) can be redefined as:

                                I (X; M | Y ) = Ep(x,y) [DKL (p(m | x, y)||p(m | y))] .                                 (20)

So there are
                                min I X; X M | Y ∝ min DKL (p(m | x, y)||p(m | y)).
                                                
                                                                                                                        (21)

                                                              13
