Table of Contents
Fetching ...

Explainable Moral Values: a neuro-symbolic approach to value classification

Nicolas Lazzari, Stefano De Giorgis, Aldo Gangemi, Valentina Presutti

TL;DR

This work explores the integration of ontology-based reasoning and Machine Learning techniques for explainable value classification and shows that combining the reasoner's inferences with distributional semantics methods largely outperforms all the baselines, including complex models based on neural network architectures.

Abstract

This work explores the integration of ontology-based reasoning and Machine Learning techniques for explainable value classification. By relying on an ontological formalization of moral values as in the Moral Foundations Theory, relying on the DnS Ontology Design Pattern, the \textit{sandra} neuro-symbolic reasoner is used to infer values (fomalized as descriptions) that are \emph{satisfied by} a certain sentence. Sentences, alongside their structured representation, are automatically generated using an open-source Large Language Model. The inferred descriptions are used to automatically detect the value associated with a sentence. We show that only relying on the reasoner's inference results in explainable classification comparable to other more complex approaches. We show that combining the reasoner's inferences with distributional semantics methods largely outperforms all the baselines, including complex models based on neural network architectures. Finally, we build a visualization tool to explore the potential of theory-based values classification, which is publicly available at http://xmv.geomeaning.com/.

Explainable Moral Values: a neuro-symbolic approach to value classification

TL;DR

This work explores the integration of ontology-based reasoning and Machine Learning techniques for explainable value classification and shows that combining the reasoner's inferences with distributional semantics methods largely outperforms all the baselines, including complex models based on neural network architectures.

Abstract

This work explores the integration of ontology-based reasoning and Machine Learning techniques for explainable value classification. By relying on an ontological formalization of moral values as in the Moral Foundations Theory, relying on the DnS Ontology Design Pattern, the \textit{sandra} neuro-symbolic reasoner is used to infer values (fomalized as descriptions) that are \emph{satisfied by} a certain sentence. Sentences, alongside their structured representation, are automatically generated using an open-source Large Language Model. The inferred descriptions are used to automatically detect the value associated with a sentence. We show that only relying on the reasoner's inference results in explainable classification comparable to other more complex approaches. We show that combining the reasoner's inferences with distributional semantics methods largely outperforms all the baselines, including complex models based on neural network architectures. Finally, we build a visualization tool to explore the potential of theory-based values classification, which is publicly available at http://xmv.geomeaning.com/.

Paper Structure

This paper contains 17 sections, 8 figures, 1 table.

Figures (8)

  • Figure 1: Annotated prompt example.
  • Figure 2: Distribution of the roles within the ValueNet ontology and in the generated dataset.
  • Figure 3: Top 10 roles for each value used in few shot prompting.
  • Figure 4: Average emotion polarity detected on the generated sentences for each value used in the few-shot example.
  • Figure 5: Analysis of the description satisfied by each situation.
  • ...and 3 more figures