Transformer‐Enhanced Sentiment Analysis of Indian Farmers on Social Media Using Hybrid Deep Learning Models

ABSTRACT The COVID‐19 pandemic had a profound impact on Indian farmers, disrupting agricultural supply chains and exacerbating existing economic challenges. With a significant increase in social media usage among the farming community, educated farmers have increasingly turned to platforms like Twitter to voice their concerns. This user‐generated content offers researchers a valuable lens for understanding evolving farmer sentiments in real‐time and supporting responsive policy formulation. In this study, farmer sentiments were analyzed using a curated dataset of 40,000 tweets posted during recent periods of economic uncertainty and post‐pandemic recovery. Advanced machine learning and deep learning models, including CNN, LSTM, and hybrid transformers, were employed alongside diverse word embedding techniques such as Bag‐of‐Words (BoW), Term Frequency‐Inverse Document Frequency (TF‐IDF), Word2Vec, GloVe, BERT, and RoBERTa. All deep and hybrid models achieved strong classification performance, typically exceeding 85%. Notably, BERT–LSTM reached ∼93.0% accuracy (macro‐F1 ≈ 0.92) and RoBERTa–LSTM ∼93.5% (macro‐F1 ≈ 0.92), effectively capturing the nuanced emotional tone of the tweets. This study highlights the utility of modern NLP frameworks in analyzing real‐time sentiment data, offering researchers and policymakers a robust mechanism to monitor agricultural concerns and design timely, data‐driven interventions.

Authors

Institutions

Publication Details

Journal
Concurrency and Computation Practice and Experience
Published
2026-04-01
DOI
https://doi.org/10.1002/cpe.70599
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Transformer‐Enhanced Sentiment Analysis of Indian Farmers on Social Media Using Hybrid Deep Learning Models

Mohd Danish, Haipeng Liu
Concurrency and Computation Practice and Experience
Sentiment Analysis and Opinion Mining
article

Transformer‐Enhanced Sentiment Analysis of Indian Farmers on Social Media Using Hybrid Deep Learning Models

Mohd Danish, Haipeng Liu
article en

Abstract

ABSTRACT The COVID‐19 pandemic had a profound impact on Indian farmers, disrupting agricultural supply chains and exacerbating existing economic challenges. With a significant increase in social media usage among the farming community, educated farmers have increasingly turned to platforms like Twitter to voice their concerns. This user‐generated content offers researchers a valuable lens for understanding evolving farmer sentiments in real‐time and supporting responsive policy formulation. In this study, farmer sentiments were analyzed using a curated dataset of 40,000 tweets posted during recent periods of economic uncertainty and post‐pandemic recovery. Advanced machine learning and deep learning models, including CNN, LSTM, and hybrid transformers, were employed alongside diverse word embedding techniques such as Bag‐of‐Words (BoW), Term Frequency‐Inverse Document Frequency (TF‐IDF), Word2Vec, GloVe, BERT, and RoBERTa. All deep and hybrid models achieved strong classification performance, typically exceeding 85%. Notably, BERT–LSTM reached ∼93.0% accuracy (macro‐F1 ≈ 0.92) and RoBERTa–LSTM ∼93.5% (macro‐F1 ≈ 0.92), effectively capturing the nuanced emotional tone of the tweets. This study highlights the utility of modern NLP frameworks in analyzing real‐time sentiment data, offering researchers and policymakers a robust mechanism to monitor agricultural concerns and design timely, data‐driven interventions.

Concurrency and Computation Practice and ExperienceVol. 38(7)
Noida International University (IN), National Medical Association (US), PowerELab (China) (CN), Intelligent Health (United Kingdom) (GB), Coventry University (GB)
Zero hunger
Openalex Percentile: Top 19%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.