Multimodal AI Detection In Two Words

Daniel Fein1, Arpita Singhal1, Maneesh Agrawala1, and Maty Bohacek1

1 Stanford University

AI-generated text, images, audio, and video are now ubiquitous and hard for people to identify. Meanwhile, detectors built to catch AI-generated content are fragmented along modality lines and can only explain their predictions by imitating human-written rationales. We address both of these issues by extending neologism learning from language-model steering to multimodal classification: we add two tokens, <REAL> and <AIGEN>, to the vocabulary of an otherwise-frozen multimodal LLM and train only their two embedding rows so that the model's next-token distribution, under a paired prompt, encodes the real-vs-AI decision. Because every modality is projected into the same embedding space, one token pair can cover text, image, audio, and video simultaneously, without per-modality heads, and the same frozen backbone can be asked, in plain English, what <AIGEN> has come to mean.

Paper    Code    Models    Data   
Training: two embedding rows updated inside a frozen multimodal LLM Cross-modal inference: one score from the two trained rows

Contemporary detectors of AI-generated images and AI-generated speech generally have very little in common, as their architectures and training mixtures differ completely. The one commonality is perhaps that the way such models generate explanations for their predictions is based on mimicking human-produced descriptions — if the models have any explanation capability, that is. Troublingly, this comes at a time when humans are already virtually unable to distinguish between AI-generated and human-produced content. Both of these problems come from the same place: the decision is often stored in a classifier head that has no vocabulary and no relationship to anything else the model knows. To solve them, we realized the decision had to be moved. Conveniently, multimodal LLMs already project text, pixels, audio, and video frames into one embedding space, offering a unified direction space for all of these modalities — and because this direction lives among the model's own word embeddings, the model can later be asked to explain itself in its own words.

Key contributions

Method

Neologism learning was introduced as a way to steer a language model: append a single token that the tokenizer has never before seen, give it a fresh row in the embedding matrix, freeze everything else, and train that one row until the token means what is desired. Instead of steering, we use this method for classification. <REAL> and <AIGEN>, our two new tokens, are dropped into the same prompt template alongside the input in question — “<TOK> <image> This is a <TOK>” — and the template is run twice, once with each token. The score is the difference between the log-probabilities the model assigns to one fixed continuation word under the two prompts. As a result, the whole trained artifact is two vectors.

(A) Training
Both tokens are paired with the input in contrastive prompts; only their two rows of the embedding matrix receive gradient.
(B) Cross-modal inference
At inference the two rows define one score that applies to any modality the backbone accepts at input.
(C) Self-verbalization
The frozen model is asked what the tokens mean, and the answer is substituted back into the prompt and re-scored.

Method overview. (A) Both tokens are paired with the input in contrastive prompts. Only their two rows of the embedding matrix receive gradient. (B) At inference time, the log-probabilities over these two tokens produce a single score, sm(x), which applies to any modality the backbone accepts at input. (C) Because the rows sit among ordinary word embeddings and the output head is tied to them, the same frozen model can be asked what the learned tokens mean.

Effectively, this method can be seen as a linear probe on top of a pre-trained embedding space. What distinguishes it from an ordinary probe is that the direction lives inside a language model's vocabulary, so it can be decoded back into language.

Performance

We compare against the strongest publicly available detector for each modality on standard benchmarks — RAID for text, AUDETER for audio, GenImage for image, Deepfake-Eval-2024 for video — and then, without any further adaptation, on matching out-of-distribution benchmarks: Beemo for text, In-the-Wild for audio, CIFAKE for image, and DeeptraceReward for video.

MethodID AUROCOOD AUROC
Text RAIDBeemo
DivEye
0.91
0.57
Binoculars
0.85
0.84
TMR-Detector
1.00
0.77
Llama-3.1-8B-Classifier
0.99
0.72
Gemma-4-E4B-Classifier
0.97
0.71
Llama-3.1-8B-AI-Neo
0.98±.01
0.79±.01
Gemma-4-E4B-AI-Neo
0.96[.95,.96]
0.77[.76,.78]
Audio AUDETERIn-the-Wild
AASIST
1.00
0.79
RawNet2
1.00
0.77
Gemma-4-E4B-AI-Neo
1.00[1.00,1.00]
0.70[.68,.73]
Image GenImageCIFAKE
UnivFD
0.56
0.47
AIDE
0.82
0.54
Gemma-4-E4B-AI-Neo
0.90[.89,.91]
0.61[.58,.63]
Video DFE-2024DeeptraceReward
SBI
0.76
0.58
CDFA
0.75
0.60
Gemma-4-E4B-AI-Neo
0.78[.75,.81]
0.87[.84,.90]

