[KongchangAI]
ConceptWorking Memory / 短期记忆

Working Memory

A concept in cognitive psychology referring to the human capacity to simultaneously process and store information. Its limited capacity, approximately 7±2 information chunks, is closely related to the cognitive load imposed on developers by code complexity.

Core Facts

Timeline (last 90 days)

Nov 24

Among the programs DataDiver found, replacing the prediction error term with "directly overwrite with the most recent reward" caused no drop in performance at all, pointing to a working memory strategy.

Unverified50%
Nov 7

Working memory corresponds to the context window of the Agent's current task, has limited capacity and is updated frequently, and is responsible for maintaining state consistency of the current conversation or task.

Unverified50%
Nov 5

When collaborating with agents, users need to simultaneously track the agent's intermediate output, whether the task goal has drifted, the side effects of tool calls, and the reliability assessment of results, and these information streams crowd out limited working memory capacity.

Unverified50%
Oct 26

Working memory is a temporary storage system with limited capacity, responsible for maintaining and manipulating information within seconds, with the prefrontal cortex as its core brain region.

Unverified70%
Oct 26

Birdwatching requires mobilizing cognitive functions such as attention, working memory, pattern recognition and spatial orientation simultaneously.

Unverified50%
Oct 25

Long loops easily blow out the context window and also drive up API costs. A common approach is to maintain a lean "working memory" that keeps only file snippets relevant to the current task and the most recent execution results. In addition, a maximum iteration count is set to prevent the agent from falling into an infinite loop.

Unverified50%
Oct 18

The key to output sandboxing is to place the processing action before writing into working memory, equivalent to setting a gate at the entrance of the context window rather than cleaning up afterwards.

Unverified50%
Oct 18

Context-Mode output sandboxing refers to policy-based interception and filtering of tool outputs, completing the processing before writing into the agent's working memory to prevent unnecessary tokens from entering the context.

Unverified50%
Oct 17

LangGraph's graph state mechanism is naturally suited to carrying working memory, and the state passed between nodes is the concrete form of working memory.

Unverified50%
Oct 17

Mistakenly storing working memory in a long-term vector store will degrade recall quality.

Unverified50%

14 more timeline events

All Facts (20)

Verified

Psychologist George Miller proposed the "magical number 7±2" in 1956, revealing the bottleneck of human working memory.

80%
Verified

Classic research by psychologist George Miller shows that human working memory can only process 7±2 chunks of information at a time.

80%
Verified

A managed agent runtime typically includes capabilities such as task queuing and scheduling, cross-step state persistence, error retry and checkpoint-based resumption, resource management, and observability.

75%
Verified

Cognitive science research indicates that human working memory can only process 4±1 chunks of information at a time

70%
Verified

Human working memory capacity is limited, typically around 4±1 chunks.

65%
Verified

WorkBuddy's generated conversation memory feature automatically organizes and records context, enabling the AI to gradually understand the user's preferences and habits.

65%
Verified

Cowan's embedded-processes model holds that the effective capacity of working memory is closer to 4 chunks.

65%
Verified

Persistent memory is typically divided into three levels: short-term working memory, episodic memory, and semantic memory

65%
Unverified

Working memory is a temporary storage system with limited capacity, responsible for maintaining and manipulating information within seconds, with the prefrontal cortex as its core brain region.

70%
Unverified

Working memory is the scratchpad for active tasks, storing immediate tool calls and execution state, and is cleared when the session ends.

60%
Unverified

The cost of context switching is referred to in cognitive science as switching cost, which consumes time and depletes the problem context temporarily held in working memory.

60%
Unverified

Nelson Cowan revised the working memory capacity figure to a more conservative 3 to 5 chunks of information in 2001

60%
Unverified

Among the programs DataDiver found, replacing the prediction error term with "directly overwrite with the most recent reward" caused no drop in performance at all, pointing to a working memory strategy.

50%
Unverified

Working memory corresponds to the context window of the Agent's current task, has limited capacity and is updated frequently, and is responsible for maintaining state consistency of the current conversation or task.

50%
Unverified

When collaborating with agents, users need to simultaneously track the agent's intermediate output, whether the task goal has drifted, the side effects of tool calls, and the reliability assessment of results, and these information streams crowd out limited working memory capacity.

50%
Unverified

Birdwatching requires mobilizing cognitive functions such as attention, working memory, pattern recognition and spatial orientation simultaneously.

50%
Unverified

Long loops easily blow out the context window and also drive up API costs. A common approach is to maintain a lean "working memory" that keeps only file snippets relevant to the current task and the most recent execution results. In addition, a maximum iteration count is set to prevent the agent from falling into an infinite loop.

50%
Unverified

The key to output sandboxing is to place the processing action before writing into working memory, equivalent to setting a gate at the entrance of the context window rather than cleaning up afterwards.

50%
Unverified

Context-Mode output sandboxing refers to policy-based interception and filtering of tool outputs, completing the processing before writing into the agent's working memory to prevent unnecessary tokens from entering the context.

50%
Unverified

LangGraph's graph state mechanism is naturally suited to carrying working memory, and the state passed between nodes is the concrete form of working memory.

50%

Source Articles