arXiv:2608.25897cs.LGAug 2026

Manuscript Offprint

arXiv:2608.25897

Towards A Unified Information Bottleneck Framework for Time Series Explanations

Xu Zheng, Zichuan Liu, Zhuomin Chen, Mayur Akewar, Janki Bhimani, Jason Liu, Mo Sha, Jingchao Ni, Wei Cheng, Dongsheng Luo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Xu Zheng*, Zichuan Liu*, Zhuomin Chen, Mayur Akewar, Janki Bhimani, Jason Liu, Mo Sha, Jingchao Ni, Wei Cheng, Dongsheng Luo

Abstract—Explaining deep learning models operating on time series data is crucial in various applications that require transparent and interpretable insights into model behavior. Existing explanation methods generally fall into two categories: attribution-based explanations, which identify the temporal regions most responsible for a prediction, and counterfactual explanations, which reveal how an input should be modified to alter the model's decision. Despite valuable insights, these two fields are largely studied independently. This disconnect leaves attribution methods lacking causal validation, while counterfactual methods suffer from severe instability, producing adversarial-like noise instead of meaningful explanations. In this work, we revisit time-series explainability from an information-theoretic perspective and show that existing explainers are vulnerable to trivial solutions and distributional shifts. To address these limitations, we propose a unified objective function for explainable time series learning that bridges attribution and counterfactual reasoning within a single framework. Building upon the Information Bottleneck principle, our formulation explicitly prevents trivial explanations and out-of-distribution counterfactuals. Based on this objective function, we introduce TimeX++, a novel explanation framework that learns a parametric transformation network to construct explanation-embedded instances, where preserved information yields attribution explanations and controlled information removal produces stable counterfactual explanations. We evaluate TimeX++ on synthetic and real-world benchmarks against state-of-the-art baselines. Extensive quantitative and qualitative results show that TimeX++ consistently outperforms competing methods, yielding faithful attributions and stable counterfactual explanations.

Index Terms—Explainable AI, Time Series, Deep Learning

I. INTRODUCTION

Deep learning has become a cornerstone technology in analyzing time series data, prevalent in scenarios such as finance [4], healthcare [24], and environmental science [60]. Despite its predictive success, the black-box nature of deep neural networks remains a critical limitation. The lack of explainability hinders user trust and prevents domain experts from gaining actionable insights, which are essential in these sensitive applications[49, 15, 47].

Current efforts to enhance the explainability of time series models primarily fall into two disconnected paradigms: attribution and counterfactual explanations. Attribution methods focus on a post-hoc pinpointing of the most salient temporal regions that dominate the model's prediction [20, 9, 54]. Popular perturbation-based attribution methods, such as Dynamask [9] and Extrmask [12], evaluate feature importance by masking non-salient regions. Nevertheless, these methods often rely on ad-hoc objectives lacking a solid theoretical foundation and frequently suffer from out-of-distribution (OOD) issues when the masked sub-instances are evaluated by the classifier [50, 59, 43]. Conversely, counterfactual explanations answer "what-if" scenarios by finding the minimal perturbation required to change the model's prediction [6]. Nevertheless, generating counterfactuals in the vast and continuous space without structural guidance often leads to trivial solutions, such as mode collapse in conditional generation [40, 39, 23]. Pursuing label changes alone can result in adversarial attacks that satisfy the classifier's decision boundary while failing to capture meaningful and interpretable changes [28, 25, 42].

Crucially, existing research typically treats attribution and counterfactual explanations as completely isolated tasks, which introduces fundamental flaws [26]. When treated separately, attributions remain purely descriptive, highlighting salient features but not causally verifying that altering those specific features actually changes the model's decision [22, 37]. Conversely, without the structural guidance provided by attributions, counterfactual generation lacks semantic grounding. If a counterfactual method optimizes for a label flip across the entire time series without knowing which features are semantically responsible for the original prediction, it inevitably produces adversarial noise rather than a valid, interpretable pattern shift.

