The TEA Nets framework combines AI and cognitive network science to model targets, events and actors in text
Sebastiano Franchini, Alexis Carrillo, Edoardo Sebastiano De Duro, Riccardo Improta, Ali Aghazadeh Ardebili + 1 more
TLDR
TEA Nets is an AI and cognitive network science framework for extracting subjects, verbs, and objects from text to analyze emotions and linguistic patterns.
Key contributions
- Introduces TEA Nets, an open-source Python framework for extracting Agents, Events, and Targets from text.
- Applies AI and cognitive network science for interpretable emotion detection and semantic analysis.
- Revealed high-conspiracy texts link personal pronouns to actions twice as often as low-conspiracy texts.
- Showed LLMs (Claude 3 Haiku) express sadness with lower intensity than humans in psychotherapy.
Why it matters
This paper introduces TEA Nets, a novel framework for deep linguistic analysis. It offers new ways to understand complex narratives like conspiracy theories and evaluate AI's emotional expression. This advances text analysis and has implications for fields like psychology and AI ethics.
Original Abstract
We introduce Target-Event-Agent Networks (TEA Nets) as a computational framework to extract subjects (``Agents"), verbs (``Events"), and objects (``Targets") from texts. Grounded in cognitive network science and artificial intelligence, TEA Nets are implemented as an open-source Python library. We test TEA Nets in three case studies, demonstrating the framework's ability to perform interpretable emotion detection, semantic frame analyses, and linguistic inquiries across conspiracy texts and textual responses generated by LLMs. In the LOCO conspiracy corpus, TEA Nets revealed that highly conspiratorial narratives (4,227 texts) linked personal pronouns (``I", ``you", ``we") with the same actions twice as frequently as low-similarity conspiracy narratives. High-conspiracy narratives connected person-focused elements (``you", ``people") through actions eliciting anger above the random baseline ($z = 2.63, p < .05$), a trend absent in low-similarity conspiracy narratives, which emphasized scientific actors (``researcher", ``scientist"). In the HOPE and CounseLLMe datasets of 212 (human) and 200 (LLM-based) psychotherapy transcripts, respectively, TEA Nets highlighted emotional differences. When expressing feelings, Claude 3 Haiku, GPT-3.5, and humans used sad words with higher frequency than random expectations but Haiku expressed sadness with lower emotional intensity than humans ($U = 1243.5, p = .036$). We discuss these differences in the context of psychotherapy training on LLM-simulated patients. Our results show that Target-Event-Agent Networks can extract relevant emotional, syntactic, and semantic insights from narratives, opening new avenues for text analysis with cognitive network science.
📬 Weekly AI Paper Digest
Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.