Abstract
Pictures can enrich storytelling experiences. We propose a framework that can automatically compose a picture book by understanding story text and visualizing it with painting elements, i.e., characters and backgrounds. For story understanding, we extract key information from a story on both sentence level and paragraph level, including characters, scenes and actions. These concepts are organized and visualized in a way that depicts the development of a story. We collect a set of Chinese stories for children and apply our approach to compose pictures for stories. Extensive experiments are conducted towards story event extraction for visualization to demonstrate the effectiveness of our method.
Introduction
While the internet is rich with narrative content, converting text into visual formats like picture books remains a labor-intensive manual process. Automating this task presents significant challenges in AI, primarily in story understanding and "stage directing." Traditional Natural Language Processing (NLP) often focuses on isolated sentence-level extraction, but picture books require narrative continuity—tracking characters and scenes across multiple sentences even when they are not explicitly mentioned. Furthermore, visualization requires intelligent placement, sizing, and orientation of assets to create a natural-looking scene.
Methodology
The proposed framework follows a two-stage pipeline: Event Extraction and Story Visualization.
1. Event Extraction
The system identifies three core elements: Scene (where), Character (who), and Action (what).
- Sentence-Level Extraction: Neural sequence labeling models, specifically BiLSTM-CRF and BERT-BiLSTM-CRF, are used to label words within individual sentences.
- Paragraph-Level Integration: To ensure continuity, the system analyzes entire paragraphs to fill gaps. For instance, if a scene is established in the first sentence, the system infers it persists through subsequent sentences until a new scene is explicitly mentioned.
2. Story Visualization
Once events are extracted, the system acts as a digital stage manager to compose the final frames:
- Spatial Distribution: Predefined "horizon lines" in background assets ensure characters are grounded correctly and do not appear to be floating.
- Positioning: Coordinates are calculated based on character significance (e.g., speakers are prioritized) and historical positions to prevent jarring "teleportation" between frames.
- Orientation: Characters are automatically flipped to face the center of the scene or their interaction partners.
Data and Implementation
The researchers utilized a custom dataset of 3,680 Chinese children’s stories. To train the extraction models, 10,000 sentences were manually annotated. The visualization component draws from an asset library containing 30 scenes and 600 character images in a consistent clip-art style.
Results and Discussion
The system's performance highlights the critical role of context in story understanding. While sentence-level scene detection achieved a high F1 score of 0.973, paragraph-level integration was essential for overall coherence, boosting the integrated scene detection F1 from 0.632 to 0.857.
Character detection performed well with a BERT-based model (0.843 F1). However, action extraction remains a significant challenge (0.499 F1), as verbs often require deep common-sense reasoning that sequence labeling models struggle to capture.
Conclusion
This framework demonstrates a viable end-to-end approach for transforming raw text into illustrated stories. Key insights include the necessity of paragraph-level context for visual continuity and the use of "safe line" constraints for realistic character placement. Future work will focus on handling more complex character interactions and reducing dependency on static asset libraries through generative models.
Summary updated