Agentic LongLive: Asynchronous Agentic Memory for Long Video Generation

arXiv:2611.34907 · cs.CV · Submitted 2026-11-25 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "Agentic LongLive: Asynchronous Agentic Memory for Long Video Generation".

Paper summary: Tom: So we've been talking about how this paper, "Agentic LongLive: Asynchronous Agentic Memory for Long Video Generation," is trying to solve the problem of maintaining consistency in long video sequences.

Jane: The core thesis is that existing real-time autoregressive video generators have trouble keeping things consistent when the story gets extended interactively.

Lu: They introduce an asynchronous agentic memory system where a separate memory agent reads only revealed prompts to maintain a text state and evolving images for every entity, person, object, and scene.

Meng: This memory agent composes a global image G and a per-shot memory image M that an auxiliary GPU prefills into the generator’s attention sink before the subsequent shot begins.

Lalam: And this is managed by a small language model trained with reinforcement learning to determine what information should be remembered prior to receiving the next prompt.

Tom: The system runs asynchronously, meaning memory for shot i is committed before prompt i is revealed, and an auxiliary GPU prefills it into the generator’s KV cache so that the video generation process never waits for memory construction.

Jane: That means no stalls waiting for memory construction, which solves a big problem in real-time systems. They also have this open-loop entity memory that reads only revealed prompts and never the video itself, preventing errors from being written back into the video.

Lu: This two-layer structure has an entity memory layer storing text states and images for entities, and a shot memory image layer which is encoded by a frozen VAE.

Meng: The agent learns optimal memory retention through reinforcement learning using a hindsight reward calibrated with downstream video outcomes to teach it what to remember.

Lalam: They use this system on the LongStory-Online benchmark where Agentic LongLive significantly enhances persistent-state accuracy and protagonist identity by twenty-six point three to forty five points.

Tom: It’s important to note that they achieve this at approximately one percent extra generation time on an H100 while streaming faster than real time on one eight by two hundred node with the generator running in BF16 at thirty-four point three frames per second.

Jane: So what does this mean for us? It means we're looking at a system that can maintain a live story and get much better fidelity over long durations.

Lu: This is the first real-time video generator incorporating text and image memory managed by an LLM agent, which is a significant architectural step forward.

Conclusion: Tom: So, to wrap up on this paper, "Agentic LongLive: Asynchronous Agentic Memory for Long Video Generation," the main point is that they've created a way for video generation to handle long-term consistency without slowing down the process.

Jane: They managed to keep a live story consistent over fourteen minute stories by using an asynchronous agentic memory system that decouples agent latency from generation time.

Lu: The title and authors point to how they've built this open-loop two-layer memory structure which functions as attention sinks for a frozen autoregressive generator.

Meng: It’s about giving the video generator a long term memory without slowing it down by committing memory before the prompt arrives and prefilling it into the KV cache.

Lalam: And they learned what to remember using reinforcement learning, which is how that small language model learns its task effectively.

Tom: The implication is that we can have more persistent narrative video content where identity and visual quality are preserved over very long scenes.

Jane: It suggests a future where these models aren't just making short clips but are capable of handling complex, extended narratives with reliable character tracking and scene continuity.

Shaoteng Liu, Shuai Yang, Wei Huang, Luozhou Wang, Song Han 2, Yukang Chen 1

NVIDIA Institute of Technology MIT Department of Computer Science CUHK

cs.CV

Submitted: 2026-11-25

Updated: 2026-11-25

Comments: 28 pages, 12 figures. Project page: https://nvlabs.github.io/LongLive/Agentic-LongLive/

Code: https://github.com/MiniMax-AI/MiniMax-H3

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 100/100

The gist: Agentic LongLive is an asynchronous agentic memory system engineered for long video generation, specifically designed to overcome the limitations of existing real-time autoregressive (AR) video…

Key concepts

Asynchronous Agentic Memory System
This system uses a dedicated memory agent running on separate GPUs that reads only revealed prompts to build persistent text states and evolving images for every entity. This decoupling ensures the video generation process never stalls waiting for memory construction, allowing it to stream faster than real-time.
Two-Layer Memory Structure
The system has two layers: Layer 1 stores entity memory (text states and images), and Layer 2 stores shot memory images ($ ext{G}$ and $ ext{M}$). Layer 2 is encoded by a frozen VAE and prefills the generator's attention sink, providing a consistent visual foundation for each new shot.
Reinforcement Learning Recipe
A small language model is trained using reinforcement learning with a video-calibrated reward function. This teaches the LLM which information to prioritize remembering before receiving the next prompt, optimizing memory retention based on downstream video quality outcomes.

Terminology

Summary

Agentic LongLive is an asynchronous agentic memory system engineered for long video generation, specifically designed to overcome the limitations of existing real-time autoregressive (AR) video generators that struggle with maintaining consistency across extended interactive narratives. p. 1 The core innovation lies in a memory agent operating on separate GPUs which reads only revealed prompts to maintain a text state and evolving images for every entity, person, object, and scene. p. 0 This memory agent composes a global image (G) and a per-shot memory image (M), which an auxiliary GPU prefills into the generator’s attention sink before the subsequent shot begins. p. 0 A small language model is trained with reinforcement learning to determine what information should be remembered prior to receiving the next prompt. p. 0

The system operates asynchronously: memory for shot i is committed before prompt i is revealed, and an auxiliary GPU prefills it into the generator’s KV cache, ensuring the video generation process never stalls waiting for memory construction (C3). p. 1 The open-loop entity memory reads only revealed prompts, preventing erroneous information from being written back into the video. p. 1 This two-layer memory structure comprises entity memory (Layer 1), which stores text states and images for entities, and shot memory images (Layer 2), which constitute the global image G and per-shot image M. p. 3 Layer 2 is encoded by a frozen VAE and prefilled as sink K/V into the generator. p. 2

