Automated Crowdturfing Attacks and Defenses in Online Review SystemsAutomated Crowdturfing Attacks and Defenses in Online Review Systems
The authors use a character-level LSTM to generate Yelp fake reviews, stating that they can bypass statistical detectors and human judgment, and propose a character-distribution-based defense (F-score 0.80–0.98).
The attacker's goal is to use an AI program to generate fake review text that is hard to distinguish from real human reviews (without manipulating metadata). Knowledge: access to a corpus of real reviews, understanding of the target domain, and compute to train a neural network. Victim system: online review platforms such as Yelp.
- Crowdturfing fake reviews are costly and have bursty temporal characteristics that make them easy to detect. The authors explore whether deep learning language models can automatically generate fake reviews that bypass existing detection.
- A character-level LSTM is used to train a generative model on the Yelp review corpus, producing reviews targeting specific restaurants through a two-stage process (initial generation + WordNet-based noun-level customization); for defense, the information loss from RNN training is exploited, comparing character-level distribution differences to detect machine-generated reviews.
- Machine-generated reviews have precision as low as 18.48% under the linguistic feature classifier (temperature 1.0); in the user study (N=600), human detection precision is only 40.6%; the authors' proposed defense achieves F-score 0.80–0.98, and they state that attackers' returns from increasing model scale diminish while costs rise acceleratingly.
- The authors state that future work could study the role of metadata in attack and defense, and extend generative attacks to scenarios such as Sybil attacks and fake news. The experiments cover only Yelp restaurant reviews and mostly five-star generation, and the defense assumes the defender can obtain some samples of machine-generated reviews.
- Evaluated models
- Linguistic classifier (linear SVM)WinnowingDefense RNN
- Benchmarks
- Yelp Challenge datasetYelpBosYelpSFYelpZipYelpNYCYelpChi
- Metrics
- precisionrecallF-scoreplagiarism similarity scoreusefulness score
The researchers propose a new class of attacks that use RNN language models to automatically generate fake online reviews; its cost is lower than hiring human crowdworkers, and by controlling the pace of content output it can eliminate the burstiness that makes crowdsourcing activity easy to detect. Using Yelp reviews as an example, the reviews produced by the two-stage generation-plus-customization attack could not be identified by the state-of-the-art statistical detectors at the time; a user survey further showed that these reviews evaded human identification and scored highly on user-rated helpfulness. The authors then used the lossy transformations introduced by the RNN training and generation process to design an automated defense, arguing that attackers' countermeasures would face an unfavorable cost-benefit tradeoff, and that simple restrictions imposed by platforms could further suppress such attacks.
Paper analysis
What problem does this paper attempt to solve?
The authors propose an attack that uses an RNN to automatically generate fake reviews, bypassing existing detection, and provide a targeted defense.
Core question: can a deep learning language model (RNN) automatically generate hard-to-detect fake online reviews, replacing costly and easily detected crowdturfing attacks?
- Problem setting: the authors state that crowdturfing (paid reviewers) is an important source of online disinformation but is limited by two factors — each review must be paid for ($1–$10 per review on Yelp; the authors estimate an average price of $19.6 from a sample of 20 posts on black-hat forums), and concentrated worker output creates burstiness temporal features that are easy for classifiers to identify.
- Shortcomings of existing methods: the authors state that machine-generated techniques such as n-grams and templates produce poor-quality text that readers easily see through; adversarial techniques against ML classifiers (poisoning, targeted evasion) have limited effect and require extensive coordination among workers.
- Core observation: the authors' key insight is that although generating long arbitrary text remains difficult, online reviews are short and domain-constrained (e.g., food and service at a restaurant), so RNN generation quality may already be sufficient to pass as genuine; and software generation allows controlling posting cadence, eliminating the burstiness feature.
- Paper contributions: proposes a two-stage RNN fake review generation and customization attack, validates on Yelp its ability to evade statistical detectors and human judgment, and proposes a defense exploiting information loss in RNN training.
- Threat model:
- Goal: use an AI program to generate fake review text that is hard to distinguish from real human reviews, manipulating users' opinion.
- Knowledge: access to a corpus of real reviews (e.g., the public Yelp dataset), understanding of the target business domain.
- Capability: compute to train a neural network (commercial GPU or cloud service); generates only review text, without manipulating metadata (reviewer reputation, history, IP, etc.).
- Victim system: online review platforms such as Yelp (the paper targets Yelp restaurant reviews).
What related research exists?
Related work is divided into four groups: text generation, neural networks and security, crowdturfing and review spam detection, and three closest works.
Text Generation
- Template-based natural language generation systems [57, 58, 67, 71]—rely on domain knowledge and manually designed rules.
- Learning-based methods—RNN language models are used to generate text [14, 68], and have achieved results in email replies [23], image captions [24], movie dialogue [64], social network dialogue [65], and other areas; the authors state that well-trained RNNs outperform simple models such as N-gram [21].
Neural Networks and Security
- Most work uses neural networks to improve defenses, such as intrusion detection [8, 25], malware classification [62, 66, 83], password authentication [39].
- A few works explore using DNNs to attack online systems: using CNNs to automatically break CAPTCHA [13, 60], using GANs to generate malicious domain names [1]. The authors state that to their knowledge, this paper is the first work to explore using DNNs to attack online review systems.
Crowdturfing and Review Spam Detection
- Crowdturfing marketplace characterization [29, 74, 75]—described as malicious crowdsourcing platforms that provide human labor for review systems, social media, search engines, etc.
- Wang et al. [74]—use ML to detect malicious crowd workers and study classifier robustness against evasion strategies.
- Opinion spam detection—detection based on review content [32, 48, 53] and metadata [10, 19, 20]; the authors state that this paper's difference lies in focusing on automatically generating fake reviews that can evade ML classifiers and human inspection.
Three Closest Works
- Lipton et al. [33]—also use RNNs for product review generation, but do not consider adversarial scenarios.
- Hovy [17]—preliminary study of n-gram review generation in adversarial scenarios; the paper notes that it does not consider stronger generative models such as RNNs, nor robust defenses and countermeasures.
- Lappas [27]—analyzes success factors of fake reviews from the attacker's perspective, but does not consider automatic generation.
Baselines and Benchmarks: The baseline detectors for attack evaluation are a linear SVM classifier based on 77 linguistic features and a Winnowing plagiarism detector; the data uses the Yelp Challenge dataset and five ground-truth datasets with Yelp filter labels: YelpBos/YelpSF/YelpZip/YelpNYC/YelpChi (Table 1).
How does the paper address this problem?
Two-stage attack: LSTM generates initial reviews + noun-level customization; defense: compare the information loss of character-level distributions.
Overall approach: use a character-level LSTM to train a generative model on a domain-matched real review corpus, first generating initial reviews in bulk, then customizing them to target restaurants through noun replacement; for defense, exploit the information loss from the RNN training process to identify machine-generated reviews through character-level distribution differences.
Attack Pipeline (Figure 3)
- Stage One: Initial Generation. The attacker selects a training set matching the target domain (e.g., restaurant reviews), trains a generative RNN, and generates review text according to the sampling procedure.
- Stage Two: Review Customization. The topic of initial reviews is uncontrollable; the authors propose a noun-level replacement strategy: select a context keyword C ("food" for the restaurant scenario), use WordNet lexical similarity to find in a reference dataset (existing reviews of the target entity; if none, reviews of same-category entities) a set of nouns p with similarity to C exceeding a threshold MINsim, then randomly sample and replace nouns related to C in the initial reviews with words from p according to similarity scores. The authors state that noun-level replacement was chosen because it is simple and has room for improvement.
Model and Training Settings
- Model: LSTM, 2 hidden layers, 1,024 hidden units per layer; batch size 256, cross-entropy loss, Adam optimization, trained for 20 epochs, learning rate 2×10⁻³, halved when loss rises for 5 consecutive batches.
- Preprocessing: remove excess whitespace and non-ASCII characters, use <SOR>/<EOR> to separate reviews; training takes about 72 hours on an Intel Core i7 5930K + Nvidia TITAN X.
- Sampling: generate at 10 temperatures from 0.1 to 1.0; temperature controls the sampling distribution via softmax, P(softmax(ot) = k) = eotk/T / ∑j=1N eotj / T, i.e., lower temperature makes output more conservative and repetitive, higher temperature makes it more diverse but with more errors; the paper does not experiment with temperatures above 1.0. Customization keyword C="food", MINsim=0.2, 98.4% of reviews have at least one word replaced.
Datasets
- Training set: Yelp Challenge dataset (4.1M reviews, 144K businesses), from which 617K five-star restaurant reviews are taken (27K restaurants, 57M words); the main results are all based on five-star review generation, with one/three-star examples in Appendix B.
- Ground-truth set: 5 datasets with Yelp filter labels (Table 1), using Yelp filtered/unfiltered as fake/real review labels, totaling 9,710 restaurants, 249,612 fake reviews (11.99%), 1,831,377 real reviews; the authors acknowledge that the Yelp filter is imperfect, but state that this is the best information currently available and widely used by prior work.
- Attack set: for each temperature, generate machine-generated reviews equal in number to the Yelp fake reviews for each restaurant in the ground-truth, totaling 249,612.
Defense Method (Algorithm 1)
- Assumption: the defender (service provider) can obtain a small number of attacker-generated reviews and real reviews.
- Mechanism: train two defense RNNs on the machine-generated review set RF and the real review set RL respectively; for a test review, compute character by character the negative log-likelihood ratio of the next character given by the two models and take the average; if greater than 0, classify as fake. The basis is that the RNN's fixed-size memory cannot fully retain the training corpus information, and the information loss causes detectable differences in character-level distribution between machine-generated text and human text, even when high-level linguistic features are similar.
- Supporting measures: the authors observe that detection is better on long reviews, and suggest that service providers set a minimum review length to further raise the attack cost.
What experiments did the paper conduct?
The attack bypasses the linguistic classifier (precision 18.48%) and human judgment (precision 40.6%); the defense achieves F-score 0.80–0.98.
Experimental Setup
- Subjects under test: The attacker is a character-level LSTM (2 layers × 1,024 units) generating five-star restaurant reviews; the defender is the dual-RNN character distribution detector proposed in the paper.
- Baselines: A linear SVM based on 77 linguistic features (five groups: similarity, structure, syntax, semantics, LIWC) (linguistic classifier); Winnowing plagiarism detection (Jaccard similarity).
- Data: Training used 617K five-star reviews from the Yelp Challenge; ground-truth used 5 Yelp datasets totaling 249,612 fake and 1,831,377 real reviews (Table 1); the attack set is 249,612 machine-generated reviews.
- Metrics: precision (the proportion of reviews flagged as fake that are truly fake), recall (the proportion of fake reviews that are flagged), F-score; in the attack scenario, lower means the attack is more successful.
- Review method: Algorithmic detection used 10-fold cross-validation; the human evaluation was IRB-approved and conducted on AMT, recruiting only US master workers, using gold standard reviews (random characters) to screen out invalid questionnaires.
- Sample sizes: In the first round of the user study, 40 restaurants, 5 temperatures, 3 workers per questionnaire, 600 questionnaires in total (6 discarded); in the second round, the usefulness evaluation covered 80 restaurants, 5 workers each, 400 questionnaires in total (5 discarded), at temperature 0.7; plagiarism detection randomly sampled 10K machine-generated reviews; defenses were evaluated by default on a balanced test set of 2,000.
Main Results
Swipe horizontally to read the table
Detection method Condition precision recall Source Linguistic feature SVM temperature 1.0 18.48% 58.37% Figure 5 Human judgment (first round) best configuration 40.6% 16.2% Figure 8 Paper's defense temperature 1.0, 120K training F-score 0.98 — Figure 10 Linguistic feature SVM (same condition) temperature 1.0, 120K training F-score 0.55 — Figure 10 Paper's defense only 2K training samples F-score 0.80 — Figure 11 - The authors state that machine-generated reviews achieve high attack performance at all temperatures, and that the attack is stronger at higher temperatures; Figure 7 shows that the linguistic feature values of machine-generated reviews converge toward real reviews as temperature increases.
- The authors state that the defense achieves precision above 0.98 and recall above 0.97 at all temperatures, and that the gap relative to the linguistic classifier widens at high temperatures; the linguistic classifier detects better at low temperatures, which the authors explain as consistent with the larger deviation of linguistic features at low temperatures in Figure 7.
- The authors state that the defense reaches F-score 0.80 with only 1,000 known fake reviews (a 2K balanced training set), which is a small sample compared with the roughly 250,000 fake reviews service providers have already accumulated.
Plagiarism Detection
- What was tested: Winnowing was used to compare the similarity of 10K machine-generated reviews with the entire Yelp training set, assuming the service provider possesses the attacker's training corpus (the scenario most favorable to detection).
- Results: The plagiarism scores of machine-generated reviews are low at all temperatures and close to the distribution of real reviews (Figure 6); at temperature 1.0, if the threshold is set so that 95% of real reviews are not misflagged, 96% of machine-generated reviews still pass the check.
- Authors' interpretation: The RNN does not simply copy training-set reviews, and plagiarism detectors struggle to find machine-generated reviews without misflagging real reviews.
User Study (Usefulness)
- What was tested: The second round of the AMT survey asked workers to rate reviews not flagged as fake on usefulness from 1–5.
- Results: Unflagged machine-generated reviews averaged usefulness 3.15, and unflagged real reviews 3.28 (temperature 0.7, 395 valid questionnaires).
- Authors' interpretation: Workers consider missed machine-generated reviews nearly as useful as real reviews; the best attack point for human detection is temperature 0.7, slightly better than 1.0, and the authors state that humans are more sensitive to repeated errors than to small spelling and grammar errors.
Other Ablations and Analyses
- Enlarging the attack model (Figure 12, Table 4): Going from 128 to 256 hidden units lowers detection F-score by 3.95% and increases training time by 71.86%; going from 1,024 to 2,048 lowers F-score by only 2.70% and increases training time by 435.1%, and the authors state that evasion gains diminish while costs rise faster.
- Minimum review length (Figure 13): For the 1,024-unit attack model, setting the minimum length to 300 characters (below the Yelp average of 483) raises F-score from 0.80 to 0.86, and the authors state that this offsets the evasion gain from increasing the model from 512 to 1,024 units.
- Cross-temperature generalization (Figure 14): The defense maintains high performance when Ttrain ≥ Ttest, while the linguistic classifier is effective only at nearby temperatures; the authors explain that high-temperature reviews contain both high-frequency and low-frequency patterns, so a defense trained at high temperature can cover low-temperature reviews.
- Cost of larger models: The authors cite Jozefowicz et al. [21], who trained an 8,192-unit model on about 800 million words (14 times this paper's training set), and state that further enlarging the attack model is prohibitively costly for most attackers.
What are some points that can be further explored?
The authors list future directions including metadata attack and defense, Sybil attacks, and fake news generation; the experiments cover only Yelp restaurant reviews.
Limitations and Future Directions Noted by the Authors
- Role of metadata (Discussion & Conclusion): the authors state that future work could study the role of user and content metadata on both the attack side (e.g., increasing friend counts to deceive users) and the defense side (e.g., analyzing user activity timestamp patterns), and consider orchestrating account behavior with deep learning to bypass metadata defenses an interesting research challenge.
- Generalization to other scenarios (Discussion & Conclusion): the authors state that this paper is limited to online review systems, but generative models can be used for other attacks, and point to two directions: strengthening Sybil attacks (generating textual behaviors such as posts, comments, and private messages so that fake accounts are hard to distinguish from real accounts in textual content, including social network impersonation attacks) and fake news generation (using large-scale news datasets to generate news at low cost and pollute information feeds).
- Room for improving the customization strategy (Section 3.1): the authors state that the noun-level substitution strategy was chosen for its simplicity, and that the technique has room for further improvement.
- Accuracy of Yelp filter labels (Section 3.3): the authors acknowledge that the Yelp filter is not perfect, but state that it is the best ground-truth information currently available and used by many prior studies.
Experimental Coverage
- The platform under test is Yelp restaurant reviews; the training corpus is five-star reviews from the Yelp Challenge dataset, and the main-text results are all based on five-star generation, with one-/three-star examples only in Appendix B.
- The attack model is a single-configuration character-level LSTM (2 layers × 1,024 units); in the ablation, the attack model's hidden units vary from 128 to 2,048 (Table 4).
- Detection baselines cover a 77-feature linguistic SVM and Winnowing plagiarism detection; human evaluation consists of two rounds of AMT surveys (600 and 400 questionnaires, US master workers only).
- Defense evaluation assumes the defender can obtain samples of attacker-generated reviews (2K–120K), with a default test set of 2,000 balanced reviews.
- The paper does not report the time or cost for the attack to generate a single review, nor does it report inter-worker agreement metrics in the human evaluation.
Summarize the main content of the paper
RNN-automatically-generated Yelp fake reviews can bypass algorithmic and human detection; the character-distribution-based defense achieves F-score 0.80–0.98.
A security study on automated crowdturfing attacks and defenses in online review systems (CCS 2017).
- Problem: crowdturfed fake reviews cost money per review and have concentrated output, making them easy to detect; the authors explore whether an RNN language model can automatically generate short, domain-constrained fake reviews that are convincing enough to pass as genuine.
- Method: a two-stage attack — a character-level LSTM (2 layers × 1,024 units) trained on 617K Yelp five-star restaurant reviews generates initial reviews, which are then customized to the target restaurant via WordNet-based noun-level substitution; the defense exploits information loss in RNN training, using two RNNs trained separately on machine-generated and real reviews to compare the character-level distribution of a test review.
- Attack effectiveness: at temperature 1.0, a 77-feature linguistic SVM detecting machine-generated reviews achieves only 18.48% precision and 58.37% recall (Figure 5); in an AMT user study (600 questionnaires), the best human detection achieves 40.6% precision and 16.2% recall (Figure 8); machine-generated reviews that escaped detection have an average usefulness score of 3.15, close to 3.28 for real reviews.
- Plagiarism detection: at temperature 1.0, at a threshold where 95% of real reviews are not falsely flagged, 96% of machine-generated reviews still pass the Winnowing check, and the authors state that the RNN is not copying the training set.
- Defense effectiveness: the authors' proposed defense, given sufficient ground-truth, achieves precision above 0.98 and recall above 0.97 at each temperature, with an F-score of 0.98 at temperature 1.0 (0.55 for the linguistic classifier); with only 2K training samples the F-score is 0.80; and it generalizes across temperatures when the training temperature is not lower than the test temperature.
- Attack-defense dynamics: the authors state that the attacker's gains from enlarging the model diminish (1,024→2,048 units reduces F-score by only 2.70% while increasing training time by 435.1%), and that a minimum review length set by the service provider can further raise the cost.
- Authors' conclusion: the authors consider this a practical new class of attack that may affect content platforms beyond Yelp such as Twitter and forums, and hope to draw attention to research on defenses against deep-learning-generated attacks.