a novel approach to novelty detection: voronoi tesselation [email protected] space science...
TRANSCRIPT
![Page 1: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/1.jpg)
A Novel Approach to Novelty Detection:Voronoi Tesselation
[email protected] Science Division
NASA Ames Research Center
Collaborator: Nikunj Oza, NASA-Ames Research Center, ICPureSense, Inc.
Machine Learning Seminar
![Page 2: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/2.jpg)
The Basic Ideas Nonparametric Density EstimationVoronoi Tessellation Voronoi Cells as Point Surrogates 1/Area of cell ~ local point density Cell geometry local density gradientTessellate training points plus 1 test pointIf the Voronoi cell assigned to the test point is an “edge” cell, the test point is an outlier; otherwise it is “normal”
![Page 3: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/3.jpg)
Modes of Operation (1)
Static training data and test data
![Page 4: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/4.jpg)
Modes of Operation (2)
Training data = all past dataTest data = one new data point
![Page 5: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/5.jpg)
Modes of Operation (2)
Training data = all past dataTest data = one new data point
![Page 6: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/6.jpg)
Modes of Operation (3)
Training data = past data of fixed sizeTest data = one new data point
![Page 7: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/7.jpg)
Voronoi Tessellation of data in any dimension
![Page 8: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/8.jpg)
Construct Voronoi cells to represent local photon density:
density ~ 1 / cell area
![Page 9: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/9.jpg)
![Page 10: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/10.jpg)
![Page 11: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/11.jpg)
![Page 12: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/12.jpg)
Voronoi cells also represent local photon density gradients
…
![Page 13: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/13.jpg)
![Page 14: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/14.jpg)
![Page 15: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/15.jpg)
![Page 16: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/16.jpg)
![Page 17: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/17.jpg)
![Page 18: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/18.jpg)
The Voronoi cells are a local representation of the data …
![Page 19: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/19.jpg)
![Page 20: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/20.jpg)
![Page 21: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/21.jpg)
![Page 22: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/22.jpg)
![Page 23: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/23.jpg)
![Page 24: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/24.jpg)
![Page 25: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/25.jpg)
![Page 26: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/26.jpg)
![Page 27: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/27.jpg)
![Page 28: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/28.jpg)
![Page 29: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/29.jpg)
![Page 30: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/30.jpg)
Selecting the smallest Voronoi cells yields the regions of highest photon density …
![Page 31: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/31.jpg)
![Page 32: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/32.jpg)
![Page 33: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/33.jpg)
![Page 34: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/34.jpg)
![Page 35: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/35.jpg)
![Page 36: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/36.jpg)
![Page 37: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/37.jpg)
![Page 38: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/38.jpg)
![Page 39: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/39.jpg)
![Page 40: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/40.jpg)
![Page 41: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/41.jpg)
![Page 42: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/42.jpg)
![Page 43: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/43.jpg)
![Page 44: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/44.jpg)
![Page 45: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/45.jpg)
![Page 46: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/46.jpg)
![Page 47: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/47.jpg)
![Page 48: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/48.jpg)
![Page 49: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/49.jpg)
![Page 50: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/50.jpg)
MatLab code
% do abnormal data for id = 1: num_test data = [ train_data test_data( id ) ]; [ vertices, v_cells ] = voronoin( data ); vertices_last = v_cells{ num_use + 1 };
if find( vertices_last == 1 ) % “infinite vertex” = #1 count_correct = count_correct + 1; else count_error = count_error + 1; end end
![Page 51: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/51.jpg)
Biomed dataset: Cox, Johnson and Kafadar (1982), Exposition of statistical graphics technology,ASA Proceedings of the Statistical Computing Section, p. 55-6
![Page 52: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/52.jpg)
Biomed dataset: Cox, Johnson and Kafadar (1982), Exposition of statistical graphics technology,ASA Proceedings of the Statistical Computing Section, p. 55-6
67 Abnormal Inputs 27 Normal InputsCorrect Wrong Correct
Wrong--------------------------------------------------------------------------------------------KernelClassifier 57 10 25 2
Grow WhenRequired net 56 11 25 2
Voronoi - mean 57.2 9.8 17.6 9.3 - best 60 7 25 2
![Page 53: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/53.jpg)
Curse of Dimensionality?
Computation time for Voronoi Tessellation is roughly linear in number of data points.
But … much steeper function of the dimensionality.
In the “ball bearing” data set (following example) thedimensionality of the raw data is 32. I used singular Value decomposition to reduce the dimensionality.
![Page 54: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/54.jpg)
Curse of Dimensionality?
![Page 55: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/55.jpg)
Ball-bearing dataEPSRC Structural Integrity & Damage Assessmentwww.brunel.ac.uk/research/cnca/sida/html/data.htm
Normal Broken Damaged Basket ½ runs(New) Ring Basket destroyed loosely
-------------------------------------------------------------------------------------------Linear programmingkernel 1.3% 0% 46.7% 71.7% 74.5%
Grow WhenRequired net 37.8% 40.3% 43.8 4.6% 4.9%
LPDD* 0%? 0% 8.3%
Voronoi 3 1.6% 0% 30.7% 30.7% 35.7%4 6.4% 0% 12.1% 16.2% 19.9%
5 13.5% 0.7% 25.5% 28.9% 34.2%
![Page 56: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/56.jpg)
Novelty Detection in Time Series
Multivariate Time Series
For single time series, use embedding captures the dynamical behavior of the process increases the dimensionality.
X(tn) { X(tn), X(tn+1), X(tn+2), …, X(tn+k-1)}Online Novelty Detection on Temporal SequencesJunshui Ma and Simon Perkins, SIGKDD 2003
Better:
X(tn) { X(tn), X(tn+m), X(tn+2m), …, X(tn+(k-1))}
![Page 57: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/57.jpg)
![Page 58: A Novel Approach to Novelty Detection: Voronoi Tesselation Jeffrey.D.Scargle@nasa.gov Space Science Division NASA Ames Research Center Collaborator: Nikunj](https://reader031.vdocuments.us/reader031/viewer/2022013004/56649d155503460f949eabff/html5/thumbnails/58.jpg)