Introduction
While Large Language Models (LLMs) have demonstrated remarkable capabilities in role-playing and task execution, most research treats their cognitive state as a static snapshot. Current models can simulate a specific persona at a single point in time, but they often fail to replicate the way human perspectives evolve through continuous exposure to new information. In the real world, human cognition is inherently dynamic; our beliefs, biases, and knowledge bases shift as we encounter new data—a process known as cognitive dynamics.
Existing LLM agents frequently suffer from "cognitive rigidity." Even when provided with updated information, they struggle to integrate it into a coherent, evolving persona, often defaulting to generic responses or losing their established identity. To address this, we introduce CogGPT, a framework designed to enable LLMs to change their minds and behaviors authentically and rationally over time.
The CogGPT Framework
CogGPT is an agent architecture designed to mirror human cognitive evolution through two primary mechanisms: a dual-memory system and a collaborative refinement process.
1. Memory Retention System
To mimic the human brain's distinction between Short-Term Memory (STM) and Long-Term Memory (LTM), CogGPT utilizes a structured storage approach:
- Distillation: As new information enters the STM, the model distills it into structured knowledge. Each piece of information is assigned a "confidence score" based on its alignment with the agent’s current cognitive state.
- The Forgetting Curve: To prevent information overload and the "noise" that often plagues long-context LLMs, CogGPT implements a strategic forgetting mechanism. Once the STM reaches capacity, the model intentionally discards the 40% of information with the lowest confidence scores. The remaining high-value data is then transitioned into the LTM.
2. Collaborative Refinement Framework
Rather than simply storing data, CogGPT uses a "Collaborative Refinement" mechanism to update its internal identity. When memory thresholds are met, the agent selectively integrates preferred information from its memory to refine its Profile. This allows the agent to update its hobbies, philosophical orientations, or professional viewpoints based on its "experiences," ensuring that its internal self-image remains consistent with the information it has consumed.
CogBench: A Benchmark for Cognitive Dynamics
To evaluate the efficacy of CogGPT, the researchers introduced CogBench, a multi-modal benchmark specifically designed to stimulate and assess cognitive shifts. CogBench consists of:
- 50 Topics: Spanning 10 diverse categories, including Economy, Technology, and Fashion.
- 20 Detailed Profiles: Personas with specific backgrounds, values, and initial viewpoints.
- Information Flows: The benchmark utilizes two datasets: CogBench-a (500 long-form articles from Medium) and CogBench-v (5,000 short videos from Kuaipedia, processed via OCR and ASR).
- Cognitive Questionnaires: 50 sets of questions used to track how the agent’s ratings and reasoning evolve across 10 iterations of information exposure.
Key Results and Insights
CogGPT was evaluated against standard baselines, including Chain-of-Thought (CoT), ReAct, and Reflexion, using GPT-4 as the backbone. The results demonstrate that CogGPT significantly outperforms static models in two key dimensions:
Authenticity and Rationality
- Authenticity: CogGPT achieved an average authenticity score of 0.536, whereas baseline models typically hovered between 0.18 and 0.30. This indicates that CogGPT’s shifts in perspective align much more closely with how human participants change their ratings when exposed to the same information.
- Rationality: By the 10th iteration of learning, CogGPT showed a 35.78% improvement in CogBench-a and a 40.03% improvement in CogBench-v regarding the soundness of its reasoning compared to the CoT baseline.
Case Study: Outdoor Adventure Risks
In a qualitative test regarding the risks of outdoor adventures, CogGPT demonstrated superior persona integration. After "watching" videos of survival crises, CogGPT successfully integrated a "fear of uncontrollable environments" into its persona. In contrast, other models remained neutral or provided generic safety advice, failing to show a genuine shift in their underlying cognitive state.
Discussion and Future Work
The CogGPT framework highlights that forgetting is a feature, not a bug. By filtering out low-alignment information, the model avoids the erratic behavior common in long-context agents and maintains a more stable, authentic identity.
However, several challenges remain. The system currently relies heavily on the high-level reasoning of GPT-4, and the operational cost of multiple API calls for distillation and refinement is significant. Furthermore, while the agent's profile is dynamic, the underlying model weights remain static. Future research may explore "model-level" cognitive mechanisms, such as efficient fine-tuning (e.g., LoRA) that updates as the agent learns. Additionally, testing CogGPT in interactive "sandbox" environments with humans could provide deeper insights into how social dynamics influence cognitive evolution.
Summary updated