DreamNet: A Multimodal Framework for Semantic and Emotional Analysis of Sleep Narratives
Tapasvi Panchagnula
TL;DR
DreamNet presents a multimodal framework that jointly analyzes dream narratives and REM-stage EEG to extract semantic themes and emotional states. By combining a RoBERTa-based text encoder, a temporal module, and an EEG-aware cross-attention fusion, the approach achieves a 7% performance gain with EEG data over text-only analysis and attains near-perfect accuracy on the combined modality. The work contributes a sizeable, ethically sourced, annotated dream dataset (1,500 narratives with 400 EEG-paired samples), a scalable architecture, and a rigorous methodology, with strong implications for mental health diagnostics and cognitive science. It also highlights practical considerations for real-time deployment and privacy in wearable-enabled dream analysis.
Abstract
Dream narratives provide a unique window into human cognition and emotion, yet their systematic analysis using artificial intelligence has been underexplored. We introduce DreamNet, a novel deep learning framework that decodes semantic themes and emotional states from textual dream reports, optionally enhanced with REM-stage EEG data. Leveraging a transformer-based architecture with multimodal attention, DreamNet achieves 92.1% accuracy and 88.4% F1-score in text-only mode (DNet-T) on a curated dataset of 1,500 anonymized dream narratives, improving to 99.0% accuracy and 95.2% F1-score with EEG integration (DNet-M). Strong dream-emotion correlations (e.g., falling-anxiety, r = 0.91, p < 0.01) highlight its potential for mental health diagnostics, cognitive science, and personalized therapy. This work provides a scalable tool, a publicly available enriched dataset, and a rigorous methodology, bridging AI and psychological research.
