Papers
Topics
Authors
Recent
Search
2000 character limit reached

StoryMem Framework: Modeling Narrative Memory

Updated 5 January 2026
  • StoryMem Framework is a formal and computational model that tracks and updates narrative memory using logical structures and incremental mechanisms.
  • It employs queryable update functions to align a Reader’s evolving memory with a Narrator’s intended story state in real time.
  • The framework introduces set-difference accuracy and entropy-based coherence metrics to quantify and monitor narrative consistency across multimedia and dialogue applications.

The StoryMem Framework refers to a class of formal and computational models for tracking, updating, and evaluating memory and coherence in narrative understanding and generation. Originating as a logical-cognitive architecture for story comprehension in (Castricato et al., 2021), the StoryMem paradigm has influenced recent developments in multimedia storytelling, conversational memory management, and evaluation protocols for narrative systems (Zhang et al., 22 Dec 2025, Chen et al., 15 Sep 2025). It involves precise representations of a recipient’s (Reader’s) evolving memory of a narrative, incremental update mechanisms as new discourse is ingested, and explicit metrics for measuring alignment and coherence between intended (Narrator) and reconstructed (Reader) stories.

1. Core Objects and Formal Notation

The foundational StoryMem formalism uses model-theoretic structures in a logical language L\mathcal{L} to specify the evolving memory states of two agents:

  • Narrator (NN): Holds the true state of the story-world at each time tt, encoded in a model SN(t)S_N(t) with its associated theory S~N(t)\tilde S_N(t).
  • Reader (RR): Maintains a current story-world model SR(t)S_R(t) and theory S~R(t)\tilde S_R(t), representing explicit beliefs at time tt.

The fabula for each agent collects the narrative propositions being managed: FN(t)S~N(t)F_N(t) \subseteq \tilde S_N(t) for the Narrator and NN0 for the Reader. As the narrative unfolds, units of new information NN1 are communicated. The Reader’s memory is best represented not as a single world-model, but as a plausible set NN2.

Uncertainty is quantified via a filter NN3 over NN4; in some cases, this can be further constrained to a weak ultrafilter NN5, yielding a structured view of Reader plausibility (Castricato et al., 2021).

2. Incremental Update Function and Querying

StoryMem posits an incremental, queryable procedure for memory evolution. At each time NN6:

NN7

with composition: NN8 The operator NN9 formalizes fabula updates, while tt0 generates a (possibly aggregated) single model if needed.

To answer queries ("Does proposition tt1 hold?"), a probability is computed across sampled plausible worlds tt2. The verdict is returned as "Yes" if tt3, "No" if tt4, or "Undecided" otherwise (Castricato et al., 2021).

3. Information-Conveyance Accuracy Metrics

StoryMem introduces concrete mechanisms to quantify how closely the Reader’s reconstructed beliefs align with the Narrator’s intentions. The set-difference accuracy at time tt5 is: tt6 where tt7 denotes the symmetric difference.

When probabilistic world-samples are available, KL-divergence is also used:

tt8

These metrics enable real-time monitoring of the story-processing fidelity and guide adaptive clarification or inference-repair steps when accuracy drops (Castricato et al., 2021).

4. Entropy-Based Coherence Evaluation

Two novel entropy-derived coherence metrics, Entropy of World Coherence (EWC) and Entropy of Transitional Coherence (ETC), provide fine-grained insight into memory consistency and transition:

  • EWC:

    • Given a sampled world-set tt9 and proposition set SN(t)S_N(t)0, define:

    SN(t)S_N(t)1

    The EWC score is then

    SN(t)S_N(t)2

    High EWC (close to 1) indicates reader memory worlds generally agree for queries in SN(t)S_N(t)3.

  • ETC:

    • Given pre- and post-update samples SN(t)S_N(t)4 and actual worlds SN(t)S_N(t)5 at time SN(t)S_N(t)6, implications SN(t)S_N(t)7, set:

    SN(t)S_N(t)8

    The ETC:

    SN(t)S_N(t)9

    This quantifies how accurately Reader transitions reflect Narrator’s intended updates (Castricato et al., 2021).

5. Unified Coherence-Monitoring and Intervention Architecture

The StoryMem architecture brings together initialization, incremental ingestion, querying, accuracy and coherence monitoring, and adaptive intervention:

  1. Initialization: Set S~N(t)\tilde S_N(t)0, S~N(t)\tilde S_N(t)1 to all models of the empty theory, and a wide plausibility filter.
  2. Ingestion Loop: At each step, receive S~N(t)\tilde S_N(t)2, update via S~N(t)\tilde S_N(t)3, prune or focus S~N(t)\tilde S_N(t)4, and optionally select a single best model via S~N(t)\tilde S_N(t)5.
  3. Memory Querying: Compute S~N(t)\tilde S_N(t)6 for queries, using sampled plausible worlds.
  4. Accuracy and Coherence Monitoring: Regularly compute S~N(t)\tilde S_N(t)7, EWC, and ETC.
  5. Adaptation: Below-threshold accuracy/coherence triggers clarification or inference-repair (e.g., contraction, revision).

This incremental, queryable design supports both cognitive modeling and real-time computational narrative systems (Castricato et al., 2021).

6. Influence on Memory-Driven Dialogue and Video Storytelling

StoryMem’s separation of narrative propositions, memory states, and coherence metrics has shaped related frameworks in long-form media and dialogue. In multi-shot long video generation, StoryMem has inspired architectures that condition each generated shot on a compact, dynamically updated memory bank of semantic keyframes (Zhang et al., 22 Dec 2025). These systems implement explicit memory-to-generation modules—such as latent concatenation, negative rotary positional embedding (RoPE) shifts, and memory sink mechanisms—to ensure prompt adherence and cross-shot consistency, evaluated by custom benchmarks (e.g., ST-Bench) and metrics drawing from StoryMem’s consistency logic.

In ultra-long dialogue scenarios, the MOOM framework adapts a dual-branch “memory plugin” in which separate branches handle hierarchical plot summarization and persona extraction, respectively. MOOM’s architecture invokes memory management and accuracy evaluation logic reminiscent of StoryMem, incorporating bounded memory buffers and explicit forgetting mechanisms to prevent uncontrolled growth and support memory querying and intervention (Chen et al., 15 Sep 2025).

7. Applications and Prospective Research Directions

The StoryMem framework underpins advances in computational narratology, interpretable AI memory systems, and the evaluation of narrative coherence in generated text and multimedia. Applications address:

  • Incremental story understanding and memory alignment in narrative intelligence
  • Coherence and long-range consistency in multi-turn dialogues and long-form video synthesis
  • Real-time monitoring, adaptation, and interactive clarification in memory-driven systems

Future research may extend StoryMem’s formalism to richer world representations, adaptive filtering schemes, and integration with neural memory components for scalable deployment in creative AI and memory-centric assistants.

References:

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to StoryMem Framework.