# Sequence-to-Sequence Language Models for Character and Emotion Detection in Dream Narratives

arXiv: https://arxiv.org/abs/2403.15486 · HTML: https://mlsanity.com/paper/2403.15486/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- Builds on 12 of its 43 references that are in the map.
- First posted on arXiv 21 Mar 2024.

## Builds on (most cited first, 12 of 12)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://mlsanity.com/paper/1810.04805/) (2018)
- [Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer](https://mlsanity.com/paper/1910.10683/) (2019)
- [Llama 2: Open Foundation and Fine-Tuned Chat Models](https://mlsanity.com/paper/2307.09288/) (2023)
- [Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks](https://mlsanity.com/paper/1908.10084/) (2019)
- [A Survey on In-context Learning](https://mlsanity.com/paper/2301.00234/) (2022)
- [Orca: Progressive Learning from Complex Explanation Traces of GPT-4](https://mlsanity.com/paper/2306.02707/) (2023)
- [Aspect Sentiment Quad Prediction as Paraphrase Generation](https://mlsanity.com/paper/2110.00796/) (2021)
- [Beneath the Tip of the Iceberg: Current Challenges and New Directions in Sentiment Analysis Research](https://mlsanity.com/paper/2005.00357/) (2020)
- [Comparative study of LSA vs Word2vec embeddings in small corpora: a case study in dreams database](https://mlsanity.com/paper/1610.01520/) (2016)
- [Emotion Recognition based on Psychological Components in Guided Narratives for Emotion Regulation](https://mlsanity.com/paper/2305.10446/) (2023)
- [Natural Language Processing for Cognitive Analysis of Emotions](https://mlsanity.com/paper/2210.05296/) (2022)

## Built on by (most cited first, 3 of 3)

- [Improving Language Models for Emotion Analysis: Insights from Cognitive Science](https://mlsanity.com/paper/2406.10265/) (2024)
- [DreamLLM-3D: Affective Dream Reliving using Large Language Model and 3D Generative AI](https://mlsanity.com/paper/2503.16439/) (2025)
- [Formalizing Style in Personal Narratives](https://mlsanity.com/paper/2510.08649/) (2025)

## Abstract (arXiv)

The study of dreams has been central to understanding human (un)consciousness, cognition, and culture for centuries. Analyzing dreams quantitatively depends on labor-intensive, manual annotation of dream narratives. We automate this process through a natural language sequence-to-sequence generation framework. This paper presents the first study on character and emotion detection in the English portion of the open DreamBank corpus of dream narratives. Our results show that language models can effectively address this complex task. To get insight into prediction performance, we evaluate the impact of model size, prediction order of characters, and the consideration of proper names and character traits. We compare our approach with a large language model using in-context learning. Our supervised models perform better while having 28 times fewer parameters. Our model and its generated annotations are made publicly available.
