The proposed Katydid-Inspired BERT Optimization for Improved Sentence Semantics in Text Classification (KyBERT), aims to optimize the ability of the model to identify more complex linguistic patterns along with long-range dependencies. Bio-inspired optimization on KyBERT, where the inspiration is drawn from the katydid's sensory capabilities, enhances better handling with context-rich and resource-dense language. Generally these models enhance the values of key metrics like classification accuracy, F-measure, and Fowlkes-Mallows Index (FMI) since sentence semantics was poorly represented in simple models. This proposed model KyBERT has also confirmed that useful in creating a much-refined framework, that rarely gives false predictions and significantly improves text classification rate. The evaluation based on the Amazon Reviews dataset with 476,001 unique IDs established a high performance of text classification with 64.29%, F-measure of 64.67% and FMI of 64.68%.
Keywords
Sentence Semantics, KyBERT, Katydid Optimization, BERT, Text Classification, Sentiment Analysis, Bio Inspired Models.
Z. A. Diekson, M. R. B. Prakoso, M. S. Q. Putra, M. S. A. F. Syaputra, S. Achmad, and R. Sutoyo, “Sentiment analysis for customer review: Case study of Traveloka,” Procedia Computer Science, vol. 216, pp. 682–690, 2023, doi: 10.1016/j.procs.2022.12.184.
D. Chen, H. Zhengwei, T. Yiting, M. Jintao, and R. Khanal, “Emotion and sentiment analysis for intelligent customer service conversation using a multi-task ensemble framework,” Cluster Computing, vol. 27, no. 2, pp. 2099–2115, Jun. 2023, doi: 10.1007/s10586-023-04073-z.
A. Patel, P. Oza, And S. Agrawal, “Sentiment Analysis of Customer Feedback and Reviews for Airline Services using Language Representation Model,” Procedia Computer Science, vol. 218, pp. 2459–2467, 2023, doi: 10.1016/j.procs.2023.01.221.
J. Bowden and R. Gemayel, “Sentiment and trading decisions in an ambiguous environment: A study on cryptocurrency traders,” Journal of International Financial Markets, Institutions and Money, vol. 80, p. 101622, Sep. 2022, doi: 10.1016/j.intfin.2022.101622.
A. J. Lak, R. Boostani, F. A. Alenizi, A. S. Mohammed, and S. M. Fakhrahmad, “RoBERTa, ResNeXt and BiLSTM with self-attention: The ultimate trio for customer sentiment analysis,” Applied Soft Computing, vol. 164, p. 112018, Oct. 2024, doi: 10.1016/j.asoc.2024.112018.
M. Wilksch and O. Abramova, “PyFin-sentiment: Towards a machine-learning-based model for deriving sentiment from financial tweets,” International Journal of Information Management Data Insights, vol. 3, no. 1, p. 100171, Apr. 2023, doi: 10.1016/j.jjimei.2023.100171.
Y. Huang, X. Bai, Q. Liu, H. Peng, Q. Yang, and J. Wang, “Sentence-level sentiment classification based on multi-attention bidirectional gated spiking neural P systems,” Applied Soft Computing, vol. 152, p. 111231, Feb. 2024, doi: 10.1016/j.asoc.2024.111231.
M. Jang and P. Kang, “Sentence transition matrix: An efficient approach that preserves sentence semantics,” Computer Speech & Language, vol. 71, p. 101266, Jan. 2022, doi: 10.1016/j.csl.2021.101266.
J. Dai, Y. Zhao, and Z. Li, “Sentiment-topic dynamic collaborative analysis-based public opinion mapping in aviation disaster management: A case study of the MU5735 air crash,” International Journal of Disaster Risk Reduction, vol. 102, p. 104268, Feb. 2024, doi: 10.1016/j.ijdrr.2024.104268.
P. Durga and D. Godavarthi, “Deep-Sentiment: An Effective Deep Sentiment Analysis Using a Decision-Based Recurrent Neural Network (D-RNN),” IEEE Access, vol. 11, pp. 108433–108447, 2023, doi: 10.1109/access.2023.3320738.
A. Pani, S. N. Balla, and P. K. Sahu, “Decoding consumer-centric transition to electric mobility based on sentiment, semantic and statistical analysis,” Research in Transportation Business & Management, vol. 51, p. 101069, Dec. 2023, doi: 10.1016/j.rtbm.2023.101069.
T. Zhao, L. Meng, and D. Song, “Multimodal Aspect-Based Sentiment Analysis: A survey of tasks, methods, challenges and future directions,” Information Fusion, vol. 112, p. 102552, Dec. 2024, doi: 10.1016/j.inffus.2024.102552.
A. S. Talaat, “Sentiment analysis classification system using hybrid BERT models,” Journal of Big Data, vol. 10, no. 1, Jun. 2023, doi: 10.1186/s40537-023-00781-w.
N. Habbat, H. Nouri, H. Anoun, and L. Hassouni, “Sentiment analysis of imbalanced datasets using BERT and ensemble stacking for deep learning,” Engineering Applications of Artificial Intelligence, vol. 126, p. 106999, Nov. 2023, doi: 10.1016/j.engappai.2023.106999.
S. P. Geetha, N. M. S. Sundari, J. Ramkumar, and R. Karthikeyan, “Energy Efficient Routing In Quantum Flying Ad Hoc Network (Q-Fanet) Using Mamdani Fuzzy Inference Enhanced Dijkstra ’ S Algorithm ( Mfi-Eda ),” vol. 102, no. 9, pp. 3708–3724, 2024.
J. Ramkumar, K. S. Jeen Marseline, and D. R. Medhunhashini, “Relentless Firefly Optimization-Based Routing Protocol (RFORP) for Securing Fintech Data in IoT-Based Ad-Hoc Networks,” International Journal of Computer Networks and Applications, vol. 10, no. 4, p. 668, Aug. 2023, doi: 10.22247/ijcna/2023/223319.
R. Karthikeyan and R. Vadivel, “Proficient Dazzling Crow Optimization Routing Protocol (PDCORP) for Effective Energy Administration in Wireless Sensor Networks,” 2023 International Conference on Electrical, Electronics, Communication and Computers (ELEXCOM), pp. 1–6, Aug. 2023, doi: 10.1109/elexcom58812.2023.10370559.
P. Menakadevi and J. Ramkumar, “Robust Optimization Based Extreme Learning Machine for Sentiment Analysis in Big Data,” 2022 International Conference on Advanced Computing Technologies and Applications (ICACTA), pp. 1–5, Mar. 2022, doi: 10.1109/icacta54488.2022.9753203.
B. Wan, P. Wu, C. K. Yeo, and G. Li, “Emotion-cognitive reasoning integrated BERT for sentiment analysis of online public opinions on emergencies,” Information Processing & Management, vol. 61, no. 2, p. 103609, Mar. 2024, doi: 10.1016/j.ipm.2023.103609.
A. Ismail, F. H. Sazali, S. N. Agos Jawaddi, and S. Mutalib, “Stream ETL framework for twitter-based sentiment analysis: Leveraging big data technologies,” Expert Systems with Applications, vol. 261, p. 125523, Feb. 2025, doi: 10.1016/j.eswa.2024.125523.
A. Dey and M. Jenamani, “Aspect based sentiment analysis of consumer reviews using unsupervised attention neural framework,” Applied Soft Computing, vol. 167, p. 112259, Dec. 2024, doi: 10.1016/j.asoc.2024.112259.
Q. Wang, J. Zhu, H. Shu, K. O. Asamoah, J. Shi, and C. Zhou, “GUDN: A novel guide network with label reinforcement strategy for extreme multi-label text classification,” Journal of King Saud University - Computer and Information Sciences, vol. 35, no. 4, pp. 161–171, Apr. 2023, doi: 10.1016/j.jksuci.2023.03.009.
H. Bekamiri, D. S. Hain, and R. Jurowetzki, “PatentSBERTa: A deep NLP based hybrid model for patent distance and classification using augmented SBERT,” Technological Forecasting and Social Change, vol. 206, p. 123536, Sep. 2024, doi: 10.1016/j.techfore.2024.123536.
Y. Chu, H. Cao, Y. Diao, and H. Lin, “Refined SBERT: Representing sentence BERT in manifold space,” Neurocomputing, vol. 555, p. 126453, Oct. 2023, doi: 10.1016/j.neucom.2023.126453.
R. Lamsal, M. R. Read, and S. Karunasekera, “CrisisTransformers: Pre-trained language models and sentence encoders for crisis-related social media texts,” Knowledge-Based Systems, vol. 296, p. 111916, Jul. 2024, doi: 10.1016/j.knosys.2024.111916.
J. Xu, C. S. Zhanyi, L. Xu, and L. Chen, “BlendCSE: Blend contrastive learnings for sentence embeddings with rich semantics and transferability,” Expert Systems with Applications, vol. 238, p. 121909, Mar. 2024, doi: 10.1016/j.eswa.2023.121909.
Z. Zhao, M. Tang, F. Zhao, Z. Zhang, and X. Chen, “Incorporating semantics, syntax and knowledge for aspect based sentiment analysis,” Applied Intelligence, vol. 53, no. 12, pp. 16138–16150, Dec. 2022, doi: 10.1007/s10489-022-04307-4.
A. Dai, X. Hu, J. Nie, and J. Chen, “Learning from word semantics to sentence syntax by graph convolutional networks for aspect-based sentiment analysis,” International Journal of Data Science and Analytics, vol. 14, no. 1, pp. 17–26, Mar. 2022, doi: 10.1007/s41060-022-00315-2.
N. T. Mhaske and A. S. Patil, “Sentence Annotation for Aspect-oriented Sentiment Analysis: A Lexicon based Approach with Marathi Movie Reviews,” Journal of The Institution of Engineers (India): Series B, vol. 105, no. 6, pp. 1669–1677, May 2024, doi: 10.1007/s40031-024-01072-5.
A.-Q. Vermillet, S. E. Krejberg, J. S. Nielsen, and C. E. Parsons, “An analysis of national media coverage of a parental leave reform investigating sentiment, semantics and contributors,” Scientific Reports, vol. 14, no. 1, Jan. 2024, doi: 10.1038/s41598-023-49356-y.
C. Zhu, B. Yi, and L. Luo, “Triple-channel graph attention network for improving aspect-level sentiment analysis,” The Journal of Supercomputing, vol. 80, no. 6, pp. 7604–7623, Nov. 2023, doi: 10.1007/s11227-023-05745-8.
Y. Yu, D. Qiu, and R. Yan, “A Quantum-Like Tensor Compression Sentence Representation Based on Constraint Functions for Semantics Analysis,” International Journal of Computational Intelligence Systems, vol. 17, no. 1, Jan. 2024, doi: 10.1007/s44196-023-00380-w.
Y. Li, W. Weng, C. Liu, and L. Li, “CSMF-SPC: Multimodal Sentiment Analysis Model with Effective Context Semantic Modality Fusion and Sentiment Polarity Correction,” Pattern Analysis and Applications, vol. 27, no. 3, Aug. 2024, doi: 10.1007/s10044-024-01320-w.
Y. Hou, F. Liu, X. Zhuang, and Y. Zhang, “Twain-GCN: twain-syntax graph convolutional networks for aspect-based sentiment analysis,” Knowledge and Information Systems, vol. 66, no. 9, pp. 5541–5560, May 2024, doi: 10.1007/s10115-024-02135-1.
S. Kaddoura and R. Nassar, “EnhancedBERT: A feature-rich ensemble model for Arabic word sense disambiguation with statistical analysis and optimized data collection,” Journal of King Saud University - Computer and Information Sciences, vol. 36, no. 1, p. 101911, Jan. 2024, doi: 10.1016/j.jksuci.2023.101911.
K. Ahmed et al., “Breaking down linguistic complexities: A structured approach to aspect-based sentiment analysis,” Journal of King Saud University - Computer and Information Sciences, vol. 35, no. 8, p. 101651, Sep. 2023, doi: 10.1016/j.jksuci.2023.101651.
CRediT Author Statement
The authors confirm contribution to the paper as follows:
Conceptualization: Prativa Mishra, Gopalakrishnan T and Parameswaran T;
Methodology: Prativa Mishra;
Software: Gopalakrishnan T and Parameswaran T;
Data Curation: Prativa Mishra;
Writing-Original Draft Preparation: Prativa Mishra, Gopalakrishnan T and Parameswaran T;
Visualization: Gopalakrishnan T and Parameswaran T;
Investigation: Prativa Mishra;
Supervision: Gopalakrishnan T and Parameswaran T;
Validation: Parameswaran T;
Writing- Reviewing and Editing: Prativa Mishra, Gopalakrishnan T and Parameswaran T;
All authors reviewed the results and approved the final version of the manuscript.
Acknowledgements
Authors thank Reviewers for taking the time and effort necessary to review the manuscript.
Funding
No funding was received to assist with the preparation of this manuscript.
Ethics declarations
Conflict of interest
The authors have no conflicts of interest to declare that are relevant to the content of this article.
Availability of data and materials
Data sharing is not applicable to this article as no new data were created or analysed in this study.
Author information
Contributions
All authors have equal contribution in the paper and all authors have read and agreed to the published version of the manuscript.
Corresponding author
Gopalakrishnan T
Department of Information Technology, Manipal Institute of Technology Bengaluru, Manipal Academy of Higher Education, Manipal, India.
Open Access This article is licensed under a Creative Commons Attribution NoDerivs is a more restrictive license. It allows you to redistribute the material commercially or non-commercially but the user cannot make any changes whatsoever to the original, i.e. no derivatives of the original work. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-nd/4.0/
Cite this article
Prativa Mishra, Gopalakrishnan T and Parameswaran T, “Katydid Inspired BERT Optimization for Improved Sentence Semantics in Text Classification”, Journal of Machine and Computing, vol.6, no.1, pp. 114-130, 2026, doi: 10.53759/7669/jmc202606009.