SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.05520 · NeurIPS · 2025

CAM: A Constructivist View of Agentic Memory for LLM-Based Reading Comprehension

Xu Chen, Rui Li, Quanyu Dai, Zhenhua Dong, Ruiming Tang, Zeyu Zhang, Xiaohe Bo, Zihang Tian

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2510.05520.json · badge: /api/ran/2510.05520.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
rui9812/CAM canonical (classifier label)
classifier basis: classifier_2025
4 ran · 0 no recorded run
FunctionStatusWhere it lives
find_punctuations Ran
ran, honoured the contract we drafted
rui9812/CAM/prototype/chunks.py
pointer only (licence: NONE) · get_code("1a89023256d25623")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rui9812/CAM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_json Ran
ran; our contract draft was wrong, not the code
rui9812/CAM/prototype/constructivist_memory.py
pointer only (licence: NONE) · get_code("3ffef03aeacde643")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rui9812/CAM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_merged_doc Ran
ran; our contract draft was wrong, not the code
rui9812/CAM/prototype/constructivist_memory.py
pointer only (licence: NONE) · get_code("1ea634bd290f5084")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rui9812/CAM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_single_doc Ran
ran; our contract draft was wrong, not the code
rui9812/CAM/prototype/constructivist_memory.py
pointer only (licence: NONE) · get_code("3443ec1a23d7ea53")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rui9812/CAM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
find_punctuations 2 other papers
2 dated earlier
2310.00785 (2023-10)
BooookScore: A systematic exploration of book-length summarization in the era of LLMs
2404.01261 (2024-04)
FABLES: Evaluating faithfulness and content selection in book-length summarization

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Current Large Language Models (LLMs) are confronted with overwhelming information volume when comprehending long-form documents. This challenge raises the imperative of a cohesive memory module, which can elevate vanilla LLMs into autonomous reading agents. Despite the emergence of some heuristic approaches, a systematic design principle remains absent. To fill this void, we draw inspiration from Jean Piaget's Constructivist Theory, illuminating three traits of the agentic memory-structured schemata, flexible assimilation, and dynamic accommodation. This blueprint forges a clear path toward a more robust and efficient memory system for LLM-based reading comprehension. To this end, we develop CAM, a prototype implementation of Constructivist Agentic Memory that simultaneously embodies the structurality, flexibility, and dynamicity. At its core, CAM is endowed with an incremental overlapping clustering algorithm for structured memory development, supporting both coherent hierarchical summarization and online batch integration. During inference, CAM adaptively explores the memory structure to activate queryrelevant information for contextual response, akin to the human associative process. Compared to existing approaches, our design demonstrates dual advantages in both performance and efficiency across diverse long-text reading comprehension tasks, including question answering, query-based summarization, and claim verification.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2510.05520")
get_code_for_paper("2510.05520")
have("2510.05520")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2510.05520.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2510.05520.svg)](https://syntology.ai/paper/2510.05520)

Connect an agent — have() is free.