Generative Agents Navigating Digital Libraries

Saber Zerhoudi, Michael GranitzerarXiv 2026 · DOI · arXiv

TL;DR

The paper introduces Agent4DL, an LLM-powered user simulator designed to replicate realistic, context-aware search behaviors within digital libraries. By modeling diverse academic profiles and emotional states, Agent4DL generates high-fidelity search sessions that can safely augment sparse datasets without violating user privacy. Furthermore, it successfully mirrors macro-level library phenomena like information overload and the open-access citation advantage.

What Problem Does This Paper Address?

To improve digital libraries and information retrieval (IR) systems, researchers need to understand how users search. However, sharing real-world user search logs is incredibly difficult due to strict privacy regulations and ethical concerns.

While user simulation offers a workaround, traditional simulators rely on rigid heuristics or basic Markov models. These legacy approaches fail to capture the nuanced, evolving context of a real research session—such as how a user's specific academic background shapes their queries, or how frustration with poor search results influences their decision to give up. The authors bridge this gap by leveraging Large Language Models (LLMs) to build more human-like, dynamic agents.

Methods

Agent4DL utilizes the ReAct (Reasoning + Action) framework to simulate search sessions iteratively. Each agent architecture consists of three specialized modules:

  1. Profile Module: Initializes agents using real benchmark data to assign specific academic traits across four dimensions: depth (e.g., deep divers vs. quick scanners), breadth (generalists vs. specialists), recency bias, and interdisciplinarity. It also uses ChatGPT to distill natural language summaries of the user's core research interests.
  2. Memory Module: Mimics human cognition by tracking both factual memories (queries used, documents clicked) and emotional memories (satisfaction or frustration levels).
  3. Interaction Module: Executes search-driven actions (formulating/refining queries, viewing abstracts) and emotion-driven actions (abandoning a session due to information overload) via Chain-of-Thought reasoning.

To prevent the LLM from hallucinating document details during simulation, the environment includes a verification step: it tasks the LLM with classifying a document's discipline based purely on its title. If the LLM misclassifies it, the document is pruned from the simulation pool.

Datasets

The simulator was initialized and evaluated using two major digital library datasets:

  • Sowiport User Search Session (SUSS): Contains 484,437 search sessions and 179,796 queries from the social sciences.
  • EconBiz: A dataset specializing in economics and business studies, encompassing roughly 420,000 sessions.

The authors also introduce Agent4DLData, a newly generated, compact dataset of simulated user search sessions to help the broader research community train downstream IR models.

Key Insights and Ideas

  • Micro-Behaviors Replicate Macro Phenomena: One of the most compelling findings is that when agents act based on individual profiles, macro-level library science trends emerge naturally. For instance, as search results expand, the agents experience the Information Overload Effect—their time spent per resource drops significantly while the number of accessed resources plateaus.
Figure 1: Information Overload Effect
  • Causal Loops in Open Access: By applying causal discovery algorithms to the simulated data, the authors mapped how open-access status directly drives up usage and citations, creating a feedback loop that causes IR systems to rank open-access papers higher over time.
Figure 2: Impact of Open Access on Resource Usage
  • Zero-Shot Viability: Unlike traditional simulators (e.g., SimIIR 2.0) which require training on domain-specific datasets, Agent4DL achieves highly competitive results using zero-shot learning, making it highly adaptable to new digital library environments.

Key Results

  • Downstream IR Performance: Ranking models (RoBERTa) trained on Agent4DL-generated data consistently outperformed models trained on real human datasets (SUSS and EconBiz) for both preference and relevance prediction tasks. Remarkably, training on just 1,000 Agent4DL sessions yielded better results than training on the baseline human logs.
Table 1: Results of methods trained on various datasets in real user benchmarks for two IR tasks.
  • Query Realism: Agent4DL achieved an 87.6% Term Overlap Rate ($\tau$) between its generated queries and actual human queries, significantly outperforming standard baseline selection strategies.
  • Click and Stopping Accuracy: Agent4DL proved highly accurate at mimicking when a user decides to stop searching, achieving a stopping strategy accuracy of 84.14%, outperforming SimIIR 2.0.
Table 3: Performance comparison of click and stopping strate- gies using Agent4DL and baseline models.

Limitations and Future Work

Despite its strong performance, Agent4DL has a few notable limitations:

  • Metadata Dependency: The framework relies heavily on rich, pre-existing metadata to initialize profiles and validate documents, which isn't uniformly available across all digital libraries.
  • Simplified Action Space: Real researchers don't just query and click; they engage in "citation chaining" (following a paper's bibliography), consult colleagues, and browse serendipitously—behaviors currently missing from Agent4DL's action space.
  • Domain-Specific Gaps: In rapidly evolving fields, the underlying LLM occasionally struggled to accurately assess cutting-edge research relevance, sometimes generating anachronistic queries.

Future work will focus on expanding the agents' information pathways, fine-tuning LLMs specifically for academic discovery, and integrating field-specific ontologies.

Summary updated

Abstract

In the rapidly evolving field of digital libraries, the development of large language models (LLMs) has opened up new possibilities for simulating user behavior. This innovation addresses the longstanding challenge in digital library research: the scarcity of publicly available datasets on user search patterns due to privacy concerns. In this context, we introduce Agent4DL, a user search behavior simulator specifically designed for digital library environments. Agent4DL generates realistic user profiles and dynamic search sessions that closely mimic actual search strategies, including querying, clicking, and stopping behaviors tailored to specific user profiles. Our simulator's accuracy in replicating real user interactions has been validated through comparisons with real user data. Notably, Agent4DL demonstrates competitive performance compared to existing user search simulators such as SimIIR 2.0, particularly in its ability to generate more diverse and context-aware user behaviors.
BibTeX
@misc{zerhoudi2026generative,
  author = {Saber Zerhoudi and Michael Granitzer},
  title = {{Generative Agents Navigating Digital Libraries}},
  year = {2026},
  eprint = {2602.22529},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.22529},
}

Loading related content...

Figure