arXiv:2610.07666cs.HCOct 2026

Manuscript Offprint

arXiv:2610.07666

SENSE: State-aware Emotion Navigation Storytelling Engine

Yi Xia, Pablo Carrasco Velo, Mudit Paliwal, Ibrahim Khan, Yifan Geng, Mustafa Can Gursesli, Juho Hamari, Ruck Thawonmas

Yi Xia1,∗^{1,*}, Pablo Carrasco Velo1^{1}, Mudit Paliwal1^{1}, Ibrahim Khan2^{2}, Yifan Geng1^{1}, Mustafa Can Gursesli3^{3}, Juho Hamari3^{3}, and Ruck Thawonmas2^{2}

1^{1}Graduate School of Information Science and Engineering, Ritsumeikan University, Ibaraki, Japan, yi.xia@ice.ci.ritsumei.ac.jp, {gr0797xi, gr0798hh, gr0797rx}@ed.ritsumei.ac.jp

2^{2}College of Information Science and Engineering, Ritsumeikan University, Ibaraki, Japan, khan@fc.ritsumei.ac.jp, ruck@is.ritsumei.ac.jp

3^{3}Faculty of Information Technology and Communication Sciences, Tampere University, Tampere, Finland, {can.gursesli, juho.hamari}@tuni.fi

∗^{*}Corresponding author: yi.xia@ice.ci.ritsumei.ac.jp

Abstract—This paper presents SENSE, a state-aware framework for generating playable branching visual novels with multi-track emotional navigation. Integrating a state-based narrative architecture called MIND, a structure analyzer, and a path-aware context management module, SENSE produces narratives that are both structurally coherent and emotionally rich. From minimal high-level inputs, it generates multiple intersecting routes while preserving character consistency and narrative causality. Evaluations using LLM judges, affective metrics, and visual assessments indicate SENSE outperforms baselines in narrative diversity and robust asset integration, while preliminary human trials show directional improvements in emotional fidelity alongside comparable enjoyment.

Index Terms—Multi-Modal Content Generation, Multi-Agent Systems, Visual Novel, Narrative-Driven Games, Large Language Models

I. INTRODUCTION

Visual novels (VNs) provide deeply interactive and immersive experiences by integrating narrative text, visual presentation, and branching choices. In such narrative-driven game design, emotional arcs are considered the logical core guiding plot progression and fostering player resonance [1], [2]. Although hierarchical “Outline-to-Detail” (O2D) paradigms have streamlined scriptwriting efficiency, large language models (LLMs) struggle with complex networked topologies [3]. The core challenge lies in the systematic graph-level failures LLMs encounter during long-term navigation, including missing passages, trap-like cycles, and causal asymmetries. Following that, a recent study by Puchalski et al., [4] attempted to rectify these defects through post-hoc, name-based repair loops. However, such approaches primarily focus on the physical path coherence and do not address the guidance of emotional intent. Without emotional orchestration, even a physically intact path is prone to emotional drift [2], causing the player’s experience to deviate from the intended emotional trajectory.

In order to address these challenges, we introduce the State-aware Emotion Navigation Storytelling Engine (SENSE), a framework for scalable, emotionally salient, and visually aligned VN generation. SENSE decouples creative narrative logic from deterministic code, translating LLM-generated scripts into executable Ren'Py code while isolating path-dependent histories to prevent cross-branch interference. Its Memory and Intelligent Navigation Director (MIND) incorporates the Structural Thematic and Adaptive Router (STAR) to maintain thematic coherence while allowing branching divergence. State-based narrative mediation integrates historical path discrepancies into coherent psychological narratives, transforming abrupt emotional shifts into logical, emotionally resonant progressions. This state-aware, topology-validated architecture is designed to support structurally sound branching while mitigating emotional drift across routes.

The main contributions of this study are as follows:

• SENSE: a state-aware emotion navigation storytelling engine. We propose SENSE, an end-to-end engine that generates playable VNs from minimal inputs by explicitly modeling narrative state, branching history, player choices, and emotional trajectories.

• Emotion-guided branching synthesis via MIND. The MIND state-based architecture integrates macro-level emotional planning with path-aware script generation, guiding emotional progression while supporting causal consistency across branching narratives.

• Deterministic topology validation and context-aware script synthesis. SENSE supports structurally sound branching narratives through a mechanism called Structure Analyzer, which corrects node errors, cycles, and orphans. It further generates route-specific scripts via topology-driven, path-aware synthesis, improving context consistency across shared nodes.

• Executable integration with context-aware assets. We compile validated scripts and visuals into playable VNs, enhancing semantic fidelity and interactive coherence.

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. This work has been published in IEEE Transactions on Games. DOI: 10.1109/TG.2026.3733998

References (38)