PISA: A Pragmatic Psych-Inspired Unified Memory System for Enhanced AI Agency

Shian Jia, Ziyang Huang, Xinbo Wang, Haofei Zhang, Mingli SongSubmission to ICLR 2026 · Withdrawn

TL;DR

PISA is an agent memory framework inspired by Jean Piaget’s constructivist cognitive development theory, treating agent memory as an active, evolving mental model rather than a passive text log. By organizing memories into task-oriented schemas using a tri-modal adaptation mechanism (assimilation, evolution, and creation) and coupling them with hybrid symbolic-neural retrieval tools (RAG, SQL, calculators), PISA sets a new state-of-the-art on conversational memory and complex data analysis benchmarks.

What Problem Does This Paper Address?

Current LLM agent memory architectures (such as Mem0, Zep, and AMem) operate largely as passive, task-agnostic storage systems. They either persist raw textual snippets for vector similarity search or generate unstructured atomic notes. This design exhibits critical shortcomings:

  1. Context clutter and interference: Dumping raw, uncurated conversational logs into an agent's context window increases inference cost and dilutes attention with irrelevant facts.
  2. Inability to handle structured analysis: Real-world workflows often require tracking numerical trends, temporal state changes, and tabular information embedded across multi-turn interactions. Pure semantic retrieval (top-$k$ cosine similarity) cannot perform aggregation, filtering, or multi-step symbolic reasoning over scattered data.
  3. Benchmark mismatch: Most benchmarks evaluate memory by querying isolated factual "needles" in conversational "haystacks," neglecting agent-centric scenarios where information must be continuously structured, updated, and computed.

Methods

PISA (Pragmatic Psych-Inspired Unified Memory System) bridges cognitive psychology and software architecture through three core modules managed by a central Schema Engine:

[Agent Goal / Priors] 
        │
        ▼
┌─────────────────────────┐     Incoming Experiences
│  Initialization Module  │              │
│ (Seed Buckets & Schemas)│              ▼
└───────────┬─────────────┘    ┌───────────────────────┐
            │                  │   Adaptation Module   │
            ▼                  │ (Trimodal Update & CR)│
┌───────────────────────────────────────┐└──────────┬──────────┘
│             Schema Engine             │           │
│  (Pool ➔ Buckets ➔ Schemas [JSONB])   │◄──────────┘
└───────────────────┬───────────────────┘
                    │
                    ▼
