TL;DR
This paper introduces Mformer, a novel language model for accurately measuring moral dimensions in social media text. By fine-tuning a transformer model on diverse datasets, Mformer significantly outperforms existing lexicon-based and simpler machine learning approaches, offering a more reliable tool for understanding moral discourse online.
What Problem Does This Paper Address?
The internet, especially social media, is awash with discussions about moral issues. Understanding these moral dimensions is crucial for fields ranging from psychology to political science. However, existing computational tools for detecting moral foundations (like care, fairness, loyalty, etc.) are often fragile. They rely on hand-crafted lexicons that are incomplete, lack consistency across different types of text (e.g., news vs. social media), and can be biased. This leads to unreliable findings and makes it difficult to compare results across studies. The authors aim to bridge this gap by developing a more robust and generalizable method for measuring moral dimensions in text.
Methods
The core of this paper is the development of Mformer, a classifier built upon the RoBERTa-base transformer architecture. Mformer is fine-tuned on a large, diverse dataset combining tweets, news articles, and Reddit comments. Unlike traditional methods that rely on word counts from lexicons, Mformer leverages the contextual understanding capabilities of large language models. The model is trained to predict the presence of five moral foundations (authority, care, fairness, loyalty, sanctity) independently for each text input. The authors also explore a weight-shared multi-label variant but find the independent binary classifiers perform better.
Datasets
The authors trained and evaluated Mformer using a combination of publicly available datasets:
- Twitter (Hoover et al., 2020): Tweets on socially relevant topics like "All Lives Matter," "Black Lives Matter," and the 2016 US Presidential election.
- News (Hopp et al., 2021): News articles, primarily on politics, sourced from the GDELT dataset.
- Reddit (Trager et al., 2022): Comments from various subreddits related to US politics, French politics, and everyday moral life.
These datasets were combined to create a large training corpus of over 87,000 instances. For evaluation, they also used four external datasets: Moral Foundation Vignettes (VIG), Moral Arguments (ARG), Social Chemistry (SC), and Moral Integrity Corpus (MIC).
Key Insights and Ideas
- Lexicon Limitations are Significant: The paper strongly demonstrates that traditional word-count methods using moral foundations dictionaries (MFDs) suffer from small, inconsistent vocabularies, lack of consensus between different lexicons, and issues with word inflections and disambiguation.
- Context is King: Mformer's success highlights the power of transformer models in understanding the nuances of language and context, which are crucial for accurately identifying moral dimensions, something lexicon-based methods inherently miss.
- Diversity in Training Data is Key: Fine-tuning Mformer on a diverse mix of social media and news data leads to better generalization across different domains, a significant improvement over models trained on single-domain data.
- Moral Dimensions Explain Conflict: The case studies show that Mformer can effectively reveal how different moral foundations are appealed to by opposing sides in social dilemmas and controversial topics, providing a data-driven way to understand the roots of disagreement.
Key Results
Mformer consistently outperformed existing methods across various datasets.
- In-domain evaluation: Mformer achieved an AUC of 0.83-0.85 for all foundations, representing a 4-12% relative improvement over logistic regression (which was already significantly better than word count or embedding similarity methods).
- Out-of-domain evaluation: Mformer generalized well, achieving AUCs of 0.95 for authority on the VIG dataset (7-15% higher than logistic regression) and 0.81-0.86 on the ARG dataset (up to 17% higher).
- Case studies:
- Replicating a study on Reddit's r/AmItheAsshole, Mformer revealed different patterns of moral foundation prevalence compared to the original MFD 2.0 analysis, suggesting that findings can be sensitive to the scoring method.
- Analyzing controversial AITA posts, Mformer showed that opposing judgments (e.g., "wrong" vs. "not wrong") are significantly associated with different moral foundations, with fairness often linked to negative judgments and care to positive ones in interpersonal conflicts.
- Examining stances on political topics via tweets, Mformer identified distinct moral foundation appeals associated with different stances, highlighting the nuanced ways morality is invoked in public discourse.
Limitations and Future Work
The authors acknowledge that moral dimensions are complex and that their work is limited to what is observable on social media. They also note that internet samples may not fully represent all of moral life. Potential misuse of the model for content targeting or spreading misinformation is a concern.
Future work could explore:
- Polarity of Moral Foundations: Investigating the distinction between virtues and vices of moral foundations, which was intentionally excluded for simplicity but is recognized as important.
- Alternative Theories: Examining other frameworks for moral beliefs beyond MFT, such as morality-as-cooperation.
- Fine-grained Analysis: Delving deeper into how specific moral foundations are portrayed (as vices or virtues) and their implications.
- Broader Applications: Applying Mformer to tasks like automated content moderation and understanding moral conflicts in human-machine interactions.
Summary updated