Presentation is loading. Please wait.

Presentation is loading. Please wait.

Accelerating Dynamic Time Warping Clustering with a Novel Admissible Pruning Strategy Nurjahan BegumLiudmila Ulanova Jun Wang 1 Eamonn Keogh University.

Similar presentations


Presentation on theme: "Accelerating Dynamic Time Warping Clustering with a Novel Admissible Pruning Strategy Nurjahan BegumLiudmila Ulanova Jun Wang 1 Eamonn Keogh University."— Presentation transcript:

1 Accelerating Dynamic Time Warping Clustering with a Novel Admissible Pruning Strategy Nurjahan BegumLiudmila Ulanova Jun Wang 1 Eamonn Keogh University of California, Riverside University of Texas at Dallas 1

2 Outline Introduction, Related Work & Background Density Peaks (DP) Clustering Algorithm Pruning Using DTW Boundings Going Anytime: Distance Computation-Ordering Heuristic Experimental Evaluation

3 Outline Introduction, Related Work & Background Density Peaks (DP) Clustering Algorithm Pruning Using DTW Boundings Going Anytime: Distance Computation-Ordering Heuristic Experimental Evaluation

4 Problem Description The problem this work plans to address is robustly clustering large time series datasets with invariance to irrelevant data. Accuracy Invariance to irrelevant data Scalability (Efficiency, Interruputability) Robustness to parameter settings

5 Accuracy: The Using of DTW For most time series data mining algorithms, the quality of the output depends almost exclusively on the distance measure used. A consensus has emerged that DTW is the best in most domains, almost always outperforming the Euclidean Distance (ED). Convergence of DTW and ED for increasing data sizes? – Not for clustering!

6 Invariance to Irrelevant Data: the Using of DP It has been suggested that the successful clustering of time series requires the ability to ignore some data objects. Anomalous objects themselves are unclusterable; Interference with the clustering of clusterable data. DP, in contrast to clustering algorithms such as K-means, can ignore anomalous objects.

7 Efficiency: Pruning Using Both Boundings Both DTW and DP are slow. – CPU constrained, not I/O constrained. In some problems (notably similarity search), the lower-bounding pruning is the main technique used to produce speedup, whose effectiveness tends to improve on large datasets. This is not effective in clustering due to the need to know the distance between all pairs, or at least all distances within a certain range. Also, due to the non-metric character of DTW, it is hard to build an index for speeding up. This work exploits both the lower and upper boundings of DTW in the framework of DP.

8 Interruptablity: Going Anytime What if the pruning is still not sufficient? - User interruption - This work further adapts the proposed method to an anytime algorithm. Anytime algorithms are algorithms that can return a valid solution to a problem, even if interrupted before ending. Small setup time Best-so-far answer Monotonicity & Diminishing returns

9 Robustness to Parameter Settings: the Using of DP Many clustering algorithms require the user to set many parameters. DP requires only two parameters. Moreover, they are relatively intuitive and not particularly sensitive to user choice.

10 Outline Introduction, Related Work & Background Density Peaks (DP) Clustering Algorithm Pruning Using DTW Boundings Going Anytime: Distance Computation-Ordering Heuristic Experimental Evaluation

11 Internal Logic & Required Parameters of DP The DP algorithm assumes that the cluster centers are surrounded by lower local density neighbors and are at a relatively higher distance from any point with a higher local density. For a certain point i, the Local Density ρ i is the number of points that are closer to it than some cutoff distance d c ; the Distance from Points of Higher Density is the minimum distance δ i from point i to all the points of higher density. The DP algorithm requires two pre-set parameters: The cutoff distance d c The number of clusters k (can be determined in a knee-down manner) See Rodriguez, A., & Laio, A. Clustering by Fast Search and Find of Density Peaks. Science, 344(6191), 1492-1496, 2014. for more!

12 Four Phases of DP Local Density Calculation Distance to Higher Density Points Computation Cluster Center Selection Cluster Assignment

13 Phase 1: Local Density Calculation

14 Phase 2: Distance to Higher Density Points Computation

15 Phase 3: Cluster Center Selection The cluster centers are selected using a simple heuristic: points with higher values of (ρ i ×δ i ) are more likely to be centers.

16 Phase 4: Cluster Assignment

17 Why DP? Capability of ignoring outlier. Capability of handling datasets whose clusters can form arbitrary shapes. Few user-set parameters and low sensitivity. Amiability to distance computation pruning and conversion to an anytime algorithm.

18 Outline Introduction, Related Work & Background Density Peaks (DP) Clustering Algorithm Pruning Using DTW Boundings Going Anytime: Distance Computation-Ordering Heuristic Experimental Evaluation

19 Pruning Using DTW Bounds The proposed algorithm, TADPole (Time-series Anything DP), requires distance computations in the following two phases: Phase 1: local density computation Phase 2: distance to higher density points computation (NN distance computation)

20 Pruning in the Local Density Computation Phase

21 Pruning in the NN Distance Computation Phase

22

23 Multidimensional Time Series Clustering Independent calculation → Summation

24 Multidimensional Time Series Clustering

25 Pruning Effectiveness: Baselines Brute force: all-pair distance matrix computed. Oracle (post-hoc): only necessary distance computations are needed. Local density calculation phase: only distance computations contributing to the actual density of an object considered. NN distance calculation phase: only the actual NN distances considered.

26 Pruning Effectiveness: Illustration Dataset: StarLightCurves

27 Outline Introduction, Related Work & Background Density Peaks (DP) Clustering Algorithm Pruning Using DTW Boundings Going Anytime: Distance Computation-Ordering Heuristic Experimental Evaluation

28 Going Anytime: Which Phase is Amiable? TADPole requires distance computations in the following two phases: Phase 1: local density computation Not amiable to anytime ordering - setup time Phase 2: NN distance computation Amiable to anytime ordering!

29 Going Anytime: Contestants Oracle: In each step of the algorithm, this order cheatingly chooses the object that maximizes the current Rand Index. Top-to-bottom, left-to-right? Too brittle to “luck”! Random ordering: less brittle to luck. The proposed heuristic: ρ × ub

30 Going Anytime: Effectiveness Illustration

31 Outline Introduction, Related Work & Background Density Peaks (DP) Clustering Algorithm Pruning Using DTW Boundings Going Anytime: Distance Computation-Ordering Heuristic Experimental Evaluation

32 Clustering Quality & Efficiency Evaluation TADPole is at least an order of magnitude faster than the rival methods.

33 Parameter Sensitivity Evaluation Performed on Symbols dataset with k = 6

34 Conclusions & Comments Pruning using both bounds Anytime algorithm More borrowing than originating!


Download ppt "Accelerating Dynamic Time Warping Clustering with a Novel Admissible Pruning Strategy Nurjahan BegumLiudmila Ulanova Jun Wang 1 Eamonn Keogh University."

Similar presentations


Ads by Google