Manuscript Offprint
arXiv:2610.39289Federated Recommender Agents
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Jaehyung Lim
Pohang University of
Science and Technology
Pohang, Republic of Korea
Dongha Kim
Pohang University of
Science and Technology
Pohang, Republic of Korea
Woojoo Kim
Pohang University of
Science and Technology
Pohang, Republic of Korea
Wonbin Kweon
Sungkyunkwan University
Suwon, Republic of Korea
Junyoung Kim
Pohang University of
Science and Technology
Pohang, Republic of Korea
Hwanjo Yu
Pohang University of Science and
Technology
Pohang, Republic of Korea
Abstract
LLM-powered recommender agents use reasoning and memory for personalization, but centralized access to user information raises privacy concerns, while isolated agents cannot learn from others' experiences. We formulate Federated Recommender Agents, a setting where local agents collaborate through natural-language knowledge while keeping interaction histories and personal memories local. We propose FedRecAgent, which enables this collaboration without updating LLM parameters. Its central challenge is determining which reasoning to integrate, since similar behavioral contexts can lead to different choices. FedRecAgent represents local experiences as Condition-Transition-Reasoning (C-T-R) units and hierarchically integrates reasoning by condition and transition. Within this structure, it consolidates related explanations and discriminates reasoning across alternative transitions. Each client maintains semantic and decision memories to capture preferences and conditional choice tendencies, guiding the retrieval and selection of shared reasoning for recommendation. Experiments across three domains under dense and sparse settings demonstrate improved recommendation performance over federated and LLM-based baselines, while ablations support the contributions of personalized memories and structured reasoning integration.
CCS Concepts
• Information systems → Retrieval models and ranking; Recommender systems; • Computing methodologies → Distributed artificial intelligence.
Corresponding authors.
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.
Conference'17, Washington, DC, USA
© 2027 Copyright held by the owner/author(s). Publication rights licensed to ACM.
ACM ISBN 978-1-4503-XXXX-X/2018/06
https://doi.org/XXXXXXX.XXXXXXX
ACM Reference Format:
Jaehyung Lim, Woojoo Kim, Junyoung Kim, Dongha Kim, Wonbin Kweon, and Hwanjo Yu. 2026. Federated Recommender Agents. In. ACM, New York, NY, USA, 13 pages. https://doi.org/XXXXXXX.XXXXXXX
1 Introduction
Recently, Large Language Model (LLM)-powered recommender agents have emerged as a promising approach to personalized recommendation by leveraging pretrained knowledge and reasoning capabilities to interpret user interactions [1, 6, 7, 22, 32, 33, 35, 36, 39, 48]. These recommender agents can capture user preferences and behavioral contexts from past experiences and utilize the accumulated knowledge (e.g., memory) to inform subsequent recommendation decisions. However, such personalization often requires personal information, including user profiles, interaction histories, and preferences, raising privacy concerns when this information is processed by centralized servers or external LLM services. These concerns are further underscored by privacy regulations, such as GDPR [29] and CCPA [26], which impose restrictions on the collection, processing, and sharing of personal information.
A naive remedy is to deploy recommender agents independently on local devices to keep personal information private. However, this approach limits their ability to leverage diverse behavioral patterns and decision-making experiences observed from other users. Therefore, a collaborative recommendation framework that keeps personal information local while enabling recommender agents to leverage knowledge derived from one another's experiences is needed. From this perspective, Federated Recommendation (FedRec) is proposed as a promising approach to enabling collaboration across local devices while keeping user data private [2, 4, 20, 27, 43]. Existing FedRec methods have enabled such collaboration through numerical aggregation of model parameters [4, 10, 20, 43, 44] or collaborative signals [8, 23].
However, FedRec clients typically operate on resource-constrained personal devices, and repeatedly updating the parameters of LLM-based agents can incur substantial computational and memory overhead. Meanwhile, recent recommender agents can accumulate and update natural-language knowledge derived from user experiences without modifying model parameters. This capability suggests that recommender agents can adapt not only through parameter updates but also by explicitly maintaining and utilizing experience-derived
Jaehyung Lim, Woojoo Kim, Junyoung Kim, Dongha Kim, Wonbin Kweon, and Hwanjo Yu

Figure 1: A conceptual comparison between (a) Federated Recommendation, (b) Centralized Recommender Agents, and (c) Federated Recommender Agents (proposed).
knowledge. By extending this approach, we envision a new paradigm for FedRec in which agents share natural-language knowledge rather than model parameters, enabling collaborative learning without repeated LLM fine-tuning (Figure 1). We refer to this new research setting as Federated Recommender Agents.
Realizing such language-based knowledge collaboration between the federated recommender agents introduces three key challenges: (C1) continuously accumulating personalized knowledge, (C2) extracting shareable knowledge, and (C3) integrating knowledge generated by different agents.
C1: First, local agents must continuously accumulate and utilize knowledge from new user experiences without updating LLM parameters. In particular, they need to maintain personalized knowledge that captures not only what users prefer but also how they tend to make decisions across different behavioral contexts.
C2: Second, agents must determine how to represent knowledge extracted from local experiences so that other agents can interpret and reuse it without directly accessing user interaction histories or specific preferences. Unlike model parameters, recommendation knowledge expressed in natural language lacks predefined shared identifiers for alignment. We therefore need to define a consistently structured unit of knowledge sharing that makes explicit what each contribution describes. For recommendation, such a unit should capture patterns in the user's history and explain why those interactions may lead to the observed next choice, while abstracting away specific item identities and user-specific preference details.
C3: Third, we need to establish criteria for how these knowledge units should be integrated. Recommendation knowledge describes how users with particular interaction patterns proceed to their next choices. However, similar patterns may lead to different decisions, such as continuing familiar interests or exploring new directions. A common representation alone therefore does not determine which contributions should be combined. Integration must account for both the preceding interaction patterns and the subsequent decision directions, consolidating related reasoning while preserving explanations for distinct choices.
To address these challenges, we propose FedRecAgent, a structured reasoning federation framework for Federated Recommender
Agents. FedRecAgent keeps both client-side and server-side LLM parameters fixed, enabling personalization and collaboration through updates to experience-derived natural-language knowledge. Specifically, each client manages shareable knowledge units and private memories from local experiences. Each shareable unit follows a Condition-Transition-Reasoning (C-T-R) structure: Condition describes the behavioral context, Transition captures the observed decision transition, and Reasoning explains the corresponding choice. These units abstract away specific item identities and user-specific preference details. Meanwhile, each local agent maintains two complementary private memories on its device: semantic memory, capturing user preferences, and decision memory, capturing choice tendencies across behavioral contexts. The server organizes uploaded units by condition and transition and integrates their reasoning into a hierarchical global knowledge bank. During recommendation, each client uses its private memories to retrieve and select shared reasoning from the bank for personalized ranking.
The main contributions of this paper are summarized as follows:
-
Federated Recommender Agents. We formulate a new research problem, termed Federated Recommender Agents, in which LLM-powered recommender agents collaboratively leverage knowledge acquired from other agents while keeping private user information local. To address this problem, we propose FedRecAgent, a framework that enables federated collaboration through the sharing and integration of natural-language knowledge rather than model parameters.
-
Structured Reasoning Federation. In FedRecAgent, we design private dual memories to accumulate personalized knowledge and formulate C-T-R as a consistent unit for knowledge sharing that abstracts away private user and item details. We further establish condition-transition alignment as the criterion for hierarchical reasoning integration.
-
Experiments. We evaluate FedRecAgent across three recommendation domains under both dense and sparse settings, comparing it with representative federated and LLM-based recommendation methods. Ablation studies and additional analyses further examine the effectiveness of the proposed components.
2 Related Work
Federated Recommendation. Federated recommendation (FedRec) enables collaborative preference learning while keeping user interaction data on local devices. Early approaches primarily relied on federated optimization of collaborative filtering models by sharing model parameters or item representations instead of raw interaction histories [2, 43]. Subsequent studies have explored personalized model adaptation [4, 20, 44, 52], collaborative information aggregation [8, 10], continual preference learning [21, 46] and cold-start recommendation [18, 45]. Despite these advances, collaboration has largely relied on learned representations or model updates rather than explicit, reusable reasoning knowledge.
Recently, foundation models have been incorporated into FedRec to leverage their semantic understanding of users and items. [42] combines federated retrieval with LLM-based reranking, while [50] introduces an efficient framework for federated LLM-based recommendation. [9] explores personalized LLM adaptation for federated cross-domain recommendation, whereas [19] and [47] leverage pretrained vision-language representations and personalized multimodal fusion. Although these approaches incorporate knowledge, they primarily focus on recommendation modeling, representation fusion, or model adaptation rather than federating reasoning knowledge derived from personalized agent experiences.
LLM-based Recommender Agents. Recent advances in LLMs have enabled recommender agents that leverage reasoning, planning, and tool utilization for personalized recommendation. [32] employs autonomous planning and tool use, while [48] models users and items as interacting agents to capture collaborative preferences through reflection. Other studies investigate deliberative reasoning [33], dynamic item relationships [39], and multi-agent collaboration [35].
Recent studies have also emphasized persistent memory and personalized adaptation. [22] incorporates memory for cross-domain recommendation, [1] models iterative feedback between users and recommendation agents, and [36] maintains user-specific memory to adapt to individual instructions and feedback. [6] further introduces collaborative memory to capture relational information across users and items. [40] examines how adversarial textual perturbations can corrupt agent memories and manipulate recommendations. However, these studies do not primarily address how recommendation agents can share reusable reasoning while keeping user histories and personal memories local. This requires separating knowledge intended for cross-user collaboration from private personalization information.
LLM-based Federated Agents. Recent studies have extended federated learning to LLM-based agents, enabling collaboration without centralizing local experiences. Some approaches optimize agent models or policies through parameter-based federation [3, 51]. In contrast, knowledge-based approaches exchange natural-language knowledge instead of model parameters. [34] aggregates tool-use knowledge extracted from local data, while [5] uses textual feedback to optimize local prompts and aggregates them through server-side summarization. Other studies explore federated reasoning insights [41], reusable skills [38], and semantic knowledge abstractions [17]. [12] further studies the applicability of shared transition rules across heterogeneous agent environments. These studies demonstrate the potential of knowledge-level collaboration among LLM-based agents.
However, federating reasoning knowledge for recommendation requires distinguishing different decision transitions across sequential interactions. Even under similar behavioral contexts, users may continue their current interests, return to previous ones, or explore new alternatives. Thus, contextual similarity alone is insufficient to determine which reasoning contributions should be integrated. Furthermore, utilizing shared reasoning requires accounting for individual preferences and decision-making tendencies. FedRecAgent addresses these requirements by organizing shared reasoning into hierarchical condition-transition branches and leveraging local private memories for recommendation.
3 Problem Formulation
We formulate a federated recommender agent setting in which local LLM agents maintain private user data and personal natural-language knowledge, while collaborating through shareable knowledge integrated by a central server-side LLM agent.
Notations. Let and denote the sets of users and items, respectively. For user , let denote the item at position in the user's chronologically ordered interaction sequence. We define the recent history through position as , which contains the most recent interactions. An observed episode is represented as , where is the observed next item. Training episodes are formed by sliding the history window forward one interaction at a time, starting when at least preceding interactions are available. At inference time, given the current history and a candidate set , the recommendation agent produces a ranking . The objective is to rank the user's ground-truth next item as highly as possible.
Local Recommender Agents. We adopt a user-level federated setting, where each client corresponds to a single user . Each client device hosts a local LLM-based recommender agent that interprets the user's interaction experiences to construct shareable and private natural-language knowledge. The shareable knowledge is abstracted for reuse across users, and the private knowledge captures user-specific preferences and decision tendencies. The agent maintains and updates its private knowledge as new experiences become available, and uses it together with shared knowledge from the server for recommendation. Raw interaction histories and private knowledge remain on the client device.
Federated Knowledge Exchange. Client agents upload their shareable knowledge to a central server, where a server-side LLM agent integrates contributions from clients into reusable shared knowledge and distributes it back to client agents. Both client and server LLM parameters remain frozen; adaptation occurs through updates to private and shared natural-language knowledge. Training episodes are grouped into synchronous communication rounds according to their target timestamps, using common time intervals across users. A round can therefore contain multiple successive sliding-window episodes from each client. Within each round, clients process these episodes chronologically, updating private knowledge after each episode while using the shared knowledge finalized in the previous round. The server integrates uploaded knowledge once at the end of each round.
4 Proposed Method: FedRecAgent
In this section, we first define shareable knowledge units and the global knowledge bank (§4.1). We then describe how clients derive these units and update private memories (§4.2), how the server hierarchically integrates uploaded knowledge (§4.3), and how clients use shared knowledge and private memories for recommendation (§4.4). We use and to denote client- and server-side LLM calls conditioned on task-specific prompts and instructions, where the superscript identifies the operation. Figure 2 illustrates the framework.
Jaehyung Lim, Woojoo Kim, Junyoung Kim, Dongha Kim, Wonbin Kweon, and Hwanjo Yu

