AI Memory in 2023: Long Context, Retrieval and Recurrent Memory

Matthew Berman compares external agent memories with a recurrent-memory research experiment, and explains why longer context remains a limited result.

MBMatthew BermanVortrag · Forward Future
Kanal
Matthew Berman
Veröffentlicht
25. Apr. 2023
Video
5:11
Lesezeit
3 Min.
Folien
2
Original
Englisch
Auf YouTube öffnen
Beim Scrollen schrumpft das Video in die rechte untere Ecke und läuft weiter. Untertitel folgen Ihrer Lesesprache.
LesespracheIn 2 Sprachen verfügbar
Diesen Artikel gibt es noch nicht auf Deutsch, daher wird das Original (Englisch) angezeigt.
ZUSAMMENFASSUNG

In 30 Sekunden

Matthew Berman discusses 2023 context-window limits and their implications for coding, updated information and game agents. He reviews a generative-agent architecture for storing and retrieving experiences and a recurrent-memory BERT experiment that handled very long synthetic sequences; neither demonstration proves general-purpose persistent memory or AGI.

  1. 1Why agents need contextBerman uses virtual characters and codebases to illustrate why short context windows can limit an application.
  2. 2Retrieval and reflectionThe Generative Agents paper stored observations and retrieved relevant memories in a 25-agent simulation.
  3. 3A two-million-token research resultThe RMT authors evaluated a BERT-based recurrent architecture on specialized synthetic tasks, not general long-document comprehension.
  4. 4Longer is not losslessThe approach passes compressed state between segments and may involve quality and processing-time tradeoffs.

Das Wichtigste

  1. A context window is temporary input, not the same as durable memory or a model-weight update.
  2. Generative agents can store experiences and retrieve relevant records, but their 2023 experiment tested a small simulation.
  3. The recurrent-memory paper tested specialized tasks across up to 2,048,000 tokens, not general comprehension of arbitrary documents.
  4. Segmented recurrence trades direct access to all prior tokens for compressed memory and can still incur substantial processing time.
VOLLTEXT

Den bearbeiteten Text nach Kapiteln lesen

Nur das Transkript
01

The context problem

Berman introduces AI memory and historical context limits. He explains why keeping relevant information available matters for assistants.

In this April 2023 video, Matthew Berman considers how AI systems can retain and use information over longer periods. He sees limited context as an obstacle for assistants and autonomous agents, and compares external memory retrieval with a research proposal for processing much longer sequences. Neither paper establishes that AI memory or AGI is solved.

Berman argues that access to relevant prior information could help an assistant reason and adapt. At the time, he cites roughly 4,000-token context for GPT-3.5 and 8,000- and 32,000-token GPT-4 versions as examples of the limits developers faced. These figures describe the 2023 setting, not current product limits.

02

Agents, code and new information

He describes virtual characters, large repositories and new books as examples. Supplying context differs from changing learned weights.

Generative agents in a simulated town
FOLIE 1 / 2Generative agents in a simulated townThe paper illustrates interactions among characters in its small virtual environment.

A game character with an AI agent would need access to past events to behave consistently over time, Berman suggests. Without some way to preserve and retrieve earlier experiences, interactions can be constrained by the information that fits in the current prompt.

Coding is another example: a repository may be too large to place in a single context window, so a developer must select relevant files or provide them in pieces. A larger usable context could reduce some of that work, but merely fitting a codebase in a window does not guarantee that a model understands it correctly.

Berman also considers a book published after a model's training. A user can provide relevant material as context or use other methods such as retrieval or fine-tuning. Adding information to a prompt gives the model temporary access to it; it is different from updating the model's learned weights or giving it durable memory.

03

Retrieval and recurrent memory

He compares stored agent memories with the RMT research. The latter’s longest result comes from specialized synthetic tests, with important limitations.

Generative-agent memory architecture
FOLIE 2 / 2Generative-agent memory architectureThe diagram connects stored experiences, retrieval, reflection, planning and action.

He recalls the 2023 Generative Agents paper: its simulated characters store experiences, retrieve relevant records for a current situation and synthesize higher-level reflections. The researchers tested 25 agents in a small virtual town; the architecture generates plausible behavior in that simulation, not human-equivalent lifelong memory.

Berman compares reflection to remembering broad patterns from older events rather than every detail. The paper's actual mechanism is a designed system of stored natural-language observations, retrieval and generated reflections. It is an analogy to human memory rather than a demonstration that agents remember as people do.

The second paper, Scaling Transformer to 1M tokens and beyond with RMT, passes learned memory representations between segments of a long sequence. In its original 2023 report, the authors augmented BERT and evaluated task-specific synthetic retrieval and reasoning across up to 2,048,000 tokens; that is not a general-purpose two-million-token ChatGPT prompt.

The researchers reported constant GPU memory in their particular inference setup and computation that scales approximately linearly with the number of fixed-size segments. Berman notes possible quality degradation and long processing times. Passing compressed memory between segments also means retaining all details or answering arbitrary questions over the entire input is not guaranteed.

Berman summarizes the available approaches as choosing what to put in the prompt, retrieving or compressing external memories, and investigating recurrent architectures. He calls the research promising but not ready for production, and hopes further work will improve memory for useful agents. His belief that such progress is needed for AGI is a hypothesis, not a result demonstrated by these papers.

Mehr aus diesem Kanal

12 Folien34:21EN
Matthew Berman· 27. Okt. 2026Matthew Berman Examines Anthropic’s IPO Filing, AI Growth and GovernanceMatthew Berman, Sam Altman · Forward FutureThe presenter reviews the S-1’s financial metrics, compute strategy and voting structure while questioning the tension between rapid AI development and safety.AnthropicAI SafetyEnterprise-KI+2
2 Folien0:36EN
Matthew Berman· 25. Okt. 2026Kimi K3.1 and a Rubik’s Cube Solver DemonstrationMatthew Berman · Forward FutureMatthew Berman shows a scrambled virtual cube being solved and gives the Kimi K3.1 test a favorable assessment.EvalsCoding-AgentenOpen-weight models
6 Folien25:50EN
Matthew Berman· 24. Okt. 2026Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
2 Folien32:20EN
Matthew Berman· 23. Okt. 2026Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1
6 Folien1:03:37EN
Matthew Berman· 23. Okt. 2026Matthew Berman’s Team Tests Kimi K3.1 on Animation, Games, and ChartsMatthew Berman, Alex, Brian · Forward FutureA live team AMA turns into an informal test of Kimi K3.1, from personal-agent workflows to motion graphics, a browser game, and a benchmark chart.Coding-AgentenGenerative mediaEvals+2
0:53EN
Matthew Berman· 22. Okt. 2026Sam Altman on AI and the Discovery of New KnowledgeSam Altman · OpenAIAltman expects progress in mathematical discovery to extend to biology, materials and energy.AI for scienceMathematicsComputational Biology+1