Mathematics & AI

ISSN: 0000-0000 · EN

Mathematics & AI is an open-access, peer-reviewed journal at the intersection of mathematics and artificial intelligence. The journal publishes original research in mathematical foundations of AI, machine learning theory, optimization, statistical learning, neural network analysis, computational mat...

Interpretable Emotion Attribution in Social Graphs: A Comparative Analysis of Rule-Based, Transformer, and LLM Models

A
Anton Kolonin
MathAI 2026 Selected Papers Special Issue
Published: May 21, 2026 Received: April 11, 2026

Abstract

Emotion attribution in social graphs requires inferring directed emotional attitudes between entities in complex, multi-turn dialogues. While transformer models dominate the field, they often lack the transparency required for social science applications. We present a systematic comparison of three modeling paradigms for this task: a fully interpretable rule-based system, a fine-tuned RoBERTa-large model, and a few-shot Llama-3-8B. Utilizing the DialogRE dataset, we demonstrate that incorporating a 3-turn conversational context significantly improves attribution accuracy across paradigms. Crucially, our results show that the interpretable rule-based system achieves a competitive F1 score, making it statistically indistinguishable from the state-of-the-art RoBERTa model. In contrast, we find that few-shot large language models exhibit poor performance in emotion attribution of semantic relations, performing below the rule-based baseline. We provethat interpretability does not necessitate a performance trade-off in social emotion analysis

Cite this article

Gidado, U.; Kolonin, A. Interpretable Emotion Attribution in Social Graphs: A Comparative Analysis of Rule-Based, Transformer, and LLM Models. Mathematics & AI 2026, 1, 10. https://enigma.ist/j/mathematics-ai/1/2/10

Full Text (PDF)