To overcome these limitations, we establish a theoretical foundation that unifies attribution and counterfactual explanations through the lens of the Information Bottleneck (IB) principle [53]. Formally, given a time series instance X and its label Y, the IB principle formulates the extraction of an explanation sub-instance X′X' as an optimization problem that balances compactness and informativeness: X′X' minimizes I(X;X′)−αI(X′;Y)I(X; X') - \alpha I(X'; Y), where I(⋅;⋅)I(\cdot; \cdot) denotes mutual information and α>0\alpha > 0 controls the trade-off [36]. In this context, the attribution explanation equates exactly to solving this IB objective. By minimizing I(X;X′)I(X; X'), it discards redundant temporal dynamics, and by maximizing I(X′;Y)I(X'; Y), it retains the sufficient statistics necessary for predicting Y. Consequently, the attribution X′X' acts as the optimal information bottleneck, defining a semantically salient sub-manifold of the original

X. Zheng, Z. Chen, M. Akewar, J. Bhimani, J. Liu, and M. Sha are with Florida International University. E-mail: {xzhen019, zchen051, makew001, jbhimani, liux, msha}@fiu.edu

Z. Liu is with Carnegie Mellon University. E-mail: zichuanl@andrew.cmu.edu

J. Ni is with the University of Houston. E-mail: jni7@uh.edu

W. Cheng is with NEC Labs America. E-mail: weicheng@nec-labs.com

D. Luo is with Singapore Management University. This work was partially conducted while he was at Florida International University. E-mail: luodongsheng01@gmail.com

  • indicates equal contribution.

Figure

Fig. 1: A comparison between our model and previous work. For the attribution explanations, the latent embeddings of explanations are learned from the ECG dataset. Our explanations are within the original distribution, whereas the reference model's explanations are not. For the counterfactual explanations, our framework represents more robust results.

high-dimensional temporal space.

Building upon this, we analyze the counterfactual explanation within the same information-theoretic framework. Generating a counterfactual requires finding a perturbed instance X′′X'' that alters the classifier's prediction to a target label Y′′Y''. However, optimizing this perturbation directly in the unconstrained space of X inevitably explores the whole decision space, which could cause injecting adversarial noise into the redundant regions X∖X′X \setminus X' that the IB explicitly discarded. To ensure a semantically valid distribution shift, the counterfactual perturbation must be strictly bounded within the support of the information bottleneck X′X'. From an information-theoretic perspective, a legitimate counterfactual transition Y→Y′′Y \to Y'' necessitates a corresponding manipulation within the sufficient statistics subspace defined by I(X′;Y)I(X'; Y), rather than arbitrary deviations in the redundant space. Through this IB-driven formulation, attribution and counterfactual explanations are intrinsically unified as complementary mechanisms over the same information bottleneck. The attribution identifies the exact semantic support X′X', while the counterfactual manipulation within this bounded support provides the causal verification that X′X' indeed dictates the predictive behavior.

However, directly applying the standard IB principle to time series presents critical challenges. Primarily, the exact computation of mutual information in continuous, high-dimensional temporal spaces is computationally intractable [35]. Furthermore, attempting to evaluate the extracted sub-instances X′X' directly with the original classifier often violates the underlying data manifold, inevitably leading to OOD predictions and unreliable evaluations [18, 61]. To address these challenges, we propose TimeX++, a novel and unified framework designed to simultaneously extract both attribution and counterfactual explanations. It optimizes a practical, unified objective function. We replace the compactness quantifier I(X;X′)I(X; X') with a tractable variational upper bound comprising minimality and discrete constraints, and substitute the informativeness quantifier I(X′;Y)I(X'; Y) with a measure of label consistency that strictly preserves the underlying data distribution. The key advantage of our unified architecture lies in its dual capability. First, for attribution explanations, it generates in-distribution, explanation-embedded instances, entirely circumventing the severe OOD issues that plague reference models (as illustrated in Figure 1). Second, for counterfactual explanations, by tightly coupling the counterfactual search with the in-distribution attribution bottleneck, TimeX++ constrains the counterfactual trajectory along meaningful feature dimensions. This guarantees the generation of stable, semantically valid counterfactuals that are highly resistant to noise vulnerabilities. We summarize our contributions as follows:

• We formally investigate the limitations of treating attribution and counterfactual explanations as isolated tasks in time series. By analyzing them through the Information Bottleneck principle, we establish their theoretical connection and propose a practical, unified objective function.

• We propose a novel explanation framework, TimeX++, which successfully addresses the out-of-distribution shifting issue in attribution explanations by generating in-distribution sub-instances and leveraging this attribution bottleneck to generate stable, semantically grounded counterfactuals.

• We achieve state-of-the-art performance for both attribution and counterfactual explanation tasks on synthetic and real-world datasets and demonstrate their effectiveness.

References (55)