Detection of Body Shaming in Social Media: Traditional Machine Learning vs. Transformer-based Models

This paper explores the detection of body shaming content on social media by comparing traditional machine learning models with state-of-the-art transformer-based pre-trained language models. Two datasets were used: a 4K dataset from publicly available sources and an extended 6K dataset with data collected from TikTok and X. The traditional models assessed include Support Vector Machines, Logistic Regression, Naive Bayes, Random Forests, XGBoost, and AdaBoost, while the transformer-based models included BERT, RoBERTa, and XLNet. Performance was evaluated using precision, recall, macro-averaged F1-score, and Matthews Correlation Coefficient. Transformer-based models consistently outperformed traditional models, with BERT and RoBERTa achieving the best performance across datasets. The study highlights the superior ability of transformer models to capture complex linguistic patterns, offering better performance on larger and imbalanced datasets, while traditional models remain effective in resource-constrained settings or with smaller datasets.

Authors

Institutions

Publication Details

Published
2025-07-19
DOI
https://doi.org/10.1109/amlds63918.2025.11159375
Citations
1
Primary Topic
Consumer Perception and Purchasing Behavior
Type
article
Field-Weighted Citation Impact
2.07
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detection of Body Shaming in Social Media: Traditional Machine Learning vs. Transformer-based Models

Ayan Chatterjee, Raju Shrestha, J. Jacob
1 citations
Consumer Perception and Purchasing Behavior
2.07
article

Detection of Body Shaming in Social Media: Traditional Machine Learning vs. Transformer-based Models

Ayan Chatterjee, Raju Shrestha, J. Jacob
article en
1 citations

Abstract

This paper explores the detection of body shaming content on social media by comparing traditional machine learning models with state-of-the-art transformer-based pre-trained language models. Two datasets were used: a 4K dataset from publicly available sources and an extended 6K dataset with data collected from TikTok and X. The traditional models assessed include Support Vector Machines, Logistic Regression, Naive Bayes, Random Forests, XGBoost, and AdaBoost, while the transformer-based models included BERT, RoBERTa, and XLNet. Performance was evaluated using precision, recall, macro-averaged F1-score, and Matthews Correlation Coefficient. Transformer-based models consistently outperformed traditional models, with BERT and RoBERTa achieving the best performance across datasets. The study highlights the superior ability of transformer models to capture complex linguistic patterns, offering better performance on larger and imbalanced datasets, while traditional models remain effective in resource-constrained settings or with smaller datasets.

OsloMet – Oslo Metropolitan University (NO), Institute for Energy Technology (NO)
Openalex Percentile: Top 10%
Consumer Perception and Purchasing Behavior
2.07
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.