NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Prompt-Conditioned Semantic Bottleneck for Cross-Domain Face Attack Detection

Weihang Wang, Rongjie Liu, Min Cao

NeurIPS page · OpenReview · Open on the map

Category: Diffusion & Image Generation › Human-Centric Visual Evaluation · Type: new method · Keywords: cross-domain face attack detection, prompt-conditioned semantic supervision, vision-language model, lightweight detector, domain generalization

Areas: Multimodal › Multimodal Integration and Robustness › Cross-Modal Alignment; Safety & Security › Adversarial Security › Synthetic Media Detection

Summary

Prompt-Conditioned Semantic Bottleneck introduces an information-bottleneck-inspired framework that uses label- and attack-type-conditioned prompts from a frozen VLM to provide offline supervision for a lightweight visual detector, improving cross-domain face attack detection.

Explained to a 5-year-old

We want to know if a face in a picture is real or if someone is trying to trick the system with a fake face. Different cameras and tricks make it hard because the fake faces look different each time. We use special words (prompts) to ask a big picture model to tell us what to look for in a fake face. Then we teach a small detector to notice those clues while ignoring the camera quirks. When we use it, we only need the small detector, so it works quickly.

Explained to a 5-year-old, longer

In some games or security checks, we need to tell if a face you see on a screen is real or a fake picture. Sometimes the fake faces look different because of the camera, lighting, or how the picture was made. This makes it hard for computers to know how to spot a fake face everywhere. The researchers came up with a new idea: they use special words (called prompts) to ask a big computer model about fake faces. The big model looks at many examples and tells them what important signs of a fake face are. They save those signs as helpful hints for a smaller detector. The smaller detector learns to look for those hints while ignoring the extra stuff that changes with the camera. This way, the detector can spot fake faces even when it sees them in a new camera or a new picture. After training, they can drop the big model and just keep the small detector, which is fast and cheap. This makes it possible to check faces quickly on phones or security cameras. The method also works well on different kinds of fake face datasets, so it is reliable. Overall, it helps keep people safe by catching fake faces more accurately.

For a technical reader

The paper addresses the challenge of building face anti-spoofing models that generalize across different imaging conditions and attack types. It introduces a pipeline that generates label- and attack-type-conditioned prompts to query a frozen vision-language model, extracting high-level semantic cues about spoofing. These cues are used as offline supervision for a lightweight visual detector, guiding it to focus on attack-relevant features while discarding dataset-specific noise. The prompts and the large model are discarded at inference time, leaving a compact, vision-only system that can be deployed efficiently. Experiments on standard face anti-spoofing and forgery benchmarks show consistent gains in detection accuracy and cross-dataset generalization without sacrificing speed.

Problem

Learning visual representations that generalize across domains is difficult when source-domain labels contain spurious cues specific to the dataset. This is especially problematic in face attack detection, where attack artifacts vary across capture devices and image qualities, making it hard to build models that work on new datasets.

Method

The approach leverages label- and attack-type-conditioned prompts to extract attack-aware semantic targets from a frozen vision-language model, providing offline supervision for a lightweight visual detector. This encourages the detector to retain attack-relevant cues while discarding source-domain nuisance factors. The prompts and VLM are removed during inference, enabling vision-only deployment.

Results

The approach shows consistent improvements on cross-dataset evaluation across face anti-spoofing and forgery detection benchmarks.

Contributions

The paper introduces a method to generate attack-aware semantic supervision via conditioned prompts from a frozen VLM, enabling a lightweight visual detector to learn domain-general representations while discarding spurious cues. It also demonstrates that these semantics, rather than stronger visual models, drive the performance gains and allow efficient vision-only inference.

Practical relevance

This approach enables efficient, accurate face attack detection across diverse capture conditions, facilitating real-world security applications.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction