Affective and Dynamic Beam Search for Story Generation
Tenghao Huang, Ehsan Qasemi, Bangzheng Li, He Wang, Faeze Brahman, Muhao Chen, Snigdha Chaturvedi
TL;DR
This work tackles automatic generation of engaging stories by introducing AffGen, a decoding-time framework that combines Dynamic Beam Sizing and Affective Reranking to inject intriguing twists while maintaining narrative coherence. Twist placement is data-driven, sampling from a distribution of where a climax or turning point is likely, and the twist is generated using a neural LM with a contextual bandit to select beam sizes and an affective reranker to optimize arousal and emotional dynamics. Empirical results on ROCStories show AffGen achieves higher arousal and perceived interestingness with coherent text, supported by human judgments that favor AffGen over baselines like GPT-3 and ChatGPT in key affective and engagement measures. Ablation, longer-narrative expansion, and qualitative analyses further demonstrate the value of dynamic exploration and affective re-scoring for computational creativity, while acknowledging limitations such as potential repetition and reliance on single-twist designs.
Abstract
Storytelling's captivating potential makes it a fascinating research area, with implications for entertainment, education, therapy, and cognitive studies. In this paper, we propose Affective Story Generator (AffGen) for generating interesting narratives. AffGen introduces "intriguing twists" in narratives by employing two novel techniques-Dynamic Beam Sizing and Affective Reranking. Dynamic Beam Sizing encourages less predictable, more captivating word choices using a contextual multi-arm bandit model. Affective Reranking prioritizes sentence candidates based on affect intensity. Our empirical evaluations, both automatic and human, demonstrate AffGen's superior performance over existing baselines in generating affectively charged and interesting narratives. Our ablation study and analysis provide insights into the strengths and weaknesses of AffGen.
