# TIMING: Temporality-Aware Integrated Gradients for Time Series Explanation

TIMING: 시계열 설명을 위한 시간성 인식 통합 그래디언트

Hyeongwon Jang, Changhun Kim, Eunho Yang · arXiv · 2025년 6월 5일

- **연구 문제** 기존 시계열 XAI 평가는 점들을 동시에 가려 양의 기여와 음의 기여가 상쇄되므로 방향성 귀인 기법의 효과를 과소평가할 수 있습니다.
- **연구 방법** 누적 지표 CPD와 CPP로 평가를 바꾸고, 세그먼트 기반 마스킹으로 IG의 경로를 시계열에 맞게 개선한 TIMING을 제안합니다.
- **주요 결과** MIMIC-III의 zero 대체 CPD(K=50)에서 TIMING은 0.366±0.021로 IG의 0.342±0.021보다 높게 보고되며, 합성 데이터에서도 비슷하거나 높은 값을 보입니다.

## 기존 시계열 XAI 평가의 문제

시계열 설명 기법은 보통 중요도의 크기만 추정하고, 특징이 예측을 올리는지 내리는지 방향은 무시하는 경우가 많습니다. 기존 평가는 상위 중요 점들을 한꺼번에 가린 뒤 예측 변화를 측정하므로, 양의 기여와 음의 기여가 서로 상쇄되어 방향성 귀인 기법의 실제 효과가 과소평가될 수 있습니다. 이 논문은 이 평가 문제를 먼저 짚고, 이를 해결하는 누적 지표를 제안합니다.

## 누적 지표 CPD와 CPP

CPD는 중요도가 가장 큰 점을 순차적으로 제거하면서 연속 단계 사이의 예측 확률 벡터 차이를 ℓ1 노름으로 누적합니다. 값이 클수록 중요한 점을 잘 찾은 것입니다. CPP는 중요도가 가장 낮은 점을 순차적으로 제거하며 같은 방식으로 누적하며, 값이 작을수록 덜 중요한 점을 제거해도 예측이 안정적으로 유지된다는 뜻입니다. 두 지표 모두 점을 한꺼번에 가리지 않고 단계별로 누적하므로 상쇄 문제를 줄입니다.

