TL;DR
Detecting Schwartz values, which are moral principles reflected in political texts, is challenging due to implicit cues and contextual dependencies. A systematic study was conducted using various input formats and models, including DeBERTa and large language models (LLMs), to assess the impact of context and moral knowledge on value detection.
✦ Why It Matters
Engineers can enhance value detection in NLP applications by integrating moral knowledge and optimizing context usage.
Key Takeaways
Full Summary
Schwartz values represent moral principles that can be difficult to identify in political texts due to their reliance on context and subtle distinctions. This study explored the effectiveness of different input formats—sentence-level, window, and full-document—as well as the integration of a curated moral knowledge base with models like DeBERTa-v3 and various large language models (LLMs).
The methodology involved comparing performance metrics, specifically macro-F1 scores, across these models and contexts. Findings revealed that full-document context improved supervised DeBERTa models by 3.8-4.8 macro-F1 points, but did not consistently benefit zero-shot LLMs.
Additionally, incorporating retrieved moral knowledge proved advantageous across all model families. Notably, scaling model size did not guarantee improved performance, and early fusion of context and knowledge outperformed other integration methods.
These insights suggest that value-sensitive natural language processing (NLP) should consider context, knowledge, and model type collectively.
Related