Abstract
Detecting cynical comments in online communication poses a significant challenge in human-computer interaction, especially given the massive proliferation of discussions on platforms like YouTube. These comments often include offensive or disruptive patterns, such as sarcasm, negative feelings, specific reasons, and an attitude of being right. To address this problem, we present a web platform for the Spanish language that leverages natural language processing and machine learning techniques. The platform detects comments and provides valuable information to users by focusing on analyzing comments. The core models are based on pre-trained architectures, including BETO, SpanBERTa, Multilingual BERT, RoBERTuito, and BERT, enabling robust detection of cynical comments. Our platform was trained and tested with Spanish comments from car analysis channels on YouTube. The results show that models achieve performance above 0.8 F1 for all types of cynical comments in the text classification task but achieve lower performance (around 0.6-0.7 F1) for the more arduous token classification task.
Introduction
The digital age has transformed product reviews into a battleground of opinions. While sentiment analysis effectively captures general positivity or negativity, it often fails to identify the more corrosive and complex phenomenon of "cynicism." Cynicism in online discourse—characterized by disbelief, feelings of betrayal, and a dogmatic "know-it-all" attitude—can derail constructive dialogue and unfairly damage brand reputation. This is particularly prevalent in high-engagement niches like automotive reviews on YouTube, where technical expertise and personal preference often clash.
The CODISCO System Architecture
To address this, researchers developed the CODISCO (Comportamientos Disfuncionales de los Consumidores) platform. This web-based tool is designed specifically for the Spanish language, leveraging pre-trained Transformer architectures to detect nuanced cynical behaviors. The system follows a modular pipeline: extracting comments from a YouTube URL, cleaning and tokenizing the text, and then applying specialized fine-tuned models for classification.
Methodology and Dataset
The study utilized a novel dataset of 3,705 comments scraped from Latin American car review channels. These comments were manually annotated by experts into four distinct categories:
- Negative Feelings (NF): Expressions of dissatisfaction or betrayal.
- Specific Reasons (SR): Detailed complaints, often technical in nature.
- Attitude of Being Right (AR): Dogmatic assertions of correctness or "expert" posturing.
- Sarcasm (SC): Biting irony or context-dependent mockery.
The researchers evaluated several state-of-the-art models, including BETO (Spanish BERT), SpanBERTa, mBERT (Multilingual BERT), and RoBERTuito (trained on Spanish tweets).
Key Results and Model Performance
The task was approached in two ways: text classification (labeling the whole comment) and token classification (identifying specific cynical spans). Text classification proved highly successful, with the fine-tuned mBERT model achieving F1 scores above 0.80 for all categories, peaking at 0.945 for "Specific Reasons."
However, token classification—identifying exactly which words constitute the cynicism—remains a significant challenge, with F1 scores generally between 0.60 and 0.70. Sarcasm, in particular, remains the "final boss" of NLP due to its heavy reliance on subverting context and expectations.
Discussion and Future Work
A key insight from the study is that cynicism is distinct from general hate speech. Models pre-trained for toxicity performed poorly on cynicism detection without specific fine-tuning. Furthermore, the "Attitude of Being Right" category was often signaled by technical jargon, which the models learned to associate with a dogmatic tone.
While the current system is a robust "car expert," future work aims to expand its domain to politics and fashion, and to incorporate more diverse Spanish dialects. The integration of Large Language Models (LLMs) like GPT-4 also presents a promising avenue for improving contextual reasoning in sarcasm detection.
Conclusion
By moving beyond binary sentiment analysis, the CODISCO framework provides brands and researchers with a more granular understanding of consumer behavior in Spanish-speaking social media environments. The high performance in text classification suggests that these models are ready for real-world application in monitoring online discourse.
Summary updated