1 of 80

1

Dr. Bidyut Kr. Patra

Associate Professor

Department of Computer Science & Engineering

Indian Institute of Technology (BHU), Varanasi

2 of 80

2

  • Introduction to Unsupervised Learning
    • Data Clustering
    • Anomaly (Outlier) Detection
  • LOF: Traditional Unsupervised Techniques for Anomaly Detection
  • Unsupervised Neural Model
    • Background
    • Autoencoder
    • Variational Autoencoder
  • Unsupervised Deep Learning for Structural Health Monitoring.

Topics to be discussed

3 of 80

3

What is Machine Learning?

  • Tom M. Mitchell (1997): "A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E."
  • Machine Learning is the systematic study of algorithms and systems that improves their knowledge or performance with experience.

What is Learning?

  • An agent (Entity) is said to be learning if it improves its performance after making observations about the environment.

4 of 80

4

  • Supervised Learning

  • Unsupervised Learning

5 of 80

5

6 of 80

6

7 of 80

7

  • Structural Health Monitoring

8 of 80

8

9 of 80

9

10 of 80

10

11 of 80

11

12 of 80

12

  • Select k points as initial centroids.
  • repeat

    • Form k clusters by assigning each point to its closest centroid.

    • Recompute the centroid of the each cluster.
  • until Centroids do not change.

k-means Clustering

13 of 80

13

14 of 80

14

15 of 80

15

16 of 80

16

17 of 80

17

18 of 80

18

19 of 80

19

20 of 80

20

21 of 80

21

22 of 80

22

Unsupervised Outlier Detection Techniques

23 of 80

23

What is an outlier or anomaly?

Outlier or anomaly is an exceptional objects that deviate from the rest of the data set.

Definition: (Hawkins-Outlier) An outlier is an observation that deviates so much from other observations that it arouses the suspicion that it was generated by a different mechanism.

24 of 80

24

25 of 80

25

26 of 80

26

27 of 80

27

28 of 80

28

LOF: identifying density-based local outliers

  • LOF is a density-based technique for finding outliers. It declares a point as inlier if it surrounds with a dense neighborhood. Object having a sparse neighborhood is treated as an outlier.

  • LOF computes the neighborhood density of each object and the LOF score of each object acts as a deciding factor for outlier.

  • For finding the LOF score, it finds k-distance of an object, reachability distance and local reachability density.

Breunig, M. M., Kriegel, H. P., Ng, R. T., Sander, J.: LOF: identifying density-based local outliers. In: ACM sigmod record, Vol. 29, pp. 93-104. ACM (2000).

29 of 80

29

  • k-distance(o): k-distance of an object o can be defined as the kth nearest neighbor distance of the object o, where k is a positive integer.

  • Reachability distance of an object p w.r.t. object o:

reach-distk (p, o) = max{k-distance(o), d(p, o)} || d(.) distance function.

reach-dist4(p1,o) and reach-dist4(p2,o)

30 of 80

30

  • local reachability densityk(p):
  • The local outlier factor LOF (p), is defined as follows:

31 of 80

31

32 of 80

32

33 of 80

33

Unsupervised Neural Network Model

  • Principal Component Analysis (PCA)
  • Neural Model Autoencoder and Its Variants
  • Application of Autoencoder based Outlier Detection for SHM.

34 of 80

34

Latent Variable Models

35 of 80

35

36 of 80

36

Principal Component Analysis (PCA)

37 of 80

37

38 of 80

38

residual or loss:

39 of 80

39

40 of 80

40

41 of 80

41

42 of 80

42

43 of 80

43

44 of 80

44

45 of 80

45

46 of 80

46

47 of 80

47

Autoencoders

48 of 80

48

49 of 80

49

50 of 80

50

51 of 80

51

52 of 80

52

53 of 80

53

54 of 80

54

Variational Autoencoders

55 of 80

55

56 of 80

56

57 of 80

57

Application of Autoencoder

58 of 80

58

Abhaya and Bidyut Kr. Patra. An Efficient Method for Autoencoder based Outlier Detection, Expert Systems With Applications, Volume 213, Part A, March, 118904, 2023.

59 of 80

59

60 of 80

60

61 of 80

61

62 of 80

62

63 of 80

63

Unsupervised structural health monitoring framework

64 of 80

64

Eduardo M. Coraça, Janito V. Ferreira, Eurípedes G.O. Nóbrega. An unsupervised structural health monitoring framework based on Variational Autoencoders and Hidden Markov Models, Volume 231, March 2023, 109025.

65 of 80

65

Eduardo M. Coraça, Janito V. Ferreira, Eurípedes G.O. Nóbrega. An unsupervised structural health monitoring framework based on Variational Autoencoders and Hidden Markov Models, Volume 231, March 2023, 109025.

66 of 80

66

67 of 80

67

Roberto Boccagna, Maurizio Bottini, Massimo Petracca, Alessia Amelio and Guido Camata. Unsupervised Deep Learning for Structural Health Monitoring, Big Data Cogn. Comput. 2023, 7, 99.

  • The proposed approach is based on unsupervised deep learning algorithm, with the aim of establishing a reliable method of anomaly detection for data acquired from sensors positioned on buildings.

  • The method tested on data generated from an OpenSees numerical model of a railway bridge and data acquired from physical sensors positioned on the Historical Tower of Ravenna (Italy).

68 of 80

68

Autoencoder used in this study.

69 of 80

69

Schematic representation of the variational autoencoder used in this study.

70 of 80

70

  • Cha, Y.-J.; Wang, Z. Unsupervised novelty detection–based structural damage localization using a density peaks-based fast clustering algorithm. Struct. Health Monit. 2018, 17, 313–324.

71 of 80

71

Example of local density calculation.

72 of 80

72

73 of 80

73

74 of 80

74

75 of 80

75

76 of 80

76

77 of 80

77

Kareem Eltouny , Mohamed Gomaa and Xiao Liang. Unsupervised Learning Methods for Data-Driven Vibration-Based Structural Health Monitoring: A Review, Sensors 2023,

23, 3290.

78 of 80

78

  • Fernandez-Navamuel, A.Magalhães, F. Zamora-Sánchez, D. Omella, A.J., Garcia-Sanchez, D., Pardo, D. Deep learning enhanced principal component analysis for structural health monitoring. Struct. Health Monit. 2022, 21, 1710–1722.
  • Kim, M.; Song, J. Near-real-time identification of seismic damage using unsupervised deep neural network. J. Eng. Mech. 2022, 148, 04022006.
  • Jiang, K.; Han, Q.; Du, X.; Ni, P. A decentralized unsupervised structural condition diagnosis approach using deep auto-encoders, Comput.-Aided Civ. Infrastruct. Eng. 2021, 36, 711–732
  • Silva, M.F.; Santos, A.; Santos, R.; Figueiredo, E.; Costa, J.C. Damage-sensitive feature extraction with stacked autoencoders for unsupervised damage detection. Struct. Control Health Monit. 2021, 28, e2714

79 of 80

79

  • Wang, Z.; Cha, Y.-J. Unsupervised deep learning approach using a deep auto-encoder with a one-class support vector machine to detect damage. Struct. Health Monit. 2021, 20, 406–425.
  • Yuan, Z.; Zhu, S.; Chang, C.; Yuan, X.; Zhang, Q.; Zhai, W. An unsupervised method based on convolutional variational auto-encoder and anomaly detection algorithms for light rail squat localization. Constr. Build. Mater. 2021, 313, 125563.

80 of 80

80

Thank you very much for your attention and time.