TL;DR
PlotThread is a mixed-initiative authoring tool that uses a Reinforcement Learning (RL) agent to help designers create expressive, aesthetic storyline visualizations. By treating layout design as a sequence of collaborative actions, the system allows users to break away from rigid, automatically generated templates without the labor-intensive effort of manual drawing.
What Problem Does This Paper Address?
Storyline visualizations—famously popularized by xkcd’s movie narrative charts—are powerful tools for showing how characters interact over time. However, creating them is a balancing act between two conflicting forces:
- Narrative Constraints: Characters in the same scene must be grouped together, while others must be separated.
- Aesthetic Goals: To remain legible, the lines should have minimal crossings, few "wiggles," and efficient use of white space.
Existing solutions fall into two camps: fully automatic optimization models (like StoryFlow) that produce clean but "soulless" and rigid layouts, and manual tools (like iStoryline) that offer flexibility but are incredibly tedious for complex stories. Designers often find themselves stuck in a trial-and-error loop, trying to nudge an optimizer toward a specific creative vision.
Methods
The authors propose a mixed-initiative workflow where a human designer and an AI agent work on the same canvas.
The Reinforcement Learning Framework
The core innovation is formulating storyline design as a Markov Decision Process (MDP). The agent is trained to "refine" an initial layout to match a user’s intent using three high-level actions:
- Shifting: Reordering the vertical rank of characters.
- Bending: Changing the straightness or curvature of lines to indicate plot shifts.
- Scaling: Adjusting white space to emphasize separations or make room for annotations.
Model Architecture
The team used an Asynchronous Advantage Actor-Critic (A3C) framework. Interestingly, while they started with a ResNet-18-style architecture to process the layouts (treated as one-channel images), they found that removing the convolution layers and using only fully-connected (FC) layers was more effective. This is likely because storyline layouts rely more on global topological relationships than local pixel patterns.
Interaction Design
PlotThread provides a suite of "extended interactions" for the human user, such as Transforming (sketching a trajectory for a group of lines to follow) and Attracting/Repelling (using a brush to pull lines together or push them apart).
Datasets
A major hurdle in applying RL to visualization is the lack of training data. There aren't enough hand-drawn storylines to train a deep model. To solve this, the authors:
- Extracted 20 story scripts from a published gallery.
- Used an existing optimizer (iStoryline) to generate 20,000 synthetic layouts.
- They created "ground truth" pairs by taking a base layout and applying random narrative constraints to simulate different user intents. This taught the agent how to move from a generic starting point to a specific, constrained layout.
Key Insights and Ideas
- Mental Map Preservation: Unlike a standard optimizer that might completely reshuffle a layout after a small change, the RL agent is trained to resemble the user's current work (Principle D1). This prevents the "jumpy" interface behavior that frustrates designers.
- Long-term Planning vs. Greedy Search: A simple greedy algorithm often gets stuck in "local optima" (e.g., a layout that looks okay now but makes future scenes impossible to draw cleanly). The RL agent learns to "think" steps ahead, sometimes accepting a temporary increase in line crossings to achieve a much cleaner final result.
- Visualization for the Masses: By offloading the complex math of aesthetic optimization to an agent, the tool allows amateur users to focus on the story rather than the geometry.
Key Results
- Qualitative Success: The system successfully produced diverse layouts for films and books like Jurassic Park, The Matrix, and Journey to the West. The AI-generated versions were found to be more expressive than pure optimization results but significantly more legible than raw user sketches.
- Performance: The RL agent converges to a final, optimized layout within 12 seconds. While not instantaneous, this is fast enough for an interactive design session.
- User Feedback: Experts (artists and UI designers) noted that the "diverse visual forms" produced by the AI could "arouse viewer's emotions" in ways that standard, compact optimization results could not.
Limitations and Future Work
- Input Requirements: Currently, users must provide a pre-formatted story script. The authors hope to eventually allow users to create storylines "from scratch" or from raw text.
- Trust and Transparency: Some users expressed hesitation about "black box" AI suggestions. Future versions might include animations showing how the AI arrived at a suggestion to build user trust.
- Artistry: While the layouts are functional and aesthetic, the authors want to incorporate more diverse "sketch styles" to increase the artistic value of the output.
Summary updated