Manuscript Offprint

arXiv:2610.25127

MemBubble: Benchmarking How Agent Memory Shapes LLM Response Diversity

Jiajun Tan, Fei Sun, Xinyu Ma, Shixuan Zhang, Du Su, Qi Cao, Daiting Shi, Huawei Shen, Xueqi Cheng

Abstract

Memory serves as the core component of LLM-based agents, enabling personalized responses via extracting and using user preferences from past interactions. However, its use may reduce response diversity, thereby narrowing the range of information available to users. Existing evaluations rely largely on synthetic interactions and cover few memory systems, leaving the effects of memory on response diversity insufficiently evaluated in real-world scenarios. We introduce MemBubble, a benchmark of 1000 instances built on preferences extracted from real user-assistant conversations. To measure the extent to which memory concentrates response distributions, we construct test queries in scenarios distinct from user preferences while preserving topical relevance through shared preference categories. Across multiple LLMs and memory mechanisms, entropy decreases by 34.7% on average compared with directly providing the full interaction history, highlighting the important role of memory processing in diversity loss. We also explore simple user-side interventions and changes in information availability but find that these do not effectively close the diversity gap. Our findings highlight the need to consider preserving diversity and user access to information alongside improvements in personalization when designing and using agent memory systems.

1 Introduction

LLM-based agents increasingly rely on persistent memory to extract and utilize user preferences from past conversations (Zhang et al., 2025b; Hu et al., 2025). This allows agents to provide personalized support for users with a wide range of tasks (Anthropic, 2025b). However, recent studies show that memory-based personalization can also cause problems such as sycophantic responses and irrelevant content (Hu et al., 2026; Xiang et al., 2026).

Corresponding author: Fei Sun (sunfei@ict.ac.cn)

Figure

Persistent Memory

User is frustrated by increasing immigration.

What local news should I follow this week?

Assistant

without memory

Assistant

with memory

New subway line opens

Local factory layoffs

Immigration causes rising rents

Community hospital expansion

Foreigners pour into city

Immigration causes rising rents

Foreigners inflate housing cost

Newcomers drive rents up

Figure 1: Illustration of response diversity decrease as memory steers responses toward similar preference-aligned content, potentially reinforcing existing biases.

In this paper, we focus on a further risk: the effect of memory on response diversity (Wang et al., 2026). Users increasingly turn to AI assistants for information and ideas (Chatterji et al., 2025). Many of these requests are open-ended with a wide range of suitable answers. By drawing on stored user preferences, memory can steer models toward a limited set of responses, restricting user exposure to diverse advice and perspectives (Wang et al., 2026). This narrowing may in turn reinforce existing biases and fuel polarization (Sharma et al., 2024b), similar to the filter bubble effect in recommender systems (Nguyen et al., 2014; Lazovich, 2023). For example, Figure 1 illustrates a user asking for local news recommendations after expressing frustration with immigration. Having captured this frustration in memory, the assistant may repeatedly suggest negative stories about people from abroad, potentially strengthening negative stereotypes about foreigners while overlooking other important issues.

Although prior studies have shown that user preferences can narrow the response space (Wang et al., 2026; Feng et al., 2026), their evaluations largely rely on synthetic interaction histories. Such synthetic dialogues not only suffer from the homogeneity of LLM generations (Jiang et al., 2025), but also express preferences in ways that differ from those of real users (Xiao et al., 2026; Guo et al., 2026). Moreover, these studies provide preferences directly in context or through simple retrieval (Wang et al., 2026), leaving representative memory architectures unexamined. These concerns motivate a systematic evaluation regarding how user preferences from natural conversations affect LLM response diversity after being processed by actual memory systems.

To this end, we introduce the MemBubble benchmark, which aims to test whether memory narrows the range of plausible responses by constructing evaluation tasks that admit multiple valid answers while leaving room for memory to influence the response distribution. We first filter user-assistant dialogues from widely used large-scale real conversation datasets (Zheng et al., 2024; Zhao et al., 2024). LLMs then extract user preferences from the filtered dialogues and identify the preference category and corresponding scenario. We construct open-ended queries with same category but different scenario to maintain relevance to the preferences while avoiding tasks that call for preference-aligned answers. Each query is paired with a multi-session interaction history formed by randomly mixing the preference dialogue with unrelated background dialogues. The final benchmark contains 1000 history-query pairs based on source dialogues in 35 languages and queries spanning 14 topic categories.

Building on this dataset, we develop an evaluation framework that approximates model output distributions by repeatedly sampling responses to each query and measures diversity over functional equivalence classes (Zhang et al., 2025a). Experiments on six LLMs and five representative memory mechanisms reveal a widespread decrease in response diversity. Entropy over functionally distinct answers decreases by 34.7% on average compared with directly providing the full interaction history, indicating that memory systems play an important role in diversity loss. We also explore simple user-side interventions to response generation but find that they do not effectively close the diversity gap. Further analysis of information availability reveals that the magnitude of diversity loss varies with interaction history length and retrieval depth, with patterns differing across memory systems. These findings underscore the importance of preserving response diversity and user access to information in agent memory design and use as personalization capabilities advance.

Our contributions are summarized as follows:

• We propose MemBubble, a benchmark with 1000 instances built from real user–assistant conversations for evaluating how agent memory shapes LLM response diversity.

• We conduct experiments across multiple LLMs and memory mechanisms, revealing widespread diversity loss and the important role of memory systems in this phenomenon.

• We show that the diversity gap persists under simple adjustments to response generation and information availability, motivating attention to diversity and information access alongside personalization in memory design.

References (31)