Detection performance, AUROC. Each modality is trained and evaluated on the first dataset, then carried unchanged to the second, which has disjoint generators and content. Our rows carry percentile-bootstrap 95% intervals; ± is the standard deviation over three training seeds where no bootstrap was run. RAID ships no test split, so the in-distribution text column is measured with train/test document overlap.

The evaluation shows that our method is highly competitive, either matching or surpassing state-of-the-art performance on the included benchmarks. For most of these, this comes at a fraction of the training cost. In addition, our method comes with out-of-the-box explanations.

Cross-modal capabilities

The learned token pair is modality-agnostic by construction. It can be used for any modality so long as there is an encoder mapping it into the shared embedding space. This invites an empirical question: is the direction learned for AI-generated versus real content in any way shared across modalities? We test this by withholding each modality, training on the other three, and then evaluating on the fourth, unseen modality.

Trained on Evaluated on
Text Audio Image Video Text Audio Image Video
0.73 0.99 0.79 0.78
1.00 0.48 0.81 0.80
1.00 1.00 0.60 0.80
0.56 0.99 0.41 0.47
0.99 0.99 0.68 0.80
stronger weaker at or below chance outlined = the modality held out of training

Leave one modality out, then train on all four. AUROC when the pair is fitted on every modality but one and asked about the one it never saw (outlined), and when it is fitted on all four. Single-seed runs at the submitted evaluation scale; the single-modality block, re-measured with bootstrap intervals, is in the paper.

We find that text is meaningfully recoverable from the other three modalities, reaching an AUROC of 0.73. For image, there appears to be some signal, at an AUROC of 0.60. For audio and video, there appears to be little to no signal learned from the others, as the resulting models are left guessing at 0.48 and 0.47.

Training on all four modalities is, as expected, the most balanced setting: text and audio at 0.99, video at 0.80, and image at 0.68.

Explaining the predictions

Every explainable detector we know of learns its explanations from rationales written by human annotators. As a result, these methods may produce text merely optimized to be plausible, leaving little to no way of verifying faithfulness. Our tokens are optimized only to be discriminative; they are never shown a word of explanation during training. While that does not guarantee faithfulness on its own, it skips the ambiguous optimization step.

Text
<AIGEN> text is characterized by…
Brevity — short sentences and paragraphs, often focused on conveying a single idea. Conciseness — avoidance of unnecessary words or description. Directness — straightforward, unambiguous language with minimal use of metaphor. Objectivity — a neutral or detached tone, often lacking emotional appeals or personal opinion.
Image
<AIGEN> images are characterized by…
Geometric and sharp — clean lines and precise angles; shapes are rarely organic or blurry. Minimalist and sparse — a lot of negative space, few elements competing for attention. Monochromatic or limited palette — a restricted colour scheme, frequently black, white and greys.

Global self-verbalizations. Greedy completions decoded from an otherwise-unchanged multimodal LLM whose only learnable parameters were the two embedding rows. Nothing in training asked the model to produce these; they are read out of the same frozen weights that do the detection.

We test faithfulness in two ways. First, we ask the trained model for words characteristic of <AIGEN> text and words characteristic of <REAL> text, and then push each word back through the detector on its own. The words we get for <AIGEN> do score AI-like, with a 0.91 log-probability gap in the expected direction.

Second, we take the description the model wrote about each of the learned tokens and hand the resulting plain English to an off-the-shelf frontier model, as a system prompt for detection in an LLM-as-a-judge setting. Note that this frontier model has not seen the training data and has never been explicitly trained for this task.

Off-the-shelf evaluatorAlone+ our descriptionΔ
Gemini 3.1 Pro0.470.72+0.25
Gemini 3 Flash0.480.75+0.27

Plug-in evaluation. Pairwise accuracy on held-out text. Both evaluators start at chance and end well above it on the strength of a sentence our detector wrote about itself.

We find that these descriptions do, in fact, enable a general-purpose LLM to perform reasonably well on this task, suggesting that the explanations are largely faithful.

Citation


@article{fein2026multimodal,
    title        = {Multimodal AI Detection In Two Words},
    author       = {Fein, Daniel and Singhal, Arpita and Agrawala, Maneesh
                    and Bohacek, Maty},
    year         = {2026}
  }

Acknowledgements

The authors wish to thank John Hewitt for helpful suggestions.