GRAIL-VN: A Graph-Grounded Runtime-Verifiable Agentic Framework for Reliable Branching Visual Novel Script Generation
The core challenge in visual novel script generation lies not only in generating coherent narrative content, but also in continuously maintaining the consistency of branching structures, character states, and conditional logic as the story evolves. This paper proposes GRAIL-VN, a Graph-Grounded Runtime-Verifiable Agentic Framework for Reliable Branching Visual Novel Script Generation, which models visual novel script generation as an iterative update process based on narrative state. The framework maintains persistent narrative state through a Narrative World Graph (NWG), performs state retrieval, local generation, and state commitment through a graph-backed iterative runtime (GIR), and applies multi-layer runtime verification before updates are written back through Plan-Graph-Constrain-Realize (PGCR); Lookahead Branch Planning (LBP) and Just-In-Time Casting (JITC) further support lookahead branch decision-making and dynamic expansion of the narrative world. We conduct experiments on 36 narrative briefs covering different genres and complexity levels, and perform an integrated analysis combining automated structural evaluation, LLM pairwise narrative quality evaluation, and goal achievement evaluation. The results show that the value of the persistent graph mainly comes from its continuous participation as a runtime state interface, rather than from one-time reading during the generation stage; PGCR can effectively detect and repair inconsistent updates, thereby improving generation reliability, while LBP and JITC further enhance branch planning and dynamic expansion capabilities. Overall, GRAIL-VN provides a unified runtime framework for reliable branching visual novel script generation.
- Link
- https://doi.org/10.1609/aiide.v22i1.43600
- Found by
- Crossref
- Authors
- Chuanru Wei, Kaili Chen
- Categories
- evaluation
- Published
- 2026-11-08
- Last seen by the radar
- 2026-11-10
- Citations
- 0
- Radar score
- 26.75 / 100 (how it is scored)
- Why it scored so
- Matched: evaluat; Primary record: Crossref