Abstract
Spatio-temporal data streams are growing exponentially, making traditional tensor factorization methods computationally and memory-intensive. This paper presents SkeTenSmooth, a framework for efficient spatio-temporal tensor sketching and factorization. SkeTen utilizes a PID controller and ARIMA models to adaptively sample incoming time slices based on data predictability, reducing memory usage by up to 80%. SkeSmooth then performs robust tensor factorization by incorporating ARIMA-based temporal smoothness constraints to reconstruct missing data. Evaluations on the NYC Yellow Taxi dataset demonstrate that SkeTenSmooth maintains high reconstruction accuracy and downstream utility compared to static sampling methods.
Introduction
Spatio-temporal data—such as GPS traces, traffic sensor readings, or social media check-ins—is inherently multi-dimensional. Tensors (multi-dimensional arrays) provide a natural representation for this data, capturing complex correlations across spatial and temporal dimensions. However, the explosion in data volume makes traditional tensor factorization prohibitively expensive in terms of both memory and computation.
Existing "sketching" techniques, which create smaller proxies of the data, typically rely on random projections or uniform sampling. These approaches suffer from two primary drawbacks: they are static, failing to account for changing data dynamics (e.g., varying traffic volatility), and they lack formal mechanisms to accurately reconstruct time slices skipped during the compression process.
Methodology: The SkeTenSmooth Framework
The proposed framework consists of two integrated components: SkeTen for adaptive sketching and SkeSmooth for robust factorization.
SkeTen: Adaptive Sketching
Instead of sampling at a fixed rate, SkeTen employs a PID (Proportional-Integral-Derivative) controller to dynamically manage the sampling interval. The system uses ARIMA (Autoregressive Integrated Moving Average) models to predict incoming data streams.
The PID controller operates on a feedback loop: if the ARIMA model's prediction error is high—indicating volatile or "surprising" data—the controller shortens the sampling interval to capture the complexity. Conversely, if the error is low, the interval is increased to conserve memory. To maintain efficiency, random projection is used to cluster similar time series, allowing the system to train only a limited number of ARIMA models rather than one for every spatial location.
SkeSmooth: Robust Factorization
Following the sketching phase, SkeSmooth performs CP (CANDECOMP-PARAFAC) decomposition to extract latent patterns. A key innovation is the incorporation of the ARIMA coefficients learned during sketching as a smoothness constraint in the factorization process. This ensures that the reconstructed temporal factors align with the underlying dynamics of the original signal, even when significant portions of the time series were not sampled.
Experimental Evaluation
The framework was evaluated using the New York City Yellow Taxi dataset, comprising over 1.09 billion trips from 2009 to 2015. The data was represented as a 3-way tensor (days × latitude × longitude), with tests conducted at both daily and hourly granularities.
Key Results
- High Fidelity at Low Cost: At a 50% sampling rate, SkeTenSmooth achieved a Factor Match Score (FMS) of 0.9886. Even with an 80% data reduction, it significantly outperformed random and fixed-rate sampling baselines.
- Superior Reconstruction: SkeSmooth consistently showed lower relative error in Tensor Completion Scores (TCS) compared to state-of-the-art methods like HaLRTC and SPC, largely due to its leverage of temporal smoothness constraints.
- Downstream Utility: Temporal factors derived from adaptive sketches maintained higher predictive power when used in LSTM networks for demand prediction compared to factors from random sampling.
Conclusion and Future Work
SkeTenSmooth demonstrates that predictability can be used as an effective proxy for redundancy in spatio-temporal data. By integrating control theory with tensor factorization, the framework provides a self-tuning mechanism for handling massive data streams. Future research will focus on extending the implementation to distributed settings for global-scale tensors and exploring more complex sequence models for highly non-linear data dynamics.
Summary updated