Cross-Modal Content Optimization for Steering Web Agent Preferences

Tanqiu Jiang, Min Bai, Nikolaos Pappas, Yanjun Qi, Sandesh Swamy · DOI

Introduction

As digital interaction shifts from traditional search engines to AI-powered "web agents" (e.g., GPT-4, Qwen), these models are becoming the primary gatekeepers of information. We increasingly trust them to perform complex tasks like booking flights or recommending products. However, this reliance introduces a significant security surface.

Researchers have identified a stealthy attack called Cross-Modal Preference Steering (CPS). Unlike previous "white-box" attacks requiring internal model access, CPS operates in a realistic black-box threat model. An adversary only needs to edit their own listing—such as a product on an e-commerce site—to manipulate the agent's choice without knowing the underlying model's architecture.

Overview of the Cross-Modal Preference Steering (CPS) attack workflow.

Methodology: The CPS Framework

CPS exploits two primary vulnerabilities in modern Vision-Language Models (VLMs) simultaneously:

  1. Visual Vulnerability (CLIP Transferability): Most VLMs utilize image encoders with similar architectures and training data (e.g., CLIP). CPS uses an ensemble of 19 CLIP models to generate "adversarial perturbations"—pixel-level changes nearly invisible to humans. These perturbations "transfer" effectively to proprietary models like GPT-4.1.
  2. Textual Vulnerability (RLHF Biases): Models fine-tuned with Reinforcement Learning from Human Feedback (RLHF) often exhibit "sycophantic" biases, preferring polite or positively framed content. CPS employs an iterative feedback loop to refine product descriptions until they align with the victim agent's learned preferences.

The core innovation of CPS is Cross-Modal coordination, where the system jointly optimizes the image and text to reinforce a persuasive narrative, making a target item appear as the "Best Choice" to the AI.

Experimental Setup

The study evaluated CPS across two benchmarks:

  • ControlNet-100k (Movies): Agents selected one of eight movies based on user queries (e.g., "Find a thriller").
  • VisualWebArena (Shopping): A realistic e-commerce environment where agents performed tasks like "Add a Bluetooth speaker to my cart."

Results and Analysis

The joint optimization of text and images proved highly effective. In shopping tasks, CPS achieved a 71% Preference Manipulation Rate (PMR) against GPT-4.1, significantly outperforming the random selection baseline of 12.5%.

Preference Manipulation Rate (PMR) comparison across various victim models and tasks.

Beyond success rates, the attack is remarkably stealthy. While traditional attacks are caught by automated detectors 98% of the time, CPS-modified content was detected only 26% of the time. This suggests that the "visual vocabulary" of modern AI is uniform and vulnerable to subtle, semantically plausible manipulations.

Discussion and Limitations

The findings highlight that RLHF, while improving helpfulness, creates predictable "opinions" that attackers can exploit. However, CPS has limitations: it requires the agent to "see" the item (it cannot boost items buried deep in search results) and involves a high one-time computational cost for optimization.

Future defense strategies must move beyond simple prompt-based "safety reminders." The researchers suggest focusing on "architectural robustness," such as diversifying image encoders to break the transferability of cross-modal attacks.

Summary updated

BibTeX
@misc{jiang2025cross,
  author = {Tanqiu Jiang and Min Bai and Nikolaos Pappas and Yanjun Qi and Sandesh Swamy},
  title = {{Cross-Modal Content Optimization for Steering Web Agent Preferences}},
  year = {2025},
  eprint = {2510.03612},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.03612},
}
Figure