TL;DR
DeepMVI is a deep learning framework designed to accurately impute missing values in multidimensional time series datasets. By combining a customized temporal transformer, local neighbor averaging, and multidimensional kernel regression over "sibling" series, it cuts imputation error by 20% to 70% compared to state-of-the-art baselines. Crucially, it prevents imputation artifacts from distorting downstream aggregate analytics—a common pitfall of existing methods.
What Problem Does This Paper Address?
In real-world analytical databases—such as IoT sensor streams, web traffic logs, and multi-store retail sales—missing values are pervasive due to sensor malfunctions, transmission failures, or deliberate obfuscation.
Standard practices often fall short:
- Flawed Downstream Analytics: Imputing missing values with existing tools can actually yield worse aggregate business metrics than simply discarding the missing data prior to aggregation.
- Failure Across Complex Missing Patterns: Conventional matrix completion methods (e.g., SVD, CDRec, TRMF) rely heavily on cross-series correlations and struggle with temporal non-linearities or prolonged simultaneous missing periods ("blackouts").
- High Latency & Weak Dimensional Modeling: Deep learning baselines (such as recurrent models like BRITS or variational methods like GP-VAE) are slow to train, prone to overfitting, and assume flat, single-dimensional time series rather than multidimensional structures (e.g.,
store × product × time).
Methods
DeepMVI estimates the conditional distribution of each missing point using three complementary representations combined in an end-to-end neural network:
┌──────────────────────────────────────────────┐
│ DeepMVI Architecture │
└──────────────────────┬───────────────────────┘
│
┌────────────────────────────────┼────────────────────────────────┐
▼ ▼ ▼
┌───────────────────────┐ ┌───────────────────────┐ ┌────────────────────────┐
│ Temporal Transformer │ │ Fine-Grained Module │ │ Kernel Regression │
│ (Windowed attention │ │ (Local masked mean │ │ (RBF across sibling │
│ captures long-term │ │ for immediate │ │ series in each │
│ seasonality) │ │ point context) │ │ dimension) │
└───────────┬───────────┘ └───────────┬───────────┘ └───────────┬────────────┘
│ │ │
└────────────────────────────┼────────────────────────────┘
▼
┌──────────────────────────────────────┐
│ Linear Combination -> Gaussian Mean │
└──────────────────────────────────────┘
- Temporal Transformer: Unlike standard transformers that attend to isolated time points, this module runs 1D convolutions over windows of size $w$. Query and key vectors are computed using the surrounding left and right context windows ($[Y_{j-1}, Y_{j+1}]$) along with positional encodings. Keys belonging to missing blocks are masked out. A deconvolution layer then decodes the representations back to point-level vectors to capture long-term seasonality.
- Fine-Grained Local Signal: Computes the masked average of available values within the target local window, providing a direct signal for isolated, point-missing observations.
- Multidimensional Kernel Regression: To capture cross-series dependencies across $n$ dimensions without flattening them into a generic matrix, DeepMVI defines sibling series—series differing along exactly one dimension (e.g., the same item across different regions). It trains dimension embeddings and uses an RBF kernel to compute weighted sums, variances, and total weights across available sibling entries at time $t$.
- Robust Synthetic Masking: Rather than training on arbitrary random masks, DeepMVI extracts realistic missing block shapes directly from the empirical missingness mask $M$ and applies them around available training targets. This trains the model to handle both small gaps and large blackout periods.
Datasets
The authors evaluated DeepMVI across eight standard single-dimensional time series benchmarks and introduced two multidimensional datasets:
- Standard 1D Benchmarks: AirQ (air quality), Chlorine (water distribution), Gas (sensor array), Climate (weather stations), Electricity (household energy), Temperature (weather stations), MeteoSwiss (Swiss weather), and BAFU (river discharge).
- Multidimensional Benchmarks:
- JanataHack: Retail sales over 130 weeks across 76 stores and 28 product SKUs ($76 \times 28$ series).
- Walmart M5: Daily unit sales across 10 stores and 106 top-selling items over 5 years ($10 \times 106$ series).
Key Insights and Ideas
- Contextual Window Keys Prevent Attention Failure: Off-the-shelf transformers struggle when whole segments are missing because missing entries make standard point-level keys uninformative. Querying with contextual left/right window pairs allows DeepMVI to locate matching seasonal patterns elsewhere in the series.
- Sibling Embeddings Eliminate Spurious Correlations: Flattening a multi-attribute series into a single matrix inflates the search space and produces spurious cross-series correlations. Explicitly restricting kernel attention to dimension siblings preserves real entity relationships.
- Imputation Must Beat "DropCell": When evaluating on aggregate quantities (e.g., total sales across stores), classical methods like CDRec, GP-VAE, and vanilla Transformers performed worse than simply dropping missing entries. DeepMVI consistently outperformed dropping cells, confirming that its predictions add genuine signal rather than noise.
Key Results
- Imputation Accuracy: DeepMVI reduced Mean Absolute Error (MAE) by 20% to 70% compared to the best baselines, cutting error by over 50% in more than half the evaluated scenarios (MCAR, MissDisj, MissOver, Blackout).
- Blackout Resilience: In blackout settings (where all series lose data simultaneously), matrix factorization models failed completely, while DeepMVI's temporal transformer successfully recovered the true signal shapes using intra-series seasonality.
- Runtime & Scalability: DeepMVI executed $2.5\times$ to $7\times$ faster than an off-the-shelf Transformer and orders of magnitude faster than DynaMMO (2.5 minutes vs. 25 minutes on JanataHack), exhibiting sub-linear runtime scaling with series length.
Limitations and Future Work
- Runtime Overhead vs. Simple Factorization: Although substantially faster than prior deep sequence models and Kalman filter approaches, DeepMVI is still slower than lightweight matrix decomposition techniques (such as CDRec and SVDImp).
- Future Scope: The authors highlight adapting this modular architecture (contextual windowed transformers + sibling kernel regression) beyond missing value imputation to multivariate time-series forecasting.
Summary updated