Paper deep dive
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 Zhang
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Short-drama generation has grown into a large, industrialized pipeline, and as it scales from isolated shots to the episode level, visual continuity has become a critical bottleneck. Current agent frameworks generate each shot in isolation, so context drifts across shots and props, character posture, and blocking turn inconsistent. Once assembled, these small discrepancies amplify into severe visual breaks. We present SEAM (Shot Entity-Attribute Memory), a training-free, model-agnostic memory graph that repairs continuity entirely at the prompt-text layer by extracting a multi-dimensional state for every shot, retrieving only causally prior context over the resulting graph, filtering it selectively, and injecting the surviving constraints by natural-language prompt rewriting. We further release SEAM-Bench, a double-blind continuity storyboarding benchmark, on which SEAM raises cross-episode continuity recall from 0.700 to 0.946, generalizes across six mainstream text models, and yields consistent, though not yet significant, gains at the generated-image layer. Deployed as a mandatory stage in CreativeFitting's SEAM-Agent production pipeline over 201 shots, SEAM reaches a 96.5% director-acceptance rate with zero unsafe injections; a conservative counterfactual attributes at least 21.9 percentage points of that rate to its cross-episode memory.
Tags
Links
- Source: https://arxiv.org/abs/2608.22725v1
- Canonical: https://arxiv.org/abs/2608.22725v1
Trouble viewing inline? Open PDF directly ā
Full Text
73,561 characters extracted from source content.
Expand or collapse full text
SEAM: Shot Entity-Attribute Memory for Consistent Short-Drama Generation at ScaleDOI: X.XXXXXXXConference: Proceedings of the 33rd ACM SIGKDD Conference on Knowledge Discovery and Data Mining; August 2027; San Jose, CA, USAProceedings of the 33rd ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD ā27), August 2027, San Jose, CA, USAISBN: 978-1-4503-X-X/2027/08CCS: Computing methodologies Natural language generationCCS: Computing methodologies Image and video generationCCS: Information systems Retrieval models and ranking Jiaqi Liu Affiliation: Shanghai Jiao Tong University , Shanghai , China email: jkliu189@gmail.com , Maolin Ran Affiliation: Shanghai Jiao Tong University , Shanghai , China email: maolinr03@sjtu.edu.cn , Xiaoyang Lu Affiliation: Shanghai Jiao Tong University , Shanghai , China email: xiaoyangl@sjtu.edu.cn , Jian Wang Affiliation: CreativeFitting , Shanghai , China email: jim.wang@creativefitting.ai , Weiwen Liu Affiliation: Shanghai Jiao Tong University , Shanghai , China email: wwliu@sjtu.edu.cn Note: Corresponding author. , Jianghao Lin Affiliation: Shanghai Jiao Tong University , Shanghai , China email: linjianghao@sjtu.edu.cn , Yong Yu Affiliation: Shanghai Jiao Tong University , Shanghai , China email: yyu@sjtu.edu.cn and Weinan Zhang Affiliation: Shanghai Jiao Tong University , Shanghai , China email: wnzhang@sjtu.edu.cn 2027Ā© , 2027; Abstract. Short-drama generation has grown into a large, industrialized pipeline, and as it scales from isolated shots to the episode level, visual continuity has become a critical bottleneck. Current agent frameworks generate each shot in isolation, so context drifts across shots, and props, character posture, and blocking turn inconsistent. Once assembled, these small discrepancies amplify into severe visual breaks. We present SEAM (Shot Entity-Attribute Memory), a training-free, model-agnostic memory graph that repairs continuity entirely at the prompt-text layer by extracting a multi-dimensional state for every shot, retrieving only causally prior context over the resulting graph, filtering it selectively, and injecting the surviving constraints by natural-language prompt rewriting. We further release SEAM-Bench, a double-blind continuity storyboarding benchmark, on which SEAM raises cross-episode continuity recall from 0.7000.700 to 0.9460.946, generalizes across six mainstream text models, and yields consistent, though not yet significant, gains at the generated-image layer. Deployed as a mandatory stage in CreativeFittingās SEAM-Agent production pipeline over 201 shots, SEAM reaches a 96.5%96.5\% director-acceptance rate with zero unsafe injections; a conservative counterfactual attributes at least 21.921.9 percentage points of that rate to its cross-episode memory. Keywords: Memory graph, Short-drama generation, Retrieval augmentation 1. Introduction Short drama, a form of vertical, fast, multi-episode video fiction, is one of the fastest-growing segments of digital entertainment, and its production is now being reshaped by generative AI (39; 10; 40). Its industrial workflow is highly standardized, spanning script writing, storyboarding, keyframe generation, and video synthesis, and agent frameworks increasingly absorb the repetitive labor around a professional director rather than replace the creative core (34). The commercial stakes are already concrete: fully AI-generated titles now compete with live-action ones for the same audience, as on CreativeFittingās Reel.AI, one such platform serving AI-generated short dramas worldwide and the production setting we study in this paper. What makes the domain distinctive is its scale: a single title routinely spans tens of episodes with tens of shots each, so one production comprises thousands of shots that must remain mutually coherent. At this scale, visual continuity is the central bottleneck, because each shotās prompt is generated in isolation and carries no persistent state memory. As shown in Figure 1, per-shot keyframe generation loses the glove that Shot 0 removed and lets it reappear in Shots 4 and 7; injecting the prior state from SEAMās memory graph carries the bare-hand state forward, and both shots stay consistent. Generators follow their prompts faithfully, so they amplify rather than absorb such contradictions, and over thousands of shots the drift accumulates into visual breaks a human editor must repair by hand. Figure 1. Cross-shot continuity break vs. SEAM repair. Top: per-shot independent generation loses an earlier state (a removed 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 contradiction disappears.Two rows of three keyframes for shots 0, 4, and 7. In the top row, generated per shot independently, a glove removed in shot 0 reappears in shots 4 and 7. In the bottom row, generated with memory injection, the bare-hand state is preserved in both later shots. Prior work enforces consistency inside a specific generator (24; 15; 14; 2), anchors it to 3D scenes or to video generated end to end (20; 43), or reuses generic retrieval and memory systems built for factual question answering (12; 42; 4). All of them leave the storyboard prompt layer unaddressed, yet that layer is where the repair belongs: it sits upstream of every generator and stays readable and editable by the director. Repairing continuity there, inside a live production pipeline, raises three challenges that existing methods do not resolve. C1: Heterogeneous, evolving visual state. A shotās continuity depends on many dimensions at once (scene, atmosphere, characters and their states, spatial blocking, props, actions, camera style), each carrying forward or changing independently as the story progresses; unstructured text memory cannot represent this structured, multi-dimensional state. C2: Causal and selective reuse. Only prior state may be reused, so that causality is preserved, and only the truly relevant fragments should be injected, since indiscriminate copying overrides the directorās creative intent. C3: Generality and pluggability. Generative backbones iterate rapidly, so a deployable remedy cannot be rebuilt whenever the underlying image or video model is replaced. It must be training-free, model-agnostic, pluggable as a standalone stage, and able to add continuity without altering the shot grammar or visual intent the director specified. Guided by these challenges, we cast continuity as a retrieval-and-injection problem over cross-shot shared state. For C1, we parse each shot into a multi-dimensional state node and connect nodes by temporal-adjacency, character-co-occurrence, and scene-co-occurrence edges, turning the evolving state into an explicit, queryable memory graph. For C2, we retrieve only the relevant prior state and let an LLM selectively decide which candidates to inject; the visual description is then rewritten naturally, so continuity is added while the shot grammar and the directorās intent stay intact. For C3, the whole procedure operates purely at the prompt-text layer and touches neither the model weights nor the downstream backbone, so it plugs in as a standalone stage and keeps working unchanged when the image or video model is swapped out. We call this framework SEAM, a Shot Entity-Attribute Memory graph, and embed it as one stage of SEAM-Agent, a multi-agent storyboarding pipeline that any script-to-screen system can adopt and that we run in commercial production. Contributions. This paper makes the following contributions: ⢠We introduce SEAM, the first shot entity-attribute memory graph for storyboard-layer continuity. To our knowledge this is the first work to repair short-drama continuity at the storyboard prompt layer: each shot becomes a multi-dimensional visual state node, the temporal, character, and scene relations governing continuity become typed edges, and cross-shot consistency becomes a retrieval-and-injection problem over this graph. ⢠We instantiate it as a training-free, prompt-text-layer procedure of three stages (state extraction with graph construction, causal retrieval with selective filtering, natural-rewrite injection) that touches neither model weights nor the downstream backbone, so the stage stays model-agnostic and survives backbone upgrades. ⢠We release SEAM-Bench, a double-blind continuity storyboarding benchmark11 1 https://huggingface.co/datasets/Jackyqq/SEAM-Bench that standardizes continuity evaluation for industrial short-drama generation at both the prompt and image layers. ⢠We validate SEAM in live commercial production. Deployed as a mandatory stage of the SEAM-Agent pipeline in CreativeFittingās production system, it reaches a 96.5%96.5\% director-acceptance rate over 201 shots, cutting the manual continuity inspection a polished AI short drama otherwise demands from directorsāevidence that the design holds outside the benchmark. Section 2 surveys related work; Section 3 formalizes the problem and the continuity criterion; Section 4 presents SEAM, its memory graph, and its integration into SEAM-Agent; Section 5 reports SEAM-Bench, the three-layer evaluation, and the online deployment evidence. 2. Related Work 2.1. Agentic Short-Drama Production The rise of short drama has motivated dedicated datasets, generation pipelines, and evaluation protocols. Large script corpora pair screenplays with shooting scripts (35), while agents take complementary creative roles: directorāactor collaboration for controllable script writing (9), personalized frameworks carrying a single sentence to a produced drama (33), and geometry-guided control of cinematography (47). The same role decomposition scales to feature-length work, where multi-agent movie pipelines distribute director, screenwriter, and storyboard-artist roles across LLM or VLM agents to plan and render multi-scene video (39; 10; 40), with parallel efforts supplying synchronized sound (37). How to score the result is itself unsettled: these systems predominantly report human Likert ratings or a single LLM judge (39; 34), leaving conclusions resting on one evaluator family, whereas story-visualization benchmarks supply image-side protocols for character identity and scene consistency (49; 36; 13) and storyboard-level benchmarks have begun to probe cinematographic quality (21; 46). Delta. These pipelines automate authoring and rendering end to end but treat consistency as a byproduct of the generator or of scene-level planning, leaving no explicit representation of what carries over between shots, and no benchmark evaluates cross-episode continuity at the storyboard text layer alongside the keyframes rendered from it. We isolate and repair continuity at the textual storyboard that directors and downstream tools actually consume, via a shot-level memory graph deployed as a pipeline stage rather than a standalone generator, and release SEAM-Bench to check a continuity claim at the prompt layer and the image layer at once. 2.2. Memory for Cross-Shot Consistency A large body of work seeks visual consistency across shots or frames. One line bakes it into the generator: cinematic models render coherent multi-shot sequences in a single pass (24), memory-flow methods propagate state across long-video generation (15), and diffusion extensions carry identity through transition tokens, caches, or entity-grounded scheduling (16; 22; 18). A second anchors generation to an external structure such as a storyboard or a memory pack for 3D scenes (20; 43). A third works in the image domain, preserving character identity across story panels by extracting a reusable character (3), controlling multi-character layout (7), interleaving text with images (41), grounding identity referentially (2), or repairing inconsistent panels after the fact (1); that such anchoring is load-bearing is confirmed by character-stable pipelines reporting catastrophic drops once it is removed (14). A separate line asks instead how an agent should store and retrieve what it has seen, arguing that episodic memory is the missing piece over long horizons (45; 26) and structuring retrieval through graph-based RAG (12), associative reuse (42), or persistent multimodal memory (4; 31), with continuity checked reference-free through entity graphs (8) or NLI contradiction detection (17). Delta. The first three lines operate on pixels, latents, or a specific generator and are largely training-based or backbone-coupled, hard to insert into a model-heterogeneous pipeline; the memory machinery is instead built for factual recall. Visual continuity differs in what must be stored and in what may be reused: the unit of memory is a shotās multi-dimensional visual state rather than a proposition, the relations governing reuse are temporal adjacency and character/scene co-occurrence rather than semantic relatedness, and reuse must be strictly causal. SEAM adopts the retrieval-and-injection view but instantiates it over these shot-level states one level earlier than the generator, at the storyboard prompt-text layer, staying training-free and model-agnostic. 3. Preliminaries This section fixes the notation for short dramas and shots, states the generation task, and defines the continuity criterion our core metric is built on. The memory graph is the heart of our design rather than background, so it is defined where it is used (Section 4.2.1). Dramas and shots. A short drama is an episode-ordered set =E1,ā¦,EMD=\E_1,ā¦,E_M\ of M episodes, whose m-th episode Em=(s1,ā¦,snm)E_m=(s_1,ā¦,s_n_m) is a temporally ordered sequence of nmn_m shots (1ā¤mā¤M1⤠m⤠M). Each shot sis_i is a structured tuple (1) si=(āi,Īŗi,xi,ti,Ci,Pi),s_i=( _i,\ _i,\ x_i,\ t_i,\ C_i,\ P_i), where āiāā _i is the scene/location, Īŗi _i the shot grammar (shot size, angle, movement), xix_i the visual description, tit_i the dialogue, and CiāC_i , PiāP_i the characters and props active in the shot. Here C, P and āL are the drama-wide universes of characters, props and scenes, respectively; the shot index i runs within an episode, and where cross-episode context matters it is read in the global shot order that D induces. Generation task. The pipeline produces, for each shot, a prompt pip_i that a downstream image/video generator consumes. Writing fĪøf_Īø for the shotlist-authoring model with parameters Īø (an LLM backbone in all our experiments), the per-shot, stateless baseline is (2) pi=fĪøā(si),p_i=f_Īø(s_i), that is, the prompt depends only on the current shot and carries no cross-shot state. This is the condition our memory stage is measured against. Continuity and continuity recall. Continuity concerns the persistent entities of a dramaāits characters, props and scenesāwhose visual attributes should stay consistent across shots unless the narrative motivates a change. For an entity eāāŖāe we write Ļiā(e) _i(e) for its state projection: the visual attributes (character appearance, prop possession, scene layout) that shot sis_i ascribes to e, with Ļiā(e)=ā _i(e)= when e is inactive in that shot. For a shot pair i<ji<j in which e is active in both, a continuity defect Ī“ā”(e,i,j)=1Ī“(e,i,j)=1 is recorded when Ļiā(e) _i(e) contradicts Ļjā(e) _j(e) without narrative motivation. This grounds the continuity recall (3) Recall=#ādefects successfully repaired#ādefects judged in need of repair,Recall= \#\defects successfully repaired\\#\defects judged in need of repair\, our core metric for repairing cross-shot and cross-episode continuity (measured in Section 5). 4. Methodology In this section, we introduce our Shot Entity-Attribute Memory graph for short-drama storyboarding (i.e., SEAM). 4.1. Overview Guided by the three challenges of Section 1 (C1 heterogeneous evolving state, C2 causal selective reuse, C3 training-free model-agnostic delivery), our methodology has two parts: how continuity is represented and repaired, and how the repair is delivered inside a live production system. For the first, we design SEAM, a cross-shot continuity memory graph that turns the retrieval-and-injection view of continuity into an executable, prompt-text-layer procedure: from the episode script we extract a structured multi-dimensional visual state for every shot and link the states into a directed memory graph whose temporal, character, and scene edges govern continuity; when the shotlist is (re-)authored, we retrieve only the causally prior context, filter it selectively to discard redundant or conflicting fragments, and rewrite the shotās visual description so the surviving continuity is woven in while the shot grammar and the directorās intent stay intact. SEAM runs in an online LLM-driven mode, used for every result reported in this paper, and a deterministic offline mode that substitutes rules for each LLM call so the stage still runs where no model is reachable. For the second, we embed SEAM into SEAM-Agent, our multi-agent storyboarding pipeline, as a mandatory āmemory-optimizerā stage that builds the graph from the script, consumes the upstream shotlist, and repairs continuity shot by shot before rendering; because it reads the script and rewrites only the textual shotlist, it depends on neither the upstream authoring model nor the downstream backbone. 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.Block diagram of the three SEAM stages: the script is parsed into multi-dimensional shot states, the states are linked into a memory graph, and prior context is retrieved, filtered, and rewritten into each shot's visual description. 4.2. SEAM: A Cross-Shot Continuity Memory Graph As shown in Figure 2, SEAM is organized as three stages operating entirely at the prompt-text layer: state extraction and graph construction, graph retrieval with selective filtering, and natural-rewrite injection. We describe each in turn. 4.2.1. State Extraction and Graph Construction Whereas the state projection Ļi _i of Section 3 tracks one entity at a time, our memory represents a whole shot at once. The extractor takes the episode script as input and, for every shot sis_i it induces (Eq. (1)), produces a d-dimensional visual state i=(Ļi1,ā¦,Ļid) Ļ_i=( _i^1,ā¦, _i^d), whose d=8d=8 dimensions cover scene, atmosphere, characters, character states, spatial blocking, props, actions, and camera style (Table 9). We formulate the extraction as an operator (4) i=Φā”(si), Ļ_i= (s_i), which is instantiated in the online mode by prompting an LLM with a fixed dimension template that returns one structured record per shot, and, in the offline mode, by deterministic rule-based parsing of the same script. Heterogeneous sources are first normalized into a unified shot stream, so Φ applies uniformly regardless of the source format, and the dimension set is configurable rather than fixed by the formulation; d=8d=8 is the instantiation used throughout this paper. Over the resulting states we construct a directed memory graph G=(V,E)G=(V,E). Its nodes V are the shot-state nodes viv_i (each carrying i Ļ_i) together with resource-entity nodes materialized for the recurring characters, props, and scenes, and we connect nodes through the three relation types that carry continuity: a temporal-adjacency relation linking a shot to its neighbors within a window |iāj|ā¤N|i-j|⤠N, a character-co-occurrence relation linking shots that share a character (Ciā©Cjā ā C_iā© C_jā ), and a scene-co-occurrence relation linking shots set in the same place (āi=āj _i= _j). Each edge (i,j)(i,j) carries a continuity weight wiājā[0,1]w_ijā[0,1] that grades how strongly the earlier shot constrains the later one, from a hard must-continue link (wiāj=1w_ij=1) down to a weak association. In the online mode the relation type and weight of every edge are inferred by an LLM over overlapping shot windows and then deduplicated by keeping, for each ordered pair and type, the edge of maximum weight; in the offline mode the same three relations are recovered by deterministic co-occurrence and adjacency rules. These relations jointly determine which earlier shots are eligible to constrain the current one (Figure 3(a)), and the weights wiājw_ij drive the weighted, multi-hop expansion used during retrieval. Figure 3. (a) The three relation types (temporal, character, and scene). (b) Graph retrieval with backward edge expansion over the prior subgraph G<iG_<i.Two panels: the left shows shot nodes joined by temporal, character, and scene edges; the right shows retrieval expanding backward from seed nodes over the earlier part of the graph only. 4.2.2. Graph Retrieval and Selective Filtering To repair shot sis_i, we retrieve a continuity context i=Retrieveā”(G<i,si)K_i=Retrieve(G_<i,s_i) from the prior subgraph G<iG_<i, the part of G induced by nodes with index j<ij<i. This enforces causality: a shot may inherit state from what has already happened, never from the future, so no forward leakage can occur. We support two complementary retrieval modes. When a shot carries explicit resource references, we take its prior state by resource overlap: writing Ri=CiāŖPiāŖāiR_i=C_iāŖ P_iāŖ\ _i\ for its resource set, we collect the prior nodes vjāG<iā£Rjā©Riā ā \v_jā G_<i R_jā© R_iā \ and keep the most recent states of the shared characters, props, and scenes; when no prior node overlaps, we fall back to the last few preceding nodes so the context is never empty. For arbitrary inputs without such references, we instead perform text-matched retrieval with edge expansion, first scoring every prior node vjāG<iv_jā G_<i by a lightweight lexical overlap with sis_i, (5) sim(si,vj)=min(1,|Tā”(si)ā©Tā”(vj)||Tā”(si)|+β[Ciā©Cjā ā ]),sim(s_i,v_j)= \! (1,\; |T(s_i)ā© T(v_j)||T(s_i)|+β[\,C_iā© C_jā \,] ), where Tā”(ā )T(Ā·) is a token set that mixes whole words with character-level bigrams so that the score stays robust across languages, the first term is the recall of the query tokens, and the second term adds a bonus β when the two shots share a named character. We keep the top-k prior nodes with sim>0sim>0 as seeds iS_i, and then expand h hops backward along the temporal, character, and scene relations, traversing only edges whose weight clears a threshold wiājā„Ļw_ijā„Ļ, (6) i=āvāiExpandā¤hbwdā(v,G<i,Ļ),K_i= _v _iExpand_⤠h^\,bwd(v;\,G_<i,Ļ), where ExpandExpand collects the nodes reachable within h backward hops. The backward-only direction over G<iG_<i enforces causality at the graph level, while Ļ prunes weak associations so expansion does not drown the relevant context. The expansion recovers entities absent from the immediate neighbors yet continuous over a longer range (Figure 3(b)); with no explicit edges it falls back to implicit links induced on the fly. Our lexical scoring follows the probabilistic relevance tradition of BM25 (29) but uses no embeddings, so retrieval adds no model dependency. Not every retrieved candidate should be injected. Indiscriminate concatenation of iK_i would overwrite legitimate creative change and pollute the prompt with redundant or conflicting context. We therefore apply a selective filtering step that judges each candidate independently. For a candidate cāic _i, a decision function returns a keep/discard indicator together with a justification, (7) Ļā”(c,si)ā0,1,iā=cāiā£Ļā”(c,si)=1,Ļ(c,s_i)ā\0,1\, _i =\\,c _i Ļ(c,s_i)=1\,\, where ĻĻ is realized in the online mode by an LLM that scores candidates against sis_i under an explicit rubric, discarding one that stands on its own, is redundant, or is separated from sis_i by a scene cut, and keeping one only when it supplies genuine cross-shot continuity, with an auditable justification. In the offline mode ĻĻ degrades to a conservative rule that keeps a candidate whenever the shot has any prior context. Retaining only iāK_i is what makes the memory selective. 4.2.3. Natural-Rewrite Injection Given the filtered context iāK_i , an injection operator g produces the continuity-enriched prompt (8) pi=gā”(si,iā),p_i=g(s_i,K_i ), which replaces the stateless fĪøā(si)f_Īø(s_i) of Eq. (2). We realize g in two modes. The preferred mode is a natural rewrite: an LLM weaves the retained continuity into the visual description xix_i in the directorās own register, adding only the continuity constraints while leaving the shot grammar Īŗi _i and the visual semantics unchanged. Because an unconstrained rewrite could silently drift from the directorās intent, we accept the rewritten description xiā²x_i only when it passes a guard ā”(xiā²,xi)V(x_i ,x_i) that (i) bounds the length ratio |xiā²|/|xi|ā[Ļmin,Ļmax]|x_i |/|x_i|ā[ _ , _ ], (i) preserves every resource reference of xix_i, and (i) keeps its structural markers; a rewrite failing the guard is rejected and the shot reverts to its previous description. As a lightweight fallback, a mechanical injection mode appends iāK_i at a fixed prompt position without an LLM. Both modes add continuity rather than rewriting intent, and the guard preserves the directorās original creative decisions. 4.3. SEAM-Agent: SEAM Within a Multi-Agent Pipeline In this section, we describe how SEAM is deployed as one stage of SEAM-Agent. As shown in Figure 4, SEAM-Agent is a serial multi-agent pipeline in which the agents communicate through shotlist artifacts on disk, and SEAM operates as a memory optimizer between authoring and rendering. Figure 4. SEAM sits as the āmemory optimizerā stage, placed after the authoring agents and before the loader. It builds the memory graph from the episode script and repairs continuity shot by shot over the shotlist that the authoring agents have already generated.Left-to-right pipeline diagram: Director Agent, Cinematographer Agent, SEAM Memory Optimizer, and Formatter, with the memory optimizer placed between the authoring agents and the downstream loader. 4.3.1. Pipeline Structure SEAM-Agent comprises four serial stages. A Director Agent reads the episode script and drafts the overall scene intent and narrative beats; a Cinematographer Agent turns that intent into a concrete shotlist, assigning the shot grammar Īŗi _i (shot size, angle, and movement) to each shot; the SEAM Memory Optimizer performs cross-shot continuity repair over that shotlist; and a Formatter standardizes the result into the tabular schema that downstream tools consume. Each stage writes an artifact that the next stage reads, so the chain is decoupled at the file level. SEAM is a mandatory stage in this chain, not an optional pass that runs afterward, so every shotlist the pipeline emits has been continuity-checked before the downstream keyframe and video generators consume it. 4.3.2. SEAM as the Memory-Optimizer Stage The memory optimizer takes two inputs: the episode script, from which it builds and persists the memory graph, and the upstream shotlist, whose descriptions it repairs. Applying the three-stage procedure of Section 4.2, it extracts the shot states into G, retrieves and filters each shotās prior context over G<iG_<i, and rewrites the description via Eq. (8), emitting pi=gā”(si,iā)p_i=g(s_i,K_i ) in place of the stateless baseline fĪøā(si)f_Īø(s_i) of Eq. (2). Because state accumulates across episodes, the retrieved context spans earlier shots of the current episode and prior episodes alike, which is what lets the optimizer repair the cross-episode breaks that dominate long titles. Since it operates solely at the prompt-text layer, it is decoupled from both the authoring model and the downstream backbone, a property we verify with the six-model results of Section 5. 5. Experiments We study three research questions. Q1: does the memory graph repair the cross-shot and cross-episode continuity defects a stateless pipeline leaves behind? Q2: is this repair model-agnostic across heterogeneous backbones? Q3: do prompt-layer repairs survive the text-to-image stage and stay measurable in the keyframes? 5.1. Experimental Setup SEAM-Bench. As summarized in Table 1, SEAM-Bench is a short-drama continuity storyboarding benchmark over three produced dramas totaling 68 episodes, referred to throughout by the short identifiers of the released data: his-toyboy (His Toyboy: The Billionaireās Trap), beyond-the-wall (Beyond the Wall), and werewolf (You Are My Cure, My Undoing). We release two kinds of material: the original scripts forming the pipeline input sis_i, and reference imagesācharacter/scene visual anchors from a semantically renamed, deduplicated poolāserving as fixed keyframe input and as the image-layer gold standard. Expert human-director storyboards annotated shot by shot are the professional reference, but remain restricted by copyright, held out from the release, and used only for evaluation and unblinding. Table 1. SEAM-Bench data statistics. AI shots are counted on the claude run; other backbones differ by <5%<5\%. Drama Ep. Human AI Ref. img. his-toyboy 23 754 907 15 beyond-the-wall 20 659 814 31 werewolf 25 826 997 12 Total 68 2,239 2,718 58 Setup. We evaluate six heterogeneous text models (claude, deepseek-v4-pro, glm-5.1, gpt-5.4, kimi-k2.6, minimax-m2.7). Per episode, each backbone produces an uninjected shotlist1 (Eq. (2)) and a memory-injected shotlist2 (Eq. (8)). The two CSVs are column- and shot-aligned, making every comparison a paired within-model contrast whose only varying factor is memory injection. Keyframes come from Nano Banana Pro on both variants under identical references and template skeletons, from which we extract 900 test instances for the image layer, of which 820 returned an image. Scoring is delegated to Gemini 3 Pro, excluded from the six evaluated backbones so that no model judges its own storyboards. Evaluation protocol. Storyboarding has no established automatic text-layer metric, and recent script-to-screen systems rely on human Likert ratings or LLM judges alone (39; 34). To keep no conclusion resting on a single evaluator family, we pair a double-blind LLM judge with a CPU-only offline metric suite assembled from adjacent literatures (28; 23; 44; 21; 5; 8; 17; 19; 46). The suite scores a storyboard along four complementary axes: agreement with the human director, accuracy of the cinematography fields, camera-label distribution, and reference-free continuity. An image layer then scores the rendered keyframes against their references (30; 36; 49; 25; 48; 6; 13; 27; 32). Definitions and formulas are deferred to Appendix A, where Table 8 lists every abbreviation used below. In the double-blind judge, conditions appear as āA/Bā with sources hidden and deterministically counterbalanced, revealed only after scoring; the prompt layer is scored on five dimensions and the image layer on four. Every baseline-vs-memory contrast is paired at the episode level and tested with the Wilcoxon signed-rank test under Holm correction (38; 11) (ā: corrected p<0.05p<0.05). The 80 renders refused by the providerās safety filter (triggered by sensitive plot content, near-symmetric across conditions: 412 baseline vs. 408 memory images survive) are dropped pairwise, so a shot enters the image metrics only if both conditions rendered it, leaving 403 paired shots. The NLI and image layers run on beyond-the-wall, the rest on all three dramas. 5.2. Main Results (Q1/Q2/Q3) Q1: memory injection repairs continuity. Three measurements triangulate the repair effect. First, we turn to continuity recall (Eq. (3)). As shown in Table 2, on his-toyboy (23 episodes) the memory graph repairs 3535 of the 3737 defects the judge rules in need of repair (0.9460.946), against 77 of 1010 (0.7000.700) for a control whose retrieval is restricted to the current episode. The two conditions do not share a denominator, and the reason is itself part of the result: a defect can only be judged once retrieval surfaces the prior state it contradicts, so the episode-local control yields 3.7Ć3.7Ć fewer candidate sites. SEAM therefore improves on two axes at once, exposing 2727 additional genuine defects and repairing a larger fraction of those it exposes; the recall column understates the gap, since those 2727 are left unrepaired rather than counted against the control. Resting on different defect populations, this measurement establishes that cross-episode retrieval is what makes defects addressable, and we rely on the next two, both computed per shot, for the magnitude of the repair. Second, the targeted state-conditioned contradiction probe scores each filter-flagged shot (Section 4.2.2) against its graph-retrieved expected state as NLI premise, before versus after injection. Table 3 reports the outcome: across all 2,946 flagged shots, mean contradiction probability drops from 0.3080.308 to 0.1310.131 and the threshold-exceeding fraction from 0.2640.264 to 0.0930.093, removing roughly two thirds of the contradiction mass at the targeted sites in every dramaābackbone cell, with a residual 4ā7% resisting repair that Figure 5 exposes and Section 5.4 takes up. Third, the double-blind prompt-layer judgment over six backbones (30 model-episodes, episodes 1ā5 of beyond-the-wall, the same subset carrying the image layer) favors memory on all five dimensions. As Table 5 and Figure 8 show, character-state continuity (+4.4+4.4, r=0.82r=0.82), prop continuity (+2.9+2.9, r=0.77r=0.77), and intent fit (+6.5+6.5, r=0.90r=0.90) stay significant after Holm correction. Table 2. Q1 continuity recall (his-toyboy, 23 episodes). The control restricts retrieval to the current episode, so it surfaces fewer judgeable defects; #Judged is therefore part of the effect rather than a fixed denominator (see text). Condition Recallā #Judged #Modified Control (episode-local retrieval) 0.700 10 7 SEAM (cross-episode graph) 0.946 37 35 Table 3. Targeted state-conditioned contradiction on repair-flagged shots. The premise is the graph-expected entity state and the score is the NLI contradiction probability before vs. after injection, pooled over six backbones per drama and weighted by flagged-shot count. Mean prob.ā Rate (pā„0.5pā„0.5)ā Drama #Flag. before after before after beyond-the-wall 1,085 0.344 0.106 0.320 0.069 his-toyboy 923 0.302 0.157 0.255 0.122 werewolf 938 0.273 0.133 0.209 0.091 All 2,946 0.308 0.131 0.264 0.093 Q2: model-agnosticism. Table 4 consolidates the per-model evidence across the three metric families. Recall (panel a) is high in all 18 dramaābackbone cells, from 0.6670.667 (claude on his-toyboy) to 1.0001.000 (minimax on beyond-the-wall), with per-model means spanning 0.7310.731ā0.9920.992. The targeted contradiction drop (panel b) holds throughout, mean probability falling from the 0.290.29ā0.350.35 band to 0.100.10ā0.170.17. The blind gains (panel c) are positive on 17 of 18 modelādimension entries; the sole exception, prop continuity for glm-5.1, is a ā0.04-0.04 shift rounding to zero. The spread reflects each modelās style, yet the direction never reverses, evidence of model-agnosticism. The ranking is not an artifact of defect volume. Judged defects per episode vary by an order of magnitude across cells (1.71.7ā19.819.8, or 3.63.6ā13.713.7 per model), yet five of six per-model means land in a tight 0.930.93ā0.990.99 band. claude is the sole outlier, lowest on recall not because it judges more defects (it flags the fewest) but because its rewrites are the most conservative, and recall counts a defect repaired only when a changed description is emitted; on the blind judgment it still posts among the largest character-state gains (+5.1+5.1). Since recall cannot separate āno rewriteā from āwrong rewrite,ā we triangulate with the targeted probe and the blind judge. Table 4. Per-model results over the six backbones in three metric groups: (a) continuity recall per dramaābtw (beyond-the-wall), hty (his-toyboy), wlf (werewolf)āand its mean; (b) targeted contradiction probability before/after injection, pooled over dramas and weighted by flagged-shot count (n); (c) blind prompt-layer gains Ī=MāB =M-B on the memory-edited dimensions (Table 8). Every cell improves, answering Q2 in the affirmative. (a) Recallā (b) Contradiction (c) Ī ā Backbone btw hty wlf mean n bef.ā aft.ā csc prp ifit claude 0.760 0.667 0.767 0.731 178 0.321 0.129 +5.1+5.1 +0.9+0.9 +4.9+4.9 deepseek 0.912 0.959 0.915 0.929 863 0.286 0.115 +9.9+9.9 +5.9+5.9 +15.8+15.8 glm-5.1 0.983 0.947 0.960 0.963 248 0.308 0.116 +3.5+3.5 ā0.0-0.0 +2.8+2.8 gpt-5.4 0.994 0.988 0.995 0.992 548 0.294 0.135 +2.1+2.1 +1.1+1.1 +2.8+2.8 kimi 0.961 0.928 0.960 0.950 399 0.353 0.103 +2.7+2.7 +1.0+1.0 +7.6+7.6 minimax 1.000 0.967 0.993 0.987 710 0.319 0.167 +3.0+3.0 +8.8+8.8 +4.8+4.8 Q3: transfer to the image layer. As Table 5b shows, at the generated-image layer the blind judge still prefers memory on the two dimensions injection actually edits, character appearance (+3.7+3.7) and prop continuity (+3.3+3.3), while scene layout and frame quality stay flat. With only n=30n=30 sequence pairs these deltas do not reach significance, so we answer Q3 only directionally: transfer is visible but attenuated by the stochastic text-to-image stage. Table 5. Double-blind LLM judgment (0ā100) per dimension, pooled over six backbones (beyond-the-wall, ep. 1ā5): B baseline, M memory, Ī=MāB =M-B (ā Holm-corrected p<0.05p<0.05); n=30n=30 model-episodes and 3030 sequences. (a) Prompt layer (per-shot) cscā sconā prpā cgenā ifitā B 88.1 91.8 92.7 91.1 87.8 M 92.5 92.9 95.7 91.7 94.2 Ī +4.4ā+4.4^* +1.1+1.1 +2.9ā+2.9^* +0.6+0.6 +6.5ā+6.5^* (b) Image layer (per-sequence) cappā slayā prpiā sfqā B 64.0 84.3 62.3 93.0 M 67.7 83.1 65.7 94.0 Ī +3.7+3.7 ā1.2-1.2 +3.3+3.3 +1.0+1.0 Offline metrics: what moves and what does not. Table 6 shows how the offline suite separates targeted repair from global drift. Against the human director the paired shifts sit in the third decimal and the divergences stay at zero, since injection edits entity-state phrases without touching the cinematography fields, while the reference-free layer moves in the expected direction on every axis; we return to this contrast in Section 5.4, where the two-thirds targeted drop quantifies it. The offline image embeddings show the same attenuation, all six scores flat at this sample size, consistent with generation noise dominating. Table 6. Offline text-layer metrics over 408 model-episodes, reference-based (top) and reference-free (bottom): s1 baseline, s2 memory, Ī=s2ās1 =s2-s1 (ā Holm-corrected p<0.05p<0.05); ā /ā is the improvement direction. js pools the three divergences, bit-identical across conditions; NLI runs on beyond-the-wall (n=192n=192). sm-f1ā bs-f1ā sz-accā kĻā jsā s1 0.4755 0.6379 0.318 0.446 fixed s2 0.4731 0.6367 0.313 0.412 fixed Ī ā0.002ā-0.002^* ā0.001ā-0.001^* ā0.005-0.005 ā0.034ā-0.034^* 0.0000.000 eodā acos-mā acos-nā nli-crā nli-mpā s1 11.06 0.4860 0.148 0.668 0.656 s2 11.06 0.4908 0.148 0.660 0.649 Ī 0.0000.000 +0.005ā+0.005^* 0.0000.000 ā0.009ā-0.009^* ā0.007ā-0.007^* 5.3. Online Deployment Evidence for Memory Effectiveness Beyond the offline suite, we report a live online run of SEAM as the mandatory memory-optimization stage of SEAM-Agent in CreativeFittingās production system, over a freshly produced short-drama of four consecutive episodes (201 shots), whose deployment architecture is detailed in Appendix B. Human annotators decide acceptance under a human-specified four-state standard, a proxy for director acceptance. As summarized in Table 7, SEAM reached an overall director-acceptance rate of 96.5%96.5\% at a zero unsafe-injection error rate, counting an injection unsafe if it contradicts the shot it edits or overwrites the directorās stated intent. The residual misses share one failure mode: a persistent state is tracked correctly in some shots of a run but not all, so the injection is incomplete rather than wrong. To bound how much of the rate the memory explains, we compute a pessimistic counterfactual: reclassifying every accepted shot whose repair drew on a prior episode as a miss drops acceptance to 74.6%74.6\%, a lower bound of Ī=21.9 =21.9 p on the contribution of cross-episode memory. It is conservative: it discards such a shot outright instead of crediting the episode-local continuity it would still have received. The mechanism is restrained: it injects into only 27.4%27.4\% of shots, with minimal fragments (median ratio 27.6%27.6\%) and non-injected shots unchanged to the byte, so memory adds continuity without rewriting intent, corroborating Q1 in production. These storyboards carry commercially released work: titles from this pipeline reach viewers on Reel.AI, where Lost Before I Found You has topped the DataEye overseas micro-drama heat ranking by a wide margin over the live-action titles that otherwise dominate it. Chart position is no controlled measurement and we claim no causal credit, but it does place the 96.5%96.5\% on production work, not on a pilot. Table 7. Online memory-effectiveness over the four deployed episodes. The counterfactual row is a conservative lower bound: every cross-episode-dependent repair reclassified as a miss. Metric Value Shots evaluated 201 Director-acceptance rateā 96.5% w/o cross-episode memory (lower bound)ā 74.6% memory attribution (Ī )ā +21.9+21.9 p Selective memory-injection rate 27.4% Injection edit locality (median) 27.6% Unsafe-injection error rateā 0.0% 5.4. Further Analysis Targeted repair versus global dilution. As shown in Figure 7, which puts the two measurement scopes on a common relative scale, the contradiction rate and probability improve by 64.9%64.9\% and 57.7%57.7\% at the flagged sites, whereas every episode-level metric moves by at most 1.3%1.3\%. The ratio indicates a sparse effect, not a weak one: the filter flags roughly one shot in ten, so an episode-level average spreads a near-total repair over an order of magnitude more unaffected shots, which is why we measure continuity at flagged sites and why Table 6 stays flat. Nor is the drop carried by a favorable subset: Figure 6 resolves Table 3 into all 18 dramaābackbone cells, and the mean probability falls in every one, from 0.250.25ā0.390.39 to 0.050.05ā0.200.20, so the repair floor is set by the memory graph, not the authoring model. Failure modes and limitations. We report the failures directly. (i) Not every judged defect is repaired: 37 judged versus 35 modified for Q1, and 44ā7%7\% of flagged shots stay above threshold, which Figure 5 makes visible as the mass above the diagonal. (i) Image-layer transfer, as Table 5b reports, is directional but not significant at n=30n=30, so Q3 rests on the weakest evidence of the three. (i) Kendallās Ļ drops under injection (0.4460.446 to 0.4120.412, p<0.05p<0.05), a reordering side effect the rewrite guard does not constrain. (iv) Camera-angle accuracy stays near 0.200.20 in both conditions, so the shot-grammar gap remains open. Two limits further bound the evidence: one judge family supplies both the recall labels and the blind scores, mitigated but not removed by the offline suite; and the fallback modes of Section 4.2 are unevaluated. 6. Conclusion We presented SEAM, a training-free, model-agnostic memory graph that repairs cross-shot and cross-episode continuity in prompt text. It lifts continuity recall from 0.7000.700 to 0.9460.946, stays positive across six text models (0.7310.731ā0.9920.992), and transfers directionally to images. SEAM-Bench is released, and SEAM runs as a mandatory SEAM-Agent stage in production. Future work targets video-layer evaluation. References Akdemir et al. (2025) K. Akdemir, T. Kazimi, and P. Yanardag Audit & repair: an agentic framework for consistent story visualization in text-to-image diffusion models. External Links: 2506.18900v1 Cited by: §2.2. Arora et al. (2026) A. Arora, A. Gupta, P. Rodriguez, and M. Rohrbach ReCap: lightweight referential grounding for coherent story visualization. External Links: 2604.18575v1 Cited by: §1, §2.2. Avrahami et al. (2024) O. Avrahami, A. Hertz, Y. Vinker, M. Arar, S. Fruchter, O. Fried, D. Cohen-Or, and D. Lischinski The chosen one: consistent characters in text-to-image diffusion models. In ACM SIGGRAPH 2024 Conference Papers, SIGGRAPH ā24, New York, NY, USA. External Links: ISBN 9798400705250, Document, Link Cited by: §2.2. Chen et al. (2025) C. Chen, M. Guan, X. Lin, J. Li, L. Lin, Q. Wang, X. Chen, J. Luo, C. Sun, D. Zhang, and X. Li TeleMem: building long-term and multimodal memory for agentic ai. External Links: 2601.06037v4 Cited by: §1, §2.2. Courant et al. (2025) R. Courant, N. Dufour, X. Wang, M. Christie, and V. Kalogeiton E.T. the exceptional trajectories: text-to-camera-trajectory generation with character awareness. In Computer Vision ā ECCV 2024, Lecture Notes in Computer Science, Vol. 15062, Cham, Switzerland, p. 464ā480. External Links: Document, Link Cited by: §5.1. Fu et al. (2023) S. Fu, N. Tamir, S. Sundaram, L. Chai, R. Zhang, T. Dekel, and P. Isola DreamSim: learning new dimensions of human visual similarity using synthetic data. In Advances in Neural Information Processing Systems (NeurIPS), Vol. 36, Red Hook, NY, USA. External Links: Document, Link Cited by: Appendix A, §5.1. Gong et al. (2023) Y. Gong, Y. Pang, X. Cun, M. Xia, Y. He, H. Chen, L. Wang, Y. Zhang, X. Wang, Y. Shan, and Y. Yang Interactive story visualization with multiple characters. In SIGGRAPH Asia 2023 Conference Papers, SA ā23, New York, NY, USA. External Links: ISBN 9798400703157, Document, Link Cited by: §2.2. Guinaudeau and Strube (2013) C. Guinaudeau and M. Strube Graph-based local coherence modeling. In Proceedings of ACL, Sofia, Bulgaria, p. 93ā103. External Links: Link Cited by: Appendix A, §2.2, §5.1. Han et al. (2024) S. Han, L. Chen, L. Lin, Z. Xu, and K. Yu IBSEN: director-actor agent collaboration for controllable and interactive drama script generation. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Bangkok, Thailand, p. 1607ā1619. External Links: Document, Link Cited by: §2.1. He et al. (2024) L. He, Y. Song, H. Huang, P. Liu, Y. Tang, D. Aliaga, and X. Zhou Kubrick: multimodal agent collaborations for synthetic video generation. External Links: 2408.10453v2 Cited by: §1, §2.1. Holm (1979) S. Holm A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics 6 (2), p. 65ā70. External Links: Link Cited by: Appendix A, §5.1. Huang et al. (2025) Y. Huang, S. Zhang, and X. Xiao KET-rag: a cost-efficient multi-granular indexing framework for graph-rag. External Links: 2502.09304v2 Cited by: §1, §2.2. Huang et al. (2024) Z. Huang, Y. He, J. Yu, F. Zhang, C. Si, Y. Jiang, Y. Zhang, T. Wu, Q. Jin, N. Chanpaisit, Y. Wang, X. Chen, L. Wang, D. Lin, Y. Qiao, and Z. Liu VBench: comprehensive benchmark suite for video generative models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, p. 21807ā21818. External Links: Link Cited by: §2.1, §5.1. Jain et al. (2025) C. Jain, R. Sharma, A. Garg, I. Bhanuka, P. Narang, and D. Kumar Lights, camera, consistency: a multistage pipeline for character-stable ai video stories. External Links: 2512.16954v1 Cited by: §1, §2.2. Ji et al. (2025) S. Ji, X. Chen, S. Yang, X. Tao, P. Wan, and H. Zhao MemFlow: flowing adaptive memory for consistent and efficient long video narratives. External Links: 2512.14699v1 Cited by: §1, §2.2. Kara et al. (2025) O. Kara, K. K. Singh, F. Liu, D. Ceylan, J. M. Rehg, and T. Hinz ShotAdapter: text-to-multi-shot video generation with diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, p. 28405ā28415. External Links: Link Cited by: §2.2. Laban et al. (2022) P. Laban, T. Schnabel, P. N. Bennett, and M. A. Hearst SummaC: re-visiting NLI-based models for inconsistency detection in summarization. Transactions of the Association for Computational Linguistics 10, p. 163ā177. External Links: Document, Link Cited by: Appendix A, §2.2, §5.1. Lai et al. (2026) Y. Lai, T. Shao, W. Dou, S. Zhu, and J. Wang GroundShot: visually consistent multi-shot long video generation via entity-grounded shot scheduling. External Links: 2606.20799v3 Cited by: §2.2. Laurer et al. (2024) M. Laurer, W. van Atteveldt, A. Casas, and K. Welbers Less annotating, more classifying: addressing the data scarcity issue of supervised machine learning with deep transfer learning and BERT-NLI. Political Analysis 32 (1), p. 84ā100. External Links: Document, Link Cited by: Appendix A, §5.1. Li et al. (2026) B. Li, Z. Sun, J. Bian, Y. Wu, Y. Wang, H. Li, Y. Bian, H. Mo, and D. Dong StoryBlender: inter-shot consistent and editable 3d storyboard with spatial-temporal dynamics. External Links: 2604.03315v1 Cited by: §1, §2.2. Li et al. (2025) Y. Li, H. Xu, and F. Tian From shots to stories: LLM-assisted video editing with unified language representations. External Links: 2505.12237v1 Cited by: §2.1, §5.1. Luo et al. (2025) X. Luo, Q. Li, X. Liu, W. Qin, M. Yang, M. Wang, P. Wan, D. Zhang, K. Gai, and S. Huang FilmWeaver: weaving consistent multi-shot videos with cache-guided autoregressive diffusion. External Links: 2512.11274v1 Cited by: §2.2. Luo (2005) X. Luo On coreference resolution performance metrics. In Proceedings of HLT/EMNLP, Vancouver, British Columbia, Canada, p. 25ā32. Cited by: Appendix A, §5.1. Meng et al. (2025) Y. Meng, H. Ouyang, Y. Yu, Q. Wang, W. Wang, K. L. Cheng, H. Wang, Y. Li, C. Chen, Y. Zeng, Y. Shen, and H. Qu HoloCine: holistic generation of cinematic multi-shot long video narratives. External Links: 2510.20822v1 Cited by: §1, §2.2. Oquab et al. (2024) M. Oquab, T. Darcet, T. Moutakanni, H. Vo, M. Szafraniec, V. Khalidov, P. Fernandez, D. Haziza, F. Massa, A. El-Nouby, M. Assran, N. Ballas, W. Galuba, R. Howes, P. Huang, S. Li, I. Misra, M. Rabbat, V. Sharma, G. Synnaeve, H. Xu, H. JĆ©gou, J. Mairal, P. Labatut, A. Joulin, and P. Bojanowski DINOv2: learning robust visual features without supervision. Transactions on Machine Learning Research. External Links: ISSN 2835-8856, Link Cited by: §5.1. Pink et al. (2025) M. Pink, Q. Wu, V. A. Vo, J. Turek, J. Mu, A. Huth, and M. Toneva Position: episodic memory is the missing piece for long-term llm agents. External Links: 2502.06975v1 Cited by: §2.2. Radford et al. (2021) A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger, and I. Sutskever Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 139, Virtual Event, p. 8748ā8763. External Links: Link Cited by: §5.1. Reimers and Gurevych (2019) N. Reimers and I. Gurevych Sentence-BERT: sentence embeddings using siamese BERT-networks. In Proceedings of EMNLP-IJCNLP, Hong Kong, China, p. 3982ā3992. External Links: Document, Link Cited by: §5.1. Robertson and Zaragoza (2009) S. Robertson and H. Zaragoza The probabilistic relevance framework: bm25 and beyond. Foundations and Trends in Information Retrieval 3 (4), p. 333ā389. External Links: Document, Link Cited by: §4.2.2. Ruiz et al. (2023) N. Ruiz, Y. Li, V. Jampani, Y. Pritch, M. Rubinstein, and K. Aberman DreamBooth: fine tuning text-to-image diffusion models for subject-driven generation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, p. 22500ā22510. External Links: Link Cited by: §5.1. Sarin et al. (2025) S. Sarin, L. Singh, B. Sarmah, and D. Mehta Memoria: a scalable agentic memory framework for personalized conversational ai. External Links: 2512.12686v1 Cited by: §2.2. Schuhmann et al. (2022) C. Schuhmann, R. Beaumont, R. Vencu, C. Gordon, R. Wightman, M. Cherti, T. Coombes, A. Katta, C. Mullis, M. Wortsman, P. Schramowski, S. Kundurthy, K. Crowson, L. Schmidt, R. Kaczmarczyk, and J. Jitsev LAION-5B: an open large-scale dataset for training next generation image-text models. In Advances in Neural Information Processing Systems, Vol. 35, New Orleans, LA, USA. External Links: Document, Link Cited by: Appendix A, §5.1. Shi et al. (2026) Y. Shi, W. Yan, N. Huang, Y. Chen, C. Zhang, T. He, S. Y. Yeo, and M. Li One sentence, one drama: personalized short-form drama generation via multi-agent systems. External Links: 2605.22144v1 Cited by: §2.1. Song et al. (2025) K. Song, T. Hou, Z. He, H. Ma, J. Wang, A. Sinha, S. Tsai, Y. Luo, X. Dai, L. Chen, X. Xia, P. Zhang, P. Vajda, A. Elgammal, and F. Juefei-Xu Llama learns to direct: DirectorLLM for human-centric video generation. In Proceedings of the 36th British Machine Vision Conference (BMVC), Sheffield, UK. External Links: Link Cited by: §1, §2.1, §5.1. Tang et al. (2024) J. Tang, Q. Jia, Y. Xie, Z. Gong, X. Wen, J. Zhang, Y. Guo, G. Chen, and J. Yang SkyScript-100m: 1,000,000,000 pairs of scripts and shooting scripts for short drama. External Links: 2408.09333v2 Cited by: §2.1. Tewel et al. (2024) Y. Tewel, O. Kaduri, R. Gal, Y. Kasten, L. Wolf, G. Chechik, and Y. Atzmon Training-free consistent text-to-image generation. ACM Transactions on Graphics 43 (4). External Links: Document, Link Cited by: §2.1, §5.1. Wang et al. (2025) Z. Wang, C. Tang, and Y. Tai ReelWave: multi-agentic movie sound generation through multimodal llm conversation. External Links: 2503.07217v3 Cited by: §2.1. Wilcoxon (1945) F. Wilcoxon Individual comparisons by ranking methods. Biometrics Bulletin 1 (6), p. 80ā83. External Links: Document, Link Cited by: Appendix A, §5.1. Wu et al. (2025) W. Wu, Z. Zhu, and M. Z. Shou Automated movie generation via multi-agent cot planning. External Links: 2503.07314v1 Cited by: §1, §2.1, §5.1. Xie et al. (2026) T. Xie, Z. Huang, M. Wang, X. Huang, J. Zhou, M. Gong, and Z. Yi CineAGI: character-consistent movie creation through llm-orchestrated multi-modal generation and cross-scene integration. External Links: 2604.23579v1 Cited by: §1, §2.1. Yang et al. (2024) S. Yang, Y. Ge, Y. Li, Y. Chen, Y. Ge, Y. Shan, and Y. Chen SEED-story: multimodal long story generation with large language model. External Links: 2407.08683v2 Cited by: §2.2. Zhang et al. (2025a) K. Zhang, X. Zhang, E. Ahmed, H. Jiang, C. Kumar, K. Sun, Z. Lin, S. Sharma, S. Oraby, A. Colak, A. Aly, A. Kumar, X. Liu, and X. L. Dong AssoMem: scalable memory qa with multi-signal associative retrieval. External Links: 2510.10397v1 Cited by: §1, §2.2. Zhang et al. (2025b) P. Zhang, Z. Jia, K. Liu, S. Weng, S. Li, and B. Shi STAGE: storyboard-anchored generation for cinematic multi-shot narrative. External Links: 2512.12372v2 Cited by: §1, §2.2. Zhang et al. (2020) T. Zhang, V. Kishore, F. Wu, K. Q. Weinberger, and Y. Artzi BERTScore: evaluating text generation with BERT. In International Conference on Learning Representations (ICLR), Addis Ababa, Ethiopia. External Links: Link Cited by: §5.1. Zhang et al. (2024) Z. Zhang, X. Bo, C. Ma, R. Li, X. Chen, Q. Dai, J. Zhu, Z. Dong, and J. Wen A survey on the memory mechanism of large language model based agents. External Links: 2404.13501v1 Cited by: §2.2. Zheng et al. (2025) M. Zheng, D. Song, G. Zhou, J. You, J. Zhan, X. Ma, X. Song, S. Lim, Q. Chen, and H. Yang CML-Bench: a framework for evaluating and enhancing LLM-powered movie scripts generation. External Links: 2510.06231v1 Cited by: Appendix A, §2.1, §5.1. Zhou et al. (2026a) H. Zhou, S. Liu, J. Chen, X. Zou, L. Xia, and L. Nie DramaDirector: geometry-guided short drama generation. External Links: 2606.24107v2 Cited by: §2.1. Zhou et al. (2026b) J. Zhou, Y. Du, X. Xu, L. Wang, Z. Zhuang, Y. Zhang, S. Li, X. Hu, B. Su, and Y. Chen VideoMemory: toward consistent video generation via memory integration. External Links: 2601.03655v1 Cited by: §5.1. Zhuang et al. (2026) C. Zhuang, A. Huang, Y. Hu, J. Wu, W. Cheng, J. Liao, H. Wang, X. Liao, W. Cai, H. Xu, X. Zhang, X. Zeng, Z. Huang, G. Yu, and C. Zhang ViStoryBench: comprehensive benchmark suite for story visualization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Denver, CO, USA, p. 9455ā9466. External Links: Link Cited by: §2.1, §5.1. Appendix A Metric Definitions This appendix gives the full definition, formula, and computation of every metric used in Section 5. Table 8 is the master abbreviation list; the abbreviations are used throughout the experiment tables. Unless stated otherwise, all embedding-based metrics use the multilingual sentence encoder paraphrase-multilingual-MiniLM-L12-v2 with L2L_2-normalized outputs, so that a dot product equals a cosine similarity. This encoder is chosen because AI prompts are in English while human-director descriptions are in Chinese, requiring cross-lingual alignment. Every metric runs on CPU. Table 8. Master list of metric abbreviations. āDir.ā is the improvement direction: ā higher is better, ā lower is better. Abbr. Full name Dir. Alignment layer (reference-based) sm-p Soft-Match Precision ā sm-r Soft-Match Recall ā sm-f1 Soft-Match F1 ā bs-f1 BERTScore F1 ā kĻ Kendallās Ļ (ordering) ā Field layer (reference-based) sz-acc Shot-size Accuracy ā sz-f1 Shot-size macro-F1 ā an-acc Camera-angle Accuracy ā an-f1 Camera-angle macro-F1 ā mv-jac Movement Jaccard (multi-label) ā Distribution layer (reference-based) sz-js Shot-size distribution JS div. ā an-js Camera-angle distribution JS div. ā mv-js Movement distribution JS div. ā Reference-free layer eod Entity Out-Degree ā acos-m Adjacent Cosine (mean) ā acos-n Adjacent Cosine (min) ā nli-cr NLI Contradiction Rate ā nli-mp NLI Mean max contradiction Prob. ā Targeted probe (state-conditioned) tc-p Targeted Contradiction Prob. ā tc-r Targeted Contradiction Rate ā Image layer cref CharacterāReference DINOv2 sim. ā cself Character self-consistency (DreamSim dist.) ā sref SceneāReference DINOv2 sim. ā sself Scene self-consistency DINOv2 sim. ā clip-t CLIP-T prompt fidelity ā aes LAION Aesthetic score ā Double-blind judge, prompt layer csc Character-State Continuity ā scon Scene Consistency ā prp Prop Continuity ā cgen Composition Generability ā ifit Intent Fit ā Double-blind judge, image layer capp Character Appearance ā slay Scene Layout ā prpi Prop Continuity (image) ā sfq Single-Frame Quality ā Continuity recall (LLM-judged) rec Continuity Recall ā Table 9. Multi-dimensional definition of shot state (d=8d=8 dimensions), referenced from Section 4.2.1. Dimension Meaning scene physical scene / location atmosphere lighting, color tone, mood characters on-screen characters character states per-character emotion and posture spatial spatial relations / blocking of characters, objects props key props and possession relations actions in-shot actions / events camera style shot size / angle / movement Continuity recall (rec). The core continuity metric. For an entity e and a shot pair i<ji<j in which e is active in both, a continuity defect Ī“ā”(e,i,j)=1Ī“(e,i,j)=1 is recorded when Ļiā(e) _i(e) contradicts Ļjā(e) _j(e) without narrative motivation (Section 3). The LLM judge labels which defects need repair and which repairs succeed, giving Eq. (3): rec=#ādefects successfully repaired#ādefects judged in need of repairā[0,1]. rec= \#\defects successfully repaired\\#\defects judged in need of repair\ā[0,1]. Alignment layer (reference-based). AI and human-director storyboards segment the same script at different granularities, so we soft-align them before any field comparison. The per-shot visual descriptions of both sides are encoded and form a cosine similarity matrix simāāNAIĆMhumansim ^N_AIĆ M_human; a Hungarian assignment on āsim-sim yields the optimal one-to-one matching, and pairs with similarity below Ļmin=0.3 _ =0.3 are discarded (CEAF-style (23)). Soft-match P/R/F1 (sm-p/r/f1). Let Φā ^* be the total similarity mass of the retained matched pairs, NAIN_AI the AI shot count, and MhumanM_human the human-director shot count. Then (9) sm-p=ΦāNAI,sm-r=ΦāMhuman,sm-f1=2āsm-pā sm-rsm-p+sm-r. sm-p= ^*N_AI, sm-r= ^*M_human, sm-f1= 2\, sm-pĀ· sm-r sm-p+ sm-r. These measure how well the AI storyboard matches the directorās in both semantics and shot count. BERTScore F1 (bs-f1). For every matched description pair we compute a token-level BERTScore with the multilingual bert-base-multilingual-cased checkpoint and report the mean F1F_1 over pairs. It captures matched-pair description quality at a finer granularity than the sentence-level cosine. Kendallās Ļ (kĻ). Sorting matched pairs by their AI-side index and reading off the reference-side indices gives a permutation; with C concordant and D discordant pairs over n matched shots, kĻ=CāDnā”(nā1)/2ā[ā1,1], k$Ļ$= C-Dn(n-1)/2ā[-1,1], measuring how well the AI shot ordering preserves the directorās ordering. Field layer (reference-based). On the matched pairs we compare three cinematography fields, each normalized by a regex rule table into a closed label set: shot size (7 classes), camera angle (9 classes), and camera movement (12 classes, multi-label). Unmatched raw values map to unknown and each field additionally reports its coverage (comparable pairs / matched pairs). Accuracy and macro-F1 (sz/an-acc, sz/an-f1). For the single-label size and angle fields, accuracy is the fraction of matched pairs with pred=goldpred=gold, and macro-F1 is the unweighted mean of per-class F1F_1 over classes appearing in gold or pred. Movement Jaccard (mv-jac). Movement is multi-label; for each matched pair with label sets A (pred) and B (gold), mv-jac=1|ā³|āā(A,B)āā³|Aā©B||AāŖB|ā[0,1]. mv-jac= 1|M| _(A,B) |Aā© B||AāŖ B|ā[0,1]. Distribution layer (reference-based, alignment-free). This layer compares label distributions without any shot alignment, sidestepping shot-count mismatch. For each field, per-episode label histograms P (AI) and Q (director) are built over the closed label space with ε=10ā6 =10^-6 smoothing and normalized (multi-label movement is expanded per label). With M=12ā(P+Q)M= 12(P+Q) and base-2 logarithms, js=12DKL(Pā„M)+12DKL(Qā„M)ā[0,1], js= 12D_KL(P\|M)+ 12D_KL(Q\|M)ā[0,1], computed as sz-js, an-js, mv-js. Lower means the AI camera-language distribution is closer to the professional directorās. Reference-free layer. These metrics need no human reference and are computed on a single storyboard. Entity out-degree (eod). Characters and props are CSV columns, so no NER is needed. The shotāentity bipartite graph is projected onto a shot graph; for every pair i<ji<j the edge weight is the number of shared entities. With n shots, eod=1nāāi<j|entā”(i)ā©entā”(j)|, eod= 1n _i<j |ent(i) (j) |, measuring cross-shot entity carry-over (8). Adjacent cosine (acos-m, acos-n). With iv_i the encoded description of shot i, we report the mean and min of adjacent similarities iā i+1v_i\!Ā·\!v_i+1, measuring local coherence (46). NLI contradiction (nli-cr, nli-mp). Using the multilingual NLI model mDeBERTa-v3-base-xnliā¦-2mil7 (19), each shot hih_i is scored against its previous k=3k=3 shots as premises, and the shot-level contradiction score is the maximum: (10) ci=maxiākā¤j<iā”PNLIā(contradictionā£hi,hj).c_i= _\,i-k⤠j<i\;P_NLI(contradiction h_i,h_j). We then report nli-mp, the episode mean of cic_i, and nli-cr, the fraction of shots with ciā„0.5c_iā„ 0.5 (SummaC-style (17)). Targeted state-conditioned contradiction probe. The targeted probe measures repair only at the sparse sites the selective filter flags. For each flagged modification we take the graph-expected entity state as the NLI premise and score the shot description as hypothesis, before and after injection. Over the flagged set we report tc-p =mean of āPNLIā(contradictionā£expected state,d), =mean of P_NLI(contradiction state,d), tc-r =fraction of flagged shots with āPNLIā„0.5, =fraction of flagged shots with P_NLIā„ 0.5, for dābefore,afterdā\before,after\. Repair is effective when the after value drops well below the before value. Figure 5 plots all 2,946 shot-level before/after pairs behind Table 3. Scatter plot of before-injection versus after-injection contradiction probability for every repair-flagged shot, with most points falling below the diagonal and a dense band along the horizontal axis. Figure 5. Targeted state-conditioned contradiction probability before vs. after memory injection for all 2,946 repair-flagged shots (three dramas Ć six backbones, one point per shot). Points below the y=xy=x diagonal are repaired; the mass collapsing onto the x-axis corresponds to the two-thirds contradiction drop of Table 3, and the sparse above-diagonal points are the residual failures discussed in Section 5.4.Scatter plot of before-injection versus after-injection contradiction probability for every repair-flagged shot, with most points falling below the diagonal and a dense band along the horizontal axis. Figure 6. Mean targeted contradiction probability per dramaābackbone cell, before (top) and after (bottom) memory injection. All 18 cells improve, from a 0.250.25ā0.390.39 band down to 0.050.05ā0.200.20 (Section 5.4).Two heatmaps of mean contradiction probability over three dramas by six backbones, before and after memory injection. Horizontal bar chart contrasting large relative improvements on the two targeted metrics against near-zero shifts on six episode-level metrics. Figure 7. Relative improvement at flagged sites versus at the episode level. The two targeted metrics gain 57.7%57.7\% and 64.9%64.9\%; every global metric moves by at most 1.3%1.3\%, the dilution effect of Section 5.4.Horizontal bar chart contrasting large relative improvements on the two targeted metrics against near-zero shifts on six episode-level metrics. Dumbbell chart with one row per judged dimension, each row joining the baseline score to the memory score; prompt-layer rows show wide gaps and image-layer rows show narrow ones. Figure 8. Double-blind judge scores by dimension (data of Table 5): baseline (gray) vs. memory (blue), pooled over six backbones; ā Holm-corrected p<0.05p<0.05. The prompt layer shows large, significant gains on the dimensions injection edits, while image-layer deltas point the same way but are attenuated by the stochastic text-to-image stage (Q3).Dumbbell chart with one row per judged dimension, each row joining the baseline score to the memory score; prompt-layer rows show wide gaps and image-layer rows show narrow ones. Image layer. Keyframes are scored with open vision checkpoints on CPU, with a sha1 feature cache. Face crops use MediaPipe BlazeFace (confidence 0.50.5, box expanded 30%30\%) with a full-image fallback when no face is found (detection rate 0.480.48). Metrics are computed only on shots that both conditions generated successfully, so safety-filter refusals never bias the pairing. DINOv2 similarities (cref, sref, sself). With DINOv2 (facebook/dinov2-base) CLS embeddings, L2L_2-normalized: cref is the mean cosine between a generated face crop and the character reference faces; sref the mean full-image cosine between a generated frame and its scene reference; sself the mean full-image cosine between generated frames sharing a scene. All in [ā1,1][-1,1], higher is better. Character self-consistency (cself). For frames sharing a character, we average the DreamSim distance (6) (dino_vitb16, distance =1ācos=1- ). Lower means a more stable cross-shot appearance. CLIP-T (clip-t). Mean cosine between the CLIP (clip-vit-base-patch32) image embedding and the text embedding of the visual-description part of the keyframe prompt, measuring imageāprompt fidelity. Aesthetic (aes). The LAION improved-aesthetic linear head (32) on a CLIP ViT-L/14 embedding, yielding a 11ā1010 single-frame quality score. Statistics. All baseline-vs-memory contrasts are paired at the episode level. We use the Wilcoxon signed-rank test (38) on the differences diff=memoryābaselinediff=memory-baseline (fewer than six nonzero pairs yields no p-value); the matched-pairs rank-biserial effect size is r=(W+āWā)/(W++Wā)r=(W_+-W_-)/(W_++W_-); and p-values are Holm-corrected within each metric family at α=0.05α=0.05 (11) ( ā marks corrected p<0.05p<0.05). Appendix B Online Deployment Architecture Figure 9. Online deployment of SEAM as the memory-optimization stage of the SEAM-Agent storyboarding pipeline in CreativeFittingās production system. A script flows through the Director, Cinematographer, and SEAM Memory Optimizer agents to the Formatter/Loader and on to downstream rendering. Solid arrows are system data flow; the bidirectional arrows are asset query and write-back against the shared repository; dashed arrows are the feedback from directors and editors that keeps a human in the loop; the highlighted block is the core SEAM-Agent pipeline.Architecture diagram of the production system: a script flows through the Director, Cinematographer, and SEAM Memory Optimizer agents to the Formatter/Loader and downstream rendering, with side connections to a shared asset repository, a storyboard repository that carries director feedback back into the pipeline, and a telemetry system. This appendix details the production pipeline behind the online run of Section 5.3. In CreativeFittingās system, SEAM is not a standalone tool but the memory-optimization stage of SEAM-Agent, a multi-agent storyboarding pipeline that turns a raw episode script into a rendering-ready shotlist. Figure 9 shows the full data flow. A script enters the pipeline and passes through three agents in sequence. The Director Agent decomposes the script into shots and fixes pacing and narrative intent; the Cinematographer Agent assigns shot size, camera angle, and movement, and resolves each shotās entities against the shared Asset Repository: it queries asset IDs and fills back the matched ones, while unmatched items remain text-only and are never forced onto a wrong asset. The SEAM Memory Optimizer is where SEAM runs as a mandatory stage: it extracts the multi-dimensional shot state, retrieves causally prior context from the memory graph, filters it selectively, and rewrites the affected visual descriptions, so continuity is repaired before the shotlist ever reaches a renderer. Finally the Formatter/Loader serializes the enriched shotlist for Downstream Rendering. Two loops close the system around the directors who own the creative intent. The repaired storyboard is written back to the VFS Storyboard Repository, from which a director or editor may issue manual re-edit feedback; this path keeps a human in the loop, letting them override any stage without leaving the pipeline. Separately, the Formatter/Loader reports runtime events to a Telemetry System that tracks production scale, repair rate, and reliability. The acceptance figures of Section 5.3 are read directly from the annotated shotlists rather than from this channel, so they reflect the human decisions themselves and not aggregated monitoring counters (Table 7).