SlideShare uma empresa Scribd logo
1 de 67
Baixar para ler offline
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion




        Clustering Human Behaviors with Dynamic Time Warping
      and Hidden Markov Models for a Video Surveillance System


                                 Kan Ouivirach and Matthew N. Dailey

                                    Computer Science and Information Management
                                            Asian Institute of Technology




                                                 ECTI-CON
                                               May 19-21, 2010



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 1 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                                  Outline


      1    Introduction


      2    Human Behavior Pattern Clustering


      3    Experimental Results


      4    Conclusion




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 2 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                            Introduction
               Human behavior understanding is important for intelligent systems.
               Difficult due to the wide range of activities possible in any given
               context




               Figure: Reprinted from http://www.sourcesecurity.com/

               A classic work by Yamato et al. who model tennis actions using
               hidden Markov models (HMMs)
 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 3 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                            Introduction
               Human behavior understanding is important for intelligent systems.
               Difficult due to the wide range of activities possible in any given
               context




               Figure: Reprinted from http://www.sourcesecurity.com/

               A classic work by Yamato et al. who model tennis actions using
               hidden Markov models (HMMs)
 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 3 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                            Introduction
               Human behavior understanding is important for intelligent systems.
               Difficult due to the wide range of activities possible in any given
               context




               Figure: Reprinted from http://www.sourcesecurity.com/

               A classic work by Yamato et al. who model tennis actions using
               hidden Markov models (HMMs)
 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 3 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)

               To help security personnel work reliably and efficiently,
                     filter out typical events;
                     automatically present anomalous events to human operator.




                       Figure: Reprinted from http://sikafutu.com/


 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 4 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)

               To help security personnel work reliably and efficiently,
                     filter out typical events;
                     automatically present anomalous events to human operator.




                       Figure: Reprinted from http://sikafutu.com/


 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 4 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)

               To help security personnel work reliably and efficiently,
                     filter out typical events;
                     automatically present anomalous events to human operator.




                       Figure: Reprinted from http://sikafutu.com/


 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 4 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               One limitation of most of the work
                     The number of “normal” behavior patterns need to be known
                     beforehand.
                     Nair and Clark (2002) use HMMs to model a common, predefined
                     activity in a scene.
               Unsupervised analysis and clustering of behaviors for a variety of
               purposes has started to draw attentions.
                     Li et al. (2006) cluster human gestures by constructing an affinity
                     matrix using dynamic time warping (DTW), and apply the
                     normalized-cut approach to cluster.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 5 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               One limitation of most of the work
                     The number of “normal” behavior patterns need to be known
                     beforehand.
                     Nair and Clark (2002) use HMMs to model a common, predefined
                     activity in a scene.
               Unsupervised analysis and clustering of behaviors for a variety of
               purposes has started to draw attentions.
                     Li et al. (2006) cluster human gestures by constructing an affinity
                     matrix using dynamic time warping (DTW), and apply the
                     normalized-cut approach to cluster.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 5 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               One limitation of most of the work
                     The number of “normal” behavior patterns need to be known
                     beforehand.
                     Nair and Clark (2002) use HMMs to model a common, predefined
                     activity in a scene.
               Unsupervised analysis and clustering of behaviors for a variety of
               purposes has started to draw attentions.
                     Li et al. (2006) cluster human gestures by constructing an affinity
                     matrix using dynamic time warping (DTW), and apply the
                     normalized-cut approach to cluster.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 5 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               One limitation of most of the work
                     The number of “normal” behavior patterns need to be known
                     beforehand.
                     Nair and Clark (2002) use HMMs to model a common, predefined
                     activity in a scene.
               Unsupervised analysis and clustering of behaviors for a variety of
               purposes has started to draw attentions.
                     Li et al. (2006) cluster human gestures by constructing an affinity
                     matrix using dynamic time warping (DTW), and apply the
                     normalized-cut approach to cluster.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 5 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               One limitation of most of the work
                     The number of “normal” behavior patterns need to be known
                     beforehand.
                     Nair and Clark (2002) use HMMs to model a common, predefined
                     activity in a scene.
               Unsupervised analysis and clustering of behaviors for a variety of
               purposes has started to draw attentions.
                     Li et al. (2006) cluster human gestures by constructing an affinity
                     matrix using dynamic time warping (DTW), and apply the
                     normalized-cut approach to cluster.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 5 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)




               Some recent related works using HMMs to cluster behavior patterns
                     Swears et al. (2008) propose hierarchical HMM-based clustering to
                     find motion trajectories and velocities in a highway interchange
                     scene.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 6 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)




               Some recent related works using HMMs to cluster behavior patterns
                     Swears et al. (2008) propose hierarchical HMM-based clustering to
                     find motion trajectories and velocities in a highway interchange
                     scene.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 6 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               New method for clustering human behaviors in the context of video
               surveillance
               Combination of clustering and HMMs to group human behaviors
               Summary flow
                 1   After extracting sequences, we use DTW to measure the pairwise
                     similarity between sequences.
                 2   Construct an agglomerative hierarchical clustering dendrogram
                     based on the DTW similarity measure.
                 3   Recursively, find the optimal set of behavior clusters using HMMs.
               Oates et al. (2001) first proposed the idea of using the DTW with
               HMMs to cluster time series.



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 7 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               New method for clustering human behaviors in the context of video
               surveillance
               Combination of clustering and HMMs to group human behaviors
               Summary flow
                 1   After extracting sequences, we use DTW to measure the pairwise
                     similarity between sequences.
                 2   Construct an agglomerative hierarchical clustering dendrogram
                     based on the DTW similarity measure.
                 3   Recursively, find the optimal set of behavior clusters using HMMs.
               Oates et al. (2001) first proposed the idea of using the DTW with
               HMMs to cluster time series.



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 7 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               New method for clustering human behaviors in the context of video
               surveillance
               Combination of clustering and HMMs to group human behaviors
               Summary flow
                 1   After extracting sequences, we use DTW to measure the pairwise
                     similarity between sequences.
                 2   Construct an agglomerative hierarchical clustering dendrogram
                     based on the DTW similarity measure.
                 3   Recursively, find the optimal set of behavior clusters using HMMs.
               Oates et al. (2001) first proposed the idea of using the DTW with
               HMMs to cluster time series.



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 7 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               New method for clustering human behaviors in the context of video
               surveillance
               Combination of clustering and HMMs to group human behaviors
               Summary flow
                 1   After extracting sequences, we use DTW to measure the pairwise
                     similarity between sequences.
                 2   Construct an agglomerative hierarchical clustering dendrogram
                     based on the DTW similarity measure.
                 3   Recursively, find the optimal set of behavior clusters using HMMs.
               Oates et al. (2001) first proposed the idea of using the DTW with
               HMMs to cluster time series.



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 7 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               New method for clustering human behaviors in the context of video
               surveillance
               Combination of clustering and HMMs to group human behaviors
               Summary flow
                 1   After extracting sequences, we use DTW to measure the pairwise
                     similarity between sequences.
                 2   Construct an agglomerative hierarchical clustering dendrogram
                     based on the DTW similarity measure.
                 3   Recursively, find the optimal set of behavior clusters using HMMs.
               Oates et al. (2001) first proposed the idea of using the DTW with
               HMMs to cluster time series.



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 7 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               New method for clustering human behaviors in the context of video
               surveillance
               Combination of clustering and HMMs to group human behaviors
               Summary flow
                 1   After extracting sequences, we use DTW to measure the pairwise
                     similarity between sequences.
                 2   Construct an agglomerative hierarchical clustering dendrogram
                     based on the DTW similarity measure.
                 3   Recursively, find the optimal set of behavior clusters using HMMs.
               Oates et al. (2001) first proposed the idea of using the DTW with
               HMMs to cluster time series.



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 7 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Introduction (cont.)


               New method for clustering human behaviors in the context of video
               surveillance
               Combination of clustering and HMMs to group human behaviors
               Summary flow
                 1   After extracting sequences, we use DTW to measure the pairwise
                     similarity between sequences.
                 2   Construct an agglomerative hierarchical clustering dendrogram
                     based on the DTW similarity measure.
                 3   Recursively, find the optimal set of behavior clusters using HMMs.
               Oates et al. (2001) first proposed the idea of using the DTW with
               HMMs to cluster time series.



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 7 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                       Compared to the related works




               Potential to improve upon the state of the art in intelligent video
               surveillance applications by
                     Bootstrapping human behavior classification and anomaly detection
                     modules
                     Supporting incremental HMM learning (performing statistical tests
                     to select which cluster should be incrementally updated)




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 8 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                       Compared to the related works




               Potential to improve upon the state of the art in intelligent video
               surveillance applications by
                     Bootstrapping human behavior classification and anomaly detection
                     modules
                     Supporting incremental HMM learning (performing statistical tests
                     to select which cluster should be incrementally updated)




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 8 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                       Compared to the related works




               Potential to improve upon the state of the art in intelligent video
               surveillance applications by
                     Bootstrapping human behavior classification and anomaly detection
                     modules
                     Supporting incremental HMM learning (performing statistical tests
                     to select which cluster should be incrementally updated)




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 8 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                                  Outline


      1    Introduction


      2    Human Behavior Pattern Clustering


      3    Experimental Results


      4    Conclusion




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 9 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                                Overview




      We divide the proposed method into 2 phases.
          1    Blob extraction
          2    Behavior clustering




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 10 / 29
Introduction             Human Behavior Pattern Clustering                  Experimental Results           Conclusion


                                         Blob Extraction
                                          CCTV�camera



                                                Video
                                                          Background
                                          Foreground        model      Background
                                          Extraction                    Modeling
                                                List�of�blobs

                                          Single�Blob
                                           Tracking
                                                Blob�features
                                           Vector
                                         Quantization
                                                Observation
                                                 symbols
                                          Sequence
                                         Aggregation

                                        Discrete�symbol
                                           sequences


                            Figure: Block Diagram of Blob Extraction
 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 11 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                Blob Extraction (cont.)

      We represent a blob at time t by the feature vector

                             ft = xt         yt     st    rt    dxt      dyt     vt ,

      where
               (xt , yt ) is the centroid of the blob.
               st is the size of the blob in pixels.
               rt is the aspect ratio of the blob’s bounding box.
               (dxt , dyt ) is the unit-normalized motion vector for the blob
               compared to the previous frame.
               vt is the blob’s speed compared to the previous frame.



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 12 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                    Behavior Clustering
                                                Discrete�symbol
                                                   sequences


                                                 Similarity
                                                Measurement
                                                           Distance
                                                            matrix

                                              Agglomerative
                                          Hierarchical�Clustering

                                                          Dendrogram

                                               HMM-based
                                          Hierarchical�Clustering


                                                  Set�of�HMMs


                         Figure: Block Diagram of Behavior Clustering
 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 13 / 29
