Sync Without Guesswork: Incomplete Time Series Alignment

Ding Jia, Jingyu Zhu, Yu Sun, Aoqian Zhang, Shaoxu Song, Haiwei Zhang, Xiaojie YuanarXiv 2025 · DOI

Abstract

In real-world sensor networks, multivariate time series data often suffer from two simultaneous challenges: timestamp inconsistency due to network latency and data incompleteness caused by sensor failure. Traditional alignment methods typically follow a "guess-then-sync" pipeline, where missing values are imputed before alignment. This approach frequently introduces errors that propagate through the system. This paper presents a novel constraint-based framework that aligns incomplete time series directly by enforcing temporal, positional, and structural consistency. By treating alignment as a selection problem rather than an imputation problem, the proposed methods achieve significantly higher accuracy and robustness, maintaining near-perfect alignment even when up to 40% of the data is missing.

Introduction

Multivariate time series alignment is critical for downstream tasks such as anomaly detection, predictive maintenance, and system identification. However, data collected from distributed sensors rarely arrives in a perfectly synchronized state. Network jitter and varying sampling rates lead to "timestamp inconsistency," where concurrent events are recorded with different temporal offsets. Compounding this issue is the problem of "incomplete" data—gaps in the sequence where sensors failed to record or transmit a reading.

Historically, the industry has relied on a two-step sequential process: first, fill the gaps using interpolation or predictive models (imputation), and second, align the resulting dense sequences using algorithms like Dynamic Time Warping (DTW). This paper argues that this pipeline is fundamentally flawed. Imputation models often operate in isolation, creating "hallucinated" data points that do not respect the global structural constraints of the system. These errors then mislead the alignment algorithm, resulting in poor synchronization and unreliable analysis.

A Constraint-Based Framework

To overcome the limitations of sequential processing, the authors propose a Constraint-based Incomplete Time Series Alignment framework. This approach skips the imputation step entirely, focusing instead on identifying the most consistent set of aligned tuples from the available raw data. The framework defines a "valid" alignment through three primary constraints:

  1. Time Constraint ($\theta$): Aligned observations must have been recorded within a predefined, narrow time window to ensure they represent the same physical event.
  2. Position Constraint ($\beta$): To account for missing data points, the framework limits the "index gap" between aligned elements. This prevents the algorithm from skipping too many potential readings and maintains the relative order of the sequences.
  3. Model Consistency Constraint ($\delta$): This serves as the framework's core evaluative metric. Using a Multivariate AutoRegressive State-Space (MARSS) model, the system calculates the statistical plausibility of a candidate alignment. If a set of aligned points does not fit the underlying dynamics of the system, it is rejected.

Algorithmic Strategies

Solving for the optimal alignment under these constraints is computationally demanding. The researchers developed a hierarchy of algorithms to balance accuracy and efficiency:

  • Exact Combinatorial Method: This approach finds the mathematically optimal alignment by exploring all valid combinations. While highly accurate, its exponential complexity makes it unsuitable for large-scale datasets.
  • Weighted $k$-set Packing: Drawing from combinatorial optimization theory, this polynomial-time approximation provides a more scalable alternative while maintaining strong theoretical guarantees.
  • Greedy and Expectation-based Strategies: For practical applications, the authors introduced near-linear time algorithms. The Expectation strategy is particularly notable; it functions similarly to a strategic game engine, evaluating not just the immediate quality of a match, but the "potential contribution" of future tuples. This prevents the algorithm from making short-sighted choices that might block a more optimal global alignment later in the sequence.

Experimental Evaluation

The framework was tested against six established baselines—including DTW, Canonical Time Warping (CTW), and SAMC—across four diverse real-world datasets: Telemetry, Household utility usage, Water quality monitoring, and Air quality sensor arrays (comprising 11 distinct time series). To test robustness, the researchers introduced Missing Completely At Random (MCAR) patterns with missingness rates ranging from 10% to 40%.

Key Results

  • Superior Accuracy: On the Telemetry and Household datasets, the proposed framework achieved F1-scores between 0.98 and 0.99. In contrast, traditional methods like DTW saw performance drop to 0.50 or lower when faced with significant missing data.
  • Resilience to Sparsity: While simpler greedy approaches saw performance declines as data became sparser, the Expectation strategy remained remarkably stable. It maintained high alignment precision even at the 40% missing data threshold.
  • Increased Yield: The framework successfully recovered a higher volume of valid aligned tuples than previous state-of-the-art methods like SAMC, providing a richer dataset for subsequent analysis.

Conclusion and Future Work

The shift from "impute-then-align" to a joint optimization framework represents a significant step forward in handling messy, real-world sensor data. By enforcing consistency constraints directly on the observed data, the proposed method avoids the pitfalls of data hallucination.

Future research may focus on expanding the consistency constraint to include non-linear deep learning models, which could better capture the dynamics of chaotic systems. Additionally, exploring how the framework handles "bursty" or non-random missing data patterns remains a vital area for further investigation.

Summary updated

BibTeX
@misc{jia2025sync,
  author = {Ding Jia and Jingyu Zhu and Yu Sun and Aoqian Zhang and Shaoxu Song and Haiwei Zhang and Xiaojie Yuan},
  title = {{Sync Without Guesswork: Incomplete Time Series Alignment}},
  year = {2025},
  eprint = {2512.18238},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.18238},
}
Figure