PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 16, 2026SHILAP Revista de lepidopterología2 citationsOpen Access

RoLLMRec: a robust LLM-based recommender system for defending against shilling and prompt injection attacks

SSSarama ShehmirRKRasha Kashef

Key Points

  • The aim is to develop a robust LLM-based recommender system that can defend against vulnerabilities like shilling and prompt injection attacks.
  • Developed RoLLMRec framework integrating prompt filtering and trust-aware scoring.
  • Incorporated retrieval-augmented generation for enhanced factual grounding.
  • Utilized multimodal LLM encoding for various input types.
  • Implemented adaptive feedback loops for continual learning.
  • Evaluated on benchmark datasets to measure effectiveness.
  • RoLLMRec outperformed BERT4Rec, RecVAE, and LightGCN in NDCG@10 and HR@10 by up to 6% and 5%, respectively.
  • Maintained a Robust Hit Rate (RHR@10) above 0.63 under a 10% prompt-injection attack.
  • Achieved a Perturbation Sensitivity Index (PSI) below 0.135, demonstrating 15%–25% higher resilience.
  • Sustained a Semantic Stability Score (SSS) above 0.60 under zero-shot cross-domain transfer.

Abstract

Large Language Models (LLMs) are increasingly being integrated into recommender systems, offering contextual reasoning, cross-domain adaptability, and natural language interaction. However, their adoption also introduces vulnerabilities such as prompt injection, semantic poisoning, and shilling attacks, which can distort recommendations and erode user trust. Addressing these risks is essential for the safe deployment of LLM-based recommenders. We propose RoLLMRec, a defense oriented architectural framework and evaluation methodology for LLM-based recommender systems that integrates prompt filtering, retrieval augmented grounding, trust aware scoring, and an auditing feedback loop. RoLLMRec improves robustness under the evaluated prompt level and semantic adversarial settings, while multimodal support is included at the architectural level only and is not empirically evaluated in the current experimental setup.RoLLMRec unifies five core components: (1) prompt shielding and input filtering to detect and block adversarial instructions; (2) retrieval-augmented generation to enrich factual grounding and reduce hallucination; (3) multimodal LLM encoding for text, metadata, and image inputs; (4) trust-aware scoring and Top-K ranking; and (5) adaptive feedback loops for continual learning. Evaluations on benchmark datasets such as Yelp, MovieLens, and Amazon Books show that RoLLMRec surpasses BERT4Rec, RecVAE, and LightGCN, improving NDCG@10 and HR@10 by up to 6% and 5%, respectively. Under a 10% prompt-injection attack, it maintains a Robust Hit Rate (RHR@10) above 0.63 and a Perturbation Sensitivity Index (PSI) below 0.135, achieving 15%–25% higher resilience. It also sustains a Semantic Stability Score (SSS) above 0.60 in zero-shot cross-domain transfer, confirming stable semantic intent.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Shehmir et al. (2026) studied this question.

synapsesocial.com/papers/69b79d538166e15b153aac4ehttps://doi.org/10.3389/fcomp.2026.1735253
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Automated adversarial red-teaming for evaluating robustness in LLM-based recommender systems2026
  2. 2RecLLM-R1: A Two-Stage Training Paradigm with Reinforcement Learning and Chain-of-Thought v12025
  3. 3KELLMRec: Knowledge-Enhanced Large Language Models for Recommendation2024
  4. 4PALRec: Large Language Model-Based Sequential Recommendation With Parameter-Preserving Augmentation2026
  5. 5MLLM4Rec : Multimodal Information Enhancing LLM for Sequential Recommendation2024 · 1 citations