Introduction             Human Behavior Pattern Clustering                         Experimental Results    Conclusion


                            Behavior Clustering (cont.)
                                             c����cluster�at�root
                                             0


                                               of�dendrogram


                                                         c
                                                    C���{��}
                                                           0




                                                 c����any�cluster
                                                       in�C


                                              Train�a�HMM
                                             on�the�sequences
                                                   in�c



                                                Is�the�HMM                Replace�c�in�C
                                                                    No
                                             a�sufficient�model          with�the�children
                                              of�the�sequences�              of�c�from�
                                                    in�c?                DTW�dendrogram

                                                          Yes

                                           Add�the�trained�HMM
                                              to�model�list�M


                                             Remove�c�from�C



                                      No
                                                  Is�C�empty?

                                                          Yes



               Figure: Processing flow of the use of HMM clustering method
 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 14 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                            Behavior Clustering (cont.)
      How the processing flow works




                                                    Root




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 15 / 29
Introduction             Human Behavior Pattern Clustering                  Experimental Results           Conclusion


                            Behavior Clustering (cont.)
      How the processing flow works



                                                             The HMM is
                                                              sufficient?



                                                     Root




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 15 / 29
Introduction             Human Behavior Pattern Clustering                Experimental Results             Conclusion


                            Behavior Clustering (cont.)
      How the processing flow works



                                                                Not
                                                             sufficient



                                                      Root




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 15 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                            Behavior Clustering (cont.)
      How the processing flow works




                                                      Root




                                      Child                          Child




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 15 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                            Behavior Clustering (cont.)
      How the processing flow works




                                                      Root
                                              The HMM is                     The HMM is
                                               sufficient?                    sufficient?



                                      Child                          Child




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 15 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                Blob Clustering (cont.)




               The HMM is not sufficient to model the sequences
                     When there are more than N sequences in a cluster whose
                     per-observation log-likelihood is less than a threshold.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 16 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                Blob Clustering (cont.)




               The HMM is not sufficient to model the sequences
                     When there are more than N sequences in a cluster whose
                     per-observation log-likelihood is less than a threshold.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 16 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                Blob Clustering (cont.)




               To determine the optimal rejection threshold
                     Use an approach similar to that of Oates et al. (2001).
                     Generate random sequences from the HMM.
                     Calculate µc and σc of the per-observation log-likelihood over the
                     set of generated sequences.
                     Let a threshold be pc = µc − zσc , where z is experimentally tuned.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 17 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                Blob Clustering (cont.)




               To determine the optimal rejection threshold
                     Use an approach similar to that of Oates et al. (2001).
                     Generate random sequences from the HMM.
                     Calculate µc and σc of the per-observation log-likelihood over the
                     set of generated sequences.
                     Let a threshold be pc = µc − zσc , where z is experimentally tuned.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 17 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                Blob Clustering (cont.)




               To determine the optimal rejection threshold
                     Use an approach similar to that of Oates et al. (2001).
                     Generate random sequences from the HMM.
                     Calculate µc and σc of the per-observation log-likelihood over the
                     set of generated sequences.
                     Let a threshold be pc = µc − zσc , where z is experimentally tuned.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 17 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                Blob Clustering (cont.)




               To determine the optimal rejection threshold
                     Use an approach similar to that of Oates et al. (2001).
                     Generate random sequences from the HMM.
                     Calculate µc and σc of the per-observation log-likelihood over the
                     set of generated sequences.
                     Let a threshold be pc = µc − zσc , where z is experimentally tuned.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 17 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                Blob Clustering (cont.)




               To determine the optimal rejection threshold
                     Use an approach similar to that of Oates et al. (2001).
                     Generate random sequences from the HMM.
                     Calculate µc and σc of the per-observation log-likelihood over the
                     set of generated sequences.
                     Let a threshold be pc = µc − zσc , where z is experimentally tuned.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 17 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                                  Outline


      1    Introduction


      2    Human Behavior Pattern Clustering


      3    Experimental Results


      4    Conclusion




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 18 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                                Overview




               Recorded videos at a resolution of 320 × 240 and 25 fps over 1 week.
               Used a motion detection to save disk space.
               Obtained videos corresponding to over 500 motion events, but
               selected the 298 videos containing only a single motion.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 19 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)



               Found that at least 4 common behaviors:
                     Walking into the building (Walk-in)
                     Walking out of the building (Walk-out)
                     Parking a bicycle (Cycle-in)
                     Riding a bicycle out (Cycle-out)
               Other less common activities:
                     Walking while telephoning, etc. (Other)




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 20 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)




      Figure: Example of common human activities in our testbed scene. (a)
      Walking in. (b) Walking out. (c) Cycling in. (d) Cycling out.
 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 21 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)



      Our main hypothesis
               Using DTW as a pre-process prior to HMM-based clustering should
               improve the quality of the clusters in term of separating anomalous
               from typical behaviors.
               Compared to
                     Using only HMMs
                     Supervised classification with HMMs




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 22 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)



      Our main hypothesis
               Using DTW as a pre-process prior to HMM-based clustering should
               improve the quality of the clusters in term of separating anomalous
               from typical behaviors.
               Compared to
                     Using only HMMs
                     Supervised classification with HMMs




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 22 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)



      Our main hypothesis
               Using DTW as a pre-process prior to HMM-based clustering should
               improve the quality of the clusters in term of separating anomalous
               from typical behaviors.
               Compared to
                     Using only HMMs
                     Supervised classification with HMMs




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 22 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)



      Our main hypothesis
               Using DTW as a pre-process prior to HMM-based clustering should
               improve the quality of the clusters in term of separating anomalous
               from typical behaviors.
               Compared to
                     Using only HMMs
                     Supervised classification with HMMs




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 22 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)


               Performed 3 experiments.
               Evaluated the results according to how well the induced categories
               separate the anomalous sequences (hand-labeled with the category
               “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in,
               Cycle-out).
                 1   Using our proposed method
                 2   Using only HMMs
                 3   Using HMMs with supervised learning

               In all 3 experiments, we chose linear HMMs with 4 states based on
               our previous empirical experience.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 23 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)


               Performed 3 experiments.
               Evaluated the results according to how well the induced categories
               separate the anomalous sequences (hand-labeled with the category
               “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in,
               Cycle-out).
                 1   Using our proposed method
                 2   Using only HMMs
                 3   Using HMMs with supervised learning

               In all 3 experiments, we chose linear HMMs with 4 states based on
               our previous empirical experience.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 23 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)


               Performed 3 experiments.
               Evaluated the results according to how well the induced categories
               separate the anomalous sequences (hand-labeled with the category
               “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in,
               Cycle-out).
                 1   Using our proposed method
                 2   Using only HMMs
                 3   Using HMMs with supervised learning

               In all 3 experiments, we chose linear HMMs with 4 states based on
               our previous empirical experience.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 23 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)


               Performed 3 experiments.
               Evaluated the results according to how well the induced categories
               separate the anomalous sequences (hand-labeled with the category
               “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in,
               Cycle-out).
                 1   Using our proposed method
                 2   Using only HMMs
                 3   Using HMMs with supervised learning

               In all 3 experiments, we chose linear HMMs with 4 states based on
               our previous empirical experience.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 23 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)


               Performed 3 experiments.
               Evaluated the results according to how well the induced categories
               separate the anomalous sequences (hand-labeled with the category
               “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in,
               Cycle-out).
                 1   Using our proposed method
                 2   Using only HMMs
                 3   Using HMMs with supervised learning

               In all 3 experiments, we chose linear HMMs with 4 states based on
               our previous empirical experience.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 23 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)


               Performed 3 experiments.
               Evaluated the results according to how well the induced categories
               separate the anomalous sequences (hand-labeled with the category
               “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in,
               Cycle-out).
                 1   Using our proposed method
                 2   Using only HMMs
                 3   Using HMMs with supervised learning

               In all 3 experiments, we chose linear HMMs with 4 states based on
               our previous empirical experience.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 23 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                       Overview (cont.)




      Our configuration
               the number of deviant patterns allowed in a cluster N = 10
               z = 2.0 for a threshold pc = µc − zσc




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 24 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                               Results for Experiment I
                  Clustering results for Experiment I (DTW+HMMs).
         Cluster #          Walk-in          Walk-out Cycle-in                  Cycle-out          Other
             1               96                 0       18                          0                0
             2                0                54        0                          5                0
             3                0                 3        0                          8                0
             4                0                 2        0                          0                0
             5                0                 1        0                          2                0
                                                    ...
             14                  0              0        0                             0               4
             15                  0              0        0                             0               4
             16                  0              0        0                             0               2
             17                  0              0        0                             0               2
          One-seq
          clusters               4                17                34                21               4

 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 25 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                              Results for Experiment II

               Begin by training a single HMM on all sequences.
               Assign every sequence with a per-observation log-likelihood above a
               threshold pc to a cluster.
               Repeat the process by training a new HMM on the remaining
               sequences.

                   Clustering results for Experiment II (HMMs only).
         Cluster #          Walk-in          Walk-out          Cycle-in         Cycle-out          Other
             1               15                77                49                43               16
             2               80                 0                11                 2                0
             3                5                 0                 0                 0                0



 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 26 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                             Results for Experiment III


               Trained 4 HMMs on each of the four typical beahviors.
               Maximize the F1 value to determine the best per-observation
               log-likelihood threshold for each HMM.
                     For the best separation between the positive and negative test
                     patterns

       Results for Experiment III (Supervised classification with HMMs).
                  Anomaly detection rate (%)                      False alarm rate (%)
                             50                                            24.6




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 27 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                                  Outline


      1    Introduction


      2    Human Behavior Pattern Clustering


      3    Experimental Results


      4    Conclusion




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 28 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                              Conclusion


               We have proposed and evaluated a new method for clustering
               human behaviors.
               Our method
                     provides an initial partitioning of a set of behavior sequences, then
                     automatically identifies where to cut off the hierarchical clustering
                     dendrogram.
                     could be used to bootstrap an anomaly detection module for
                     intelligent video surveillance applications.
                     shows a perfect separation between typical and anomalous behaviors
                     on real-world surveillance data without any information about the
                     labels.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 29 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                              Conclusion


               We have proposed and evaluated a new method for clustering
               human behaviors.
               Our method
                     provides an initial partitioning of a set of behavior sequences, then
                     automatically identifies where to cut off the hierarchical clustering
                     dendrogram.
                     could be used to bootstrap an anomaly detection module for
                     intelligent video surveillance applications.
                     shows a perfect separation between typical and anomalous behaviors
                     on real-world surveillance data without any information about the
                     labels.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 29 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                              Conclusion


               We have proposed and evaluated a new method for clustering
               human behaviors.
               Our method
                     provides an initial partitioning of a set of behavior sequences, then
                     automatically identifies where to cut off the hierarchical clustering
                     dendrogram.
                     could be used to bootstrap an anomaly detection module for
                     intelligent video surveillance applications.
                     shows a perfect separation between typical and anomalous behaviors
                     on real-world surveillance data without any information about the
                     labels.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 29 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                              Conclusion


               We have proposed and evaluated a new method for clustering
               human behaviors.
               Our method
                     provides an initial partitioning of a set of behavior sequences, then
                     automatically identifies where to cut off the hierarchical clustering
                     dendrogram.
                     could be used to bootstrap an anomaly detection module for
                     intelligent video surveillance applications.
                     shows a perfect separation between typical and anomalous behaviors
                     on real-world surveillance data without any information about the
                     labels.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 29 / 29