┌───────────────────────────────────────┐
│           Retrieval Module            │
│ (ReAct Agent: MCP RAG, SQL, Calculator)
└───────────────────────────────────────┘
  • Hierarchical Schema Engine: Organizes memory into a 3-tier hierarchy: a Memory Pool partitioned into thematic Buckets (e.g., User Traits, User Events, Agent Rules), each containing Schemas. Each schema entry consists of a high-level Meta topic, an Element, structured key-value attributes stored as flexible JSONB descriptors, and an Experience ID linking back to raw source events.
  • Proactive Initialization: Uses agent task specifications to pre-define coarse-grained buckets and attribute slots before processing interactions, giving incoming information an explicit functional scaffold.
  • Trimodal Adaptation (Piaget's Adaptation & Equilibration): When an incoming experience segment arrives:
  • Schema Update (Assimilation): If schema similarity $s^* \ge \theta_{\text{meta}}$ and element compatibility $\kappa^* \ge \theta_{\text{elem}}$, new values are appended to an existing element.
  • Schema Evolution (Accommodation via Modification): If the topic matches ($s^* \ge \theta_{\text{meta}}$) but element compatibility is low ($\kappa^* < \theta_{\text{elem}}$), a new element is instantiated under the existing schema.
  • Schema Creation (Accommodation via Creation): If no schema matches ($s^* < \theta_{\text{meta}}$), an entirely new schema is created.
  • Conflict Resolution: A graph-based contradiction detector evaluates records on recency, source quality, and community support, deactivating outdated or contradictory records under a winner-takes-all policy.
  • Hybrid Retrieval via Model Context Protocol (MCP): A ReAct retrieval agent dynamically selects among independent microservice tools: RAG for semantic, unstructured queries; SQL for relational queries across JSONB schema fields; and an isolated Calculator for deterministic numerical aggregation.

Datasets

The authors evaluate PISA on two benchmarks:

  1. LOCOMO: A long-term conversational memory benchmark (10 extended multi-session dialogues) assessing Single-Hop, Multi-Hop, Temporal, and Open-Domain questions under strict evaluation criteria (zero credit for partial multi-item answers).
  2. AggQA (Newly Introduced): A mini-benchmark designed for evaluating "Discretized Table Reconstruction & Aggregation." Tabular data is discretely embedded inside ~30K–56K tokens of multi-turn dialogues:
  3. Financial Domain (85 QA pairs): Derived from BizFinBench corporate stock/flow records.
  4. Medical Domain (49 QA pairs): Synthesized clinical measurements built from PubMedQA terminology.
  5. Stratified into Easy, Medium, and Hard tiers, requiring complex SQL-equivalent operations (joins, subqueries, multi-condition filtering, arithmetic aggregation).

Key Insights and Ideas

  • Memory as an active program, not a passive log: Consistent with Piaget's view that knowledge is constructed by acting upon the environment, PISA's schemas act like executable semantic "mini-programs" that direct how new data is assimilated or accommodated.
  • The structural transparency hypothesis: The authors observe that memory representation and retrieval flexibility are complementary: the more structured and transparent the memory representation, the broader the range of retrieval mechanisms (symbolic SQL vs. neural vector search) an agent can reliably deploy.
  • Balancing Stability vs. Plasticity: By tuning the meta-cognition threshold ($\theta_{\text{meta}} = 0.70$), the system balances conservative updates (over-assimilation) against unbounded memory fragmentation (over-creation).

Key Results

Experiments used GPT-5 Mini as the base LLM and judge:

  • LOCOMO Benchmark: PISA achieves 63.58% overall accuracy, outperforming all external memory baselines, including Mem0 (55.51%), LangMem (54.12%), AMem (51.90%), MemoryOS (38.40%), and Zep (34.10%). On complex Multi-Hop reasoning, PISA scored 47.18% (compared to Mem0's 36.62%).
  • AggQA Benchmark:
  • Medical Domain: PISA reached 83.67% accuracy, drastically outperforming Mem0 (30.61%), LangMem (51.02%), and even Full-Context prompting (51.02%).
  • Financial Domain: PISA achieved 69.41% accuracy, closely trailing Full-Context (70.59%) while beating Mem0 (23.53%) and AMem (30.59%).
  • Ablations:
  • Removing schema initialization ($PISA^{-I}$) dropped Medical accuracy by 14.28%, proving the necessity of proactive scaffolding.
  • Blinding retrieval to memory structure ($PISA^{-R}$) caused a 17.64% overall drop in Finance, with hard-task accuracy plummeting from 78.57% to 50.00%.

Limitations and Future Work

  • Dependence on Priors: PISA relies on well-defined agent objectives and prior knowledge to seed initial memory structures. Its performance in completely open-ended, goal-free exploratory environments remains unverified.
  • Evaluation Scope: While evaluated on LOCOMO and the newly designed AggQA, data analysis validation has so far been restricted to the medical and finance domains within AggQA.
  • Future Directions: Expanding PISA to broader real-world benchmarks, investigating automated goal-discovery for schema seeding, and refining latency/token costs during high-concurrency schema updates.

Summary updated

Abstract

Memory systems are fundamental to AI agents, yet existing work often lacks adaptability to diverse tasks and overlooks the constructive and task-oriented role of AI agent memory. Drawing from Piaget's theory of cognitive development, we propose PISA, a pragmatic, psych-inspired unified memory system that addresses these limitations by treating memory as a constructive and adaptive process. To enable continuous learning and adaptability, PISA introduces a trimodal adaptation mechanism (\textit{i.e.}, schema updation, schema evolution, and schema creation) that preserves coherent organization while supporting flexible memory updates. Building on these schema-grounded structures, we further design a hybrid memory access architecture that seamlessly integrates symbolic reasoning with neural retrieval, significantly improving retrieval accuracy and efficiency. Our empirical evaluation, conducted on the existing LOCOMO benchmark and our newly proposed AggQA benchmark for data analysis tasks, confirms that PISA sets a new state-of-the-art by significantly enhancing adaptability and long-term knowledge retention. The source code of PISA and data of AggQA are available at \url{https://anonymous.4open.science/r/PISA-421/}
BibTeX
@misc{jia2025pisa,
  author = {Shian Jia and Ziyang Huang and Xinbo Wang and Haofei Zhang and Mingli Song},
  title = {{PISA: A Pragmatic Psych-Inspired Unified Memory System for Enhanced AI Agency}},
  year = {2025},
  eprint = {2510.15966},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.15966},
}
Figure