Skip to main content

Traffic Prediction in Indian Cities from Twitter Data Using Deep Learning and Word Embedding Models

  • Conference paper
  • First Online:
Multi-disciplinary Trends in Artificial Intelligence (MIWAI 2023)

Abstract

Social media platforms, such as Twitter and Facebook, have become a significant part of modern society and have provided a significant amount of text data that can be utilized to enhance text classification research using machine learning approaches. These platforms often provide more in-depth views of real-world events by correlating tweet data along with the event and its geographical location. According to research, these correlations have potential applications in a variety of real-world scenarios, including the ability to predict critical events with high precision during emergency situations. The use of real-time geolocation data helps in mapping natural and social hazards in specific areas during national calamities. In addition, the data from tweets can be used to analyse weather patterns and the sentiment or mood of people in specific localities, such as Bengaluru and Delhi. This work aims to utilize the tweets from users to report on traffic conditions in a particular area and to identify the cause of traffic congestion, which is important for understanding the severity of the problem. The goal is to modernize the traffic information system and generate crowdsourced updates for traffic, and accidents using natural language processing and machine learning approaches in Indian cities like Bengaluru, Mumbai, Delhi etc. with the involvement of Twitter users.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Why is India’s traffic still among the worst in the world? https://www.hindustantimes.com/. Accessed 29 Dec 2022

  2. TomTom Traffic Index 2021. https://www.tomtom.com/traffic-index/india-country-traffic/. Accessed 29 Dec 2022

  3. Mumbai 3rd Most Congested Traffic in World. www.india.com/news/india/. Accessed 29 Dec 2022

  4. How many people come to Twitter for news? As it turns out, a LOT. Twitter News. https://blog.twitter.com/. Accessed 29 Dec 2022

  5. Bengaluru traffic police, Google partner to reduce city’s traffic congestion. Express News Service. https://indianexpress.com/article/. Accessed 29 Dec 2022

  6. Yao, W., Qian, S.: From Twitter to traffic predictor: next-day morning traffic prediction using social media data. Transp. Res. C Emerg. Technol. 124, 102938 (2021). https://doi.org/10.1016/j.trc.2020.102938

    Article  Google Scholar 

  7. Leroke, G., Lall, M.: A (near) real-time traffic monitoring system using social media analytics. J. Eng. Appl. Sci. 14, 8055–8060 (2020). https://doi.org/10.3923/jeasci.2019.8055.8060

    Article  Google Scholar 

  8. Purwandari, K., Rahutomo, R., Sigalingging, J.W., Kusuma, M.A., Prasetyo, A., Pardamean, B.: Twitter-based text classification using SVM for weather information system. In: 2021 International Conference on Information Management and Technology (ICIMTech), vol. 1, pp. 27–32. IEEE (2021). https://doi.org/10.1109/ICIMTech53080.2021.9534945

  9. Bondoc, E.R.P., Caparas, F.P.M., Macias, J.E.D., Naculangga, V.T., Estrada, J.E.: An intelligent road traffic information system using text analysis in the most congested roads in Metro Manila. In: 2018 IEEE 10th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment and Management (HNICEM), pp. 1–6. IEEE (2018). https://doi.org/10.1109/HNICEM.2018.8666416

  10. Dogariu, E., Garg, S., Khadan, B., Potts, A., Scornavacca, M.: Using machine learning to correlate Twitter data and weather patterns. In: 2019 IEEE MIT Undergraduate Research Technology Conference (URTC), pp. 1–4. IEEE (2019). https://doi.org/10.1109/URTC49097.2019.9660487

  11. Purwandari, K., Sigalingging, J.W., Cenggoro, T.W., Pardamean, B.: Multi-class weather forecasting from Twitter using machine learning approaches. Procedia Comput. Sci. 179, 47–54 (2021). https://doi.org/10.1016/j.procs.2020.12.006

    Article  Google Scholar 

  12. Zulfikar, M., Suharjito, S.: Detection traffic congestion based on Twitter data using machine learning. Procedia Comput. Sci. 157, 118–124 (2019). https://doi.org/10.1016/j.procs.2019.08.148

    Article  Google Scholar 

  13. Rao, P.M., Babu, S.: Evaluating social responsible attitudes and opinions using sentiment analysis–an Indian sentiment. In: 2022 3rd International Conference on Computing, Analytics and Networks (ICAN), pp. 1–7. IEEE (2022). https://doi.org/10.1109/ICAN56228.2022.10007315

  14. Kumar, S.K., Dinesh, N., Nitha, L.: Depression detection in Twitter tweets using machine learning classifiers. In: 2022 Second International Conference on Interdisciplinary Cyber Physical Systems (ICPS), pp. 81–86. IEEE (2022). https://doi.org/10.1109/ICPS55917.2022.00023

  15. Mithillesh, K.P., Supriya, M.: Multi class sentiment analysis of 5G tweets. In: 2022 3rd International Conference for Emerging Technology (INCET), pp. 1–5. IEEE (2022). https://doi.org/10.1109/INCET54531.2022.9825160

  16. Kumar, S.S., Kumar, S.S., Soman, K.P.: Deep learning-based emotion classification of Hindi text from social media. In: Gupta, D., Sambyo, K., Prasad, M., Agarwal, S. (eds.) Advanced Machine Intelligence and Signal Processing. LNEE, vol. 858, pp. 535–543. Springer, Singapore (2022). https://doi.org/10.1007/978-981-19-0840-8_40

  17. Veerasamy, S., Khare, Y., Ramesh, A., Adarsh, S., Singh, P., Anjali, T.: Hate speech detection using mono BERT model in custom content-management-system. In: 2022 4th International Conference on Smart Systems and Inventive Technology (ICSSIT), pp. 1681–1686. IEEE (2022). https://doi.org/10.1109/ICSSIT53264.2022.9716428

  18. Prakruthi, V., Sindhu, D., Kumar, S.A.: Real time sentiment analysis of Twitter posts. In: 2018 3rd International Conference on Computational Systems and Information Technology for Sustainable Solutions (CSITSS), pp. 29–34. IEEE (2018). https://doi.org/10.1109/CSITSS.2018.8768774

  19. Alkouz, B., Al Aghbari, Z.: Traffic jam analysis using multi-language Twitter data. In: The 2021 3rd International Conference on Big Data Engineering, pp. 1–7. 29–31 May 2021, Shanghai, China. ACM, New York (2021). https://doi.org/10.1145/3468920.3468921

  20. D’Andrea, E., Ducange, P., Lazzerini, B., Marcelloni, F.: Real-time detection of traffic from Twitter stream analysis. IEEE Trans. Intell. Transp. Syst. 16(4), 2269–2283 (2015). https://doi.org/10.1109/TITS.2015.2404431

    Article  Google Scholar 

  21. Albayrak, M.D., Gray-Roncal, W.: Data mining and sentiment analysis of real-time Twitter messages for monitoring and predicting events. In: 2019 IEEE Integrated STEM Education Conference (ISEC), pp. 42–43. IEEE (2019). https://doi.org/10.1109/ISECon.2019.8881956

  22. Putra, P.K., Mahendra, R., Budi, I.: Traffic and road conditions monitoring system using extracted information from Twitter. J. Big Data 9, 65 (2022). https://doi.org/10.1186/s40537-022-00621-3

    Article  Google Scholar 

  23. Essien, A., Petrounias, I., Sampaio, P., Sampaio, S.: A deep-learning model for urban traffic flow prediction with traffic events mined from twitter. World Wide Web 24(4), 1345–1368 (2020). https://doi.org/10.1007/s11280-020-00800-3

    Article  Google Scholar 

  24. Abubakar, A.M., Gupta, D., Palaniswamy, S.: Explainable emotion recognition from tweets using deep learning and word embedding models. In: 2022 IEEE 19th India Council International Conference (INDICON), pp. 1–6. IEEE (2022). https://doi.org/10.1109/INDICON56171.2022.10039878

  25. Kilaru, Y.S.C.G., Ghosh, I.: Traffic event description based on Twitter data using Unsupervised Learning Methods for Indian road conditions. arXiv preprint arXiv:2201.02738 (2021)

  26. Zhang, Z., He, Q., Gao, J., Ni, M.: A deep learning approach for detecting traffic accidents from social media data. Transp. Res. C Emerg. Technol. 86, 580–596 (2018). https://doi.org/10.1016/j.trc.2017.11.027

    Article  Google Scholar 

  27. Goh, G., Koh, J.Y., Zhang, Y.: Twitter-informed crowd flow prediction. In: 2018 IEEE International Conference on Data Mining Workshops (ICDMW), pp. 624–631. IEEE (2018). https://doi.org/10.1109/ICDMW.2018.00097

  28. Das, R.D., Purves, R.S.: Exploring the potential of Twitter to understand traffic events and their locations in Greater Mumbai, India. IEEE Trans. Intell. Transp. Syst. 21(12), 5213–5222 (2019). https://doi.org/10.1109/TITS.2019.2950782

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Koyyalagunta Krishna Sampath .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Sampath, K.K., Supriya, M. (2023). Traffic Prediction in Indian Cities from Twitter Data Using Deep Learning and Word Embedding Models. In: Morusupalli, R., Dandibhotla, T.S., Atluri, V.V., Windridge, D., Lingras, P., Komati, V.R. (eds) Multi-disciplinary Trends in Artificial Intelligence. MIWAI 2023. Lecture Notes in Computer Science(), vol 14078. Springer, Cham. https://doi.org/10.1007/978-3-031-36402-0_62

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-36402-0_62

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-36401-3

  • Online ISBN: 978-3-031-36402-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics