Contextual Understanding and Reprocessing in Sarcasm Detection: a Study of BERT Vs Logistic Regression

Detecting sarcasm in natural language presents distinct challenges, primarily due to its reliance on contextual clues and the use of subtle, contradictory expressions. This research examines how the BERT model and Logistic Regression (LR) perform in detecting sarcasm, emphasizing the importance of contextual understanding and various preprocessing methods. Using a social media dataset, we evaluate both models on sentiment analysis tasks after applying different preprocessing methods including tokenization, elimination of stop words, and noise reduction. We assess the models' performance using evaluation metrics like F1 scores and confusion matrices to determine their accuracy in recognizing sarcastic expressions. Our findings suggest that although BERT's bidirectional architecture provides a deeper understanding of linguistic context, it does not always outperform the simpler LR model when noise reduction preprocessing is applied. This indicates that preprocessing techniques can affect model performance in varying ways, and selecting NLP models should align with the unique needs of the sentiment analysis objective. This study provides meaningful perspectives on the role of contextual models and preprocessing methods in improving the precision of sarcasm detection.

Authors

Publication Details

Journal
International Journal For Multidisciplinary Research
Published
2024-12-28
DOI
https://doi.org/10.36948/ijfmr.2024.v06i06.32271
Primary Topic
Forensic and Genetic Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Contextual Understanding and Reprocessing in Sarcasm Detection: a Study of BERT Vs Logistic Regression

Kehar Singh, A. Bhardwaj, S M Aqdas Hashmi -, Dharmendra Bhadauria -
International Journal For Multidisciplinary Research
Forensic and Genetic Research
article

Contextual Understanding and Reprocessing in Sarcasm Detection: a Study of BERT Vs Logistic Regression

Kehar Singh, A. Bhardwaj, S M Aqdas Hashmi -, Dharmendra Bhadauria -
article en

Abstract

Detecting sarcasm in natural language presents distinct challenges, primarily due to its reliance on contextual clues and the use of subtle, contradictory expressions. This research examines how the BERT model and Logistic Regression (LR) perform in detecting sarcasm, emphasizing the importance of contextual understanding and various preprocessing methods. Using a social media dataset, we evaluate both models on sentiment analysis tasks after applying different preprocessing methods including tokenization, elimination of stop words, and noise reduction. We assess the models' performance using evaluation metrics like F1 scores and confusion matrices to determine their accuracy in recognizing sarcastic expressions. Our findings suggest that although BERT's bidirectional architecture provides a deeper understanding of linguistic context, it does not always outperform the simpler LR model when noise reduction preprocessing is applied. This indicates that preprocessing techniques can affect model performance in varying ways, and selecting NLP models should align with the unique needs of the sentiment analysis objective. This study provides meaningful perspectives on the role of contextual models and preprocessing methods in improving the precision of sarcasm detection.

International Journal For Multidisciplinary ResearchVol. 6(6)
Openalex Percentile: Top 73%
Forensic and Genetic Research
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.