A Hybrid RAG Framework for Deceptive Review Detection: Integrating RoBERTa-LoRA, FAISS-Based Retrieval, and LLM Reasoning
Organizations: Department of Computer Science, University of Jaén, Campus Las Lagunillas, Jaén, 23071, Spain · Department of Computer Languages and Systems, University of Granada, Cortadura del Valle, s/n, Ceuta, 51001, Spain · Department of Computer Science and Artificial Intelligence, University of Granada, Cortadura del Valle, s/n, Ceuta, 51001, Spain
Abstract
The growth of deceptive online opinions poses a critical risk of misinformation and fraud. This paper proposes a Retrieval-Augmented Generation (RAG) system to automatically distinguish spam reviews. The architecture integrates RoBERTa with Low-Rank Adaptation (LoRA) classification, FAISS semantic vector retrieval, and a Large Language Model (LLM) for final reasoning. The system was evaluated across balanced and severely imbalanced real-world scenarios. Results demonstrate that five epochs of fine-tuning enable robust domain transfer, achieving an F1-score of 0.90 in cross-domain evaluation, outperforming baselines (OpenAI Detector,F1 = 0.82) and demonstrating competitive performance against specialized in-domain SOTA models (fakeRoBERTa,F1 = 0.97). The proposed architecture provides evidence-backed explainability and statistically significant precision gains while maintaining comparable overall detection performance.
Figures & tables
| Author | Description | Dataset | Outcomes | Research Gap |
|---|---|---|---|---|
| Ott et al. (2011) [ 10 ] | First systematic study on deceptive reviews; utilisation of n-grams and psycholinguistic analysis | 800 hotel reviews of 20 Chicago hotels (400 genuine, 400 fake) | Algorithm accuracy 89.8%, whereas humans recognise fakes only 50% of the time. | It needs to adapt to new domains; vulnerable to modern spammers. |
| Jindal & Liu (2008) [ 11 ] | The study categorises review spam into three types (untruthful opinions, brand-only reviews, ads). They used duplicate and near-duplicate review patterns to identify and analyse deceptive opinions with a logistic regression model | 5.8 million reviews from the Amazon platform | Failure of text-only approaches (they obtained a poor AUC of only 63%) | It has a limitation in finding duplicates using a 2-gram-based content comparison with the Jaccard distance, and fails to capture subtle semantic patterns |
| Raza et al. (2025) [ 14 ] | Application of BERT architecture with progressive episode-based training strategy to capture linguistic nuances of fake news | WELFake dataset (72,134 articles). | Accuracy: 95.3%, F1-score: 0.953. | The current model lacks transparent explainability in its decision-making. The WELFake dataset has potential imperfections |
| Lopez-Joya et al. (2025) [ 15 ] | They proposed the VERIFAID RAG system for fake news detection. The system was built on an automatically generated, dynamically growing database. This design provides traceable evidence to support the final classification | VERIFAID-dataset (33,337 entries) | On benchmark datasets like GossipCop, CoAID, and PolitiFact, the VERIFAID framework achieved competitive F1-Macro and accuracy scores | The framework is designed specifically to detect general misinformation, fake news, and political or health-related rumours, not tailored to deceptive review spam |
| Singal et al. (2024) [ 16 ] | Automated fact-checking system based on RAG (using Mixtral 8x22B) and in-context learning (Few-Shot ICL) to provide evidence-backed predictions | AVeriTeC dataset (4,568 real-world claims) | Improved baseline metrics by 22% with a minimal number of training examples | The extracted QA evidence is susceptible to LLM hallucinations. Tuned exclusively for fact-checking, not for review analysis |
| Niu et al. (2024) [ 17 ] | The VeraCT RAG system integrating web search and optimised query generation for transparent decision reasoning using GPT-4 and Llama-2 | BuzzFeedNews, Fakenewsnet, LLMFake, PolitiFact-Snopes-2024 and FakeNews2024 datasets | Achieved state-of-the-art results in news verification tasks | Complex web search architecture is not adapted for isolated review platforms |
| Dataset | Role in System | Size and Details |
|---|---|---|
| Deceptive Opinion Spam Corpus v1.4 [ 10 ] | Classifier training (first dataset 1 ) | 1,600 hotel reviews; 800 genuine / 800 fake. Split 70/30 (1,120 train / 480 validation). |
| Yelp Fake Review Dataset [ 19 ] | Classifier training (second dataset 1 ) | 9,929 train / 2,483 test instances. Restaurant reviews with realistic class skew based on Yelp’s filter. |
| YelpNYC + YelpZIP [ 20 ] | FAISS Knowledge Base | 768,683 labelled reviews by Yelp platform filter (86% genuine / 14% fake). Used exclusively to build a large-scale semantic index. |
| In-Domain Data (Test set split) | Evaluation (Exp. 1: Baseline) | 1,309 instances from the combined training data. Stratified split (70% genuine / 30% fake) with fixed seed. |
| Hotel Reviews [ 21 ] | Evaluation (Exp. 2 with imbalance) | Sample of 3,000 reviews. Severe class imbalance: 2,700 genuine (90%) / 300 fake (10%). |
| Cross-domain Reviews [ 18 ] | Evaluation (Exp. 3 with cross-domain reviews) | Sample of 3,000 multi-domain reviews (50% genuine / 50% LLM-generated fakes). |
| Model | Acc | F1-Score | Prec | Rec | PR-AUC |
|---|---|---|---|---|---|
| TF-IDF + LogReg | 0.7701 | 0.6024 | 0.6213 | 0.5846 | 0.7030 |
| TF-IDF + LinearSVM | 0.7907 | 0.6040 | 0.6921 | 0.5359 | 0.7172 |
| TF-IDF + SVM | 0.8067 | 0.5886 | 0.8044 | 0.4641 | 0.7076 |
| TF-IDF + Naive Bayes | 0.7273 | 0.1639 | 0.9459 | 0.0897 | 0.6327 |
| RoBERTa + LogReg | 0.7456 | 0.6186 | 0.5590 | 0.6923 | 0.6617 |
| RoBERTa + LinearSVM | 0.7441 | 0.6109 | 0.5584 | 0.6744 | 0.6382 |
| Dataset | Setup | Acc | Prec | Rec | F1-Score |
|---|---|---|---|---|---|
| In-Domain Baseline (70/30) | |||||
| RoBERTa-LoRA only | 0.8130 | 0.6862 | 0.6880 | 0.6871 | |
| Full RAG Pipeline | 0.8237 | 0.7424 | 0.6266 | 0.6796 | |
| Hotel Reviews (90/10, zero-shot) | |||||
| RoBERTa-LoRA only | 0.6712 | 0.1684 | 0.6007 | 0.2631 | |
| Full RAG Pipeline | 0.7656 | 0.1967 | 0.4539 | 0.2745 | |
| Scenario | Metric | 95% CI ( -value) | |
|---|---|---|---|
| In-Domain | Precision | ||
| Recall | |||
| F1-score | [ ] | ||
| Hotel Reviews | Precision | ||
| (Fine-Tuned) | Recall | ||
| F1-score | [ ] |
| Detector | Evaluation Mode | Precision | Recall | F1-Score |
| OpenAI Detector 1 | In-domain (8k test set) | 0.83 | 0.82 | 0.82 |
| NBSVM 1 | In-domain (8k test set) | 0.95 | 0.95 | 0.95 |
| fakeRoBERTa 1 | In-domain (8k test set) | 0.97 | 0.97 | 0.97 |
| Proposed RAG System (No retraining) | zero-shot (8k test set) | 0.76 | 0.42 | 0.54 |
| Proposed RAG System (With retraining) | 5 epochs adaptation (8k test set) | 0.88 | 0.92 | 0.90 |
| Configuration | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| RoBERTa + LogReg | 0.7456 | 0.5590 | 0.6923 | 0.6186 |
| RoBERTa-LoRA | 0.8130 | 0.6862 | 0.6880 | 0.6871 |
| Full RAG (light prompt) | 0.8229 | 0.7331 | 0.6394 | 0.6831 |
| Full RAG | 0.8237 | 0.7424 | 0.6266 | 0.6796 |
| Scenario | Setup | EGR (%) | Avg. Facts Count | PCR (%) | Perplexity |
|---|---|---|---|---|---|
| In-Domain Baseline | Light Prompt | 0.5 | 1.01 | 25.6 | 32.89 |
| Full RAG | 100.0 | 3.50 | 25.1 | 41.07 | |
| Hotel Reviews | Light Prompt | 0.5 | 1.04 | 23.1 | 30.61 |
| (Fine-Tuned) | Full RAG | 99.5 | 6.32 | 31.3 | 27.55 |
| Cross-Domain | Light Prompt | 0.0 | 1.08 | 19.3 | 27.61 |
| (Fine-Tuned) | Full RAG | 80.5 | 1.98 | 25.0 | 40.40 |
| Input Review & Metadata | Light Prompt (Ablation) | Full RAG Prompt (Ours) |
|---|---|---|
| “GREAT CORN Came here on a late Monday night and was one of the last customers I was very pleased that the waitress did not try to rush us out” Base Probability: (Uncertain) Retrieved Stat: examples - reals Ground Truth: (Genuine) | Prediction: (Deceptive) Output: “LABEL: 1. REASONING: The review contains generic and templated text (“GREAT CORN”) and lacks situational context, making it seem like a pre-written promotional phrase. The mention of a specific day and time (“late Monday night”) is not enough to ground the review in reality.” | Prediction: (Genuine) Output: “LABEL: 0. REASONING: The retrieved examples are mostly real ( out of ), with a fake ratio of in the top-20 neighbours. The closest distance is , indicating a moderate similarity to memory. The classifier result is , which is not conclusive. The text is grounded and situational, describing a specific experience at a restaurant. The mention of a late Monday night and a specific interaction with the waitress suggests a genuine review. The use of “GREAT CORN” in all caps may be a minor red flag, but it is not enough to override the other evidence.” |
| “I feel like i need to go back and read this book again I felt it was very repetitive and not applicable to most Id love to be able to quit work move to the beach and relax That is simply not an option” Base Probability: (Uncertain) Retrieved Stat: examples - reals Ground Truth: (Genuine) | Prediction: (Deceptive) Output: “LABEL: 1 REASONING: The review contains generic and templated language, such as “I feel like I need to go back and read this book again” and “Id love to be able to quit work move to the beach and relax”, which are common phrases used in promotional or spam reviews. The text also lacks specific details about the book, making it seem like a generic complaint rather than a genuine review.” | Prediction: (Genuine) Output: “LABEL: 0 REASONING: The retrieved examples are mostly real ( ), with a fake ratio of in the top-20 neighbours. The closest distance is , indicating a moderate similarity to memory. The classifier result is a probability of spam ( ), but I prioritise the retrieval evidence over the classifier result. The target review text is grounded and situational, expressing a personal opinion about a book. The language is imperfect and experience-based, describing a feeling of repetition and inapplicability. The tone is not overly promotional or templated, and the text does not exhibit generic or repetitive language.” |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Scenario | Metric | 95% CI ( -value) | |
|---|---|---|---|
| Hotel Reviews (zero-shot) | Precision | ||
| Recall | |||
| F1-Score | [ ] | ||
| Cross-Domain (zero-shot) | Precision | ||
| Recall | |||
| F1-Score | [ ] |
| Dataset | Setup | Acc | Prec | Rec | F1-Score |
|---|---|---|---|---|---|
| Hotel Reviews (zero-shot) | |||||
| RoBERTa-LoRA | 0.6712 | 0.1684 | 0.6007 | 0.2631 | |
| Full RAG (light prompt) | 0.7456 | 0.1807 | 0.4539 | 0.2585 | |
| Full RAG | 0.7656 | 0.1967 | 0.4539 | 0.2745 | |
| Hotel Reviews (fine-tuned) | |||||
| RoBERTa-LoRA | 0.7083 | 0.2132 | 0.6136 | 0.3164 | |
Retrieval-Augmented Classification
Retrieval-augmented classification uses relevant examples, prototypes, or knowledge at inference time to ground predictions and handle sparse or changing labels.
See all 41 papers