Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2020 Jan 31;20(3):784.
doi: 10.3390/s20030784.

Probabilistic Modelling for Unsupervised Analysis of Human Behaviour in Smart Cities

Affiliations

Probabilistic Modelling for Unsupervised Analysis of Human Behaviour in Smart Cities

Yazan Qarout et al. Sensors (Basel). .

Abstract

The growth of urban areas in recent years has motivated a large amount of new sensor applications in smart cities. At the centre of many new applications stands the goal of gaining insights into human activity. Scalable monitoring of urban environments can facilitate better informed city planning, efficient security, regular transport and commerce. A large part of monitoring capabilities have already been deployed; however, most rely on expensive motion imagery and privacy invading video cameras. It is possible to use a low-cost sensor alternative, which enables deep understanding of population behaviour such as the Global Positioning System (GPS) data. However, the automated analysis of such low dimensional sensor data, requires new flexible and structured techniques that can describe the generative distribution and time dynamics of the observation data, while accounting for external contextual influences such as time of day or the difference between weekend/weekday trends. In this paper, we propose a novel time series analysis technique that allows for multiple different transition matrices depending on the data's contextual realisations all following shared adaptive observational models that govern the global distribution of the data given a latent sequence. The proposed approach, which we name Adaptive Input Hidden Markov model (AI-HMM) is tested on two datasets from different sensor types: GPS trajectories of taxis and derived vehicle counts in populated areas. We demonstrate that our model can group different categories of behavioural trends and identify time specific anomalies.

Keywords: probabilistic modelling; smart city; time series; trajectory analysis.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
iHMM (top) and AR-iHMM (bottom) probabilistic graphical models. Mixing Parameters β are used to sample the transition distribution πk, which the state indicators z are sampled from. The observations yt are generated from functions with parameters Θzt which are in turn sampled from base distribution H. The AR-iHMM differs such that there are autoregressive dependence between observations.
Figure 2
Figure 2
PGM of the AI-HMM structure. Observation yt being dependent on the indicator variable zt and p previous observations, whereas zt is dependent on zt1 in addition to the semi-Markov feature τt. Parameters β are used to sample the transition distribution πk which the state indicators z are sampled from. The observations yt are generated from functions with parameters Θzt which are in turn sampled from base distribution H.
Figure 3
Figure 3
Scatter plots for vehicular density counts on an average game day on a weekday (left) and weekend (right). The first two distinct peaks on the weekday represent the morning and afternoon traffic peaks respectively, whereas the sharp peaks around 23:00 on the weekday and on 16:30 on the weekend represent traffic caused by fans leaving the stadium after a baseball game.
Figure 4
Figure 4
Scatter plots for vehicular density counts. Each colour represents a specific state that the respective observations was clustered into. Morning and evening traffic peaks on weekdays are clustered into state 1 (blue) and state 3 (green), respectively. Traffic caused by evening baseball games near 23:00 (Wednesday, Friday and Saturday) have been clustered into state 6 (brown), whereas traffic peaks caused by afternoon games at about 16:30 (Sunday) were clustered into state 7 (pink).
Figure 5
Figure 5
Figure depicting the first four (PCs with the largest eigen values in the PCA analysis of the Dodgers loop sensor dataset). PC 2 capture the dynamics of the morning peak; PC 3 represents the sharp traffic rise due to the evening baseball game, which commonly occurs on weekdays and Saturdays; and PC 4 captures the dynamics of the weekend light midday traffic.
Figure 6
Figure 6
Results obtained from analysing 10 taxi trajectories using the novel AI-HMM framework (left) and the GRU technique (right). Each data point corresponds to a GPS observation where its colour represents the state to which it was assigned. The plots depict the longitude λ against latitude l reconstructions of the movements of the taxi locations on a map.
Figure 7
Figure 7
Prediction of the value of τt corresponding to the taxi identity on the test. The top plot shows the sample labels, whereas the bottom plot shows the predicted τt values using the AI-HMM with an accuracy of 93%.

References

    1. Jang S., Jo H., Cho S., Mechitov K., Rice J.A., Sim S.H., Jung H.J., Yun C.B., Spencer B.F., Jr., Agha G. Structural health monitoring of a cable-stayed bridge using smart sensor technology: Deployment and evaluation. Smart Struct. Syst. 2010;6:439–459. doi: 10.12989/sss.2010.6.5_6.439. - DOI
    1. Hong I., Park S., Lee B., Lee J., Jeong D., Park S. IoT-based smart garbage system for efficient food waste management. Sci. World J. 2014;2014:646953. doi: 10.1155/2014/646953. - DOI - PMC - PubMed
    1. Castro M., Jara A.J., Skarmeta A.F. Smart lighting solutions for smart cities; Proceedings of the 2013 27th International Conference on Advanced Information Networking and Applications Workshops; Barcelona, Spain. 25–28 March 2013; pp. 1374–1379.
    1. Masse R.A.C., Ochoa-Zezzatti A., García V., Mejía J., Gonzalez S. Application of IoT with haptics interface in the smart manufacturing industry. Int. J. Comb. Optim. Probl. Inform. 2019;10:57–70.
    1. De Marsico M., Mecca A., Barra S. Walking in a smart city: Investigating the gait stabilization effect for biometric recognition via wearable sensors. Comput. Electr. Eng. 2019;80:106501. doi: 10.1016/j.compeleceng.2019.106501. - DOI

LinkOut - more resources