Traffic Condition Analysis Based on Users Emotion Tendency of Microblog

  • Shuru Wang
  • Donglin CaoEmail author
  • Dazhen Lin
  • Fei Chao
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 650)


Analysis of traffic condition is of great significance to urban planning and public administration. However, traditional traffic condition analysis approaches mainly rely on sensors, which are high-cost and limit their coverage. To solve these problems, we propose a semi-supervised learning method which uses the social network data instead and analyzes the traffic condition based on user’s emotion tendency. First we train the Gated Recurrent Unit (GRU) model to estimate the sentiment of microblog with traffic information, then using the emotional tendency to predict whether traffic jams happen or not. In order to reduce the data annotated by manpower, we propose a new idea to employ the Conditional Generative Adversarial Networks (CGAN) to generate samples which are as a supplement to the training set of GRU. Finally compared with the GRU model trained by solely the manual annotation data, our method improves the classification accuracy by 4.07%. We also use our model to predict the time and roads of traffic jams in 4 Chinese cities which is proved to be effective.


Traffic condition Sentiment analysis Microblog Sample generation Generative Adversarial Networks 



This work is supported by the Nature Science Foundation of China (No. 61402386, No. 61305061, No. 61502105, No. 61572409, No. 81230087 and No. 61571188), Open Fund Project of Fujian Provincial Key Laboratory of Information Processing and Intelligent Control (Minjiang University) (No. MJUKF201743), and Education and scientific research projects of young and middle-aged teachers in Fujian Province under Grand No. JA15075. Fujian Province 2011 Collaborative Innovation Center of TCM Health Management and Collaborative Innovation Center of Chinese Oolong Tea Industry—Collaborative Innovation Center (2011) of Fujian Province.


  1. 1.
    Zhang, J., He, Y.-L., Wei, R.: Analysis of traffic participants’ waiting tolerance from investigative questionnaires. Transport Stand. (2010)Google Scholar
  2. 2.
    Schneider, W., Arsenal, R.: Mobile phones as a basis for traffic state information. Intell. Transp. Syst. 13(15), 782–784 (2005)Google Scholar
  3. 3.
    Zhang, C.B., Yang, X.G., Yan, X.P.: Traffic data collection system based on floating cars. Comput. Commun. 24(5), 31–34 (2006)Google Scholar
  4. 4.
    Guo, D.H., Cui, W.H.: Trajectory mining for live traffic condition retrieving. J. Wuhan Univ. Technol. Transp. Sci. Eng. 34(1), 6–9 (2010)Google Scholar
  5. 5.
    Wang, S., He, L., Stenneth, L., et al.: Citywide traffic congestion estimation with social media. In: SIGSPATIAL International Conference on Advances in Geographic Information Systems, pp. 1–10. ACM (2015)Google Scholar
  6. 6.
    Chen, H., Zhang, X., Zhao, Y., et al.: Study on spatio-temporal distribution of Xi’an traffic congestion based on micro-blog. J. Shaanxi Norm. Univ.Google Scholar
  7. 7.
    Cao, J., Zeng, K., Wang, H., et al.: Web-based traffic sentiment analysis: methods and applications. IEEE Trans. Intell. Transp. Syst. 15(2), 844–853 (2014)CrossRefGoogle Scholar
  8. 8.
    Shekhar, H., Setty, S., Mudenagudi, U.: Vehicular traffic analysis from social media data. In: International Conference on Advances in Computing, Communications and Informatics. IEEE (2016)Google Scholar
  9. 9.
    Wang, F., Wang, H., Xu, K., et al.: Characterizing information diffusion in online social networks with linear diffusive model. In: IEEE International Conference on Distributed Computing Systems, pp. 307–316. IEEE (2013)Google Scholar
  10. 10.
    Yang, J., Leskovec, J.: Modeling information diffusion in implicit networks. In: IEEE International Conference on Data Mining, pp. 599–608. IEEE (2011)Google Scholar
  11. 11.
    Ma, H., Zhou, D., Liu, C., et al.: Recommender systems with social regularization. In: Forth International Conference on Web Search and Web Data Mining, WSDM 2011, Hong Kong, China, February, DBLP, pp. 287–296 (2011)Google Scholar
  12. 12.
    Turney, P.D., Littman, M.L.: Measuring praise and criticism: inference of semantic orientation from association. ACM Trans. Inf. Syst. 21(4), 315–346 (2003)CrossRefGoogle Scholar
  13. 13.
    Pang, B., Lee, L., et al.: Thumbs up? Sentiment classification using machine learning techniques. In: Proceedings of the ACL-02 Conference on Empirical Methods in Natural Language Processing, vol. 10, pp. 79–86 (2002)Google Scholar
  14. 14.
    Go, A., Bhayani, R., Huang, L.: Twitter sentiment classification using distant supervision. CS224N Proj. Rep. Stanford 1, 12 (2009)Google Scholar
  15. 15.
    Liu, Z., Liu, L.: Empirical study of sentiment classification for Chinese microblog based on machine learning. Comput. Eng. Appl. 48(1), 1–4 (2012)MathSciNetGoogle Scholar
  16. 16.
    Kalchbrenner, N., Blunsom, P.: Recurrent convolutional neural networks for discourse compositionality. Comput. Sci. (2013)Google Scholar
  17. 17.
    Hu, X., Tang, J., Gao, H., et al.: Unsupervised sentiment analysis with emotional signals. In: Proceedings of the 22nd International Conference on World Wide Web, pp. 607–618. ACM (2013)Google Scholar
  18. 18.
    Goodfellow, I., Pouget-Abadie, J., Mirza, M., et al.: Generative adversarial nets. In: Advances in Neural Information Processing Systems, pp. 2672–2680 (2014)Google Scholar
  19. 19.
    Radford, A., Metz, L., Chintala, S.: Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434 (2015)

Copyright information

© Springer International Publishing AG 2018

Authors and Affiliations

  • Shuru Wang
    • 1
    • 2
    • 3
  • Donglin Cao
    • 1
    • 2
    • 3
    Email author
  • Dazhen Lin
    • 1
    • 2
    • 3
  • Fei Chao
    • 1
    • 2
  1. 1.Cognitive Science DepartmentXiamen UniversityXiamenChina
  2. 2.Fujian Key Laboratory of Brain-Inspired Computing Technique and ApplicationsXiamen UniversityXiamenChina
  3. 3.Fujian Provincial Key Laboratory of Information Processing and Intelligent ControlMinjiang UniversityFuzhouChina

Personalised recommendations