Abstract
The advent of Large Language Models (LLMs) has revolutionized product recommenders, yet their susceptibility to adversarial manipulation poses critical challenges, particularly in real-world commercial applications. Our approach is the first one to tap into human psychological principles, seamlessly modifying product descriptions, making such manipulations hard to detect. In this work, we investigate cognitive biases as black-box adversarial strategies, drawing parallels between their effects on LLMs and human purchasing behavior. Through extensive evaluation across models of varying scale, we find that certain biases, such as social proof, consistently boost product recommendation rate and ranking, while others, like scarcity and exclusivity, surprisingly reduce visibility. Our results demonstrate that cognitive biases are deeply embedded in state-of-the-art LLMs, leading to highly unpredictable behavior in product recommendations and posing significant challenges for effective mitigation.
Introduction: The Rise of LLM-SEO
As Large Language Models (LLMs) transition from backend tools to active mediators in search engines and e-commerce platforms, they are increasingly responsible for product discovery and recommendation. This shift creates a massive incentive for "LLM-SEO"—techniques designed to manipulate model outputs to favor specific products.
Traditional adversarial attacks often rely on "jailbreaking" or injecting unnatural strings of text that are easily detectable by automated filters. This research investigates a more insidious approach: behavioral manipulation. By leveraging human psychological principles—cognitive biases—attackers can craft "seamless" attacks that are hard for both humans and automated systems to detect, yet effectively steer an LLM’s recommendation logic.
Methodology: Behavioral Manipulation as an Attack Vector
The researchers developed a pipeline to test 10 different cognitive biases (including Social Proof, Scarcity, Authority Bias, and the Decoy Effect) as adversarial strategies. They employed two main attack formulations:
- Expert Attacks: Appending a single, human-crafted sentence designed by marketing experts to the end of a product description (e.g., "This is the most popular choice among customers!").
- Generated Attacks: Using an LLM (Claude 3.5 Sonnet) to rewrite entire product descriptions to subtly embed a specific bias while maintaining the original's key features and length.
The study evaluated these attacks across a range of state-of-the-art models, including LLaMA-3 (8B, 70B, 405B), Mistral Large 2, and Claude 3.5/3.7. Notably, they tested Claude 3.7 both with and without its "thinking" (extended reasoning) mode to see if explicit reasoning could mitigate bias. The evaluation used both synthetic datasets (e.g., coffee machines, books) and real-world metadata from Amazon Reviews for laptops and pet toys.
Key Insights: Divergence from Human Behavior
LLMs are not just "Human-in-a-Box"
While LLMs mirror human behavior in some ways, they diverge sharply in others. Social Proof consistently boosted rankings for both humans and LLMs. However, Scarcity and Exclusivity—which typically drive human "FOMO" (fear of missing out)—actually decreased product visibility in LLMs. The models likely interpreted "limited stock" as a sign of unreliability or lower relevance rather than high demand.
Reasoning is Not a Shield
One of the most surprising findings was that Claude 3.7’s "thinking" mode did not significantly reduce its susceptibility to these biases. This suggests that cognitive biases are deeply embedded in the model's underlying associations (weights) rather than being a result of shallow processing.
The "Discount" Trap
In a "Half Price vs. Discount Framing" use case, models consistently favored products labeled with a "50% off" tag over identical products that simply had their price halved. The superficial "sale" cue overrode the model's ability to reason about the actual final value.
Results: Quantifying the Impact
The impact of these biases is substantial. Applying social proof to Claude 3.5 resulted in a staggering +334% relative increase in the recommendation rate. Conversely, products described with scarcity cues saw their recommendation rate drop by an average of 30% across models.
Susceptibility did not decrease with model size; LLaMA-3 405B was often more susceptible to certain biases than its 8B counterpart. Furthermore, the authors tested a "defensible" system prompt instructing the model to be unbiased. This provided almost no protection, as the models struggled to separate the "bias" from the "product information."
Conclusion and Future Work
Cognitive biases represent a potent and stealthy vector for manipulating LLM-driven recommendations. Because these attacks use natural marketing language, they are "attack-agnostic" and incredibly difficult to defend against without degrading the quality of legitimate recommendations.
Future work could explore multilingual settings or multi-modal biases (e.g., product images). Since simple prompting failed, more robust defenses might require fine-tuning on "unbiased" datasets or developing specialized filtering layers to detect psychological manipulation in product copy.
Summary updated