Face Flashing: a Secure Liveness Detection Protocol based on Light Reflections

Di Tang, Zhe Zhou, Yinqian Zhang, Kehuan ZhangarXiv 2018

TL;DR

Face Flashing is a novel liveness detection protocol that uses random light reflections to distinguish real human faces from sophisticated digital forgeries. By exploiting the zero-delay nature of physical reflection and the unique 3D geometry of the human face, it achieves 98.8% accuracy and remains robust even in challenging real-world environments.

What Problem Does This Paper Address?

Face authentication is everywhere, from unlocking smartphones to securing bank transfers. However, it has a major Achilles' heel: human faces are "public" data, easily captured via social media or long-range lenses. Attackers can use these images to create high-resolution prints, replay videos on screens, or even generate "Deepfake" style media-based facial forgery (MFF) attacks.

Existing liveness detection methods—like asking a user to blink or turn their head—are increasingly easy to bypass. Powerful GPUs can now synthesize these movements faster than a human can perform them. The authors identify the root cause of this vulnerability as a lack of strict time verification. If a system can't distinguish between an instantaneous physical reflection and a computationally generated response, it remains open to attack.

Fig. 2: The attacking tree.

Methods

The authors propose Face Flashing, a challenge-response protocol that turns your smartphone screen into a sophisticated optical prober.

  1. The Challenge: The system flashes a sequence of random colors on the screen.
  2. The Response: The camera captures the light reflecting off the user's face.
  3. Timing Verification: This is the core innovation. Because light travels at, well, the speed of light, the reflection is instantaneous. An attacker trying to forge a response must first capture the flash, process it, and then display a forged frame. This introduces a tiny but detectable delay.
  4. Face Verification: Beyond timing, the system analyzes the quality of the reflection. Real human skin has a unique 3D geometry and texture that reflects light differently than a flat 2D screen or a piece of paper. The system uses a Lambertian reflection model to extract these features and feeds them into a 3-layer convolutional neural network (CNN).
Fig. 3: Architecture of Face Flashing.

Datasets

To validate the system, the researchers collected a diverse dataset:

  • Participants: 174 individuals across Asian, European, and African ethnicities, aged 17 to 52.
  • Raw Data: 2,274 videos captured under six different real-world scenarios, including subways (intermittent lighting/vibration), sunny campuses, and dark slopes at night.
  • Adversarial Data: To simulate attacks, they recorded the raw videos being replayed on four different high-quality screens (e.g., Huawei P10, iPhone SE, and professional monitors).

Key Insights and Ideas

  • Physics as a Firewall: The most elegant idea is using the speed of light as a security boundary. No matter how fast an attacker's computer is, it cannot beat the zero-latency of a physical reflection.
  • Exploiting the Rolling Shutter: The timing verification leverages the way modern screens and cameras work—scanning line-by-line or column-by-column. A delay in a forged response causes a spatial mismatch in the captured frame (a "shift" in the Region of Interest) that linear regression models can pinpoint.
  • 3D Geometry via 2D Flashes: By using random light patterns, the system can infer the 3D structure of the object. A flat screen replaying a face will produce intense specular reflections (glare) that look nothing like the diffuse reflection of real skin.
Example of lighting area and calculation of ROI.

Key Results

  • High Accuracy: The system achieved an overall accuracy of 98.8%.
  • Robustness: Even in the "worst-case" scenario (nighttime with poor lighting), accuracy only dipped to 97.3%.
  • Attack Detection: The timing verification can detect delays as small as 1/480th of a second on a standard 60Hz screen.
  • Efficiency: When offloading verification to a back-end server, the "time to wait" for a user is just 0.55 seconds for a 50-frame check, making it practical for daily use.

Limitations and Future Work

While highly effective, the authors acknowledge a few frontiers:

  • The "Super Device" Attack: An adversary with an ultra-high-speed camera (e.g., 100,000 fps) and screen might be able to reduce delays enough to bypass the current timing check. The authors suggest mitigating this by using more complex, finely striped flash patterns.
  • Silicone Masks: High-quality 3D masks might mimic the geometry of a face. The authors propose that future work could involve analyzing "albedo curves"—the specific way different materials reflect different wavelengths (colors) of light—to distinguish silicone from human skin.
  • Hardware Dependencies: The system relies on the integrity of the front-end device (camera and screen). If the OS itself is compromised, the attacker could potentially feed the "correct" reflection data directly into the verification pipeline.

Summary updated

BibTeX
@misc{tang2018face,
  author = {Di Tang and Zhe Zhou and Yinqian Zhang and Kehuan Zhang},
  title = {{Face Flashing: a Secure Liveness Detection Protocol based on Light Reflections}},
  year = {2018},
  eprint = {1801.01949},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.01949},
}
Figure