Research map / Time series / Anomaly detection
TimeInf: Time Series Data Contribution via Influence Functions
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Proposes TimeInf, a model-agnostic influence-function method that attributes loss/predictions to individual time points by integrating block influences over all overlapping time blocks containing the point, and uses self-influence for time series anomaly detection.
Problem
Estimating how individual time points contribute to a time series model's predictions is under-explored because standard influence functions assume i.i.d. data and temporal dependencies complicate attribution.
Approach
Extends influence functions to m-dimensional time blocks and defines TimeInf as the integral of block influence over all contiguous blocks containing a time point (contaminating distribution as a mixture of point masses), giving per-time-point attributions that preserve temporal structure and do not require a specific model class.
Key results
- On UCR, TimeInf reaches 0.79 AUC versus at most 0.65 for competing data contribution baselines, and it has the best AUC on SMAP (0.73), MSL (0.72), NAB-Traffic (0.64), and SMD (0.87).
- Compared with TranAD and DCdetector, TimeInf improves AUC by 7-30% and 3-17% respectively across datasets.
- In data pruning for forecasting on Traffic, removing 30% of blocks with TimeInf drops R^2 by more than 10%, whereas other methods drop less than 2%.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use TimeInf instead of the strongest listed baseline | Time series anomaly detection · UCR, SMAP, MSL, NAB-Traffic, and SMD | AUC: UCR: 0.74 -> 0.79; SMAP: 0.71 -> 0.73; MSL: 0.70 -> 0.72; NAB-Traffic: 0.62 -> 0.64; SMD: 0.85 -> 0.87 | Helped |
| use TimeInf instead of the strongest listed baseline | Time series anomaly detection · UCR, SMAP, MSL, NAB-Traffic, and SMD | F1: UCR: 0.34 -> 0.23; SMAP: 0.37 -> 0.34; MSL: 0.34 -> 0.35; NAB-Traffic: 0.37 -> 0.39; SMD: 0.42 -> 0.25 | Mixed |
| increase time stride from 1 to 5 (ablation) | TimeInf · SMAP | AUC: 0.73 -> 0.64 | Hurt |
| increase time stride from 1 to 10 (ablation) | TimeInf · SMAP | AUC: 0.73 -> 0.65 | Hurt |
| increase time stride from 1 to 20 (ablation) | TimeInf · SMAP | AUC: 0.73 -> 0.61 | Hurt |
| increase time stride from 1 to 50 (ablation) | TimeInf · SMAP | AUC: 0.73 -> 0.58 | Hurt |
| increase time stride from 1 to 5 (ablation) | TimeInf · SMD | AUC: 0.87 -> 0.88 | Helped |
| increase time stride from 1 to 10 (ablation) | TimeInf · SMD | AUC: 0.87 -> 0.88 | Helped |
| increase time stride from 1 to 20 (ablation) | TimeInf · SMD | AUC: 0.87 -> 0.83 | Hurt |
| increase time stride from 1 to 50 (ablation) | TimeInf · SMD | AUC: 0.87 -> 0.70 | Hurt |
| increase block length (ablation) | TimeInf · Most anomaly-detection datasets | AUC | Helped |
| use a larger or more complex model (ablation) | TimeInf · MSL and SMAP | AUC | Mixed |
Surprising findings
- TimeInf performs comparably to or worse than Isolation Forest on several problematic datasets (PSM, NAB-Tweets, SWaT, KDD-Cup99), which the authors attribute to mislabeled ground truth annotations.
- Using a time stride greater than 1 reduces anomaly detection AUC on SMAP and SMD.
Limitations
- Focuses on validation loss as the quantity of interest; other metrics are left for future work.
- Performance gains are marginal on high-dimensional data, and many data attribution methods perform poorly there.
- Several benchmark datasets have unreliable ground-truth labels, which hurts measured performance.
Experimental setup
Datasets: UCR SMAP MSL NAB-Traffic SMD NAB-Tweets NAB-Taxi PSM SWaT WADI KDD-Cup99 NAB-AdExchange
Benchmarks: UCR SMAP MSL NAB-Traffic SMD NAB-Tweets NAB-Taxi PSM SWaT WADI KDD-Cup99 NAB-AdExchange
Metrics: AUC F1 runtime (s) R^2 RMSE
Baselines: Isolation Forest LSTM ARIMA / VAR TranAD DCdetector Anomaly Transformer Block LOOCV Conditional Influence LWCV
Builds on: influence functions conditional influence leave-within-structure-out cross-validation TracIn
Closest papers by meaning
- Channel Matters: Estimating Channel Influence for Multivariate Time Series (NeurIPS 2025 · similarity 0.87)
- MOMENT: A Family of Open Time-series Foundation Models (ICML 2024 · similarity 0.86)
- Structured Temporal Causality for Interpretable Multivariate Time Series Anomaly Detection (NeurIPS 2025 · similarity 0.85)
- Explain Temporal Black-Box Models via Functional Decomposition (ICML 2024 · similarity 0.85)
- OATS: Online Data Augmentation for Time Series Foundation Models (NeurIPS 2026 · similarity 0.85)
- Temporal Dependencies and Spatio-Temporal Patterns of Time Series Models (AAAI 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
