MoralBERT: A Fine-Tuned Language Model for Capturing Moral Values in Social Discussions

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Preniqi, Vjosa, Ghinassi, Iacopo, Ive, Julia, Saitis, Charalampos, Kalimeri, Kyriaki
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910535254016000
author Preniqi, Vjosa
Ghinassi, Iacopo
Ive, Julia
Saitis, Charalampos
Kalimeri, Kyriaki
author_facet Preniqi, Vjosa
Ghinassi, Iacopo
Ive, Julia
Saitis, Charalampos
Kalimeri, Kyriaki
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2403_07678
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MoralBERT: A Fine-Tuned Language Model for Capturing Moral Values in Social Discussions
Preniqi, Vjosa
Ghinassi, Iacopo
Ive, Julia
Saitis, Charalampos
Kalimeri, Kyriaki
Computation and Language
Computers and Society
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.
title MoralBERT: A Fine-Tuned Language Model for Capturing Moral Values in Social Discussions
topic Computation and Language
Computers and Society
url https://arxiv.org/abs/2403.07678