cs.CVNov 10, 2025

FoCLIP: A Feature-Space Misalignment Framework for CLIP-Based Image Manipulation and Detection

Authors: Yulin Chen, Zeyuan Wang, Tianyuan Yu, Yingmei Wei, Liang Bai

Organizations: Laboratory for Big Data and Decision, National University of Defense Technology, Changsha 410073, China

Abstract

The well-aligned attribute of CLIP-based models enables its effective application like CLIPscore as a widely adopted image quality assessment metric. However, such a CLIP-based metric is vulnerable for its delicate multimodal alignment. In this work, we propose FoCLIP, a feature-space misalignment framework for fooling CLIP-based image quality metric. Based on the stochastic gradient descent technique, FoCLIP integrates three key components to construct fooling examples: feature alignment as the core module to reduce image-text modality gaps, the score distribution balance module and pixel-guard regularization, which collectively optimize multimodal output equilibrium between CLIPscore performance and image quality. Such a design can be engineered to maximize the CLIPscore predictions across diverse input prompts, despite exhibiting either visual unrecognizability or semantic incongruence with the corresponding adversarial prompts from human perceptual perspectives. Experiments on ten artistic masterpiece prompts and ImageNet subsets demonstrate that optimized images can achieve significant improvement in CLIPscore while preserving high visual fidelity. In addition, we found that grayscale conversion induces significant feature degradation in fooling images, exhibiting noticeable CLIPscore reduction while preserving statistical consistency with original images. Inspired by this phenomenon, we propose a color channel sensitivity-driven tampering detection mechanism that achieves 91% accuracy on standard benchmarks. In conclusion, this work establishes a practical pathway for feature misalignment in CLIP-based multimodal systems and the corresponding defense method.

Figures & tables

Explore similar work

CardsList
  1. When Modalities Fail to Tango: Conformal Backdoor Detection in Multimodal Contrastive Learning

    Aug 4, 2026Yiming Chen, Kemou Li, Haiwei Wu +1Multimodal Contrastive LearningModalities

  2. A Classifier-Agnostic Zero-Shot Adversarial Attack Detection via CLIP

    Jun 29, 2026Hodaya Krakover, Meir Yossef Levi, Eyal Gofer +1Unsupervised Detection

  3. Generalizable Face Forgery Detection via Separable Prompt Learning

    Apr 19, 2026Enrui Yang, Yuezun LiFace Forgery DetectionDeepfake Detection