Introduction             Human Behavior Pattern Clustering               Experimental Results              Conclusion


                                              Conclusion


               We have proposed and evaluated a new method for clustering
               human behaviors.
               Our method
                     provides an initial partitioning of a set of behavior sequences, then
                     automatically identifies where to cut off the hierarchical clustering
                     dendrogram.
                     could be used to bootstrap an anomaly detection module for
                     intelligent video surveillance applications.
                     shows a perfect separation between typical and anomalous behaviors
                     on real-world surveillance data without any information about the
                     labels.




 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System
                                                                                                                 29 / 29

Mais conteúdo relacionado

Semelhante a Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System

SENSITIVITY OF A VIDEO SURVEILLANCE SYSTEM BASED ON MOTION DETECTION
SENSITIVITY OF A VIDEO SURVEILLANCE SYSTEM BASED ON MOTION DETECTIONSENSITIVITY OF A VIDEO SURVEILLANCE SYSTEM BASED ON MOTION DETECTION
SENSITIVITY OF A VIDEO SURVEILLANCE SYSTEM BASED ON MOTION DETECTION
sipij
 
A real time aggressive human behaviour detection system in cage environment a...
A real time aggressive human behaviour detection system in cage environment a...A real time aggressive human behaviour detection system in cage environment a...
A real time aggressive human behaviour detection system in cage environment a...
Journal Papers
 
