LLM-as-a-judge for sarcasm detection using supervised fine-tuning of transformers

This research conducts a systematic comparative study of large pre-trained language models (LLMs) for sarcasm and irony detection. While pretrained transformers often struggle to capture sarcastic intent, we fine-tune multiple domain-specific models and assess their adaptability across diverse review contexts. Using two complementary open-source datasets, news headlines and product reviews, we evaluate four transformer-based models (RoBERTa-large, RoBERTa-base, DistilBERT-base-uncased, and DistilBERT-SST2) under consistent experimental conditions. The framework emphasizes algorithmic transparency, reproducibility and structured evaluation through group-aware data splits, label smoothing and macro-F1-based early stopping. Results indicate that DistilBERT-SST2 achieves the strongest and most stable performance (macro F1 = 0.8784) and demonstrates resilience across five distinct review domains (movies, general, product/service/tech). The research provides an interpretable and reproducible baseline for evaluating fine-tuned LLMs in sarcasm detection and identifies key patterns of domain sensitivity and transfer.

Authors

Institutions

Publication Details

Journal
Journal of King Saud University - Computer and Information Sciences
Published
2025-12-01
DOI
https://doi.org/10.1007/s44443-025-00379-7
Citations
1
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
2.48

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LLM-as-a-judge for sarcasm detection using supervised fine-tuning of transformers

Simona‐Vasilica Oprea, Adela Bârã
1 citations
Journal of King Saud University - Computer and Information Sciences
Sentiment Analysis and Opinion Mining
2.48
article

LLM-as-a-judge for sarcasm detection using supervised fine-tuning of transformers

Simona‐Vasilica Oprea, Adela Bârã
article en
1 citations

Abstract

This research conducts a systematic comparative study of large pre-trained language models (LLMs) for sarcasm and irony detection. While pretrained transformers often struggle to capture sarcastic intent, we fine-tune multiple domain-specific models and assess their adaptability across diverse review contexts. Using two complementary open-source datasets, news headlines and product reviews, we evaluate four transformer-based models (RoBERTa-large, RoBERTa-base, DistilBERT-base-uncased, and DistilBERT-SST2) under consistent experimental conditions. The framework emphasizes algorithmic transparency, reproducibility and structured evaluation through group-aware data splits, label smoothing and macro-F1-based early stopping. Results indicate that DistilBERT-SST2 achieves the strongest and most stable performance (macro F1 = 0.8784) and demonstrates resilience across five distinct review domains (movies, general, product/service/tech). The research provides an interpretable and reproducible baseline for evaluating fine-tuned LLMs in sarcasm detection and identifies key patterns of domain sensitivity and transfer.

Journal of King Saud University - Computer and Information SciencesVol. 37(10)
Bucharest University of Economic Studies (RO)
Ministerul Cercetării, Inovării şi Digitalizării, European Commission, Unitatea Executiva pentru Finantarea Invatamantului Superior, a Cercetarii, Dezvoltarii si Inovarii, Colegiul Consultativ pentru Cercetare-Dezvoltare şi Inovare
Openalex Percentile: Top 8%
Sentiment Analysis and Opinion Mining
2.48
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.