MoralBERT: A Fine-Tuned Language Model for Capturing Moral Values in Social Discussions
<|reference_start|>MoralBERT: A Fine-Tuned Language Model for Capturing Moral Values in Social Discussions: Moral values play a fundamental role in how we evaluate information, make decisions, and form judgements around important social issues. Controversial topics, including vaccination, abortion, racism, and sexual orientation, often elicit opinions and attitudes that are not solely based on evidence but rather reflect moral worldviews. Recent advances in Natural Language Processing (NLP) show that moral values can be gauged in human-generated textual content. Building on the Moral Foundations Theory (MFT), this paper introduces MoralBERT, a range of language representation models fine-tuned to capture moral sentiment in social discourse. We describe a framework for both aggregated and domain-adversarial training on multiple heterogeneous MFT human-annotated datasets sourced from Twitter (now X), Reddit, and Facebook that broaden textual content diversity in terms of social media audience interests, content presentation and style, and spreading patterns. We show that the proposed framework achieves an average F1 score that is between 11% and 32% higher than lexicon-based approaches, Word2Vec embeddings, and zero-shot classification with large language models such as GPT-4 for in-domain inference. Domain-adversarial training yields better out-of domain predictions than aggregate training while achieving comparable performance to zero-shot learning. Our approach contributes to annotation-free and effective morality learning, and provides useful insights towards a more comprehensive understanding of moral narratives in controversial social debates using NLP.<|reference_end|>
@article{preniqi2024moralbert:,
    title={MoralBERT: A Fine-Tuned Language Model for Capturing Moral Values in
  Social Discussions},
    author={Vjosa Preniqi, Iacopo Ghinassi, Julia Ive, Charalampos Saitis, Kyriaki
  Kalimeri},
    journal={ACM 4th International Conference on Information Technology for
  Social Good (GoodIT 2024)},
    year={2024},
    doi={10.1145/3677525.3678694},
    archivePrefix={arXiv},
    eprint={2403.07678},
    primaryClass={cs.CL cs.CY}
}