A Framework for Human Action Detection via Extraction of Multimodal Features
A Framework for Human Action Detection via Extraction of Multimodal FeaturesA Framework for Human Action Detection via Extraction of Multimodal Features
A Framework for Human Action Detection via Extraction of Multimodal Features
CSCJournals
 
IFAC97.doc
IFAC97.docIFAC97.doc
IFAC97.doc
butest
 
IFAC97.doc
IFAC97.docIFAC97.doc
IFAC97.doc
butest
 
Periodic
PeriodicPeriodic
Periodic
visu64
 

Semelhante a Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System (20)

Java Implementation based Heterogeneous Video Sequence Automated Surveillance...
Java Implementation based Heterogeneous Video Sequence Automated Surveillance...Java Implementation based Heterogeneous Video Sequence Automated Surveillance...
Java Implementation based Heterogeneous Video Sequence Automated Surveillance...
 
590 599
590 599590 599
590 599
 
seminar Islideshow.pptx
seminar Islideshow.pptxseminar Islideshow.pptx
seminar Islideshow.pptx
 
IRJET- Prediction of Anomalous Activities in a Video
IRJET-  	  Prediction of Anomalous Activities in a VideoIRJET-  	  Prediction of Anomalous Activities in a Video
IRJET- Prediction of Anomalous Activities in a Video
 
Human Action Recognition Using Deep Learning
Human Action Recognition Using Deep LearningHuman Action Recognition Using Deep Learning
Human Action Recognition Using Deep Learning
 
Suspicious Activity Detection
Suspicious Activity DetectionSuspicious Activity Detection
Suspicious Activity Detection
 
SENSITIVITY OF A VIDEO SURVEILLANCE SYSTEM BASED ON MOTION DETECTION
SENSITIVITY OF A VIDEO SURVEILLANCE SYSTEM BASED ON MOTION DETECTIONSENSITIVITY OF A VIDEO SURVEILLANCE SYSTEM BASED ON MOTION DETECTION
SENSITIVITY OF A VIDEO SURVEILLANCE SYSTEM BASED ON MOTION DETECTION
 
A real time aggressive human behaviour detection system in cage environment a...
A real time aggressive human behaviour detection system in cage environment a...A real time aggressive human behaviour detection system in cage environment a...
A real time aggressive human behaviour detection system in cage environment a...
 
Simulation
SimulationSimulation
Simulation
 
A Framework for Human Action Detection via Extraction of Multimodal Features
A Framework for Human Action Detection via Extraction of Multimodal FeaturesA Framework for Human Action Detection via Extraction of Multimodal Features
A Framework for Human Action Detection via Extraction of Multimodal Features
 
Abnormal activity detection in surveillance video scenes
Abnormal activity detection in surveillance video scenesAbnormal activity detection in surveillance video scenes
Abnormal activity detection in surveillance video scenes
 
