Papers › Adversarial Illusions in Multi-Modal Embeddings

Adversarial Illusions in Multi-Modal Embeddings

22 Aug 2023arXiv:2308.11804archive 2025-07-28

Tingwei Zhang, Rishi Jha, Eugene Bagdasaryan, Vitaly Shmatikov

Multi-modal embeddings encode texts, images, thermal images, sounds, and videos into a single embedding space, aligning representations across different modalities (e.g., associate an image of a dog with a barking sound). In this paper, we show that multi-modal embeddings can be vulnerable to an attack we call "adversarial illusions." Given an image or a sound, an adversary can perturb it to make its embedding close to an arbitrary, adversary-chosen input in another modality. These attacks are cross-modal and targeted: the adversary can align any image or sound with any target of his choice. Adversarial illusions exploit proximity in the embedding space and are thus agnostic to downstream tasks and modalities, enabling a wholesale compromise of current and future tasks, as well as modalities not available to the adversary. Using ImageBind and AudioCLIP embeddings, we demonstrate how adversarially aligned inputs, generated without knowledge of specific downstream tasks, mislead image generation, text generation, zero-shot classification, and audio retrieval. We investigate transferability of illusions across different embeddings and develop a black-box version of our method that we use to demonstrate the first adversarial alignment attack on Amazon's commercial, proprietary Titan embedding. Finally, we analyze countermeasures and evasion attacks.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.11804")

Code

Syntology Ran 10 of 13 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 10 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ebagdasa/adversarial_illusions officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 10 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10ran
3unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ebagdasa/adversarial_illusions. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

chroma_subsampling ebagdasa/adversarial_illusions/DiffJPEG/compression.py official repository ran fingerprinted MIT (permissive) · d0a996dc0d594c8a · report
dense_to_onehot ebagdasa/adversarial_illusions/query_attack.py official repository ran MIT (permissive) · 176dfa1e026fb136 · report
get_embeddings ebagdasa/adversarial_illusions/dataset_utils.py official repository ran MIT (permissive) · 996d7797acf3500c · report
load_and_transform_thermal_data ebagdasa/adversarial_illusions/thermal_illusion_classification.py official repository ran MIT (permissive) · 8c9d8492e3dce2ec · report
norm ebagdasa/adversarial_illusions/anomaly_detection.py official repository ran MIT (permissive) · b136faae866d109f · report
norm ebagdasa/adversarial_illusions/utils.py official repository ran MIT (permissive) · 38d2254621bf5bec · report
rgb_to_ycbcr_jpeg ebagdasa/adversarial_illusions/DiffJPEG/compression.py official repository ran fingerprinted MIT (permissive) · e836b43eb275f963 · report
unnorm ebagdasa/adversarial_illusions/anomaly_detection.py official repository ran MIT (permissive) · c368473e2e381cfc · report
unnorm ebagdasa/adversarial_illusions/utils.py official repository ran MIT (permissive) · 312f083d8548f733 · report
unnorm_audio ebagdasa/adversarial_illusions/utils.py official repository ran MIT (permissive) · f72f537462f8ab03 · report
get_loss ebagdasa/adversarial_illusions/query_attack.py official repository unverified MIT (permissive) · da99f5c09a8efea7 · report
rgb_to_ycbcr ebagdasa/adversarial_illusions/DiffJPEG/compression.py official repository unverified MIT (permissive) · f9b6705425c9fde9 · report
softmax ebagdasa/adversarial_illusions/query_attack.py official repository unverified MIT (permissive) · 8bf374c9e1999142 · report

Tasks

Image GenerationText GenerationZero-Shot Learning

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections