arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1610.07328cs.IR
收藏

用于大规模时间序列索引的SSH(Sketch,Shingle,& Hash)

SSH (Sketch, Shingle, & Hash) for Indexing Massive-Scale Time Series

Chen Luo, Anshumali Shrivastava

摘要:

时间序列的相似性搜索是大规模数据驱动应用中的一个常见操作。复杂的相似性度量是时间序列匹配的标准,因为它们通常是不对齐的。动态时间规整(DTW)是最广泛使用的时间序列相似性度量,因为它同时结合了对齐和匹配。然而,对齐使DTW变慢。为了提高DTW算法的相似性搜索速度,采用了基于分支定界的剪枝策略。然而,基于分支和界限的修剪仅对非常短的查询(低维时间序列)有用,并且对于较长的查询,界限相当弱。由于边界松散,分支定界剪枝策略归结为蛮力搜索。为了解决这个问题,我们设计了SSH(Sketch、Shingle和Hashing),这是一种高效且近似的哈希方案,比最先进的分支和界限搜索技术(UCR套件)快得多。SSH使用一种新的草图,搭叠和哈希技术的组合来产生(概率)索引,这些索引与DTW相似性度量(近乎完美)对齐。然后,生成的索引用于创建用于次线性搜索的哈希桶。我们的研究结果表明,SSH是非常有效的较长的时间序列和修剪约95%的候选人,导致大规模的加速搜索DTW。对两个大规模基准时间序列数据的实证结果表明,我们提出的方法可以比最先进的软件包(UCR套件)快20倍左右,而不会在准确性上有任何显着损失。

英文摘要:

Similarity search on time series is a frequent operation in large-scale data-driven applications. Sophisticated similarity measures are standard for time series matching, as they are usually misaligned. Dynamic Time Warping or DTW is the most widely used similarity measure for time series because it combines alignment and matching at the same time. However, the alignment makes DTW slow. To speed up the expensive similarity search with DTW, branch and bound based pruning strategies are adopted. However, branch and bound based pruning are only useful for very short queries (low dimensional time series), and the bounds are quite weak for longer queries. Due to the loose bounds branch and bound pruning strategy boils down to a brute-force search. To circumvent this issue, we design SSH (Sketch, Shingle, & Hashing), an efficient and approximate hashing scheme which is much faster than the state-of-the-art branch and bound searching technique: the UCR suite. SSH uses a novel combination of sketching, shingling and hashing techniques to produce (probabilistic) indexes which align (near perfectly) with DTW similarity measure. The generated indexes are then used to create hash buckets for sub-linear search. Our results show that SSH is very effective for longer time sequence and prunes around 95% candidates, leading to the massive speedup in search with DTW. Empirical results on two large-scale benchmark time series data show that our proposed method can be around 20 times faster than the state-of-the-art package (UCR suite) without any significant loss in accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