onur-comparch-fall2018-lecture2-rowhammer-afterlecture.pptx
onur-comparch-fall2018-lecture2-rowhammer-afterlecture.pptxonur-comparch-fall2018-lecture2-rowhammer-afterlecture.pptx
onur-comparch-fall2018-lecture2-rowhammer-afterlecture.pptx
 
IFAC97.doc
IFAC97.docIFAC97.doc
IFAC97.doc
 
IFAC97.doc
IFAC97.docIFAC97.doc
IFAC97.doc
 
HUMAN MOTION DETECTION AND TRACKING FOR VIDEO SURVEILLANCE
HUMAN MOTION  DETECTION AND TRACKING FOR VIDEO SURVEILLANCEHUMAN MOTION  DETECTION AND TRACKING FOR VIDEO SURVEILLANCE
HUMAN MOTION DETECTION AND TRACKING FOR VIDEO SURVEILLANCE
 
Poster: ICME 2010
Poster: ICME 2010Poster: ICME 2010
Poster: ICME 2010
 
Fuzzy logic and neural networks
Fuzzy logic and neural networksFuzzy logic and neural networks
Fuzzy logic and neural networks
 
Campus_Abnormal_Behavior_Recognition_With_Temporal_Segment_Transformers.docx
Campus_Abnormal_Behavior_Recognition_With_Temporal_Segment_Transformers.docxCampus_Abnormal_Behavior_Recognition_With_Temporal_Segment_Transformers.docx
Campus_Abnormal_Behavior_Recognition_With_Temporal_Segment_Transformers.docx
 
Periodic
PeriodicPeriodic
Periodic
 
Fast Human Detection in Surveillance Video
Fast Human Detection in Surveillance VideoFast Human Detection in Surveillance Video
Fast Human Detection in Surveillance Video
 

Mais de Kan Ouivirach, Ph.D.

Extracting the Object from the Shadows: Maximum Likelihood Object/Shadow Disc...
Extracting the Object from the Shadows: Maximum Likelihood Object/Shadow Disc...Extracting the Object from the Shadows: Maximum Likelihood Object/Shadow Disc...
Extracting the Object from the Shadows: Maximum Likelihood Object/Shadow Disc...
Kan Ouivirach, Ph.D.
 
Adapting Scrum to Managing a Research Group
Adapting Scrum to Managing a Research GroupAdapting Scrum to Managing a Research Group
Adapting Scrum to Managing a Research Group
Kan Ouivirach, Ph.D.
 

Mais de Kan Ouivirach, Ph.D. (19)

Adoption of AI: The Great Opportunities for Everyone
Adoption of AI: The Great Opportunities for EveryoneAdoption of AI: The Great Opportunities for Everyone
Adoption of AI: The Great Opportunities for Everyone
 
Uncover Python's Potential in Machine Learning
Uncover Python's Potential in Machine LearningUncover Python's Potential in Machine Learning
Uncover Python's Potential in Machine Learning
 
WordPress Hooks: The Right Way to Extend Your WordPress
WordPress Hooks: The Right Way to Extend Your WordPressWordPress Hooks: The Right Way to Extend Your WordPress
WordPress Hooks: The Right Way to Extend Your WordPress
 
Lesson Learned from Using Docker Swarm at Pronto
Lesson Learned from Using Docker Swarm at ProntoLesson Learned from Using Docker Swarm at Pronto
Lesson Learned from Using Docker Swarm at Pronto
 
หัดเขียน A.I. แบบ AlphaGo กันชิวๆ
หัดเขียน A.I. แบบ AlphaGo กันชิวๆหัดเขียน A.I. แบบ AlphaGo กันชิวๆ
หัดเขียน A.I. แบบ AlphaGo กันชิวๆ
 
Agile and Scrum Methodology
Agile and Scrum MethodologyAgile and Scrum Methodology
Agile and Scrum Methodology
 
Machine Learning at Geeky Base 2
Machine Learning at Geeky Base 2Machine Learning at Geeky Base 2
Machine Learning at Geeky Base 2
 
Machine Learning คือ? #bcbk
Machine Learning คือ? #bcbkMachine Learning คือ? #bcbk
Machine Learning คือ? #bcbk
 
What We Do in This Weird Office Culture
What We Do in This Weird Office CultureWhat We Do in This Weird Office Culture
What We Do in This Weird Office Culture
 
The WordPress Way
The WordPress WayThe WordPress Way
The WordPress Way
 
Exploring Machine Learning in Python with Scikit-Learn
Exploring Machine Learning in Python with Scikit-LearnExploring Machine Learning in Python with Scikit-Learn
Exploring Machine Learning in Python with Scikit-Learn
 
Machine Learning at Geeky Base
Machine Learning at Geeky BaseMachine Learning at Geeky Base
Machine Learning at Geeky Base
 
Thailand Hadoop Big Data Challenge #1
Thailand Hadoop Big Data Challenge #1Thailand Hadoop Big Data Challenge #1
Thailand Hadoop Big Data Challenge #1
 
Achieving "Zero Downtime Deployment" with Automated Testing
Achieving "Zero Downtime Deployment" with Automated TestingAchieving "Zero Downtime Deployment" with Automated Testing
Achieving "Zero Downtime Deployment" with Automated Testing
 
Pronto R&D Presentation
Pronto R&D PresentationPronto R&D Presentation
Pronto R&D Presentation
 
Scrum at Pronto Marketing
Scrum at Pronto MarketingScrum at Pronto Marketing
Scrum at Pronto Marketing
 
Practical Experience in Automated Testing at Pronto Marketing
Practical Experience in Automated Testing at Pronto MarketingPractical Experience in Automated Testing at Pronto Marketing
Practical Experience in Automated Testing at Pronto Marketing
 
Extracting the Object from the Shadows: Maximum Likelihood Object/Shadow Disc...
Extracting the Object from the Shadows: Maximum Likelihood Object/Shadow Disc...Extracting the Object from the Shadows: Maximum Likelihood Object/Shadow Disc...
Extracting the Object from the Shadows: Maximum Likelihood Object/Shadow Disc...
 
Adapting Scrum to Managing a Research Group
Adapting Scrum to Managing a Research GroupAdapting Scrum to Managing a Research Group
Adapting Scrum to Managing a Research Group
 