The agent learns optimal memory retention through reinforcement learning, utilizing a hindsight reward calibrated with downstream video outcomes. p. 1 Experiments on LongStory-Online demonstrate that Agentic LongLive significantly enhances persistent-state accuracy, protagonist identity, and revisited-place consistency in LongLive-2. p. 00 by 26.3 to 45 points, achieving this at approximately 1% extra generation time on H100 while streaming faster than real time on one 8 times B200 node with the generator in BF16 (34. p. 03 FPS). The system establishes itself as the first real-time video generator incorporating text and image memory managed by an LLM agent. p. 1

Key contributions include:

  • An asynchronous agentic memory system that decouples agent latency from generation time using constant GPU memory and eliminating length limits.

  • An open-loop two-layer memory structure functioning as attention sinks for a frozen AR generator, incorporating entity cards within the prompts for persistent state information.

  • A reinforcement learning recipe with a video-calibrated reward function that teaches a small LLM what to remember, validated on the LongStoryOnline benchmark.

The system employs an LLM agent for scene routing, which selects locations based on revealed prompts and committed memory. p. 2 Entity cards are appended to prompts when entities mentioned in the prompt are found in committed memory, thereby providing persistent state information. p. 2 The full system streams faster than playback due to asynchronous memory management. p. 0 Furthermore, the research validates its utility on robot video models, showing its capability to maintain scene consistency during long-horizon tasks where objects may enter and exit the view. p. 7

The paper concludes that Agentic LongLive successfully preserves identity and imaging quality over 14-minute stories, leading in state accuracy and identity compared to existing methods. p. 1 Ablation studies confirm that the combination of image memory, scene routing, entity cards, and an RL planner yields superior results. p. 4 The agent's ability to select entities is learned via RL using a reward function balancing text judge scores for persistent states with image judge scores for correctly drawn entities. Specifically, the full system improves state accuracy by 13. p. 49 points and identity by 19. p. 03 points over the image-only system, and gains an additional 0. p. 15 state and 1. p. 08 identity points over LongLive-2. p. 10's built-in memory when using the RL planner with entity cards, resulting in a full system advantage of +0.5 state, +1. p. 08 identity, and +3. p. 02 revisit points on LongStory-Hard stories compared to the built-in memory alone with the 35B planner. p. 4 The agent's ability to select members from the entity bank via an 8B planner effectively replaces the 35B planner under RL training conditions in certain scenarios. Moreover, using entity cards improves state by 5. p. 00 and framing points over naive text history because cards carry current state information rather than every earlier mention. p. 7 The agent's memory also serves other autoregressive video models, such as robot video models, by providing observation-based memory pictures that restore scene consistency when objects reappear in long-horizon tasks.

The system's design allows it to keep pace with prompts revealed every 8 seconds, ensuring version 0 of memory is ready before the next shot starts on average, leading to zero lag on 99.3% of shots. p. 0 Performance metrics show that the full system achieves a real-time factor of 34. p. 03 FPS on B200 with zero stall time and maintains image quality stable over 14-minute stories, with v0 memory ready at a mean of 8. p. 02 seconds in live co-runs on LongLive-H3, fitting within the budget for an 8s shot. p. 1 The agent is approximately 1. p. 06 times faster than on H100 during live runs due to the RL planner reducing planning time from 3. p. 15 s to 2.3–3 s and one image cost reduction from 1. p. 07 s to 0.8 s, with memory prefill costs minimized by running on dedicated GPUs at a 0. p. 59% overhead with no stall. p. 5

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Asynchronous Agentic Memory for Long Video Generation: This system allows an agent to commit memory for shot i before prompt i is revealed, enabling it to never waits for memory and hiding agent latency behind real-time generation, which means the video never stalls.

  2. Open-loop Entity Memory: The memory agent reads only revealed prompts, never the generated video, thus ensuring that video errors are not written back, maintaining a clean feedback loop for long interactive stories.

  3. Two-layer Memory System: This system composes two images, a global image G and a per-shot memory M, allowing G to carry identity and state while M shows the current scene and active entities, which is then injected into the generator's attention sink.

  4. Learning what to Remember: A small language model trained with reinforcement learning decides what to remember before the next prompt is known, using a hindsight reward calibrated by downstream video outcomes, teaching the agent how to select which entities should be drawn now.

  5. State and Identity Improvement: The full system improves state accuracy by 26.3 points and protagonist identity by 44.9 points on LongStory-Online compared to LongLive-2.0, showing that persistent state accuracy and protagonist identity are significantly enhanced over long stories.

  6. Scene Routing for Consistency: The agent's LLM reads revealed prompts with entity descriptions and picks a location from known places or suggests a new one, ensuring consistency by constraining decoding to these options and recalling the newest memory image if it matches a known location.

  7. Entity Cards for Persistent State: When a prompt is revealed, every entity of committed memory whose name occurs in the prompt gets an entity card appended after the prompt stating its persistent state, allowing text to enter as memory and improve state accuracy by 13.9 points over naive text history.

  8. RL Planner for Memory Selection: The RL planner replaces a larger model, learning what to remember through a reward function that scores persistent states correctly and rewards precise facts, leading to higher revisit rates of entities in the entity bank when the return prompt arrives.

  9. Image Memory as Reference Input: Using image memory as reference input for H3 generators improves identity on MiniMax-H3 generators by up to 20 points, suggesting that image memory without cards gains in the same way and is effective for fixing identity on these models.

  10. Robot Video Consistency: For robot videos, the agent's memory system restores scene consistency from 2.9 to 7.0 of 10 when using the full system compared to baseline models, demonstrating that memory can restore scene consistency even when a camera moves away from an object or a container is closed.

Sources

Related papers