TL;DR
This paper introduces a novel, nonparametric mutual information (MI) estimator designed to directly measure the statistical dependence between continuous time series and discrete temporal event sequences. By elegantly modeling real-world time series as a blend of continuous and discrete components, the framework eliminates the need for messy, ad-hoc data transformations while remaining robust against sensor quantization and event redundancy.
What Problem Does This Paper Address?
In temporal data mining, we frequently encounter heterogeneous data types coexisting in the same system—such as continuous traffic volumes paired with discrete calendar events, or continuous geomagnetic readings paired with discrete solar flares.
Quantifying the relationships across these different modalities is highly challenging. Traditional approaches typically force one data type to mimic the other (e.g., binning a continuous time series into discrete symbols, or assigning arbitrary integer IDs to events). These workarounds introduce artificial biases and reduce interpretability.
While Mutual Information (MI) is theoretically ideal for cross-type analysis, existing nonparametric MI estimators break down in practice. They assume strict continuity, meaning that if a dataset contains repeated values—a common artifact of finite sensor precision or rounding—nearest-neighbor distances collapse to zero, leading to unstable or degenerate mathematical results. Furthermore, existing methods treat discrete event types as entirely independent, ignoring the natural redundancies and co-occurrences found in real-world sequences.
Methods
The authors propose a unified, nonparametric framework that natively bridges discrete and continuous mutual information through two core innovations:
- Continuous-Discrete Duality: Instead of treating repeated values in a time series as anomalies or forcing a hard discretization, the model treats the time series as a mixture distribution. Unique values are treated as a continuous component (measured using Kozachenko–Leonenko nearest-neighbor entropy), while duplicate values are treated as a discrete probability mass (measured via standard Shannon entropy).
- Latent Event Clustering: To handle event redundancy, the framework includes an optional step that groups similar event types. It collects the empirical conditional distributions of the time series for each event type and applies hierarchical clustering using the Wasserstein distance, mapping redundant symbols to a more compact latent event sequence.
Additionally, the authors introduce a simple numerical truncation safeguard ($\max(I, 0)$) to eliminate spurious negative MI values caused by finite-sample estimation noise.
Datasets
The framework was evaluated using a combination of synthetic and real-world datasets:
- Synthetic Data: Generated using controlled Gaussian distributions with fixed time delays ($\tau = 5$) and restricted decimal precision to simulate sensor quantization.
- Traffic & Weather Data: Daily traffic volume data and 12-hour interval air temperature data from Minneapolis (2023) to analyze global and local repeated patterns.
- Forecasting Covariates: The Rossmann Store Sales and M5 Forecasting (Walmart) datasets, used to evaluate how well the estimator selects discrete covariates to improve daily sales predictions.
- Tabular Benchmarks: Eight diverse classification datasets (including COIL20, Isolet, and USPS) from a widely adopted feature selection benchmark to test the method's generalizability to non-temporal data.
Key Insights and Ideas
- Quantization is a Feature, Not a Bug: Real-world "continuous" data is rarely truly continuous due to rounding. Embracing this reality by mathematically splitting the data into continuous and discrete components prevents the neighborhood degradation that plagues classical estimators.
- Reframing Seasonality as MI: Instead of relying on rigid, deterministic signal processing tools like Fourier Transforms, the authors reframe seasonality as the mutual information between a time series and a calendar event sequence. This probabilistic view easily captures both global periodic trends and highly localized, context-dependent repetitions (e.g., how specific weather patterns isolate within "January nights").
- Model-Agnostic Value: By providing a cleaner, unbiased estimation of feature relevance, the proposed MI metric consistently improves covariate selection across entirely different downstream architectures—ranging from tree-based models (CatBoost) to deep learning foundation models (Chronos-2).
Key Results
- Causality Analysis: On synthetic benchmarks with quantized values, the proposed estimator accurately identified the true time lag ($\tau = 5$) with a mean squared error (MSE) near zero, significantly outperforming classical baselines like the Ross estimator, which produced invalid negative values.
- Seasonality Quantification: The method successfully detected weekly traffic seasonality and accurately quantified its degradation during holiday disruptions, yielding an MI of 0.6501 for the stable June–July period versus 0.5664 for the holiday-disrupted December–January period.
- Downstream Forecasting Performance: When used for covariate selection on the M5 and Rossmann datasets, the full variant (
Ours-Cluster) achieved the highest Normalized Discounted Cumulative Gain (NDCG) and won the majority of the 100 trial rounds across all tested forecasting models. - Tabular Feature Selection: In a comprehensive evaluation across 120 distinct settings, the proposed method outperformed competing MI-based feature selectors in terms of downstream classification accuracy in the vast majority of cases (e.g., 93 wins vs. Mixtures).
Limitations and Future Work
The authors note that while their approach is highly versatile, future work is needed to better accommodate application-specific noise characteristics. They also point out that integrating this nonparametric estimator directly into end-to-end deep learning frameworks could further enhance its robustness when dealing with extremely sparse or severely noisy data.
Summary updated