Attention-Based RU-BiLSTM Sentiment Analysis Model for Roman Urdu
Source abstract
Abstract
Deep neural networks have emerged as a leading approach towards handling many natural language processing (NLP) tasks. Deep networks initially conquered the problems of computer vision. However, dealing with sequential data such as text and sound was a nightmare for such networks as traditional deep networks are not reliable in preserving contextual information. This may not harm the results in the case of image processing where we do not care about the sequence, but when we consider the data collected from text for processing, such networks may trigger disastrous results. Moreover, establishing sentence semantics in a colloquial text such as Roman Urdu is a challenge. Additionally, the sparsity and high dimensionality of data in such informal text have encountered a significant challenge for building sentence semantics. To overcome this problem, we propose a deep recurrent architecture RU-BiLSTM based on bidirectional LSTM (BiLSTM) coupled with word embedding and an attention mechanism for sentiment analysis of Roman Urdu. Our proposed model uses the bidirectional LSTM to preserve the context in both directions and the attention mechanism to concentrate on more important features. Eventually, the last dense softmax output layer is used to acquire the binary and ternary classification results. We empirically evaluated our model on two available datasets of Roman Urdu, i.e., RUECD and RUSA-19. Our proposed model outperformed the baseline models on many grounds, and a significant improvement of 6% to 8% is achieved over baseline models.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Topic Modeling · Sentiment Analysis and Opinion Mining · Natural Language Processing Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science and Information Technology, University of Balochistan, Quetta 87300, Pakistan
Department of Computer Science (IDI), Norwegian University of Science and Technology (NTNU), 2815 Gjøvik, Norway
Department of Computer Science, Sukkur IBA University, Sukkur 65200, Pakistan
Laboratoire d’Informatique de Grenoble, Université Grenoble Alpes, 38401 Grenoble, France
References (64)
Show source-provided references
1. Systematic reviews in sentiment analysis: A tertiary study10.1007/s10462-021-09973-3 ↗
2. Cross-cultural polarity and emotion detection using sentiment analysis and deep learning on COVID-19 related tweets10.1109/ACCESS.2020.3027350 ↗
3. A survey of deep neural network architectures and their applications10.1016/j.neucom.2016.12.038 ↗
4. A comprehensive survey on sentiment analysis: Approaches, challenges and trends10.1016/j.knosys.2021.107134 ↗
5. Kastrati, Z., Dalipi, F., Imran, A.S., Pireva Nuci, K., and Wani, M.A. (2021). Sentiment Analysis of Students’ Feedback with NLP and Deep Learning: A Systematic Mapping Study. Appl. Sci., 11.10.3390/app11093986 ↗
6. The role of Roman Urdu in multilingual information retrieval: A regional study10.1016/j.acalib.2020.102258 ↗
7. A Precisely Xtreme-Multi Channel Hybrid Approach for Roman Urdu Sentiment Analysis10.1109/ACCESS.2020.3030885 ↗
8. Techniques and Applications for Sentiment Analysis10.1145/2436256.2436274 ↗
9. Approaches, Tools and Applications for Sentiment Analysis Implementation
10. Bakshi, R.K., Kaur, N., Kaur, R., and Kaur, G. (2016, January 16–18). Opinion mining and sentiment analysis. Proceedings of the 3rd International Conference on Computing for Sustainable Global Development (INDIACom), New Delhi, India.
11. Using text analysis to quantify the similarity and evolution of scientific disciplines10.1098/rsos.171545 ↗
12. Deep sentiments in Roman Urdu text using Recurrent Convolutional Neural Network model10.1016/j.ipm.2020.102233 ↗
13. Noor, F., Bakhtyar, M., and Baber, J. (2019, January 19–20). Sentiment analysis in E-commerce using SVM on roman urdu text. Proceedings of the International Conference for Emerging Technologies in Computing, London, UK.10.1007/978-3-030-23943-5_16 ↗
14. Deep learning in neural networks: An overview10.1016/j.neunet.2014.09.003 ↗
15. Zhou, C., Sun, C., Liu, Z., and Lau, F. (2015). A C-LSTM neural network for text classification. arXiv.
16. Kim, Y. (2014). Convolutional neural networks for sentence classification. arXiv.10.3115/v1/D14-1181 ↗
17. Survey on deep neural networks in speech and vision systems10.1016/j.neucom.2020.07.053 ↗
18. Mikolov, T., Sutskever, I., Chen, K., Corrado, G.S., and Dean, J. (2013). Distributed representations of words and phrases and their compositionality. Advances in Neural Information Processing Systems, MIT Press.
19. LSTM with sentence representations for document-level sentiment classification10.1016/j.neucom.2018.04.045 ↗
20. A survey on classification techniques for opinion mining and sentiment analysis10.1007/s10462-017-9599-6 ↗
21. Sentiment analysis using deep learning architectures: A review10.1007/s10462-019-09794-5 ↗
22. The Impact of Translating Resource-Rich Datasets to Low-Resource Languages Through Multi-Lingual Text Processing10.1109/ACCESS.2021.3110285 ↗
23. A comprehensive survey of arabic sentiment analysis10.1016/j.ipm.2018.07.006 ↗
24. Deep learning based sentiment analysis using convolution neural network10.1007/s13369-018-3500-z ↗
25. A survey of sentiment analysis in social media10.1007/s10115-018-1236-4 ↗
26. Topic detection and sentiment analysis in Twitter content related to COVID-19 from Brazil and the USA10.1016/j.asoc.2020.107057 ↗
27. Deep learning for Arabic subjective sentiment analysis: Challenges and research opportunities10.1016/j.asoc.2020.106836 ↗
28. Discriminative Feature Spamming Technique for Roman Urdu Sentiment Analysis10.1109/ACCESS.2019.2908420 ↗
29. LSTM: A search space odyssey10.1109/TNNLS.2016.2582924 ↗
30. Lai, S., Xu, L., Liu, K., and Zhao, J. (2015, January 25–30). Recurrent Convolutional Neural Networks for Text Classification. Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, AAAI’15, Austin, TX, USA.10.1609/aaai.v29i1.9513 ↗
31. Knowledge attention sandwich neural network for text classification10.1016/j.neucom.2020.03.093 ↗
32. Haque, T.U., Saber, N.N., and Shah, F.M. (2018, January 11–12). Sentiment analysis on large scale Amazon product reviews. Proceedings of the International Conference on Innovative Research and Development (ICIRD), Bangkok, Thailand.10.1109/ICIRD.2018.8376299 ↗
33. Comparative Study of Machine Learning Approaches for Amazon Reviews10.1016/j.procs.2018.05.119 ↗
34. Personalized sentiment classification of customer reviews via an interactive attributes attention model10.1016/j.knosys.2021.107135 ↗
35. S2SAN: A sentence-to-sentence attention network for sentiment analysis of online reviews10.1016/j.dss.2021.113603 ↗
36. Deep bidirectional lstm network learning-based sentiment analysis for arabic text
37. Scalable multi-channel dilated CNN–BiLSTM model with attention mechanism for Chinese textual sentiment analysis10.1016/j.future.2021.01.024 ↗
38. Unsupervised word-level affect analysis and propagation in a lexical knowledge graph10.1016/j.knosys.2018.12.017 ↗
39. Molecular design in drug discovery: A comprehensive review of deep generative models10.1093/bib/bbab344 ↗
40. Integration of nonparametric fuzzy classification with an evolutionary-developmental framework to perform music sentiment-based analysis and composition10.1007/s00500-019-04503-4 ↗
41. Semi-supervised learning with generative model for sentiment classification of stock messages10.1016/j.eswa.2020.113540 ↗
42. Cost-sensitive boosting for classification of imbalanced data10.1016/j.patcog.2007.04.009 ↗
43. NA-DLSTM—A neural attention based model for context aware Aspect-based sentiment analysis
44. Ensembles of feature selectors for dealing with class-imbalanced datasets: A proposal and comparative study10.1016/j.ins.2020.05.077 ↗
45. Resampling ensemble model based on data distribution for imbalanced credit risk evaluation in P2P lending10.1016/j.ins.2020.05.040 ↗
46. Learning from Imbalanced Data10.1109/TKDE.2008.239 ↗
47. Classification of imbalanced data: A review10.1142/S0218001409007326 ↗
48. Shaikh, S., Daudpota, S.M., Imran, A.S., and Kastrati, Z. (2021). Towards Improved Classification Accuracy on Highly Imbalanced Text Dataset Using Deep Neural Language Models. Appl. Sci., 11.10.3390/app11020869 ↗
49. A Systematic Literature Review on Urdu Sentiment Analysis
50. An unsupervised lexical normalization for Roman Hindi and Urdu sentiment analysis10.1016/j.ipm.2020.102368 ↗
51. Sentiment analysis for roman urdu10.22581/muet1982.1902.20 ↗
52. Sentiment classification of Roman-Urdu opinions using Naïve Bayesian, Decision Tree and KNN classification techniques
53. Sentiment analysis of roman urdu/hindi using supervised methods
54. Roman Urdu news headline classification empowered with machine learning
55. Chandio, B., Shaikh, A., Bakhtyar, M., Alrizq, M., Baber, J., Sulaiman, A., Rajab, A., and Noor, W. (2022). Sentiment Analysis of Roman Urdu on E-Commerce Reviews Using Machine Learning. CMES-Comput. Model. Eng. Sci.10.32604/cmes.2022.019535 ↗
56. Deep learning-based sentiment analysis for roman urdu text10.1016/j.procs.2019.01.202 ↗
57. Rizwan, H., Shakeel, M.H., and Karim, A. (2020, January 16–20). Hate-speech and offensive language detection in roman Urdu. Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), Online.10.18653/v1/2020.emnlp-main.197 ↗
58. Long short-term memory10.1162/neco.1997.9.8.1735 ↗
59. Pennington, J., Socher, R., and Manning, C.D. (2014, January 25–29). Glove: Global vectors for word representation. Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1162 ↗
60. Enriching Word Vectors with Subword Information10.1162/tacl_a_00051 ↗
61. Raffel, C., and Ellis, D.P. (2015). Feed-forward networks with attention can solve some long-term memory problems. arXiv.
62. Deep BiLSTM neural network model for emotion detection using cross-dataset approach10.1016/j.bspc.2021.103407 ↗
63. Maas, A.L., Daly, R.E., Pham, P.T., Huang, D., Ng, A.Y., and Potts, C. (2011). Learning Word Vectors for Sentiment Analysis. Human Language Technologies, Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics, Portland, OR, USA, 19–24 June 2011, Association for Computational Linguistics.
64. Bidirectional LSTM with attention mechanism and convolutional layer for text classification10.1016/j.neucom.2019.01.078 ↗