Introduction
Simulating user behavior is a cornerstone of recommender system (RecSys) research, offering a safe and privacy-preserving environment to test new algorithms. While Large Language Model (LLM) agents have emerged as promising "digital twins" for users, they often fail to replicate two critical real-world phenomena: cross-domain noise and the influence of popularity. AgentCF++ addresses these challenges by introducing a dual-layer memory architecture and interest-group-based popularity modeling, creating more realistic simulators for cross-domain recommendations.
Methodology
AgentCF++ enhances the standard agent architecture through three key innovations designed to manage information flow and social influence.
Dual-Layer Memory Architecture
To combat "cross-domain noise"—where irrelevant information from one category (e.g., book binding preferences) clutters decision-making in another (e.g., movie genres)—each user agent maintains two memory types per domain:
- Domain-separated memory: Stores preferences exclusive to a specific domain.
- Domain-fused memory: Employs a two-step fusion mechanism, inspired by attention mechanisms, to selectively pull relevant insights from other domains while filtering out noise.
Interest Groups and Group-Shared Memory
Real-world users are influenced by trends and the behavior of peers. AgentCF++ models this "popularity effect" without requiring explicit social graphs. Instead, it uses LLMs to generate "interest tags" for users, which are then clustered via K-means into interest groups (e.g., "horror fans").
Each group maintains a Group-Shared Memory—a collective record of interactions. This allows agents to "sense" shifts in popularity and update their internal willingness to engage with specific items, even before they have personally interacted with them. This mimics the passive evolution of user preferences driven by community trends.
Experimental Setup
The framework was evaluated using the Amazon review dataset, focusing on four domains: Books, CDs, Movies, and Games. The researchers constructed five cross-domain datasets (Cross-1 through Cross-5) by combining interaction records from 3 or 4 categories. The study focused on "active" users with at least 10 total interactions across multiple domains to ensure meaningful simulation.
Results and Analysis
AgentCF++ was benchmarked against traditional collaborative filtering models (BPR-MF, SASRec) and state-of-the-art LLM methods (AgentCF, LLMRank).
As shown in the performance table, AgentCF++ consistently outperformed all baselines. In the "Cross-1" scenario, it achieved an MRR of 0.3537, a significant improvement over the original AgentCF's 0.3284.
Ablation studies further validated the design choices. Removing the interest-based grouping ("w/o group") led to a performance drop, indicating that understanding why users interact (shared interests) is more effective for simulation than simply looking at what they bought (raw history). Furthermore, AgentCF++ successfully closed the gap between LLM agents and traditional models like SASRec, which naturally capture collaborative effects that previous LLM agents lacked.
Conclusion
AgentCF++ demonstrates that for accurate user simulation, popularity is a feature to be modeled rather than a bias to be removed. By integrating selective cross-domain memory and group-shared popularity signals, the framework provides a more nuanced and accurate "digital twin" for recommendation research. Future work will focus on reducing the computational costs associated with LLM APIs and exploring more dynamic, fluid group memberships.
Summary updated