Skip to main content

Multi-layers Convolutional Neural Network for Twitter Sentiment Ordinal Scale Classification

  • Conference paper
  • First Online:
Recent Advances on Soft Computing and Data Mining (SCDM 2018)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 700))

Included in the following conference series:

Abstract

Twitter sentiment analysis according to five points scales has attracted research interest due to its potential use in commercial and public social media application. A multi-point scale classification is a popular way used by many companies to evaluate the sentiment of product reviews (e.g. Alibaba, Amazon and eBay). Most of the classification approaches addressed this problem using traditional classification algorithm that requires expert knowledge to select the best features. Even though deep learning has been utilized, most of them employed a simple structure that not enough to capture the important features. In this paper, a complex structure of convolutional neural network (CNN) is proposed to classify the tweet into five-point scale and obtain a more several tweet representation. After a series of experiments with CNN including different hyperparameters and pooling strategies (Max and Average), we found that the best structure for our model is three convolutional layers, each one followed by average pooling layer. The proposed multi-layers convolutional neural network (MLCNN) model achieve the lowest Macro average mean absolute error (MAEM) and outperforms the state-of-the-art approach on tweet 2016 dataset for Ordinal classification. Experimental results show the ability of average pooling to preserve significant features that provide more expressiveness to ordinal scale.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

Notes

  1. 1.

    http://keras.io.

  2. 2.

    https://nlp.stanford.edu/projects/glove/.

  3. 3.

    http://alt.qcri.org/semeval2016/task4/index.php?id=data-and-tools.

References

  1. Pang, B., Lee, L.: Opinion Mining And Sentiment Analysis, vol. 1, no. 2 (2008)

    Google Scholar 

  2. Kim, Y.: Convolutional Neural Networks for Sentence Classification (2014). arXiv:1408.5882

  3. Kalchbrenner, N., Grefenstette, E., Blunsom, P.: A convolutional neural network for modelling sentences. In: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, pp. 655–665 (2014)

    Google Scholar 

  4. Severyn, A., Moschitti, A.: Twitter sentiment analysis with deep convolutional neural networks. In: Proceedings of the 38th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR’15), pp. 959–962 (2015)

    Google Scholar 

  5. Mohammad, S.M., Kiritchenko, S., Zhu, X.: NRC-Canada: building the state-of-the-art in sentiment analysis of tweets (2013)

    Google Scholar 

  6. Pak, A., Paroubek, P.: Twitter as a corpus for sentiment analysis and opinion mining. In: Proceedings of the Seventh International Conference on Language Resources and Evaluation, pp. 1320–1326 (2010)

    Google Scholar 

  7. Nakov, P., Ritter, A., Rosenthal, S., Sebastiani, F.: SemEval-2016 Task 4: sentiment analysis in Twitter (2016)

    Google Scholar 

  8. Mikolov, T., Chen, K., Corrado, G., Dean, J.: Distributed representations of words and phrases and their compositionality. NIPS, pp. 1–9 (2013)

    Google Scholar 

  9. Pennington, J., Socher, R., Manning, C.: Glove: global vectors for word representation. In: Proceedings of the 2014 Conference On Empirical Methods In Natural Language Processing, pp. 1532–1543 (2014)

    Google Scholar 

  10. Balikas, G., Amini, M.: TwiSE at SemEval-2016 Task: Twitter sentiment classification. In: International Workshop on Semantic Evaluation 2016, pp. 85–91 (2016)

    Google Scholar 

  11. Lango, M., Brzezinski, D., Stefanowski, J.: PUT at SemEval-2016 Task 4 : The ABC of Twitter sentiment analysis. In: International Workshop on Semantic Evaluation 2016, pp. 131–137 (2016)

    Google Scholar 

  12. Esuli, A., Faedo, I.A., Moruzzi, G.: ISTI-CNR at SemEval-2016 Task 4: quantification on an ordinal scale. In: International Workshop on Semantic Evaluation 2016. Accept., pp. 92–95 (2016)

    Google Scholar 

  13. Florean, C., Bejenaru, O., Apostol, E., Ciobanu, O., Iftene, A., Trandab, D.: SentimentalITsts at SemEval-2016 Task 4: building a Twitter sentiment analyzer in your backyard, pp. 248–251 (2016)

    Google Scholar 

  14. Zhou, Y., Zhang, Z., Lan, M.: ECNU at SemEval-2016 Task 4 : An empirical investigation of traditional NLP features and word embedding features for sentence-level and topic-level sentiment analysis in Twitter. In: International Workshop on Semantic Evaluation 2016, pp. 256–261 (2016)

    Google Scholar 

  15. Vilares, D., Doval, Y., Alonso, M.A., Carlos, G.: LyS at SemEval-2016 Task 4 : exploiting neural activation values for twitter sentiment classification and quantification. In: International Workshop on Semantic Evaluation 2016, pp. 79–84 (2016)

    Google Scholar 

  16. Stojanovski, D., Strezoski, G., Madjarov, G., Dimitrovski, I.: Finki at SemEval-2016 Task 4: deep learning architecture for Twitter sentiment analysis. In: International Workshop on Semantic Evaluation 2016. Accept., pp. 154–159, (2016)

    Google Scholar 

  17. He, Y., Yu, L., Yang, C., Lai, K.R., Liu, W.: YZU-NLP team at SemEval-2016 Task 4: ordinal sentiment classification using a recurrent convolutional network, pp. 256–260 (2016)

    Google Scholar 

  18. Ruder, S., Ghaffari, P., Breslin, J.G.: INSIGHT-1 at SemEval-2016 Task 4: convolutional neural networks for sentiment classification and quantification. In: International Workshop on Semantic Evaluation 2016. Accept., pp. 178–182 (2016)

    Google Scholar 

  19. Collobert, R., et al.: Natural language processing (almost) from scratch. J. Mach. Learn. Res. 12, 2493–2537 (2011)

    MATH  Google Scholar 

  20. Yann, L., Bengio, Y., Hinton, G.: Deep learning. Nature 521, 436–444 (2015)

    Article  Google Scholar 

  21. Nair, V., Hinton, G.E.: Rectified linear units improve restricted Boltzmann machines. In: Proceedings of the 27th International Conference on Machine Learning, no. 3, pp. 807–814 (2010)

    Google Scholar 

  22. Srivastava, N., Geoffrey, H., Krizhevsky, A., Sutskever, I., Salakhutdinov, R.: Dropout : a simple way to prevent neural networks from overfitting, vol. 15, pp. 1929–1958 (2014)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nurfadhlina Mohd Sharef .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

ALALI, M., Mohd Sharef, N., Hamdan, H., Azmi Murad, M.A., Husin, N.A. (2018). Multi-layers Convolutional Neural Network for Twitter Sentiment Ordinal Scale Classification. In: Ghazali, R., Deris, M., Nawi, N., Abawajy, J. (eds) Recent Advances on Soft Computing and Data Mining. SCDM 2018. Advances in Intelligent Systems and Computing, vol 700. Springer, Cham. https://doi.org/10.1007/978-3-319-72550-5_43

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-72550-5_43

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-72549-9

  • Online ISBN: 978-3-319-72550-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics