DRIFTLENS: Measuring Memory-Induced Reasoning Drift in Personalized Language Models

Xi Fang, Weijie Xu, Yingqiang Ge, Yuhui Xu, Stephanie Eckman, Chandan K. ReddyarXiv 2026

TL;DR

When Large Language Models (LLMs) personalize their behavior using persistent user memories, it silently alters how they reason, even on questions completely unrelated to the user's profile. To expose this hidden phenomenon—termed "symbolic drift"—researchers from Amazon have introduced DRIFTLENS, a ground-truth-free framework that maps a model's reasoning steps to a value ontology to measure logic divergence. Their findings reveal that irrelevant user attributes like disability or trans status trigger significant reasoning drift across multiple state-of-the-art LLMs, though post-training alignment techniques can help mitigate it.

What Problem Does This Paper Address?

Modern LLMs are increasingly equipped with persistent memory to personalize user experiences across sessions. If you tell a model you are a student or a software engineer, it remembers. However, when you ask a completely persona-agnostic question—such as a general ethical dilemma or a workplace dispute—the model's underlying reasoning shouldn't change based on your background.

Unfortunately, it does. The authors identify a insidious failure mode called symbolic drift: the injected user memory silently reshapes the model's internal priorities, trade-offs, and justifications. This problem is particularly dangerous because it is completely invisible at the answer level; the final output remains fluent, plausible, and on-topic, but the underlying path taken to get there is warped by irrelevant demographic traits. Because these open-ended tasks lack a single objective ground truth, standard accuracy metrics fail to detect this shift.

Methods

To quantify symbolic drift without relying on ground-truth answers, the authors developed the DRIFTLENS framework, which operates in three main phases:

  1. Ontology Mapping: The framework takes free-text reasoning steps (like those found in Chain-of-Thought traces) and uses an LLM judge to map them to a discrete value ontology. This ontology covers four root categories: Social (interpersonal conduct), Practical (task execution), Protective (harm prevention), and Personal (subjective inner experience).
  2. Divergence Measurement: It compares a model's "no-memory" baseline reasoning trajectory against its trajectory when a user persona is injected. It calculates drift using two complementary metrics:
  3. Dynamic Time Warping (DTW) score: Captures structural reordering of the reasoning steps.
  4. Sequence Recurrence Index (SRI): Measures both order-sensitive and distributional changes in symbol usage.
  5. Mitigation Post-Training: The authors explore two alignment strategies to make models robust against irrelevant context:
  6. Direct Preference Optimization (DPO): Using a curated dataset (SymPreference) where robust reasoning paths are favored over distracted ones.
  7. Group Relative Policy Optimization (GRPO): An online reinforcement learning technique that directly penalizes trajectory drift using a DTW-based reward function.
Example of user memory reshaping reasoning

Datasets

The study introduces a newly curated benchmark designed specifically to isolate reasoning stability:

  • The DRIFTLENS Benchmark: Contains 422 questions with unanimous human agreement (and a relaxed set of 1,061 questions with 2/3 agreement). Every question is verified to be reasoning-invoking, unverifiable, persona-indifferent, and stand-alone.
  • Data Sources: The questions were aggregated from 7 public datasets spanning career guidance, medical QA, legal advice, financial planning, and daily dilemmas (e.g., Reddit's Am I The Asshole).
  • Perturbations: The authors curated a set of negative controls (pragmatic noise like extra whitespace/punctuation), positive controls (major life events like job loss or bereavement), and 10 experimental user-attribute categories (age, gender, occupation, disability, etc.).
Figure 2: Question dataset taxonomy. The corpus comprises persona-agnostic, unverifiable, reasoning-invoking, and stand-alone questions, organized into six top-level categories and 18 fine-grained sub-categories. Header values report each category’s share of the corpus; example items are shown below.

Key Insights and Ideas

  • Reasoning is Highly Malleable: Injected user attributes act as subtle magnetic poles, pulling the model's internal logic toward stereotypical or sycophantic paths. For instance, telling a model "I am conventionally handsome" can shift its reasoning on a neighborly dispute from protection/safety to emotional depth/authentic connection.
  • Drift Varies by Attribute Type: Across all tested models, "Trans status" and "Disability" consistently ranked as the highest drift-inducing categories. Conversely, attributes tied to circumstance or background, such as "Education" or "Age", clustered toward the lower half of the drift spectrum.
  • The Format Reward is Crucial: When using reinforcement learning (GRPO) to reduce drift, simply rewarding low DTW scores is insufficient. Models require an explicit format reward (forcing clean step-by-step structures) to successfully stabilize their reasoning paths.

Key Results

  • Instrument Validation: DRIFTLENS successfully distinguished content-free noise from true reasoning shifts. Pragmatic noise caused virtually zero drift elevation, while major life events caused massive, statistically significant spikes (+77.8% DTW for Claude Sonnet 4.6), proving the metrics are highly sensitive and specific.
Figure 3: Instrument validation. Percent elevation above the no-perturbation noise floor for pragmatic noise (negative control) and life-event disclosures (pos- itive control). Across both metrics (left: DTW, right: SRI) and both models (upper: Claude Sonnet 4.6, lower: Qwen3-4B), noise produces no significant elevation (p > 0.05) while life events produce large elevations (p < 0.001).
  • Universal Vulnerability: Every single tested model—Claude Sonnet 4.6, GPT-OSS-120B, Qwen3-4B, and DeepSeek-R1—exhibited significant reasoning drift across all 10 persona categories, well above their respective noise floors.
Figure 4: Memory-induced symbolic drift across user-attribute categories and four models. Standardized drift effect drel = (µtreat −µnoise)/σnoise under DTW (left) and SRI (right), sorted by magnitude. Error bars are 95% cluster-bootstrap percentile CIs (B = 10,000, resampling questions with replacement); both µnoise and σnoise are re-estimated on each replicate so their sampling uncertainty is propagated into the CI. The right margin reports Cohen’s d versus the no-perturbation noise floor (point estimate) and a compact letter display from Welch’s t-tests (BH-FDR corrected, α = 0.05): rows sharing a letter are not significantly different; rows with no shared letter are. Across all four models, persona categories separate cleanly from pragmatic noise, which retains its own group (a) on every panel.
  • Mitigation Trade-offs: Both DPO and GRPO successfully reduced drift, but neither completely eliminated it, and no single method dominated. For example, GRPO(DTW+SRI+fmt) achieved the lowest drift on Gemma2-2B (0.186 vs 0.309 base) and actually improved MMLU performance, but it reduced instruction-following accuracy on other backbones. DPO proved more reliable at reducing distraction without degrading response helpfulness.

Limitations and Future Work

The authors openly note several boundaries to their current work:

  1. External vs. Internal Cognition: DRIFTLENS measures externally expressed reasoning tokens (Chain-of-Thought). It cannot audit the hidden, internal representations or latent mechanics of the model.
  2. Fixed Ontology Constraints: Any static ontology might fail to capture finer-grained reasoning nuances across highly specialized domains or distinct human cultures.
  3. Scale Limitations: Due to the high computational costs associated with GRPO training, mitigation experiments were restricted to small- and medium-sized open models (2B to 4B parameters). Whether these exact trade-offs hold for frontier-scale models remains an open question.
  4. Single-Turn Focus: The framework evaluates single-turn open-ended guidance. Extending DRIFTLENS to multi-turn, long-horizon interactions and tool-using agents is a critical next step.

Summary updated

BibTeX
@misc{fang2026driftlens,
  author = {Xi Fang and Weijie Xu and Yingqiang Ge and Yuhui Xu and Stephanie Eckman and Chandan K. Reddy},
  title = {{DRIFTLENS: Measuring Memory-Induced Reasoning Drift in Personalized Language Models}},
  year = {2026},
  eprint = {2607.02374},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.02374},
}
Figure