When Imputation Changes the Nearest Neighbor: Exact Certification of Similarity Retrieval for Incomplete Sensor Time Series
Jianru Shen
Abstract
Sensor time series routinely reach similarity search with missing values, and the retrieved neighbours then depend on how the gaps were filled. We ask which retrieval conclusions hold for every admissible completion of an incomplete query. For a family of window-minimum distances that contains the L1 distance as its separable end we give a pairwise certificate that one candidate is strictly closer than another, a guaranteed candidate set that contains every possible nearest neighbour, and a certificate that a nearest-neighbour label cannot change. The guarantees hold uniformly over the specified box and apply to the true query whenever it lies inside. At the separable end a closed form is known, but beyond it the worst-case gap need not be attained at a corner of the box. We prove a finite reduction to critical values, give an exact interval dynamic programme for the worst-case ranking gap, and a quadratic-time fast layer of valid bounds and feasible witnesses, supported by an exact criterion for when the feature-box relaxation is tight. On three traffic-sensor collections with real gap patterns, linear interpolation changes the nearest neighbour in 15 to 33 percent of the queries. At the full band the feature-box relaxation misses up to 14 percent of the exactly stable boundary pairs, whereas fixed-completion and Monte Carlo checks issue false certificates. The fast layer resolves about 90 percent of all tested boundary pairs without dynamic programming, and on paired network-scale queries the exact method is 82 to 110 times faster than the programme alone. Label certificates transfer to three public benchmarks, and the band width trades forecasting accuracy and certification coverage for lower imputation sensitivity, with dataset-dependent crossovers.
Create a lesson
Related papers
TSGuard: A Real-Time Framework for Detecting and Imputing Missing Data in Streaming Time Series
Shared title terminology · Imane Hocine, Asma Abboura, Soror Sahri et al.
Authenticated Approximate Nearest Neighbor Search in Outsourced Vector Databases
Shared title terminology · Yuanhang Zhou, Xinyi Zhang, Cheng Xu et al.
Dynamic Graph Indexing for Label-Filtered Approximate Nearest Neighbor Search
Shared title terminology · Mengxu Jiang, Zhi Yang, Fangyuan Zhang et al.
Transactional Data Change for Real-Time Analytics in Lakehouses
Shared title terminology · Dongyang Geng, Haoqiong Bian, Zinuo Li et al.
Per-Query Recall Guarantees for Approximate Nearest Neighbor Search in Dynamic Vector Databases
Shared title terminology · Woong-Kee Loh, Suan Lee
Recast: Refinement-Centered Approximate Nearest Neighbor Search Optimized for Storage
Shared title terminology · Zehai Yang, Fengyi Tao, Wenzhuo Dong et al.