TUNI: A Textual Unimodal Detector for Identity Inference in CLIP Models
Songze Li, Ruoxi Cheng, Xiaojun Jia
TL;DR
This work tackles privacy leakage in CLIP by addressing identity inference with only textual data. It introduces TUNI, a textual unimodal detector that reframes ID inference as anomaly detection, using CLIP-guided image optimization to extract text features, and training multiple anomaly detectors on randomly generated gibberish text. Across six CLIP architectures and multiple large-scale datasets, TUNI consistently outperforms baselines that rely on image queries or shadow models, with further gains when real images are available. The approach minimizes exposure risks and offers a practical privacy-auditing tool for multimodal models, while also discussing defenses, limitations, and ethical considerations.
Abstract
The widespread usage of large-scale multimodal models like CLIP has heightened concerns about the leakage of PII. Existing methods for identity inference in CLIP models require querying the model with full PII, including textual descriptions of the person and corresponding images (e.g., the name and the face photo of the person). However, applying images may risk exposing personal information to target models, as the image might not have been previously encountered by the target model. Additionally, previous MIAs train shadow models to mimic the behaviors of the target model, which incurs high computational costs, especially for large CLIP models. To address these challenges, we propose a textual unimodal detector (TUNI) in CLIP models, a novel technique for identity inference that: 1) only utilizes text data to query the target model; and 2) eliminates the need for training shadow models. Extensive experiments of TUNI across various CLIP model architectures and datasets demonstrate its superior performance over baselines, albeit with only text data.