![Table 1: Preliminary evaluation of XAI methods and evalua- tion metrics for MIMIC-III mortality prediction, comparing the accuracy and cumulative preservation…](https://refivu.com/papers/66053030-91b8-404c-8aa3-0d69e41e6fb2/figures/figure-b0a19494bf882dfb160c294ee82dc94e.png?thumb=512)

**Table 1** :Preliminary evaluation of XAI methods and evalua- tion metrics for MIMIC-III mortality prediction, comparing the accuracy and cumulative preservation difference.

[원문](https://arxiv.org/abs/2506.05035v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hyeongwon Jang, Changhun Kim, Eunho Yang · TIMING: Temporality-Aware Integrated Gradients for Time Series Explanation · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Figure 5: Cumulative Prediction Preservation (CPP) comparison of XAI methods on MIMIC-III mortality prediction with zero substitution. Results are averaged ove…](https://refivu.com/papers/66053030-91b8-404c-8aa3-0d69e41e6fb2/figures/figure-e38c67b2f604abb7e71dce8a34059dc1.png?thumb=512)

**Figure 5** : Cumulative Prediction Preservation (CPP) comparison of XAI methods on MIMIC-III mortality prediction with zero substitution. Results are averaged over five cross-validation runs, with 20% and 40% random masking of observed points alongside all missing points.

[원문](https://arxiv.org/abs/2506.05035v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hyeongwon Jang, Changhun Kim, Eunho Yang · TIMING: Temporality-Aware Integrated Gradients for Time Series Explanation · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

## MaskingIG와 세그먼트 기반 TIMING

IG는 기준선에서 입력까지의 직선 경로를 따라 기울기를 적분하며, 시계열에서는 기준선을 0으로 두는 것이 일반적입니다. 이 경우 모든 점이 함께 축소되어 시간 관계가 깨지는 상황을 잘 보지 못하고, 중간 점이 모델이 훈련 중 보지 못한 OOD 영역에 놓일 수 있습니다. MaskingIG는 기준선을 (1 − M) ⊙ x로 바꿔 일부 원래 값을 유지한 채 경로를 구성합니다. TIMING은 점 단위 마스크 대신 길이가 \[smin, smax\] 범위인 n개의 세그먼트를 가리는 마스크 생성기 G(n, smin, smax)를 사용하며, 마스크 값이 1인 조건에서 MaskingIG의 기대값을 계산합니다.

## 이론적 성질과 적용 조건

Proposition 4.1은 기준선이 0이고 마스크 분포에서 Pr(M\_t,d=1)\>0이며 경로 위 부분 도함수가 유계라는 가정 아래, 점마다 무작위 마스크를 하나씩 샘플링해도 반복된 IG의 기대값과 같은 형태의 식을 얻는다고 주장합니다. Proposition 4.2는 정확히 한 점만 다른 두 입력에서 모델 출력이 다르면 해당 점의 TIMING 귀인이 0이 아니라고 말합니다. Proposition 4.3은 기능적으로 동일한 모델에서 귀인이 같다는 구현 불변성을 다룹니다. 반면 Proposition 4.4에 따라 TIMING의 점별 귀인 합이 모델 출력 차이와 같다는 완전성은 보장되지 않으며, 이 점에서 IG의 완전성 공리를 만족하지 않습니다.

## MIMIC-III와 합성 데이터에서의 비교

MIMIC-III 사망률 예측 실험에서 TIMING은 zero 대체 설정의 CPD(K=50)에서 0.366±0.021을 보고하며, IG의 0.342±0.021보다 높습니다. 같은 zero 대체 10% 마스킹 CPD에서는 TIMING 0.597±0.037, IG 0.549±0.039로 보고됩니다. 합성 데이터에서는 Switch-Feature의 CPD(10% 마스킹)가 TIMING 0.208±0.003, IG 0.196±0.007이고, State에서는 TIMING 0.163±0.002, IG 0.162±0.002로 거의 같습니다. 이 결과는 단일 GRU 분류기와 해당 데이터셋 설정에서 얻은 것입니다.

![Table 2: Performance comparison of various XAI methods on MIMIC-III mortality prediction with zero substitution. Results are aggregated with mean ± standard er…](https://refivu.com/papers/66053030-91b8-404c-8aa3-0d69e41e6fb2/figures/figure-7e8c1f87a8f6dce73eab102722aacac4.png?thumb=512)

**Table 2** : Performance comparison of various XAI methods on MIMIC-III mortality prediction with zero substitution. Results are aggregated with mean ± standard error over five random cross-validation repetitions and presented for both 20% masking and cumulative masking strategies, with multiple metrics including cumulative prediction difference (CPD) for two values of K = 50, 100, accuracy (Acc), cross-entropy (CE), sufficiency (Suff), and comprehensiveness (Comp).

[원문](https://arxiv.org/abs/2506.05035v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hyeongwon Jang, Changhun Kim, Eunho Yang · TIMING: Temporality-Aware Integrated Gradients for Time Series Explanation · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Table 3: Performance comparison of various XAI methods on real-world datasets with 10% feature masking. Results are aggregated as mean ± standard error over fi…](https://refivu.com/papers/66053030-91b8-404c-8aa3-0d69e41e6fb2/figures/figure-96935b9371a6d8a4dd472516c3a38aa4.png?thumb=512)

**Table 3** : Performance comparison of various XAI methods on real-world datasets with 10% feature masking. Results are aggregated as mean ± standard error over five random cross-validation repetitions and presented across multiple datasets, including MIMIC-III, PAM, Boiler (Multivariate), Epilepsy, Wafer, and Freezer (Univariate). Evaluation metrics include cumulative prediction difference (CPD) attribution performance under two feature substitution strategies: average substitution (Avg.) and zero substitution (Zero).

[원문](https://arxiv.org/abs/2506.05035v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hyeongwon Jang, Changhun Kim, Eunho Yang · TIMING: Temporality-Aware Integrated Gradients for Time Series Explanation · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Table 4: Performance comparison of various XAI methods on Switch Feature and State datasets. Results are reported as mean ± standard error over five cross-vali…](https://refivu.com/papers/66053030-91b8-404c-8aa3-0d69e41e6fb2/figures/figure-906829c1e73029a49ee4111c25a0fa25.png?thumb=512)

**Table 4** : Performance comparison of various XAI methods on Switch Feature and State datasets. Results are reported as mean ± standard error over five cross-validation repetitions, evaluated using AUP, AUR, and CPD (10% masking) for true saliency map and cumulative masking strategies.

[원문](https://arxiv.org/abs/2506.05035v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hyeongwon Jang, Changhun Kim, Eunho Yang · TIMING: Temporality-Aware Integrated Gradients for Time Series Explanation · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 절제 실험과 하이퍼파라미터 민감도

절제 실험에서는 IG, 점 단위 랜덤 마스크인 RandIG(p=0.3, 0.5, 0.7), TIMING을 MIMIC-III에서 CPD(K=50)로 비교합니다. zero 대체 설정에서 TIMING은 0.366±0.021로 RandIG 계열보다 높으며, 저자들은 이 차이가 세그먼트 단위 구조 보존에서 온다고 해석합니다. 하이퍼파라미터 분석에서는 평균 대체 성능 차이의 최대 값이 0.04로 보고되며, 기본값은 (n, smin, smax) = (50, 10, 48)입니다.

![Table 5: Ablation study comparing TIMING’s segment- based masking strategy against IG and a random masking IG (RandIG). We report CPD with K = 50 on the MIMIC-…](https://refivu.com/papers/66053030-91b8-404c-8aa3-0d69e41e6fb2/figures/figure-41ab148e62dd3217a748871740e45c37.png?thumb=512)

**Table 5** : Ablation study comparing TIMING’s segment- based masking strategy against IG and a random masking IG (RandIG). We report CPD with K = 50 on the MIMIC- III benchmark under both average and zero substitutions.

[원문](https://arxiv.org/abs/2506.05035v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hyeongwon Jang, Changhun Kim, Eunho Yang · TIMING: Temporality-Aware Integrated Gradients for Time Series Explanation · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

TIMING의 주요 결과는 주로 단일 계층 GRU 분류기와 제시된 MIMIC-III, 합성 데이터 설정에 근거합니다. 완전성 공리를 만족하지 않는다는 점은 해석 시 명시해야 하며, 다른 모델 계열에 대한 결과는 본문 실험의 조건과 구분해 읽어야 합니다.

## 논문 정보

- **저자**: Hyeongwon Jang, Changhun Kim, Eunho Yang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 6월 5일
- **등록일**: 2026년 10월 29일
- **수정일**: 2025년 6월 5일
- **버전**: v1
- **arXiv**: 2506.05035
- **분류**: cs.LG · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2506.05035v1) · [원문 PDF ↗](https://arxiv.org/pdf/2506.05035v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Recent explainable artificial intelligence (XAI) methods for time series primarily estimate point-wise attribution magnitudes, while overlooking the directional impact on predictions, leading to suboptimal identification of significant points. Our analysis shows that conventional Integrated Gradients (IG) effectively capture critical points with both positive and negative impacts on predictions. However, current evaluation metrics fail to assess this capability, as they inadvertently cancel out opposing feature contributions. To address this limitation, we propose novel evaluation metrics-Cumulative Prediction Difference (CPD) and Cumulative Prediction Preservation (CPP)-to systematically assess whether attribution methods accurately identify significant positive and negative points in time series XAI. Under these metrics, conventional IG outperforms recent counterparts. However, directly applying IG to time series data may lead to suboptimal outcomes, as generated paths ignore temporal relationships and introduce out-of-distribution samples. To overcome these challenges, we introduce TIMING, which enhances IG by incorporating temporal awareness while maintaining its theoretical properties. Extensive experiments on synthetic and real-world time series benchmarks demonstrate that TIMING outperforms existing time series XAI baselines. Our code is available at https://github.com/drumpt/TIMING.

## 원문 인용

Hyeongwon Jang, Changhun Kim, Eunho Yang (2025). TIMING: Temporality-Aware Integrated Gradients for Time Series Explanation. arXiv:2506.05035v1. https://arxiv.org/abs/2506.05035v1

**BibTeX**

```
@misc{jang2025timing,
  title = {{TIMING: Temporality-Aware Integrated Gradients for Time Series Explanation}},
  author = {Hyeongwon Jang and Changhun Kim and Eunho Yang},
  year = {2025},
  eprint = {2506.05035},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.05035v1}
}
```

## 이 논문의 용어

- [GRU](https://refivu.com/terms/911a73dfeb1f-gru)
- [Integrated Gradients](https://refivu.com/terms/7ea02692192e-integrated-gradients)
- [MIMIC-III](https://refivu.com/terms/dd6db3ddda37-mimic-iii)
- [DeepLift](https://refivu.com/terms/db4f80bf1878-deeplift)
- [Sufficiency](https://refivu.com/terms/48764554771c-sufficiency)
- [comprehensiveness](https://refivu.com/terms/3428ac6e14d4-comprehensiveness)
- [Implementation Invariance](https://refivu.com/terms/291044d02e2c-implementation-invariance)
- [Incompleteness](https://refivu.com/terms/9f36a3898304-incompleteness)
- [out-of-distribution (OOD)](https://refivu.com/terms/7da6bb8c00e7-out-of-distribution-ood)
- [STATE](https://refivu.com/terms/8c8af344ba11-state)

## 다른 논문 해설

- [Continual Generalized Category Discovery: Learning and Forgetting from a Bayesian Perspective](https://refivu.com/papers/8b07e0fa-382b-401b-a813-83f29a7bf339-continual-generalized-category-discovery-learning-and.md)
- [Scaling Tractable Probabilistic Circuits: A Systems Perspective](https://refivu.com/papers/e32b51bf-5311-4420-bc25-ec49bc5d82ec-scaling-tractable-probabilistic-circuits-a-systems.md)
- [Dolphin: A Programmable Framework for Scalable Neurosymbolic Learning](https://refivu.com/papers/45dd94f7-4a58-4799-bc56-64bca4cda2ed-dolphin-a-programmable-framework-for-scalable-neurosymbolic.md)
- [CombiMOTS: Combinatorial Multi-Objective Tree Search for Dual-Target Molecule Generation](https://refivu.com/papers/15aded82-0e20-4088-ae0a-2e2839536d55-combimots-combinatorial-multi-objective-tree-search-for-dual.md)
- [Doubly Robust Distributionally Robust Offline Contextual Pricing](https://refivu.com/papers/6c0982ad-a8ad-4f7f-a1a4-2028edabf0db-doubly-robust-distributionally-robust-offline-contextual.md)
- [Teaching Molecular Dynamics to a Non-Autoregressive Ionic Transport Predictor](https://refivu.com/papers/7dd6838b-11d6-4086-a8de-d699bc49f891-teaching-molecular-dynamics-to-a-non-autoregressive-ionic.md)
- [Identifying and Understanding Cross-Class Features in Adversarial Training](https://refivu.com/papers/a920aac5-0b22-4cc2-a5ad-784568bde4da-identifying-and-understanding-cross-class-features-in.md)
- [Rethinking the Stability-Plasticity Trade-off in Continual Learning from an Architectural Perspective](https://refivu.com/papers/547d339a-d97b-4e14-b620-552b1f780b6c-rethinking-the-stability-plasticity-trade-off-in-continual.md)
- [One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancy](https://refivu.com/papers/067d9910-8121-40b8-86fb-4572b95a59f7-one-stone-two-birds-enhancing-adversarial-defense-through.md)
- [Synthetic Text Generation for Training Large Language Models via Gradient Matching](https://refivu.com/papers/b6757928-0197-43d5-ae80-3e6266afab0d-synthetic-text-generation-for-training-large-language-models.md)
- [Maximum Entropy Reinforcement Learning with Diffusion Policy](https://refivu.com/papers/c4c1075b-26b0-4286-bbee-08f96db5f463-maximum-entropy-reinforcement-learning-with-diffusion-policy.md)
- [Training Deep Learning Models with Norm-Constrained LMOs](https://refivu.com/papers/fd3f2faf-79d3-4ee1-a9ba-77cd79cb64f7-training-deep-learning-models-with-norm-constrained-lmos.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/66053030-91b8-404c-8aa3-0d69e41e6fb2-timing-temporality-aware-integrated-gradients-for-time)
