Skip to content

GAPMem: Boundary-First Graph-Constrained Preference Memory Formation for Personalized LLM Agents

Tao Yu, Deliang Wen, Ke Sun, Yu Wang

cs.AI

Abstract

Personalized large language model (LLM) agents must decide which user preferences to retain and when those preferences apply. GAPMem is a boundary-first, graph-constrained framework for preference memory formation and retrieval. It distinguishes explicit preferences extracted from dialogue from implicit preferences consolidated from existing memories, links preferences to source evidence and observed context, and encodes applicability, exclusions, conflicts, and updates through typed graph relations. Boundary constraints filter preferences before activation and ranking. We report an exploratory retrieval study on three CUPID cases, comparing a full-history LLM with raw-memory, raw-plus-scenario, evidence-based preference, and scenario-aware preference retrieval. Scenario-aware preference retrieval achieved an F1 of 0.8235. Evidence-based retrieval achieved strict checklist coverage of 1.0000 across three cases and an F1 of 0.6667 on two scored cases. Adding scenario-aware retrieval to raw memory increased F1 from 0.3333 to 0.4667. These descriptive results are limited to a small case set with model-based judgments and incomplete reproducibility records. They do not independently validate graph constraints, boundary-first admission, or end-to-end personalization.

Create a lesson

Metadata

Comments
13 pages, 2 figures, 2 tables