SEAM: Shot Entity-Attribute Memory for Consistent Short-Drama Generation at Scale

Jiaqi Liu, Maolin Ran, Xiaoyang Lu, Jian Wang, Weiwen Liu, Jianghao Lin, Yong Yu, Weinan ZhangarXiv 2026

TL;DR

SEAM (Shot Entity-Attribute Memory) is a training-free, model-agnostic framework that fixes visual continuity errors in AI-generated short dramas entirely at the prompt-text layer. By organizing a script's history into a directed memory graph and selectively injecting prior context into shot descriptions, it raises cross-episode continuity recall from 0.700 to 0.946 and achieves a 96.5% director-acceptance rate in live production.

What Problem Does This Paper Address?

Generative AI is rapidly transforming short-drama production (vertical, multi-episode video fiction). However, scaling AI generation from isolated shots to full episodes introduces a major bottleneck: visual continuity.

Because current multi-agent frameworks generate each shot prompt independently, they lack a persistent memory of the story's state. This leads to jarring context drift—such as a character's removed glove suddenly reappearing in a later shot. Over a production spanning thousands of shots, these small discrepancies accumulate into severe visual breaks that human editors must manually repair.

Existing consistency methods typically alter model weights or anchor generation to rigid 3D scenes, making them difficult to integrate into rapidly evolving, model-heterogeneous production pipelines. The authors aim to solve this by repairing continuity upstream, right at the storyboard prompt layer.

Figure 1: Cross-shot continuity break vs. SEAM repair. Top: per-shot independent generation loses an earlier state (a re- moved glove reappears), a contradiction no single shot can catch. Bottom: SEAM injects the prior state from its memory graph into the shot prompt, carrying it forward so the con- tradiction disappears.

Methods

SEAM introduces a three-stage, text-to-text pipeline that operates entirely before the image or video generation step:

  1. State Extraction and Graph Construction: The system parses the episode script to extract an 8-dimensional visual state for every shot (tracking scene, atmosphere, characters, character states, spatial blocking, props, actions, and camera style). These states become nodes in a directed memory graph, connected by temporal adjacency, character co-occurrence, and scene co-occurrence edges.
  2. Causal Retrieval and Selective Filtering: To maintain narrative logic, SEAM queries only the causally prior subgraph (preventing future states from leaking backward). It uses a lightweight lexical overlap technique to find relevant past context and employs an LLM to filter out redundant or conflicting details, preserving the director's creative intent.
  3. Natural-Rewrite Injection: An LLM naturally weaves the filtered continuity constraints back into the shot's visual description. This process is governed by a "rewrite guard" that rejects modifications if they accidentally alter the original shot grammar or structural markers.
Figure 2: SEAM overview. The episode script is parsed into multi-dimensional shot states, which are linked into a memory graph by temporal, character, and scene edges. For each shot of the upstream shotlist, causally prior context is retrieved, filtered selectively, and rewritten into the visual description, yielding a continuity-enriched prompt.

Datasets

The authors introduce SEAM-Bench, a double-blind continuity storyboarding benchmark consisting of three produced short dramas (His Toyboy, Beyond the Wall, and Werewolf).

  • Scale: It spans 68 episodes and 2,718 AI-generated shots.
  • Data Types: It includes the original production scripts alongside a gold-standard pool of 58 reference images (character and scene visual anchors) to evaluate continuity at both the text-prompt and image-generation layers.

Key Insights and Ideas

  • The Prompt Layer is the Right Abstraction: Fixing continuity at the text-prompt layer makes the solution completely training-free and model-agnostic. If a production studio upgrades its underlying image or video generator, SEAM continues to work without retraining.
  • Continuity is Sparse, Not Global: Continuity errors are localized, affecting roughly one in ten shots. Indiscriminately dumping the entire history into every prompt dilutes the generator's focus and overrides intentional creative changes. Selective filtering ensures edits are precise and context-aware.
  • Strict Causal Directionality: Memory graphs for storytelling must strictly enforce backward-only edge expansion. Allowing an agent to look ahead in the graph introduces forward-leakage, which breaks chronological consistency.

Key Results

  • Benchmark Performance: On SEAM-Bench, SEAM raised cross-episode continuity recall from 0.700 to 0.946.
  • Broad Generalization: The framework was tested across six mainstream LLM backbones (including Claude, DeepSeek, GPT, and GLM variants) and consistently reduced state contradictions across all of them.
  • Production Deployment: Deployed as a mandatory stage in CreativeFitting's commercial SEAM-Agent pipeline over 201 shots, SEAM achieved a 96.5% director-acceptance rate with zero unsafe prompt injections, significantly reducing manual inspection times.

Limitations and Future Work

  • Stochastic Attenuation at the Image Layer: While prompt-layer improvements were massive and statistically significant, the visual improvements in the final rendered keyframes were directional but less pronounced. The inherent noise of text-to-image diffusion models partially dilutes the precise text constraints.
  • Minor Ordering Side-Effects: The natural-rewrite step occasionally caused a slight drop in shot-ordering accuracy (measured via Kendall's $\tau$).
  • Future Directions: The authors note that the fallback offline modes remain unevaluated and state that future work will focus on extending SEAM's evaluation and optimization directly to the video-generation layer.

Summary updated

BibTeX
@misc{liu2026seam,
  author = {Jiaqi Liu and Maolin Ran and Xiaoyang Lu and Jian Wang and Weiwen Liu and Jianghao Lin and Yong Yu and Weinan Zhang},
  title = {{SEAM: Shot Entity-Attribute Memory for Consistent Short-Drama Generation at Scale}},
  year = {2026},
  eprint = {2608.22725},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.22725},
}
Figure