NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Device-aware Optical Adversarial Attack for a Portable Projector-camera System

Ning Jiang, Yanhong Liu, Dingheng Zeng, Yue Feng, Weihong Deng, Ying Li

Introduction

Deep-learning-based face recognition (FR) systems have become a cornerstone of modern security, used for everything from mobile device authentication to financial transaction verification. However, these systems are vulnerable to adversarial examples—digitally manipulated inputs designed to deceive the model. While digital attacks are highly effective, translating them into the physical world remains a significant challenge.

Physical adversarial attacks typically rely on printed patches or specialized makeup, which are static and easily detectable. Optical attacks, which use projectors to cast adversarial light patterns onto a face, offer greater flexibility and stealth. However, these attacks often fail due to the "domain gap" between digital simulations and physical hardware. This paper introduces a Device-aware Optical Adversarial Attack framework designed to bridge this gap using consumer-grade, uncalibrated portable projectors.

The Challenge: The Physical Domain Gap

When an adversarial pattern is projected onto a human face, several factors degrade its effectiveness:

  1. Resolution Limitations: Portable projectors have low native resolutions, causing high-frequency adversarial details to blur.
  2. Color Nonlinearity: Low-end projectors exhibit complex color shifts and non-linear responses, making it difficult to project precise RGB values.
  3. Environmental Noise: Artifacts like moiré patterns and varying ambient light interfere with the camera's perception of the adversarial pattern.
  4. Calibration Requirements: Most existing methods require precise pixel-perfect alignment between the projector and the camera, which is impractical for real-world, portable deployment.

The Device-aware Framework

To overcome these hurdles, the researchers developed a framework that incorporates hardware limitations directly into the optimization process. Rather than seeking perfect calibration, the method makes the attack robust to hardware imperfections.

Multi-view Optimization

Instead of optimizing the adversarial pattern against a single static image, the algorithm utilizes a short video sequence of the subject. By optimizing across multiple viewpoints simultaneously, the system generates a "universal" adversarial mask. This mask remains effective even if the subject moves slightly or if the projector is not perfectly aligned, effectively creating a calibration-free attack.

Resolution-aware Adaptation

To ensure the adversarial pattern survives the low resolution of portable hardware, the authors introduced a patch-based similarity loss. This constraint forces pixels within a small neighborhood (e.g., 8x8 blocks) to maintain similar values. By discouraging high-frequency noise that would be lost during projection, the optimization produces "low-frequency" patterns that are resilient to blurring and defocusing.

Color-aware Adaptation

The framework employs three strategies to handle color-related degradation:

  • Grayscale Operation: The researchers discovered that grayscale patterns are significantly more robust than color ones in physical settings. Grayscale avoids the unpredictable "color crosstalk" inherent in cheap projector hardware.
  • Dynamic Interval Adjustment: The algorithm dynamically constrains the color range during optimization to ensure the pattern stays within the projector’s linear response zone.
  • Moiré Noise Simulation: By digitally simulating interference patterns during the training phase, the model learns to ignore these artifacts when they appear in the physical world.

Experimental Evaluation

The attack was evaluated using 10 subjects (five human subjects and five spoof targets, including resin and silicone masks). The researchers targeted three prominent FR models: ArcFace, MobileFace, and FaceNet.

Key Results

  • Minimal Performance Drop: The transition from digital simulation to physical projection resulted in only a 14% average reduction in similarity scores, a significant improvement over previous methods.
  • High Success Rates: The attack achieved a nearly 100% Attack Success Rate (ASR) against all three research models in both white-box and black-box scenarios.
  • Commercial API Vulnerability: The effectiveness of the attack extended to high-end commercial systems. Patterns generated via the ArcFace model successfully fooled APIs from Baidu, Face++, and Tencent, with mean confidence scores for impersonation reaching as high as 80.7% on Baidu’s system.

Insights and Discussion

A key takeaway from this research is the "less is more" approach to color. While color patterns provide higher similarity scores in digital environments, their performance collapses in the physical world due to hardware limitations. Grayscale patterns, while theoretically less complex, offer the stability required for reliable physical deployment.

Furthermore, the shift from precise 2D-to-3D mapping to multi-view optimization demonstrates that robustness can be achieved through diversity in training data rather than extreme calibration accuracy. This makes the attack significantly more dangerous, as it can be executed with off-the-shelf, portable hardware.

Conclusion and Future Work

This work demonstrates that optical adversarial attacks are a viable threat to modern FR systems, even when using low-cost, uncalibrated hardware. By making the attack "device-aware," the researchers successfully bridged the domain gap that previously limited the practicality of such exploits. Future research will focus on automating the masking process via real-time face parsing and improving the system's resilience to extreme ambient lighting conditions.

Summary updated

BibTeX
@inproceedings{jiang2025device,
  author = {Ning Jiang and Yanhong Liu and Dingheng Zeng and Yue Feng and Weihong Deng and Ying Li},
  title = {{Device-aware Optical Adversarial Attack for a Portable Projector-camera System}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
  doi = {10.1109/icassp49660.2025.10889447},
}
Figure