Último

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Último (20)

Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System

  • 1. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System Kan Ouivirach and Matthew N. Dailey Computer Science and Information Management Asian Institute of Technology ECTI-CON May 19-21, 2010 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 1 / 29
  • 2. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Outline 1 Introduction 2 Human Behavior Pattern Clustering 3 Experimental Results 4 Conclusion Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 2 / 29
  • 3. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction Human behavior understanding is important for intelligent systems. Difficult due to the wide range of activities possible in any given context Figure: Reprinted from http://www.sourcesecurity.com/ A classic work by Yamato et al. who model tennis actions using hidden Markov models (HMMs) Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 3 / 29
  • 4. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction Human behavior understanding is important for intelligent systems. Difficult due to the wide range of activities possible in any given context Figure: Reprinted from http://www.sourcesecurity.com/ A classic work by Yamato et al. who model tennis actions using hidden Markov models (HMMs) Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 3 / 29
  • 5. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction Human behavior understanding is important for intelligent systems. Difficult due to the wide range of activities possible in any given context Figure: Reprinted from http://www.sourcesecurity.com/ A classic work by Yamato et al. who model tennis actions using hidden Markov models (HMMs) Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 3 / 29
  • 6. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) To help security personnel work reliably and efficiently, filter out typical events; automatically present anomalous events to human operator. Figure: Reprinted from http://sikafutu.com/ Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 4 / 29
  • 7. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) To help security personnel work reliably and efficiently, filter out typical events; automatically present anomalous events to human operator. Figure: Reprinted from http://sikafutu.com/ Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 4 / 29
  • 8. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) To help security personnel work reliably and efficiently, filter out typical events; automatically present anomalous events to human operator. Figure: Reprinted from http://sikafutu.com/ Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 4 / 29
  • 9. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) One limitation of most of the work The number of “normal” behavior patterns need to be known beforehand. Nair and Clark (2002) use HMMs to model a common, predefined activity in a scene. Unsupervised analysis and clustering of behaviors for a variety of purposes has started to draw attentions. Li et al. (2006) cluster human gestures by constructing an affinity matrix using dynamic time warping (DTW), and apply the normalized-cut approach to cluster. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 5 / 29
  • 10. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) One limitation of most of the work The number of “normal” behavior patterns need to be known beforehand. Nair and Clark (2002) use HMMs to model a common, predefined activity in a scene. Unsupervised analysis and clustering of behaviors for a variety of purposes has started to draw attentions. Li et al. (2006) cluster human gestures by constructing an affinity matrix using dynamic time warping (DTW), and apply the normalized-cut approach to cluster. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 5 / 29
  • 11. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) One limitation of most of the work The number of “normal” behavior patterns need to be known beforehand. Nair and Clark (2002) use HMMs to model a common, predefined activity in a scene. Unsupervised analysis and clustering of behaviors for a variety of purposes has started to draw attentions. Li et al. (2006) cluster human gestures by constructing an affinity matrix using dynamic time warping (DTW), and apply the normalized-cut approach to cluster. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 5 / 29
  • 12. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) One limitation of most of the work The number of “normal” behavior patterns need to be known beforehand. Nair and Clark (2002) use HMMs to model a common, predefined activity in a scene. Unsupervised analysis and clustering of behaviors for a variety of purposes has started to draw attentions. Li et al. (2006) cluster human gestures by constructing an affinity matrix using dynamic time warping (DTW), and apply the normalized-cut approach to cluster. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 5 / 29
  • 13. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) One limitation of most of the work The number of “normal” behavior patterns need to be known beforehand. Nair and Clark (2002) use HMMs to model a common, predefined activity in a scene. Unsupervised analysis and clustering of behaviors for a variety of purposes has started to draw attentions. Li et al. (2006) cluster human gestures by constructing an affinity matrix using dynamic time warping (DTW), and apply the normalized-cut approach to cluster. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 5 / 29
  • 14. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) Some recent related works using HMMs to cluster behavior patterns Swears et al. (2008) propose hierarchical HMM-based clustering to find motion trajectories and velocities in a highway interchange scene. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 6 / 29
  • 15. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) Some recent related works using HMMs to cluster behavior patterns Swears et al. (2008) propose hierarchical HMM-based clustering to find motion trajectories and velocities in a highway interchange scene. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 6 / 29
  • 16. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) New method for clustering human behaviors in the context of video surveillance Combination of clustering and HMMs to group human behaviors Summary flow 1 After extracting sequences, we use DTW to measure the pairwise similarity between sequences. 2 Construct an agglomerative hierarchical clustering dendrogram based on the DTW similarity measure. 3 Recursively, find the optimal set of behavior clusters using HMMs. Oates et al. (2001) first proposed the idea of using the DTW with HMMs to cluster time series. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 7 / 29
  • 17. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) New method for clustering human behaviors in the context of video surveillance Combination of clustering and HMMs to group human behaviors Summary flow 1 After extracting sequences, we use DTW to measure the pairwise similarity between sequences. 2 Construct an agglomerative hierarchical clustering dendrogram based on the DTW similarity measure. 3 Recursively, find the optimal set of behavior clusters using HMMs. Oates et al. (2001) first proposed the idea of using the DTW with HMMs to cluster time series. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 7 / 29
  • 18. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) New method for clustering human behaviors in the context of video surveillance Combination of clustering and HMMs to group human behaviors Summary flow 1 After extracting sequences, we use DTW to measure the pairwise similarity between sequences. 2 Construct an agglomerative hierarchical clustering dendrogram based on the DTW similarity measure. 3 Recursively, find the optimal set of behavior clusters using HMMs. Oates et al. (2001) first proposed the idea of using the DTW with HMMs to cluster time series. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 7 / 29
  • 19. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) New method for clustering human behaviors in the context of video surveillance Combination of clustering and HMMs to group human behaviors Summary flow 1 After extracting sequences, we use DTW to measure the pairwise similarity between sequences. 2 Construct an agglomerative hierarchical clustering dendrogram based on the DTW similarity measure. 3 Recursively, find the optimal set of behavior clusters using HMMs. Oates et al. (2001) first proposed the idea of using the DTW with HMMs to cluster time series. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 7 / 29
  • 20. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) New method for clustering human behaviors in the context of video surveillance Combination of clustering and HMMs to group human behaviors Summary flow 1 After extracting sequences, we use DTW to measure the pairwise similarity between sequences. 2 Construct an agglomerative hierarchical clustering dendrogram based on the DTW similarity measure. 3 Recursively, find the optimal set of behavior clusters using HMMs. Oates et al. (2001) first proposed the idea of using the DTW with HMMs to cluster time series. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 7 / 29
  • 21. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) New method for clustering human behaviors in the context of video surveillance Combination of clustering and HMMs to group human behaviors Summary flow 1 After extracting sequences, we use DTW to measure the pairwise similarity between sequences. 2 Construct an agglomerative hierarchical clustering dendrogram based on the DTW similarity measure. 3 Recursively, find the optimal set of behavior clusters using HMMs. Oates et al. (2001) first proposed the idea of using the DTW with HMMs to cluster time series. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 7 / 29
  • 22. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Introduction (cont.) New method for clustering human behaviors in the context of video surveillance Combination of clustering and HMMs to group human behaviors Summary flow 1 After extracting sequences, we use DTW to measure the pairwise similarity between sequences. 2 Construct an agglomerative hierarchical clustering dendrogram based on the DTW similarity measure. 3 Recursively, find the optimal set of behavior clusters using HMMs. Oates et al. (2001) first proposed the idea of using the DTW with HMMs to cluster time series. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 7 / 29
  • 23. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Compared to the related works Potential to improve upon the state of the art in intelligent video surveillance applications by Bootstrapping human behavior classification and anomaly detection modules Supporting incremental HMM learning (performing statistical tests to select which cluster should be incrementally updated) Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 8 / 29
  • 24. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Compared to the related works Potential to improve upon the state of the art in intelligent video surveillance applications by Bootstrapping human behavior classification and anomaly detection modules Supporting incremental HMM learning (performing statistical tests to select which cluster should be incrementally updated) Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 8 / 29
  • 25. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Compared to the related works Potential to improve upon the state of the art in intelligent video surveillance applications by Bootstrapping human behavior classification and anomaly detection modules Supporting incremental HMM learning (performing statistical tests to select which cluster should be incrementally updated) Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 8 / 29
  • 26. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Outline 1 Introduction 2 Human Behavior Pattern Clustering 3 Experimental Results 4 Conclusion Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 9 / 29
  • 27. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview We divide the proposed method into 2 phases. 1 Blob extraction 2 Behavior clustering Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 10 / 29
  • 28. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Blob Extraction CCTV�camera Video Background Foreground model Background Extraction Modeling List�of�blobs Single�Blob Tracking Blob�features Vector Quantization Observation symbols Sequence Aggregation Discrete�symbol sequences Figure: Block Diagram of Blob Extraction Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 11 / 29
  • 29. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Blob Extraction (cont.) We represent a blob at time t by the feature vector ft = xt yt st rt dxt dyt vt , where (xt , yt ) is the centroid of the blob. st is the size of the blob in pixels. rt is the aspect ratio of the blob’s bounding box. (dxt , dyt ) is the unit-normalized motion vector for the blob compared to the previous frame. vt is the blob’s speed compared to the previous frame. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 12 / 29
  • 30. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Behavior Clustering Discrete�symbol sequences Similarity Measurement Distance matrix Agglomerative Hierarchical�Clustering Dendrogram HMM-based Hierarchical�Clustering Set�of�HMMs Figure: Block Diagram of Behavior Clustering Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 13 / 29
  • 31. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Behavior Clustering (cont.) c����cluster�at�root 0 of�dendrogram c C���{��} 0 c����any�cluster in�C Train�a�HMM on�the�sequences in�c Is�the�HMM Replace�c�in�C No a�sufficient�model with�the�children of�the�sequences� of�c�from� in�c? DTW�dendrogram Yes Add�the�trained�HMM to�model�list�M Remove�c�from�C No Is�C�empty? Yes Figure: Processing flow of the use of HMM clustering method Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 14 / 29
  • 32. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Behavior Clustering (cont.) How the processing flow works Root Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 15 / 29
  • 33. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Behavior Clustering (cont.) How the processing flow works The HMM is sufficient? Root Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 15 / 29
  • 34. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Behavior Clustering (cont.) How the processing flow works Not sufficient Root Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 15 / 29
  • 35. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Behavior Clustering (cont.) How the processing flow works Root Child Child Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 15 / 29
  • 36. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Behavior Clustering (cont.) How the processing flow works Root The HMM is The HMM is sufficient? sufficient? Child Child Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 15 / 29
  • 37. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Blob Clustering (cont.) The HMM is not sufficient to model the sequences When there are more than N sequences in a cluster whose per-observation log-likelihood is less than a threshold. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 16 / 29
  • 38. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Blob Clustering (cont.) The HMM is not sufficient to model the sequences When there are more than N sequences in a cluster whose per-observation log-likelihood is less than a threshold. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 16 / 29
  • 39. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Blob Clustering (cont.) To determine the optimal rejection threshold Use an approach similar to that of Oates et al. (2001). Generate random sequences from the HMM. Calculate µc and σc of the per-observation log-likelihood over the set of generated sequences. Let a threshold be pc = µc − zσc , where z is experimentally tuned. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 17 / 29
  • 40. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Blob Clustering (cont.) To determine the optimal rejection threshold Use an approach similar to that of Oates et al. (2001). Generate random sequences from the HMM. Calculate µc and σc of the per-observation log-likelihood over the set of generated sequences. Let a threshold be pc = µc − zσc , where z is experimentally tuned. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 17 / 29
  • 41. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Blob Clustering (cont.) To determine the optimal rejection threshold Use an approach similar to that of Oates et al. (2001). Generate random sequences from the HMM. Calculate µc and σc of the per-observation log-likelihood over the set of generated sequences. Let a threshold be pc = µc − zσc , where z is experimentally tuned. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 17 / 29
  • 42. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Blob Clustering (cont.) To determine the optimal rejection threshold Use an approach similar to that of Oates et al. (2001). Generate random sequences from the HMM. Calculate µc and σc of the per-observation log-likelihood over the set of generated sequences. Let a threshold be pc = µc − zσc , where z is experimentally tuned. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 17 / 29
  • 43. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Blob Clustering (cont.) To determine the optimal rejection threshold Use an approach similar to that of Oates et al. (2001). Generate random sequences from the HMM. Calculate µc and σc of the per-observation log-likelihood over the set of generated sequences. Let a threshold be pc = µc − zσc , where z is experimentally tuned. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 17 / 29
  • 44. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Outline 1 Introduction 2 Human Behavior Pattern Clustering 3 Experimental Results 4 Conclusion Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 18 / 29
  • 45. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview Recorded videos at a resolution of 320 × 240 and 25 fps over 1 week. Used a motion detection to save disk space. Obtained videos corresponding to over 500 motion events, but selected the 298 videos containing only a single motion. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 19 / 29
  • 46. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Found that at least 4 common behaviors: Walking into the building (Walk-in) Walking out of the building (Walk-out) Parking a bicycle (Cycle-in) Riding a bicycle out (Cycle-out) Other less common activities: Walking while telephoning, etc. (Other) Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 20 / 29
  • 47. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Figure: Example of common human activities in our testbed scene. (a) Walking in. (b) Walking out. (c) Cycling in. (d) Cycling out. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 21 / 29
  • 48. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Our main hypothesis Using DTW as a pre-process prior to HMM-based clustering should improve the quality of the clusters in term of separating anomalous from typical behaviors. Compared to Using only HMMs Supervised classification with HMMs Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 22 / 29
  • 49. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Our main hypothesis Using DTW as a pre-process prior to HMM-based clustering should improve the quality of the clusters in term of separating anomalous from typical behaviors. Compared to Using only HMMs Supervised classification with HMMs Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 22 / 29
  • 50. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Our main hypothesis Using DTW as a pre-process prior to HMM-based clustering should improve the quality of the clusters in term of separating anomalous from typical behaviors. Compared to Using only HMMs Supervised classification with HMMs Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 22 / 29
  • 51. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Our main hypothesis Using DTW as a pre-process prior to HMM-based clustering should improve the quality of the clusters in term of separating anomalous from typical behaviors. Compared to Using only HMMs Supervised classification with HMMs Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 22 / 29
  • 52. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Performed 3 experiments. Evaluated the results according to how well the induced categories separate the anomalous sequences (hand-labeled with the category “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in, Cycle-out). 1 Using our proposed method 2 Using only HMMs 3 Using HMMs with supervised learning In all 3 experiments, we chose linear HMMs with 4 states based on our previous empirical experience. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 23 / 29
  • 53. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Performed 3 experiments. Evaluated the results according to how well the induced categories separate the anomalous sequences (hand-labeled with the category “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in, Cycle-out). 1 Using our proposed method 2 Using only HMMs 3 Using HMMs with supervised learning In all 3 experiments, we chose linear HMMs with 4 states based on our previous empirical experience. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 23 / 29
  • 54. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Performed 3 experiments. Evaluated the results according to how well the induced categories separate the anomalous sequences (hand-labeled with the category “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in, Cycle-out). 1 Using our proposed method 2 Using only HMMs 3 Using HMMs with supervised learning In all 3 experiments, we chose linear HMMs with 4 states based on our previous empirical experience. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 23 / 29
  • 55. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Performed 3 experiments. Evaluated the results according to how well the induced categories separate the anomalous sequences (hand-labeled with the category “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in, Cycle-out). 1 Using our proposed method 2 Using only HMMs 3 Using HMMs with supervised learning In all 3 experiments, we chose linear HMMs with 4 states based on our previous empirical experience. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 23 / 29
  • 56. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Performed 3 experiments. Evaluated the results according to how well the induced categories separate the anomalous sequences (hand-labeled with the category “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in, Cycle-out). 1 Using our proposed method 2 Using only HMMs 3 Using HMMs with supervised learning In all 3 experiments, we chose linear HMMs with 4 states based on our previous empirical experience. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 23 / 29
  • 57. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Performed 3 experiments. Evaluated the results according to how well the induced categories separate the anomalous sequences (hand-labeled with the category “Other”) from typical sequences (Walk-in, Walk-out, Cycle-in, Cycle-out). 1 Using our proposed method 2 Using only HMMs 3 Using HMMs with supervised learning In all 3 experiments, we chose linear HMMs with 4 states based on our previous empirical experience. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 23 / 29
  • 58. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Overview (cont.) Our configuration the number of deviant patterns allowed in a cluster N = 10 z = 2.0 for a threshold pc = µc − zσc Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 24 / 29
  • 59. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Results for Experiment I Clustering results for Experiment I (DTW+HMMs). Cluster # Walk-in Walk-out Cycle-in Cycle-out Other 1 96 0 18 0 0 2 0 54 0 5 0 3 0 3 0 8 0 4 0 2 0 0 0 5 0 1 0 2 0 ... 14 0 0 0 0 4 15 0 0 0 0 4 16 0 0 0 0 2 17 0 0 0 0 2 One-seq clusters 4 17 34 21 4 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 25 / 29
  • 60. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Results for Experiment II Begin by training a single HMM on all sequences. Assign every sequence with a per-observation log-likelihood above a threshold pc to a cluster. Repeat the process by training a new HMM on the remaining sequences. Clustering results for Experiment II (HMMs only). Cluster # Walk-in Walk-out Cycle-in Cycle-out Other 1 15 77 49 43 16 2 80 0 11 2 0 3 5 0 0 0 0 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 26 / 29
  • 61. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Results for Experiment III Trained 4 HMMs on each of the four typical beahviors. Maximize the F1 value to determine the best per-observation log-likelihood threshold for each HMM. For the best separation between the positive and negative test patterns Results for Experiment III (Supervised classification with HMMs). Anomaly detection rate (%) False alarm rate (%) 50 24.6 Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 27 / 29
  • 62. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Outline 1 Introduction 2 Human Behavior Pattern Clustering 3 Experimental Results 4 Conclusion Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 28 / 29
  • 63. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Conclusion We have proposed and evaluated a new method for clustering human behaviors. Our method provides an initial partitioning of a set of behavior sequences, then automatically identifies where to cut off the hierarchical clustering dendrogram. could be used to bootstrap an anomaly detection module for intelligent video surveillance applications. shows a perfect separation between typical and anomalous behaviors on real-world surveillance data without any information about the labels. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 29 / 29
  • 64. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Conclusion We have proposed and evaluated a new method for clustering human behaviors. Our method provides an initial partitioning of a set of behavior sequences, then automatically identifies where to cut off the hierarchical clustering dendrogram. could be used to bootstrap an anomaly detection module for intelligent video surveillance applications. shows a perfect separation between typical and anomalous behaviors on real-world surveillance data without any information about the labels. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 29 / 29
  • 65. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Conclusion We have proposed and evaluated a new method for clustering human behaviors. Our method provides an initial partitioning of a set of behavior sequences, then automatically identifies where to cut off the hierarchical clustering dendrogram. could be used to bootstrap an anomaly detection module for intelligent video surveillance applications. shows a perfect separation between typical and anomalous behaviors on real-world surveillance data without any information about the labels. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 29 / 29
  • 66. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Conclusion We have proposed and evaluated a new method for clustering human behaviors. Our method provides an initial partitioning of a set of behavior sequences, then automatically identifies where to cut off the hierarchical clustering dendrogram. could be used to bootstrap an anomaly detection module for intelligent video surveillance applications. shows a perfect separation between typical and anomalous behaviors on real-world surveillance data without any information about the labels. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 29 / 29
  • 67. Introduction Human Behavior Pattern Clustering Experimental Results Conclusion Conclusion We have proposed and evaluated a new method for clustering human behaviors. Our method provides an initial partitioning of a set of behavior sequences, then automatically identifies where to cut off the hierarchical clustering dendrogram. could be used to bootstrap an anomaly detection module for intelligent video surveillance applications. shows a perfect separation between typical and anomalous behaviors on real-world surveillance data without any information about the labels. Clustering Human Behaviors with Dynamic Time Warping and Hidden Markov Models for a Video Surveillance System 29 / 29