Figure 2: Overview of the FedRecAgent framework.
4.1 Knowledge Representation
In this section, we define a shareable knowledge unit and describe how these units are organized in the global knowledge bank.
4.1.1 Shareable Knowledge Unit. To provide a consistent unit of knowledge sharing without directly transmitting interaction histories, we abstract each local episode into . The condition describes the behavioral context preceding a choice. The transition describes how the observed next item relates to preceding interactions. The reasoning explains why that transition may occur under the condition. Generation prompts instruct clients to omit specific item identities and user-specific preference details.
A condition may describe interest stability or tension between long-term and recent signals, while a transition may express continuation, return, or exploration. These are illustrative patterns, not predefined categories: , , and are free-form natural-language descriptions. An example is shown below:
C: Recent choices consistently reinforce an established interest. T: The next choice continues the same direction. R: Repeated engagement may favor continued exploration within a familiar area rather than a shift to a different one.
4.1.2 Hierarchical Knowledge Bank. After each communication round , clients upload their knowledge units to the server. The server organizes shared knowledge in a hierarchical bank : each condition node contains transition branches, and each branch
stores reasoning for that transition. We represent this structure as
where is the number of condition nodes and is the number of transition branches under condition after round . Here, describes the condition, describes its -th transition, and stores the corresponding integrated reasoning. Bars denote stored shared representations, not arithmetic means. This organization allows different decision transitions and their explanations to coexist under the same condition.
4.2 Client-side Knowledge Update
In this section, we describe how clients construct a shareable knowledge unit and update private memories with episode . Each client processes local episodes using the shared bank , finalized in the previous round and distributed by the server. The bank remains fixed throughout the round and is initially empty before the first round.
4.2.1 Shareable Knowledge Derivation. The client first extracts the condition from the preceding history and the transition from the current episode :
Condition generation excludes to characterize the behavioral context before the choice is observed, allowing the same operation at inference time. Transition generation uses the observed next item to characterize the direction actually taken. The client also extracts a compact evidence summary , covering historical preference signals, item characteristics, and their relationships. This episode-specific evidence remains local and grounds reasoning generation and memory updates.
In conventional FedRec, global parameters provide a starting point for local training [2, 20, 27, 43]. We apply an analogous principle at the reasoning level: clients revise shared reasoning using new local experience, while keeping LLM parameters frozen. For each episode, the client retrieves a branch matching both and . The matching procedure is specified in § 4.3.1. If no branch matches, including in the initial round when , the client generates new reasoning:
Otherwise, the shared reasoning of the matched branch provides the starting point for a local revision:
The client preserves supported claims and revises those unsupported by the current experience. It uploads the resulting for server-side integration, keeping the episode and evidence local.
4.2.2 Private Dual Memory. FedRecAgent distinguishes shared knowledge in the global knowledge bank from private memories maintained locally for each user. The private memories updated using comprise two components: semantic memory , which captures user preferences, and decision memory , which captures choice tendencies under different conditions. We denote them by .
Each episode produces observations for both memories:
(5)
Semantic observation uses the episode and its evidence. Decision observation additionally uses to interpret the user's choice in relation to the abstract decision pattern. The client updates each memory with its observation:
The memories are maintained separately to preserve their complementary roles. Both remain on the client and complement the global knowledge bank during recommendation ( 4.4).
4.3 Server-side Hierarchical Knowledge Integration
At the end of communication round , the server integrates the knowledge units uploaded by clients during that round. A common C-T-R representation does not by itself determine which contributions should be combined. We use condition and transition similarity as the criteria for knowledge integration. The server first aligns similar conditions, then groups contributions by transition within each condition, and consolidates reasoning within the resulting branches. This hierarchical process preserves distinct decision directions under similar conditions and updates the bank from to .
4.3.1 Condition-Transition Assignment. For each uploaded knowledge unit , the server first finds the closest condition prototype using a fixed sentence encoder :
If no condition exists or the highest similarity is below , a new condition node is created. Otherwise, the server searches for a matching transition within the selected condition:
A new branch is created if the highest transition similarity is below . A newly created condition starts with a branch initialized from the uploaded transition. Condition and transition prototypes remain fixed after creation.
4.3.2 Within-branch Knowledge Integration. After condition-transition assignment, the server integrates the reasoning associated with each branch at two temporal scales. First, distillation consolidates reasoning records assigned to the same branch within round r. Let denote the collection of reasoning records uploaded in round r and assigned to transition branch j under condition node k. The server consolidates these records into a single distilled explanation :
where Sample selects at most B records. Distillation compresses redundant explanations while retaining common decision logic and complementary applicability conditions.
Second, temporal merging combines the distilled reasoning with the branch's prior rule:
The server is prompted to preserve complementary explanations and their applicability conditions while removing unsupported claims. New branches use directly; branches without new uploads retain their previous rules at this stage.
4.3.3 Cross-branch Reasoning Discrimination. Although reasoning is integrated within each condition-transition branch, independent integration may yield generic explanations that obscure differences between transitions. The server therefore compares reasoning across branches under the same condition to clarify the applicability of each branch's reasoning.
Starting from the merged reasoning , the server iteratively refines each branch's reasoning. At iteration , let denote the indices of at most sibling branches whose current reasoning has the highest cosine similarity to , measured using the fixed sentence encoder :
The sibling transition–reasoning pairs provide contrasting context for clarifying when the target reasoning applies to its associated transition. All branches are updated synchronously using the rules from iteration h, and sibling branches are reselected using the updated rules for the next iteration. After H iterations, the final
Jaehyung Lim, Woojoo Kim, Junyoung Kim, Dongha Kim, Wonbin Kweon, and Hwanjo Yu
shared reasoning is . The updated bank is distributed to clients for the next round.
4.4 Recommendation by Local Agents
The shared bank offers multiple decision directions under similar conditions. At inference time, the client retrieves relevant reasoning, selects a suitable branch, and ranks candidate items using its private memories. We consider three inference variants that differ in the memory used as the retrieval query, while sharing the same training procedure, branch selector, and ranking mechanism. We omit the round superscript below and use the final bank and personal memories.
Since the next item is unknown, the client extracts only the current condition: . It retrieves the most similar condition node . Unlike training-time matching, inference uses the nearest condition even when its similarity falls below , without creating new nodes.
4.4.1 Memory-based Retrieval Variants. Semantic memory describes what the user prefers, whereas decision memory describes how the user tends to choose. These provide different perspectives for retrieving shared reasoning. We define three queries:
We denote these variants by FedRecAgent , FedRecAgent , and FedRecAgent . Here, concat joins the semantic-memory text followed by the decision-memory text; the two memories remain separately maintained.
For each variant, let denote its retrieval query. To limit selection cost, the client retains at most branches under by cosine similarity between the query and each branch's shared reasoning:
(13)
where is the number of branches with nonempty reasoning under condition , and contains the indices of the highest-scoring branches.
4.4.2 Branch Selection and Ranking. For all three variants, the client selects one branch using the history, both private memories , and the retrieved transition-reasoning pairs:
Candidate items are not provided during branch retrieval or selection. The selected transition and reasoning then complement both memories in reranking the candidate set :
The variants differ only in retrieval-query construction; both memories inform branch selection and final ranking in every variant.
5 Experiments
5.1 Experimental Setup
We briefly summarize the experiment setup due to limited space. Please refer to Appendix A.1 for the experimental details.
5.1.1 Datasets. We use three real-world datasets from the Amazon Review Data [25]: CDs & Vinyl (CDs), Musical Instruments (Music), and Office Products (Office). These domains are widely used in recommendation and LLM-based agent studies [14, 40, 48]. Following prior user-sampling protocols [22, 40, 48], we construct dense and sparse subsets for each domain, yielding six datasets.
5.1.2 Evaluation Metrics and Protocol. We report NDCG@K (N@K) [15], , and Mean Reciprocal Rank (MRR) [30], scaled by 100. We use per-user chronological leave-one-out evaluation [13, 16, 20, 44, 48]: the last interaction is held out for testing, the second-to-last for validation, and the rest for training. Each ground-truth item is ranked against nine random negatives, with all ten candidates presented in random order. Personalized memories and the shared bank use only training data and remain fixed during evaluation. Unless otherwise specified, results are averaged over users and five random seeds; the main table also reports standard deviations across seeds.
5.1.3 Baselines. We compare FedRecAgent with 11 baselines in three categories: (1) Conventional federated recommendation: PFedRec [43], GPFedRec [44], FedRAP [20], and FedCIA [8]; (2) Federated adaptations of sequential models: we adapt GRU4Rec [11], SASRec [16], and BERT4Rec [28] to the federated setting, denoting them as FedGRU4Rec, FedSASRec, and FedBERT4Rec; and (3) Federated adaptations of LLM-based methods: we select LLMRank [13], AgentCF [48], AFL [1], and I2Agent [36] for their amenability to federated adaptation, and denote our adaptations as FedLLMRank, FedAgentCF, FedAFL, and FedI2Agent.
5.1.4 Implementation Details. We implement all methods in PyTorch with CUDA on up to five NVIDIA RTX 4090 GPUs. The client and server backbones are Qwen3-4B-FP8 and Qwen3-8B-FP8 [37], abbreviated as Qwen3-4B and Qwen3-8B. The smaller client follows prior work on deploying 8-bit 3B-4B LLMs in resource-constrained environments [24, 31, 49], while the larger server supports shared knowledge integration. Client and server prompt batch sizes are 32 and 4, respectively. We use all-MiniLM-L6-v2 for semantic similarity, evaluating and retrieval budget . We set communication rounds, maximum history length , and minimum preceding history . The server uses at most reasoning records for distillation and discrimination iterations with up to .
5.2 Performance Comparison
Table 1 reports recommendation performance on six datasets. Across all datasets and metrics, at least one FedRecAgent variant achieves the highest mean. All three variants outperform the strongest baselines in N@10 and MRR across all datasets. The best variants improve by 1.54%-9.19% in N@10 and 3.01%-16.29% in MRR over the strongest baselines. LLM-based baselines generally outperform conventional federated collaborative filtering and sequential methods, although the strongest baseline varies across datasets. We also evaluate FedSASRec-based hard negatives, ranking each ground-truth item against the nine highest-scoring non-interacted items identified by a trained FedSASRec model. In Table 2, FedRecAgent achieves the highest N@10 and MRR on five of the six datasets. The exception is Music-Dense, where FedI2Agent achieves the best
Table 1: Recommendation performance with random-negative candidates. Each cell reports the mean and sample standard deviation over five selected seeds. Best means are bold and best baseline means are underlined, including ties.
| Method | CDs-Dense | Music-Dense | Office-Dense | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N@1 | N@5 | N@10 | MRR | N@1 | N@5 | N@10 | MRR | N@1 | N@5 | N@10 | MRR | |
| PFedRec | 9.60 ±0.05 | 29.23 ±1.95 | 45.22 ±1.31 | 29.00 ±1.71 | 9.80 ±3.49 | 29.03 ±2.89 | 45.18 ±2.30 | 28.99 ±2.96 | 8.80 ±2.77 | 29.29 ±3.40 | 44.83 ±1.93 | 28.44 ±2.43 |
| GPFedRec | 8.00 ±2.92 | 26.76 ±5.68 | 43.63 ±2.92 | 27.02 ±3.59 | 8.60 ±1.95 | 28.62 ±2.89 | 44.95 ±1.72 | 28.64 ±2.14 | 7.80 ±3.11 | 28.51 ±4.64 | 44.17 ±2.67 | 27.63 ±3.35 |
| FedRAP | 11.00 ±3.16 | 29.29 ±2.55 | 45.62 ±1.38 | 29.55 ±1.83 | 10.00 ±2.55 | 30.93 ±2.68 | 45.93 ±1.81 | 29.84 ±2.28 | 10.00 ±4.64 | 28.54 ±6.55 | 44.94 ±3.44 | 28.72 ±4.30 |
| FedCIA | 12.20 ±1.48 | 34.58 ±1.07 | 48.02 ±0.55 | 32.47 ±0.74 | 10.00 ±1.87 | 29.92 ±2.49 | 45.63 ±1.33 | 29.47 ±1.68 | 10.60 ±1.82 | 31.61 ±1.40 | 46.31 ±0.68 | 30.31 ±0.91 |
| FedGRU4Rec | 11.80 ±3.27 | 29.36 ±4.43 | 46.04 ±3.05 | 30.10 ±3.81 | 9.40 ±3.29 | 28.05 ±1.33 | 44.50 ±1.19 | 28.13 ±1.61 | 9.00 ±3.54 | 29.19 ±3.70 | 45.41 ±2.20 | 29.19 ±2.78 |
| FedSASRec | 10.20 ±3.35 | 27.25 ±3.91 | 44.52 ±2.66 | 28.25 ±3.35 | 12.00 ±3.67 | 31.13 ±5.28 | 46.46 ±2.82 | 30.63 ±3.55 | 11.80 ±3.83 | 32.96 ±5.19 | 47.38 ±3.30 | 31.70 ±4.15 |
| FedBERT4Rec | 9.60 ±3.21 | 29.91 ±5.04 | 45.09 ±2.58 | 28.81 ±3.22 | 12.80 ±1.79 | 32.19 ±2.10 | 47.43 ±0.69 | 31.82 ±0.88 | 10.40 ±4.04 | 30.99 ±7.33 | 46.14 ±4.05 | 30.12 ±5.01 |
| FedLLMRank | 14.80 ±2.86 | 35.68 ±2.62 | 49.28 ±1.74 | 34.16 ±2.18 | 14.80 ±4.21 | 35.22 ±4.62 | 49.14 ±3.23 | 34.00 ±4.08 | 15.60 ±2.07 | 36.94 ±1.48 | 50.57 ±0.77 | 35.79 ±1.02 |
| FedAgentCF | 14.20 ±1.30 | 37.80 ±3.26 | 50.70 ±1.67 | 35.82 ±2.01 | 10.80 ±1.64 | 36.30 ±2.75 | 48.78 ±1.67 | 33.28 ±2.07 | 10.60 ±2.88 | 35.97 ±2.77 | 48.70 ±1.76 | 33.15 ±2.26 |
| FedAFL | 15.60 ±1.52 | 38.50 ±0.66 | 50.78 ±0.78 | 35.96 ±1.04 | 12.60 ±3.36 | 36.45 ±2.66 | 49.12 ±1.99 | 33.79 ±2.54 | 14.80 ±2.68 | 37.55 ±3.01 | 50.21 ±1.65 | 35.25 ±2.09 |
| Fedl2Agent | 15.60 ±4.98 | 34.50 ±6.03 | 49.04 ±3.61 | 33.92 ±4.58 | 13.80 ±1.48 | 34.15 ±2.19 | 48.56 ±1.14 | 33.26 ±1.38 | 14.60 ±2.88 | 37.39 ±2.81 | 49.93 ±2.08 | 34.87 ±2.64 |
| FedRecAgentP | 21.00 ±3.61 | 44.57 ±2.35 | 54.92 ±1.77 | 41.18 ±2.28 | 20.40 ±2.41 | 40.20 ±3.03 | 53.27 ±2.09 | 39.25 ±2.59 | 17.80 ±3.27 | 42.30 ±2.50 | 52.93 ±1.62 | 38.60 ±2.05 |
| FedRecAgentP | 21.00 ±3.39 | 44.20 ±2.89 | 54.76 ±2.09 | 41.02 ±2.68 | 21.20 ±2.77 | 40.19 ±3.52 | 53.47 ±2.17 | 39.54 ±2.74 | 17.40 ±2.70 | 40.42 ±1.96 | 52.39 ±0.68 | 37.97 ±0.87 |
| FedRecAgentP+D | 20.80 ±2.77 | 44.13 ±4.64 | 55.00 ±2.75 | 41.34 ±3.41 | 20.80 ±2.77 | 40.19 ±3.32 | 53.36 ±2.12 | 39.39 ±2.68 | 18.20 ±3.49 | 41.63 ±2.35 | 53.17 ±1.42 | 38.92 ±1.87 |
| Method | CDs-Sparse | Music-Sparse | Office-Sparse | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N@1 | N@5 | N@10 | MRR | N@1 | N@5 | N@10 | MRR | N@1 | N@5 | N@10 | MRR | |
| PFedRec | 9.80 ±4.97 | 31.08 ±3.31 | 45.66 ±2.74 | 29.53 ±3.59 | 9.00 ±3.94 | 27.28 ±2.45 | 44.21 ±2.51 | 27.77 ±3.24 | 7.80 ±3.27 | 28.09 ±2.19 | 44.62 ±1.57 | 28.21 ±2.11 |
| GPFedRec | 10.60 ±3.85 | 29.85 ±4.27 | 45.94 ±2.95 | 29.98 ±3.78 | 9.20 ±1.30 | 30.01 ±2.72 | 45.14 ±1.33 | 28.89 ±1.64 | 10.80 ±4.02 | 31.74 ±3.77 | 46.78 ±3.09 | 30.91 ±3.90 |
| FedRAP | 6.60 ±2.70 | 25.64 ±1.27 | 43.19 ±0.81 | 26.41 ±1.11 | 9.60 ±4.39 | 31.74 ±5.40 | 46.37 ±2.64 | 30.36 ±3.34 | 7.80 ±2.17 | 27.19 ±3.83 | 43.88 ±1.92 | 27.29 ±2.37 |
| FedCIA | 9.40 ±5.50 | 29.91 ±4.03 | 45.44 ±3.41 | 29.24 ±4.42 | 10.00 ±3.54 | 29.50 ±3.38 | 45.31 ±2.02 | 29.14 ±2.61 | 10.80 ±5.72 | 29.84 ±5.53 | 45.59 ±3.57 | 29.50 ±4.56 |
| FedGRU4Rec | 12.20 ±2.39 | 30.36 ±1.13 | 46.31 ±1.15 | 30.50 ±1.56 | 11.80 ±1.79 | 33.41 ±3.43 | 47.38 ±1.87 | 31.68 ±2.28 | 10.60 ±1.82 | 28.74 ±1.20 | 45.31 ±0.91 | 29.22 ±1.21 |
| FedSASRec | 11.60 ±3.85 | 31.27 ±3.26 | 46.80 ±2.02 | 31.02 ±2.56 | 12.20 ±2.17 | 32.03 ±1.35 | 47.08 ±0.48 | 31.41 ±0.66 | 12.60 ±3.91 | 32.60 ±3.19 | 47.19 ±2.38 | 31.49 ±3.05 |
| FedBERT4Rec | 10.20 ±2.17 | 31.09 ±2.54 | 45.99 ±1.72 | 29.97 ±2.16 | 10.40 ±4.04 | 31.65 ±2.74 | 46.38 ±2.35 | 30.41 ±3.06 | 9.20 ±4.27 | 28.81 ±5.74 | 45.04 ±3.40 | 28.82 ±4.23 |
| FedLLMRank | 22.20 ±5.02 | 42.77 ±4.00 | 54.93 ±2.66 | 41.44 ±3.42 | 15.60 ±2.70 | 39.32 ±3.54 | 50.89 ±1.72 | 36.08 ±2.19 | 15.60 ±3.29 | 38.92 ±3.77 | 51.30 ±2.58 | 36.62 ±3.24 |
| FedAgentCF | 15.60 ±5.41 | 41.64 ±3.95 | 52.33 ±3.08 | 37.78 ±4.00 | 11.20 ±2.86 | 39.13 ±2.23 | 50.09 ±1.67 | 34.76 ±2.15 | 10.60 ±1.14 | 39.42 ±3.36 | 50.49 ±1.54 | 35.29 ±1.82 |
| FedAFL | 18.20 ±2.39 | 41.09 ±3.01 | 52.62 ±1.56 | 38.28 ±2.03 | 15.60 ±2.61 | 40.07 ±2.60 | 51.38 ±1.76 | 36.66 ±2.22 | 18.60 ±3.97 | 42.95 ±2.66 | 53.89 ±2.11 | 39.87 ±2.77 |
| Fedl2Agent | 16.60 ±2.07 | 36.80 ±2.77 | 50.17 ±1.48 | 35.31 ±1.84 | 16.80 ±2.59 | 37.08 ±3.32 | 50.94 ±1.94 | 36.28 ±2.45 | 17.60 ±1.95 | 37.35 ±1.47 | 50.90 ±1.19 | 36.28 ±1.50 |
| FedRecAgentP | 29.20 ±2.68 | 49.56 ±2.13 | 59.33 ±1.65 | 47.02 ±2.11 | 18.40 ±1.52 | 44.29 ±1.52 | 53.75 ±0.70 | 39.60 ±0.83 | 21.60 ±2.07 | 42.38 ±2.55 | 54.18 ±1.46 | 40.40 ±1.84 |
| FedRecAgentP | 30.00 ±2.55 | 50.56 ±3.21 | 59.98 ±1.62 | 47.84 ±2.05 | 17.20 ±2.59 | 44.54 ±1.64 | 53.86 ±1.04 | 39.66 ±1.37 | 22.20 ±4.32 | 43.77 ±3.40 | 54.72 ±2.27 | 41.07 ±2.94 |
| FedRecAgentP+D | 29.20 ±1.92 | 49.29 ±3.70 | 59.50 ±1.82 | 47.23 ±2.22 | 17.60 ±2.19 | 44.27 ±1.60 | 53.69 ±0.82 | 39.49 ±1.04 | 22.40 ±3.21 | 43.47 ±1.83 | 54.66 ±1.54 | 40.98 ±2.02 |
Table 2: Recommendation performance under FedSASRec-based hard-negative candidates.
| Model | Metric | CDs | Music | Office | |||
|---|---|---|---|---|---|---|---|
| Dense | Sparse | Dense | Sparse | Dense | Sparse | ||
| FedLLMRank | N@10 | 49.63 | 50.27 | 48.38 | 52.28 | 50.03 | 48.18 |
| MRR | 34.68 | 35.60 | 33.24 | 37.75 | 35.22 | 32.81 | |
| FedAgentCF | N@10 | 50.30 | 51.22 | 47.83 | 48.41 | 51.86 | 49.19 |
| MRR | 35.09 | 36.43 | 32.44 | 32.76 | 37.20 | 33.63 | |
| FedAFL | N@10 | 43.83 | 43.86 | 42.37 | 44.28 | 45.43 | 46.02 |
| MRR | 26.91 | 26.90 | 25.43 | 27.40 | 28.85 | 29.82 | |
| Fedl2Agent | N@10 | 48.62 | 54.06 | 51.53 | 51.30 | 51.90 | 49.28 |
| MRR | 34.52 | 41.44 | 37.22 | 36.55 | 37.84 | 34.25 | |
| FedRecAgentD | N@10 | 52.69 | 59.27 | 50.18 | 54.97 | 55.37 | 52.89 |
| MRR | 38.33 | 46.87 | 35.42 | 41.09 | 41.92 | 38.53 | |
| FedRecAgentP | N@10 | 51.49 | 59.73 | 49.89 | 56.58 | 52.74 | 54.92 |
| MRR | 36.91 | 47.35 | 35.20 | 43.23 | 38.59 | 41.07 | |
| FedRecAgentP+D | N@10 | 53.93 | 59.33 | 50.21 | 55.00 | 54.61 | 55.51 |
| MRR | 39.94 | 46.91 | 35.53 | 41.04 | 40.88 | 41.83 | |
results. These results support the effectiveness of FedRecAgent under hard-negative sampling.
5.3 Ablation Study
Table 3 evaluates private memory and global knowledge construction through component ablations and alternative designs, with FedRecAgent as the reference.
5.3.1 Private Memory Construction. The private memory group examines the roles of private memories and episode evidence. w/o : only is used for retrieval, branch selection, and ranking. w/o : only is used for these operations. w/o : the top- branches with the most assigned knowledge units are
Table 3: Ablation Study on FedRecAgent.
| Variant | CDs-Dense | Music-Dense | |||
|---|---|---|---|---|---|
| N@10 | MRR | N@10 | MRR | ||
| FedRecAgent | 55.00 | 41.34 | 53.36 | 39.39 | |
| Private memory | w/o | 50.45 | 35.73 | 48.30 | 33.03 |
| w/o | 52.74 | 38.38 | 52.93 | 38.87 | |
| w/o | 46.47 | 30.88 | 47.06 | 31.62 | |
| w/o evidence extraction | 53.52 | 39.55 | 52.17 | 37.90 | |
| Unified memory | 54.07 | 40.19 | 52.42 | 38.09 | |
| Knowledge bank | w/o shared knowledge | 51.45 | 36.85 | 50.08 | 35.22 |
| w/o global-guided update | 51.76 | 37.39 | 52.58 | 38.34 | |
| w/o distillation | 49.54 | 34.64 | 50.67 | 35.95 | |
| w/o discrimination | 51.48 | 36.78 | 49.13 | 33.97 | |
| w/o merge | 50.53 | 35.80 | 51.42 | 36.84 | |
| C-only | 52.91 | 38.74 | 50.22 | 35.27 | |
shortlisted, and branch selection and ranking proceed without private memories. w/o evidence extraction: is omitted from reasoning generation and memory updates. w/ Unified memory: both observations update one memory, which is used for retrieval, branch selection, and ranking. Removing either memory reduces performance, and removing both causes the largest degradation, supporting their complementary roles in personalization. The Unified comparison favors updating preferences and conditional choice tendencies separately. Omitting evidence extraction degrades performance, supporting its role.
5.3.2 Global Knowledge Construction. This group examines the construction and use of shared knowledge. w/o shared knowledge: clients construct private memories and make recommendations using only their own interaction histories, without shared
Jaehyung Lim, Woojoo Kim, Junyoung Kim, Dongha Kim, Wonbin Kweon, and Hwanjo Yu


