The Memory Paradox of Large Language Models: Why Can AI Remember All Human Knowledge, Yet Never Remember “Yesterday”?

What the sensor captures at this moment is merely an “observation.” What the next decision depends on, however, is the “system state.” When immediate inputs cannot encompass the entire history, an agent must learn what to preserve—and what to discard—through compression.

Under the hard constraints of limited computing power and context windows, how can an agent compress the past while accurately distilling the core state that determines the future? This is not only the key technical breakthrough for resolving “perceptual aliasing,” but also the underlying logic behind today’s autonomous agents as they move toward genuinely persistent memory.

The Memory Paradox of Large Language Models: Why Can AI Remember All Human Knowledge, Yet Never Remember “Yesterday”?

The State Paradox in a Frozen Frame

This is the third installment of the series Memory, Forgetting, and the Self in Machines: when an agent cannot carry its entire past with it, how exactly can intelligence act across time?

Try freezing the classic Pong game at any single frame.

The image contains only two paddles, a ball, and the current score. If someone asked you which direction the ball was moving, you would have no way of knowing. Even if the same static image were shown to a machine, it would be equally unable to tell.

In their 2015 paper on agents learning to play Atari games, researchers Matthew Hausknecht and Peter Stone stated this point directly: “The current single-frame screen reveals only the locations of the paddle and the ball, but not the ball’s velocity.”

They went on to explain why this matters: “Knowing the direction in which the ball is moving is a key factor in determining the optimal position for the paddle.”

The frozen frame is accurate: every detail in the image is exactly where it should be. Yet this single frame alone is still insufficient to play the game.

What the sensor captures at this instant is merely an “observation.”

What the agent’s next action actually depends on is the full “system state.”

In Pong, the observation and the system state are disjoint at every individual frame. The ball’s direction of motion is a fact about the preceding moments; no isolated instant can contain that information on its own.

When the immediate input in front of it is insufficient for decision-making, a well-functioning system must carry some information from its past into the present.

But it can never carry the entire past. What it carries is only a summary, and what that summary preserves depends entirely on what it needs to predict next.

This choice determines the informational foundation available at subsequent moments. Any detail omitted from the summary will be forever unavailable for later decisions based on it.

The Four-Frame Memory Trade-Off

The system Hausknecht and Stone were responding to was the DQN agent developed by Volodymyr Mnih and others at DeepMind and published in Nature in 2015.

DQN was able to learn to play dozens of Atari games using nothing but screen images, but the authors had already encountered the problem of frozen frames during the early stages of development.

In the methods section of their paper, they wrote: “Since the agent can only observe the current screen, the task is partially observable and many emulator states are perceptually aliased.”

In other words, the current screen image alone cannot tell the agent its complete situation.

“Perceptual aliasing” is a precise academic description of a problem that occurs in everyday situations. Two entirely different circumstances—for example, the ball flying toward your paddle or flying away from it—can produce exactly the same image in a static frame.

A system that sees only the image is forced to treat them as the same situation. If the two situations require completely opposite actions, the system is bound to make a mistake in one of them.

Their solution was straightforward. Instead of receiving only a single screen image, the network took several of the most recent frames and stacked them together as its input.

The default setting was 4 frames, although the algorithm was likewise capable of working with 3 or 5 frames.

Once the four frames were placed side by side, the ball’s motion appeared directly as a change in position. The direction of motion was no longer an abstract concept that had to be remembered; it became a visual property that could be seen directly.

The paper did not call this stack of images memory. In essence, it was simply an input channel that happened to be wider than a single moment.

Perceptual Aliasing and the Hard Boundary of Physics

This input width has an extremely rigid physical boundary, and Hausknecht and Stone described precisely where that boundary lies.

They wrote that because DQN was trained using an input consisting of the four states most recently experienced by the agent, “if a game requires the player to remember an event from more than four screens ago, DQN will not be able to learn the game.”

For DQN, the history beyond the fifth-most-recent screen simply does not exist within its input range.

This fixed sliding-window mechanism directly exposes the central contradiction in machine intelligence’s processing of time series: no matter how wide the window becomes, information beyond its boundary is physically erased.

Published on
Disclaimer: Investing involves risk. This article does not constitute investment advice.