TL;DR
FELLAS is a new framework that supercharges federated sequential recommendation by treating Large Language Models (LLMs) as external embedding services rather than internal backbones. By combining a novel $d_\chi$-privacy perturbation method with contrastive learning, it allows resource-constrained mobile devices to leverage the semantic power of LLMs without compromising user privacy or incurring massive computational overhead.
What Problem Does This Paper Address?
Sequential recommendation systems—the tech that predicts what you’ll want next based on your history—face a "trilemma" in the federated learning (FL) setting:
- Privacy: Users don't want to share their raw interaction history with a central server.
- Performance: On-device models in FL must be lightweight to fit on smartphones, but small models lack the deep semantic understanding of massive models like Llama 3.
- Efficiency: Directly fine-tuning an LLM within a federated framework is prohibitively expensive in terms of battery, memory, and communication bandwidth.
Existing attempts to bridge this gap either sacrifice privacy by sending data to LLM APIs or sacrifice efficiency by trying to run "shrunken" LLMs on-device. The authors of FELLAS ask: Can we use the high-quality representations of a remote LLM to help a tiny local model learn better, without the LLM ever seeing the user's true data?
Methods
The FELLAS (FEderated Sequential Recommendation Framework with LLM AS External Services) architecture introduces three clever components:
- LLM as a Service (EaaS): Instead of making the LLM the recommendation engine, FELLAS uses it as a feature extractor. The central server uses the LLM to turn item descriptions into rich embeddings.
- $d_\chi$-privacy Sequence Perturbation: To get a "sequence-level" summary from the LLM, a client would normally have to upload their history. To prevent this, FELLAS implements $d_\chi$-privacy. Before uploading, the client replaces items in their sequence with semantically similar "decoy" items. This provides a mathematical privacy guarantee while preserving the general "vibe" of the user's interests.
- Contrastive Enhancement: Because the LLM is now looking at a "noisy" (perturbed) sequence, its output isn't perfect. FELLAS uses a contrastive learning objective to align the local lightweight model’s representation with the LLM’s high-level semantic view. This acts as a form of knowledge distillation, helping the small model "think" more like the large one.
- Adversarial Testing: The authors developed two new inference attacks (SIA and SIAUI) to stress-test their privacy claims, simulating a scenario where the LLM server and the central server collude to de-anonymize users.
Datasets
The researchers evaluated FELLAS on three popular subsets of the Amazon Product Dataset:
- Beauty: High sparsity, 20k+ users.
- Office Products: Medium scale, ~4.6k users.
- Patio, Lawn and Garden (PLG): Smaller scale, ~1.5k users.
They used GRU4Rec and SASRec as the "lightweight" base models to prove that FELLAS is model-agnostic.
Key Insights and Ideas
- Semantic "Vibe" Over Exact IDs: The core "aha" moment is that an LLM doesn't need your exact purchase history to understand your preferences. If you bought a "Mechanical Pencil," telling the LLM you bought a "Ballpoint Pen" (a perturbed decoy) still allows the LLM to provide a "Stationery/Office" context that helps the local model.
- The Efficiency Win: By using the LLM as an external service, the heavy lifting happens once (or via API calls). The client-side training remains lightweight, and inference speed is identical to a traditional small model because the LLM isn't needed during the actual recommendation step.
- Privacy-Utility Trade-off: The $d_\chi$-privacy parameter ($\epsilon$) allows system designers to turn a "knob" between maximum privacy (random noise) and maximum accuracy (raw data).
Key Results
- Beating the "Gold Standard": In many tests, FELLAS (a federated model) actually outperformed centralized versions of GRU4Rec and SASRec. For example, on the Beauty dataset, FELLAS improved the Hit Ratio (HR@10) by nearly 40% compared to vanilla federated models.
- LLM Scaling Laws Apply: The quality of the external service matters. Moving from BERT to Llama 3.1 as the external service provided a massive boost in recommendation accuracy, proving that as LLMs get better, FELLAS gets better "for free."
- Robust Privacy: Under the SIAUI attack (the most dangerous scenario), FELLAS maintained strong privacy. When the privacy budget was set to a reasonable level ($1/\epsilon \ge 0.01$), the attacker's ability to guess the original items was nearly as bad as random guessing.
Limitations and Future Work
- Data Sparsity: While FELLAS improves representations, it doesn't fully solve the "cold start" problem where a user has almost no history. The authors suggest using LLMs for data augmentation in the future.
- LLM Server Privacy: The paper focuses on protecting user data from the server. However, it doesn't address protecting the LLM owner's intellectual property (the embeddings themselves) from being stolen or reverse-engineered by clients.
- Prompt Complexity: The current implementation uses simple prompts ("The user's purchase history is..."). More sophisticated prompt engineering or including more metadata (item categories, prices) could likely drive performance even higher.
Summary updated