Figure 3: Global knowledge bank structure on CDs-Dense and Music-Dense. (a) Condition counts versus . (b) Branch counts versus . (c) Branches per condition. (d) Upload shares by branch composition: single experience, multiple experiences from one user, or experiences from multiple users.
Table 4: Transition matching accuracy (%) before and after discrimination. Scores are averaged within each condition and then across conditions. A dash indicates that no eligible branches were available.
| Dataset | Stage | R0 | R1 | R2 | R3 |
|---|---|---|---|---|---|
| CDs-Dense | Before | 45.83 | 55.17 | 79.69 | 73.95 |
| After | 91.67 | 79.31 | 89.06 | 75.42 | |
| Music-Dense | Before | - | 64.00 | 66.83 | 63.37 |
| After | - | 88.00 | 77.27 | 75.08 |
knowledge. w/o global-guided update: clients generate reasoning without previous shared rules. w/o distillation: one reasoning record is sampled per branch instead of consolidating the records. w/o discrimination: sibling-branch refinement is omitted. w/o merge: updated branches use only the current round's reasoning. w/ C-only: contributions are grouped by condition without transition-based partitioning. All variants reduce performance on both datasets. Removing shared knowledge highlights the benefit of cross-user knowledge collaboration. The remaining comparisons support guiding local reasoning with shared knowledge, consolidating explanations across users and rounds, and distinguishing decision transitions. The C-only comparison further supports condition–transition alignment for knowledge integration.
5.4 Study of FedRecAgent
Additional analyses and qualitative examples are in Appendix A.2.
5.4.1 Condition–Transition Structure. Figure 3 examines the organization of shared knowledge on CDs-Dense and Music-Dense. Figures 3(a) and 3(b) vary and , respectively, while fixing the other threshold at the dataset's selected setting. Higher thresholds produce finer partitions with more condition nodes or transition branches. Figure 3(c) shows that multiple transition branches co-exist under a single condition, representing different decision directions under similar behavioral contexts. Figure 3(d) categorizes uploads according to whether their assigned branch contains a single experience, multiple experiences from one user, or experiences from multiple users. Most uploads belong to multi-user branches, indicating cross-user knowledge integration.
Table 5: LLM-assessed preservation of preferences and conditional choice tendencies (%).
| Dataset | Preference | Tendency | ||
|---|---|---|---|---|
| Dual | Unified | Dual | Unified | |
| CDs-Dense | 41.59 | 32.27 | 26.59 | 16.14 |
| Music-Dense | 57.47 | 37.22 | 43.16 | 26.08 |
5.4.2 Transition Discrimination. We assess whether discrimination makes reasoning more specific to its associated transition. Given a condition and reasoning statement, Qwen3-8B selects the corresponding transition from the target branch and up to four similar sibling branches. Before–after comparisons use identical candidates and ordering, with the refinement stage hidden. Matching accuracy is averaged within each condition and then across conditions. Table 4 shows that discrimination consistently improves transition matching across the evaluated dataset–round pairs. This suggests that refinement makes the applicability of each branch's reasoning more distinguishable.
5.4.3 Memory Preservation Analysis. Table 5 compares separately maintained semantic and decision memories with unified memory. Qwen3-8B first extracts preferences and conditional choice tendencies from training histories without observing the memories, then evaluates anonymized memories against these claims. Claims are classified as preserved, generalized, absent, or contradicted; preserving a tendency requires retaining both its context and choice direction. Preservation rates are averaged across seeds within each user and then across users. Dual memory achieves higher preservation rates for both preferences and choice tendencies on both datasets. This suggests that separate maintenance helps retain explicit information about these complementary aspects of personalization.
5.4.4 Client LLM Size. Table 6 compares client LLM sizes. FedRecAgent consistently achieves the best or second-best performance across the evaluated configurations. These results suggest that FedRecAgent remains competitive across client capacities.
Table 6: Recommendation performance (N@10) with different client LLM sizes.
| Method | CDs-Dense | Music-Dense | ||||||
|---|---|---|---|---|---|---|---|---|
| 0.6B | 1.7B | 4B | 8B | 0.6B | 1.7B | 4B | 8B | |
| FedLLMRank | 45.82 | 44.90 | 49.28 | 49.91 | 47.46 | 46.96 | 49.14 | 48.67 |
| FedAgentCF | 44.75 | 46.79 | 50.70 | 50.41 | 47.35 | 48.65 | 48.78 | 47.91 |
| FedAFL | 46.11 | 45.57 | 49.99 | 51.67 | 47.66 | 47.77 | 48.04 | 49.31 |
| FedIL2Agent | 45.01 | 45.16 | 46.88 | 47.59 | 46.79 | 45.95 | 46.98 | 48.75 |
| FedRecAgent | 46.25 | 50.29 | 55.00 | 56.81 | 47.64 | 48.80 | 53.36 | 50.43 |
6 Conclusion
In this paper, we formulate Federated Recommender Agents, a setting where personalized LLM agents collaborate through natural-language knowledge while keeping private user information local. We propose FedRecAgent, which maintains private dual memories of preferences and choice tendencies, shares C-T-R knowledge units, and hierarchically integrates reasoning by condition and transition. These memories guide personalized retrieval and selection of shared reasoning without updating LLM parameters. Experiments demonstrate improved recommendation performance over baselines, while further analyses support the effectiveness of private memories and structured reasoning integration.
References
[1] Shihao Cai, Jizhi Zhang, Keqin Bao, Chongming Gao, Qifan Wang, Fuli Feng, and Xiangnan He. 2025. Agentic feedback loop modeling improves recommendation and user simulation. In Proceedings of the 48th International ACM SIGIR conference on Research and Development in Information Retrieval. 2235–2244.
[2] Di Chai, Leye Wang, Kai Chen, and Qiang Yang. 2020. Secure federated matrix factorization. IEEE Intelligent Systems 36, 5 (2020), 11–20.
[3] Canyu Chen, Kangyu Zhu, Zhaorun Chen, Zhanhui Zhou, Shizhe Diao, Yiping Lu, Tian Li, Manling Li, and Dawn Song. 2026. Is Decentralized LLM Agent RL Robust to Heterogeneity? An Asymmetric Tale. In The Fortieth Annual Conference on Neural Information Processing Systems. https://openreview.net/forum?id=SaF2kJyFYC
[4] Jundong Chen, Honglei Zhang, Chunxu Zhang, Fangyuan Luo, and Yidong Li. 2026. Breaking the aggregation bottleneck in federated recommendation: A personalized model merging approach. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 14547–14555.
[5] Minghui Chen, Ruinan Jin, Wenlong Deng, Yuanyuan Chen, Zhi Huang, Han Yu, and Xiaoxiao Li. 2025. Can textual gradient work in federated learning?. In International Conference on Learning Representations, Vol. 2025. 9405–9426.
[6] Weixin Chen, Yuhan Zhao, Jingyuan Huang, Zihe Ye, Mingxuan Ju, Tong Zhao, Neil Shah, Li Chen, and Yongfeng Zhang. 2026. Memrec: Collaborative memory-augmented agentic recommender system. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 44515–44544.
[7] Xueyang Feng, Jiaoki Tang, Xu Chen, Quanyu Dai, and Zhenhua Dong. 2026. Optimizing Multi-Turn Interactive Recommendation Agents via Generative Intrinsic Motivation. In Proceedings of the ACM Web Conference 2026. 5975–5986.
[8] Mingzhe Han, Dongsheng Li, Jiafeng Xia, Jiahao Liu, Hansu Gu, Peng Zhang, Ning Gu, and Tun Lu. 2025. FedCIA: Federated collaborative information aggregation for privacy-preserving recommendation. In Proceedings of the 48th international ACM SIGIR conference on research and development in information retrieval. 1687–1696.
[9] Xinrui He, Ting-Wei Li, Tianxin Wei, Xuying Ning, Xinyu He, Wenxuan Bao, Hanghang Tong, and Jingrui He. 2026. Fedecider: An llm-based framework for federated cross-domain recommendation. In Proceedings of the ACM Web Conference 2026. 6206–6217.
[10] Xinrui He, Shuo Liu, Jacky Keung, and Jingrui He. 2024. Co-clustering for federated recommender system. In Proceedings of the ACM Web Conference 2024. 3821–3832. doi:10.1145/3589334.3645626
[11] Balázs Hidasi, Alexandros Karatzoglou, Linas Baltrunas, and Donomonkos Tikk. 2015. Session-based recommendations with recurrent neural networks. arXiv preprint arXiv:1511.06939 (2015).
[12] Yuchao Hou. 2026. FedWorld: Scope-Aware Federation of Agent World Models. arXiv preprint arXiv:2608.01561 (2026).
[13] Yupeng Hou, Junjie Zhang, Zihan Lin, Hongyu Lu, Ruobing Xie, Julian McAuley, and Wayne Xin Zhao. 2024. Large language models are zero-shot rankers for recommender systems. In European conference on information retrieval. Springer, 364–381.
[14] Chengkai Huang, Tong Yu, Kaige Xie, Shuai Zhang, Lina Yao, and Julian McAuley. 2024. Foundation models for recommender systems: A survey and new perspectives. arXiv preprint arXiv:2402.11143 (2024).
[15] Kalervo Järvelin and Jaana Kekäläinen. 2002. Cumulated gain-based evaluation of IR techniques. ACM Transactions on Information Systems (TOIS) 20, 4 (2002), 422–446.
[16] Wang-Cheng Kang and Julian McAuley. 2018. Self-attentive sequential recommendation. In 2018 IEEE international conference on data mining (ICDM). IEEE, 197–206.
[17] Weihao Li, Jun Bai, and Ziyang Song. 2026. FedAgentKE: Federated Semantic Knowledge Evolution for Heterogeneous Agents. arXiv preprint arXiv:2607.21361 (2026).
[18] Yichen Li, Yijing Shan, Yi Liu, Haozhao Wang, Wei Wang, Yi Wang, and Ruixuan Li. 2025. Personalized federated recommendation for cold-start users via adaptive knowledge fusion. In Proceedings of the ACM on Web Conference 2025. 2700–2709.
[19] Zhiwei Li, Guodong Long, Jing Jiang, Chengqi Zhang, and Qiang Yang. 2026. Federated vision-language-recommendation with personalized fusion. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 23337–23345.
[20] Zhiwei Li, Guodong Long, and Tianyi Zhou. 2024. Federated recommendation with additive personalization. In International Conference on Learning Representations, Vol. 2024. 11770–11787.
[21] Jaehyung Lim, Womin Kweon, Woojoo Kim, Junyoung Kim, Seongjin Choi, Dongha Kim, and Hwanjo Yu. 2025. Federated Continual Recommendation. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management. 1798–1808. doi:10.1145/3746252.3761268
[22] Jiahao Liu, Shengkang Gu, Dongsheng Li, Guangping Zhang, Mingzhe Han, Hansu Gu, Peng Zhang, Tun Lu, Li Shang, and Ning Gu. 2025. Agentcf++: Memory-enhanced llm-based agents for popularity-aware cross-domain recommendations. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval. 2566–2571.
[23] Zhufeng Lu, Chentao Jia, Ming Hu, Xiaofei Xie, and Mingsong Chen. 2025. Gradients as an action: Towards communication-efficient federated recommender systems via adaptive action sharing. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2. 1999–2009.
[24] Zhenyuan Lu, Daliang Xu, Dongqi Cai, Zexi Li, Wei Liu, Jian Luan, Fangming Liu, Shangguan Wang, and Mengwei Xu. 2026. Mobiedit: Resource-efficient knowledge editing for personalized on-device llms. In International Conference on Learning Representations, Vol. 2026. 25645–25661.
[25] Jianmo Ni, Jiacheng Li, and Julian McAuley. 2019. Justifying recommendations using distantly-labeled reviews and fine-grained aspects. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-JFCNLP). 188–197.
[26] Stuart L Pardau. 2018. The california consumer privacy act: Towards a european-style privacy regime in the united states. J. Tech. L. & Pol'y'z (23) 2018, 68.
[27] Vasilios Perifanis and Pavlos S Efraimidis. 2022. Federated neural collaborative filtering. Knowledge-Based Systems 242 (2022), 108441.
[28] Fei Sun, Jun Liu, Jian Wu, Changhua Pei, Xiao Lin, Wenwu Ou, and Peng Jiang. 2019. BERT4Rec: Sequential recommendation with bidirectional encoder representations from transformer. In Proceedings of the 28th ACM international conference on information and knowledge management. 1441–1450.
[29] Paul Voigt and Axel Von dem Bussche. 2017. The EU general data protection regulation (GDPR): a practical guide. (2017).
[30] Ellen M Voorhees et al. 1999. The TREC-8 question answering track report. In Trec, Vol. 99. 77–82.
[31] Xunjie Wang, Jiacheng Shi, Zihan Zhao, Yang Yu, Zhichao Hua, and Jinyu Gu. 2026. TZ-LLM: Protecting On-Device Large Language Models with Arm Trust-Zone. In Proceedings of the 21st European Conference on Computer Systems. 657–674.
[32] Yancheng Wang, Ziyan Jiang, Zheng Chen, Fan Yang, Yingxue Zhou, Eunah Cho, Xing Fan, Yanbin Lu, Xiaojiang Huang, and Yingzhen Yang. 2024. Reclaim: Large language model powered agent for recommendation. In Findings of the Association for Computational Linguistics: NAACL 2024. 4351–4364.
[33] Chenghao Wu, Ruiyang Ren, Junjie Zhang, Ruirui Wang, Zhongrui Ma, Qi Ye, and Wayne Xin Zhao. 2025. Starec: An efficient agent framework for recommender systems via autonomous deliberate reasoning. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management. 3355–3365.
[34] Panlong Wu, Kangshuo Li, Junbao Nan, and Fangxin Wang. 2024. Federated in-context LLM agent learning. arXiv preprint arXiv:2412.08054 (2024).
[35] Yu Xia, Sunghuil Kim, Tong Yu, Ryan A Rossi, and Julian McAuley. 2026. Multi-agent collaborative filtering: Orchestrating users and items for agentic recommendations. In Proceedings of the ACM Web Conference 2026. 8649–8652.
[36] Wuijiang Xu, Yunxiao Shi, Zujie Liang, Xuying Ning, Kai Mei, Kun Wang, Xi Zhu, Min Xu, and Yongfeng Zhang. 2025. iagent: Llm agent as a shield between
Jaehyung Lim, Woojoo Kim, Junyoung Kim, Dongha Kim, Wonbin Kweon, and Hwanjo Yu
user and recommender systems. In Findings of the Association for Computational Linguistics: ACL 2025. 18056–18084.
[37] An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, et al. 2025. Qwen3 technical report. arXiv preprint arXiv:2505.09388 (2025).
[38] Jingbo Yang, Guanyu Yao, Yang Zhang, Ramana Rao Kompella, Gaowen Liu, and Shiyu Chang. 2026. FederatedSkill: Federated Learning for Agentic Skill Evolution. arXiv preprint arXiv:2606.03143 (2026).
[39] Mingdai Yang, Nurendra Choudhary, Jiangshu Du, Edward W Huang, Philip Yu, Karthik Subbian, and Danai Koutra. 2026. AgentDR: Dynamic Recommendation with Implicit Item-Item Relations via LLM-based Agents. In Proceedings of the ACM Web Conference 2026. 6230–6241.
[40] Shiyi Yang, Zhibo Hu, Xinshu Li, Chen Wang, Tong Yu, Xiwei Xu, Liming Zhu, and Lina Yao. 2026. Drunkagent: Stealthy memory corruption in llm-powered recommender agents. In Proceedings of the ACM Web Conference 2026. 6853–6864.
[41] Dixi Yao, Tahseen Rabbani, Manzil Zaheer, and Tian Li. 2026. Federation over Text: Insight Sharing for Multi-Agent Reasoning. arXiv preprint arXiv:2604.16778 (2026).
[42] Huimin Zeng, Zhenrui Yue, Qian Jiang, and Dong Wang. 2024. Federated recommendation via hybrid retrieval augmented generation. In 2024 IEEE International Conference on Big Data (BigData). IEEE, 8078–8087.
[43] Chunxu Zhang, Guodong Long, Tianyi Zhou, Peng Yan, Zijian Zhang, Chengqi Zhang, and Bo Yang. 2023. Dual personalization on federated recommendation. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence (IJCAI '23). 9 pages. doi:10.24963/ijcai.2023/507
[44] Chunxu Zhang, Guodong Long, Tianyi Zhou, Zijian Zhang, Peng Yan, and Bo Yang. 2024. Gpfedrec: Graph-guided personalization for federated recommendation. In Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining. 4131–4142.
[45] Chunxu Zhang, Guodong Long, Tianyi Zhou, Zijian Zhang, Peng Yan, and Bo Yang. 2024. When federated recommendation meets cold-start problem: Separating item attributes and user interactions. In Proceedings of the ACM Web Conference 2024. 3632–3642.
[46] Chunxu Zhang, Zhiheng Xue, Guodong Long, Weipeng Zhang, and Bo Yang. 2026. Learning Evolving Preferences: A Federated Continual Framework for User-Centric Recommendation. In Proceedings of the ACM Web Conference 2026. 6609–6620.
[47] Chunxu Zhang, Weipeng Zhang, Guodong Long, Zhiheng Xue, Riting Xia, and Bo Yang. 2026. Multimodal-enhanced Federated Recommendation: A Group-wise Fusion Approach. In Proceedings of the ACM Web Conference 2026. 6597–6608.
[48] Junjie Zhang, Yupeng Hou, Ruobing Xie, Wenqi Sun, Julian McAuley, Wayne Xin Zhao, Leyu Lin, and Ji-Rong Wen. 2024. Agentcf: Collaborative learning with autonomous language agents for recommender systems. In Proceedings of the ACM Web Conference 2024. 3679–3689.
[49] Jinghe Zhang, Daliang Xu, Chenghua Wang, Weikai Xie, Tao Qi, Yun Ma, Mengwei Xu, and Gang Huang. 2026. Quant. npu: Enabling Efficient Mobile NPU Inference for on-device LLMs via Fully Static Quantization. arXiv preprint arXiv:2605.20295 (2026).
[50] Jujia Zhao, Wenjie Wang, Chen Xu, See Kiong Ng, and Tat-Seng Chua. 2025. A federated framework for LLM-based recommendation. In Findings of the Association for Computational Linguistics: NAACL 2025. 2852–2865.
[51] Jiaxing Zhao, Hongbin Xie, Yuzhen Lei, Xuan Song, Zhuoran Shi, Lianxin Li, Shuangxue Liu, and Haoran Zhang. 2026. Weaving in the Clouds: Achieving Synergistic Collaboration among LLM Agents via Federated Learning. In Proceedings of the 43rd International Conference on Machine Learning. PMLR, 162414–162432.
[52] Pengyang Zhou, Chaochao Chen, Weiming Liu, Wenkai Shen, Xinting Liao, Huarong Deng, Zhihui Fu, Jun Wang, Wu Wen, and Xiaolin Zheng. 2025. Joint item embedding dual-view exploration and adaptive local-global fusion for federated recommendation. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval. 424–434.
A Appendix
Table 7: Dataset statistics. Paired values denote Dense/Sparse subsets. Density is the interaction count divided by the number of possible user-item pairs.
| Dataset | Users | Items | Interactions | Density (%) |
|---|---|---|---|---|
| CDs & Vinyl | 100 | 1,317/2,681 | 3,117/3,073 | 2.37/1.15 |
| Musical Instruments | 100 | 1,112/2,112 | 2,569/2,867 | 2.31/1.36 |
| Office Products | 100 | 1,092/2,264 | 2,540/2,732 | 2.33/1.21 |
A.1 Experimental Details
Data and Evaluation. Following [22, 40, 48], we construct subsets of CDs & Vinyl, Musical Instruments, and Office Products; Table 7 reports their statistics. Interactions are ordered chronologically within each user, reserving the last two for validation and testing. Training episodes use only the preceding training interactions. For LLM-based methods, items in interaction histories and candidate sets are represented by their titles.
Sequential Knowledge Updates. We process training episodes chronologically to reflect knowledge accumulation from new experiences. Unlike repeated local-epoch optimization, our setting updates natural-language memories and shared knowledge while keeping LLMs frozen. Each eligible episode is processed once, with its information retained through memory updates rather than repeated replay. History windows may overlap, but each training interaction serves as the next-item target only once. For client coordination, episodes are grouped into common intervals by target timestamp. Within each interval, clients process episodes sequentially using the previous round's shared knowledge, and the server aggregates their contributions at the end. Evaluation uses the final memories and knowledge bank.
Baseline Configurations. We compare existing federated recommenders with federated adaptations of sequential and LLM-based methods, preserving their core modeling and agent mechanisms within the client-server setting. The LLM-based methods are selected for their amenability to this adaptation. For conventional and sequential recommenders, we tune learning rates over using SGD, with up to 300 communication rounds and ten local epochs per round. Sequential models use cross-entropy loss, and other model-specific settings follow the original implementations. For conventional and sequential recommenders, we use a batch size of 2048 and full client participation (sampling ratio 1.0). Federated sequential baselines use FedAvg for aggregation. For LLM-based baselines, FedLLMRank [13] compares prompting configurations using interaction history, recency emphasis, and in-context examples. FedAgentCF [48] follows the same chronological round schedule as FedRecAgent and exchanges only item memories. The server LLM merges these memories and broadcasts them to initialize clients' local item memories for the next round. Inference combines learned user and item memories with the ten most recent interactions. FedAFL [1] uses the client LLM for both the recommender and user simulator, with FedSASRec providing recommendation priors and reward-model guidance. Both agents retain the accumulated dialogue history over up to four feedback

Figure 4: Hyperparameter study on FedRecAgent.
Table 8: Input-item reconstruction from client uploads, measured by Episode Recall@10 (%). Higher values indicate greater reconstruction success. Results use 100 users with 10 uploads per user.
| Attack input | CDs-Dense | Music-Dense |
|---|---|---|
| Random | 0.71 | 0.88 |
| Popularity | 3.85 | 7.87 |
| C | 0.94 | 1.94 |
| T | 1.47 | 2.77 |
| R | 0.80 | 2.68 |
| C + T | 1.41 | 2.71 |
| C + R | 0.98 | 2.73 |
| T + R | 1.20 | 3.15 |
| C + T + R | 1.22 | 3.00 |
Table 9: Post-filtered detection of explicit item-title disclosure in uploaded records. Detected entries report the number of uploads and the percentage of all evaluated uploads.
| Dataset | Uploads/user | Total | Detected uploads, (%) | |
|---|---|---|---|---|
| 8B | 14B | |||
| CDs-Dense | 10 | 1,000 | 0 (0.00) | 3 (0.30) |
| Up to 20 | 1,721 | 0 (0.00) | 5 (0.29) | |
| Up to 30 | 2,117 | 0 (0.00) | 6 (0.28) | |
| Music-Dense | 10 | 1,000 | 0 (0.00) | 0 (0.00) |
| Up to 20 | 1,433 | 0 (0.00) | 0 (0.00) | |
| Up to 30 | 1,569 | 0 (0.00) | 0 (0.00) | |
iterations, followed by candidate ranking. FedI2Agent [36] uses full-history interest memory and a profile constructed from feedback on a historical choice, without using held-out test-item feedback. The client extracts candidate-conditioned interests and profile information to rerank the initial FedSASRec ranking.
A.2 Additional Model Analyses
A.2.1 Hyperparameter Study. Figure 4 examines the effects of the branch budget and matching thresholds for FedRecAgent. Figure 4 (a) varies the branch budget , controlling how many retrieved branches are provided to the selector. Figure 4 (b) and (c) vary the condition and transition thresholds, and , which control how knowledge units are grouped in the bank. Increasing the branch budget does not uniformly improve performance, and the preferred threshold combinations differ across datasets.
A.2.2 Input-Item Reconstruction. We test whether an attacker can retrieve input items from a single upload using the full catalog of item titles and categories. Concatenated upload fields are
Jaehyung Lim, Woojoo Kim, Junyoung Kim, Dongha Kim, Wonbin Kweon, and Hwanjo Yu

Figure 5: Effect of server LLM size on FedRecAgent's recommendation performance.

(a) CDs-Dense
(b) Music-Dense
Figure 6: Test-time latency and recommendation performance on CDs-Dense and Music-Dense.
matched to catalog entries by cosine similarity of all-MiniLM-L6-v2 embeddings. Let denote the top ten retrieved items and the unique items in upload 's history and observed next item. We measure Recall@10() = , averaged over ten uploads per user and then 100 users. Controls use random retrieval and popularity ranking by training-item frequency. Table 8 compares fields and their combinations. Complete-record recall exceeds random retrieval, while all field-based attacks remain below the popularity control. Uploads thus retain some reconstruction signal.
A.2.3 Explicit Item-Title Detection. We inspect nested subsets of 10, up to 20, and up to 30 uploads per user, subject to availability. Disclosure requires a full input-item title or an identifiable fragment used as a work name in ; generic descriptions, incidental overlaps, and ambiguous references are excluded. Independent 8B and 14B LLM judges flag disclosures, which an AI assistant checks against the uploads and input titles to remove unsupported matches. These are post-filtered LLM detections; each upload is counted once. Table 9 reports no confirmed detections from 8B and rare detections from 14B only on CDs-Dense. Rates use all evaluated uploads as the denominator.
A.2.4 Server LLM Size. Figure 5 compares server LLM sizes with the client backbone fixed as Qwen3-4B. Both N@10 and MRR generally improve as server capacity increases, although the gains are modest and not strictly monotonic on CDs-Dense. The default server performs close to the larger configurations, with only modest additional gains from increased capacity.
A.2.5 Cost Analysis. Figure 6 compares per-user inference latency with main-table recommendation performance. FedRecAgent is slower than FedLLMRank and FedAgentCF, but faster than FedAFL and Fedl2Agent. It therefore achieves higher recommendation performance at intermediate inference cost. Table 10 compares client-side storage under a common client LLM backbone. Storage includes model weights and tokenizer/configuration files. FedAFL
Table 10: Client-side storage footprints in decimal units. Personal state is averaged over users; shared banks and auxiliary models are counted once per client.
| Model | Personal state (KB/user) | Shared bank (MB) | Auxiliary model (MB) | Total (GB) | |
|---|---|---|---|---|---|
| CDs-Dense | FedLLMRank | - | - | - | 5.2060 |
| FedAgentCF | 0.833 | 0.215 | - | 5.2062 | |
| FedAFL | 1.418 | - | 0.546 | 5.2065 | |
| Fedl2Agent | 2.080 | - | 0.546 | 5.2065 | |
| FedRecAgent | 1.672 | 0.369 | 91.568 | 5.2979 | |
| Music-Dense | FedLLMRank | - | - | - | 5.2060 |
| FedAgentCF | 0.856 | 0.218 | - | 5.2062 | |
| FedAFL | 1.976 | - | 0.493 | 5.2065 | |
| Fedl2Agent | 2.174 | - | 0.493 | 5.2065 | |
| FedRecAgent | 1.839 | 3.731 | 91.568 | 5.3013 |

Figure 7: Continual recommendation performance. N@10 is averaged across evaluation blocks .
and Fedl2Agent include serialized request-local state. FedRecAgent requires additional storage primarily for the sentence encoder used in local retrieval. Its personal memories and shared bank occupy relatively little space compared with the LLM weights. Although its total footprint is larger than those of the baselines, model weights remain the dominant storage cost across all methods.
A.2.6 Continual Recommendation. We process interactions in chronological blocks, using for initialization and for evaluation. For each eligible user, the last interaction in each evaluation block is predicted before observation and memory updates. Private memories persist across blocks, while clients use the previous block's shared bank throughout each block. Figure 7 shows that FedRecAgent achieves the highest reported N@10 on both datasets. Removing semantic memory, decision memory, or both reduces performance, although removing both does not consistently cause the largest decline. These results suggest that maintaining personalized memories supports recommendation as new interactions arrive.
A.3 Qualitative Case Studies
We illustrate personalized memory evolution and two server-side reasoning operations using recorded examples.
A.3.1 Evolution of Personalized Memory. Figure 8 follows User 69 in CDs-Dense. After five observations, semantic memory emphasizes soothing, nature-themed New Age music. Two subsequent Christmas-themed selections introduce a reinforced seasonal preference; after six new observations, this interest becomes the leading emphasis of the memory. Decision memory also shifts from maintaining calming soundscapes to balancing familiar holiday selections with newer choices. This example illustrates shifts in the preferences and choice tendencies emphasized by the memories.
| Condition: Recent choices suggest tentative exploration amid tension between familiarity and novelty. |
|---|
| Transition: A shift toward introspection and personal reflection. |
| Reasoning 1: Emotional depth and recent thematic consistency support cautious exploration within established patterns. |
| Reasoning 2: Novelty can align with long-term preferences through a subtle change in emotional tone. |
| Reasoning 3: Recent reflective choices and a long-term orientation toward emotional depth support further introspection. |
| Distilled reasoning: A gradual shift toward introspection balances long-term emotional depth with recent thematic consistency, enabling cautious variation within established patterns. |
Figure 10: A case study of within-branch distillation on CDs-Dense. Reasoning from three users assigned to the same condition–transition branch is consolidated, retaining long-term tendencies, recent choice signals, and variation within established patterns. Texts are condensed for readability.

Figure 8: Evolution of personalized memory for User 69 in CDs-Dense. Green and gray highlight earlier and newly emphasized content, respectively.

Figure 9: Case study of cross-branch discrimination. Gray highlights overlapping explanations before refinement; cyan and yellow highlight distinct transition-specific reasoning afterward.
A.3.2 Cross-Branch Discrimination. Figure 9 compares two reasoning statements under a shared condition. Before discrimination, their descriptions overlap around a departure from established patterns. Afterward, one emphasizes an abrupt shift to an unfamiliar era and genre, while the other emphasizes continuity, thematic coherence, and artist-specific depth. The refinement clarifies which transition each explanation supports without introducing a new observed transition.
A.3.3 Reasoning Distillation. Figure 10 illustrates how reasoning from three users assigned to the same condition–transition branch is distilled into a shared explanation. The distilled reasoning connects long-term tendencies with recent choice signals to explain cautious variation within established patterns. This example shows how distillation compresses overlapping explanations while retaining their shared decision logic.