Work

Thinking Like a NERD: Entity-Centered Memory for LLM Agents

Year: 2026
Type: preprint
Abstract: Across brains, cognition, knowledgebases, and transformer models, complex information is organized around entities and their relationships. This entity-centered organization creates a conceptual structure not present in any single segment of the corpus, enabling both efficient reasoning about specific entities and coordinated understanding across agents. We apply this entity-centered frame to language models by introducing Networked Entity Representation Documents (NERDs): natural-language, Wikipedia-style documents that consolidate all information about an entity (its attributes, actions, and relationships) and link entities into a navigable network. A NERD-Writer agent preprocesses long texts chunk-by-chunk into this shared long-term memory, and a NERD-Actor agent answers questions by searching and reading NERDs rather than reprocessing the original corpus. Using the NovelQA benchmark of novels averaging over 200K tokens, we compare NERDs to a full-context "open-book" baseline. Across NovelQA's eight question aspects, NERDs match or exceed full-context performance on questions requiring entity tracking (characters, relationships, plot points, settings) while using ≈90% fewer tokens per question, with test-time token usage effectively independent of document length. By contrast, NERDs struggle with questions requiring counting incidental details or locating passage positions (e.g., chapter numbers). More broadly, NERDs' stable-yet-mutable and modular-yet-holistic structure suggests their broader potential as an long-term memory format for continuous learning and human-AI collaboration.
Source: TechRxiv
Language: English
Open Access status: green
OpenAlex ID: W7130655258
Cites: 53
Cited by: 1
Related to: 10