Back to paper library
IEEE TIFS 2014Face anti-spoofingPaper notes

3DMAD

The Real Mask

Original paper

Spoofing Face Recognition with 3D Masks

Paper authors

Nesli Erdogmus · Sebastien Marcel

Cite this paper · BibTeX

The citation identifies the linked source version. It cites the original paper and its authors.

@article{faceantispoofingthreedmad2014,
  title = {{Spoofing Face Recognition with 3D Masks}},
  author = {Nesli Erdogmus and Sebastien Marcel},
  year = {2014},
  journal = {IEEE Transactions on Information Forensics and Security},
  url = {https://doi.org/10.1109/tifs.2014.2322255},
  doi = {10.1109/tifs.2014.2322255}
}
On this page

Do you remember what malicious attacks we’ve seen before?

  • Print Attack: The attacker prints out a photo of the target user and uses it to bypass the face recognition system’s security.
  • Replay Attack: The attacker records a video of the target user and then replays it to deceive the face recognition system.

You say the resolution is too low? No problem, just use a 4K monitor to play it.

Defining the Problem

While we were still focusing on these 2D attacks, 3D attacks have already arrived.

The authors of this paper point out that with the advancements in 3D reconstruction and printing technology, past research has been based on the assumption of 2D attack types, which is no longer valid.

Reconstructing a model from photographs taken at several angles and printing a mask can remove the need for a precise 3D scan of the target. Resemblance, manufacturing cost and quality remain important constraints.

A mask has a real three-dimensional surface, so defenses that only check for a flat photograph may fail.

The hard-resin masks used here do not reproduce natural facial expressions. The question is whether a system tested only against 2D attacks remains reliable against 3D masks.

Uh oh! We're in trouble.

Solving the Problem

In response to the challenge of 3D mask attacks, the authors propose a straightforward solution:

  • First, create a representative 3D mask attack dataset, and then train the next generation of defense systems based on this data.

This strategy, starting with data collection, helps clarify attack patterns and the weaknesses of recognition models in real-world scenarios.

Morpho Dataset

Morpho is a private dataset collected by MORPHO company in the TABULA RASA project. Although it is not publicly available, it is still one of the few datasets containing high-precision 3D mask attack samples and has been a key resource in early FAS research.

The dataset includes:

  • 207 real access samples
  • 199 3D mask attack samples
  • Provides both 2D grayscale texture images and 3D facial models

These masks were created for 16 specific users. A 3D scanner was used to construct the facial models, which were then 3D printed in grayscale materials to create realistic-looking masks. During the recording process, each user was filmed between 9 to 15 times, covering 20 subjects in total. Coordinates of the two eye corners and the tip of the nose were annotated in each frame.

Features and limitations are as follows:

  • The masks have extremely high shape accuracy, being a precise replica of the real face.
  • All samples were captured in a single session to avoid environmental variation.
  • The subjects were required to remain still, making it harder for attackers to obtain scanning data.
  • The dataset is a private resource and cannot be used as a public research benchmark.

Below are sample images from the dataset, with the genuine user in the top row and the masked attacker in the bottom row. Each row shows, from left to right, a grayscale texture image, a depth map and a 3D model. All of these samples are from the Morpho dataset.

3D Mask Attack Database (3DMAD)

Traditionally, creating 3D masks required a 3D scanner, requiring close proximity and cooperation from the user, which made it difficult to implement in real-world attack scenarios. Although scanning accuracy has improved, obtaining "high-quality 3D facial data" without authorization is still very challenging. Therefore, in early research, the prevalence of 3D mask attacks was limited.

Around the time of this paper, the commercialization of 3D printing and facial modeling technologies has rapidly developed, lowering the technical barriers and difficulty of creating masks. Public photographs or images captured at a distance may supply the reconstruction inputs without requiring the target's close-range cooperation, making this a more practical threat.

To simulate this attack mode with more accessible source images, the authors used a third-party service called ThatsMyFace.com to create the masks. The following describes the workflow at the time of the study.

The production steps are as follows:

  • Image Collection: Each subject needs to provide one front-facing photo and two side photos (left and right), totaling three high-quality 2D facial images. These images will be the input for 3D facial reconstruction.

  • Model Reconstruction and Mask Printing: After uploading the images to ThatsMyFace, the platform will automatically reconstruct the three photos into a 3D facial model. The user can preview the model on the website and place an order to customize the mask.

    The authors created two types of masks for each user:

    • Wearable Full-Size Mask: Made from hard resin, with eye holes and nostrils, simulating a real attack.

    • Paper Craft Assembly Mask: A lower-cost option, intended only for display and future reference.

The dataset also includes each user's uploaded front and side photos and paper-craft mask files for future research. The paper does not say that it provides a separate printable STL model file.


After completing the 3D masks, the authors designed a rigorous data recording process to simulate real access and attack behaviors and collect color and depth images for model training.

The entire recording was done using the Microsoft Kinect for Xbox 360, a device capable of capturing both RGB and depth images, which is invaluable for detecting and analyzing 3D mask attacks.

The features of Kinect are as follows:

  • 30 frames per second: Simultaneously captures RGB and depth images.
  • Image Resolution:
    • Color images: 640 × 480 pixels, 24-bit (3 × 8 bits)
    • Depth images: 640 × 480 pixels, 11-bit (1 × 11 bits)
  • Supports manual annotation: Allows manual marking of eye positions on color images.

This design lets researchers analyze color texture and depth together and compare 2D, 2.5D and 3D face-verification and anti-spoofing methods on this dataset.


To simulate real-world behaviors in various contexts, the 3DMAD recording was scheduled in three different sessions. This design takes into account the impact of time, roles, and attack variables to effectively build data diversity.

The recording arrangements for each user are as follows:

  • Session 1 and Session 2 (Real Access):

    • Filmed two weeks apart to reflect the "temporal difference" challenge in biometric recognition.
    • Five video segments per session, each 10 seconds long.
    • The user faces the camera and interacts normally.
  • Session 3 (Mask Attack):

    • A single attacker wears the previously made 3D mask to simulate an attack.
    • Five video segments per mask, simulating different attack actions and angles.
  • Overall Scale:

    • 17 users × 3 sessions × 5 video segments = 255 video segments in total
    • Each video lasts 10 seconds, or 300 frames, giving 76,500 paired RGB and depth frames in total.

The actual recording samples are shown in the example below, corresponding from left to right to the three sessions mentioned above:


To ensure the quality and consistency of subsequent model training, the authors tightly controlled the data annotation and recording environment:

  • Eye Position Annotation:

    • In each video segment, the eye position is manually annotated every 60 frames.
    • The remaining frames are filled in automatically using linear interpolation, ensuring that every frame has annotated coordinates.
  • Recording Environment Design:

    • The user faces the camera directly.
    • The background is uniform (without distracting patterns).
    • Lighting is sufficient to avoid facial shadows or overexposure.

This controlled setup reduces background and lighting variation, helping isolate mask-versus-face differences while limiting how representative the results are of other environments.

Discussion

To systematically evaluate the vulnerability of face recognition systems to mask attacks, the authors in this study proposed several benchmark experiments, using Equal Error Rate (EER) and Spoofing False Acceptance Rate (SFAR) as the two main evaluation metrics:

  • EER represents the error rate at which the false acceptance and false rejection probabilities are equal during the verification task. The lower the EER, the more accurate the verification system.
  • SFAR is a metric specifically designed for spoofing attacks, quantifying the rate at which attack samples pass the verification threshold, reflecting the system's resistance to spoofing attacks. Under the same evaluation protocol and operating threshold, a lower SFAR means fewer accepted mask attacks; the rejection rate for genuine users must also be considered.

3D Mask Attack Security Analysis

The table above shows the verification error rate (EER) and mask attack success rate (SFAR) of three algorithms (LBP-2D, LBP-2.5D, TPS-3D) under different datasets and preprocessing strategies, divided into four settings:

  • (1): Results reported in reference [22] (limited to Morpho dataset, SFAR not provided)
  • (2): Preprocessed images provided by reference [22], tested with the authors' implemented algorithm (Morpho)
  • (3): Full reconstruction experiment with self-developed preprocessing flow and algorithm (Morpho)
  • (4): Custom preprocessing and algorithm tested on the 3DMAD dataset (including verification and attack)

For 2D and 2.5D, the EER values in (2) are close to those reported in [22] in (1). Using the supplied preprocessing data makes it possible to compare the algorithm implementations. There is no 3D value for (2), so the 3D result cannot be counted as a reproduction. Morpho has no separate development set: its operating threshold was determined afterward from scores across the dataset.

In 2D mode, changing the preprocessing method from (2) to (3) only raises EER from 6.16% to 6.54%, but SFAR rises from 51.27% to 59.94%. The authors suggest that the cropping difference changes whether mask edges appear in the image, which may affect attack success.

In 2.5D and 3D modes, omitting the smoothing and hole filling used in [22] raises the verification EER. The 2.5D SFAR instead falls from 76.93% to 41.98%, because masks also become harder to match to their targets. There is no comparable 3D SFAR value for (2).

A comparison of (3) and (4) shows that depth and 3D verification on 3DMAD has higher EER and lower mask-attack SFAR. The 2D LBP EER, however, is lower on 3DMAD, so the results do not show that verification is uniformly worse there. The authors suggest these possible reasons for the depth and shape results:

  • The depth quality obtained by Kinect is inferior to the 3D scanner used in Morpho.
  • The masks in 3DMAD are reconstructed from 2D images, which results in lower shape accuracy, affecting the spoofing effectiveness.

The authors further analyzed the 17 masks in 3DMAD one by one and compared the EER and SFAR of four algorithms (LBP, TPS, ISV, ICP) in 2D / 2.5D / 3D modes. The results are shown in the figure below:

The analysis shows that the SFAR varies greatly between different masks, ranging from 0% to 98.4%. These discrepancies mainly come from:

  • The accuracy of mask shape production
  • The realism and restoration of facial textures

This suggests that a single average value is insufficient to reflect the overall attack risk, and analyzing each mask individually is necessary to evaluate spoofing capabilities.

Further observations also found significant differences in attack performance of the same mask under different modes. For example:

  • Mask #11 had an SFAR of 96.68% in the ISV-2D mode, but only 7.52% in 2.5D mode.

This shows that the same mask can behave very differently when evaluated with 2D texture and 2.5D depth. The authors note that texture quality and shape accuracy need not coincide.

Similarly, under the same mask and mode, different algorithms may have drastically different sensitivities to attacks. For example:

  • Mask #17 had an SFAR of 76.32% using ISV-2D, but only 4.44% when switched to LBP-2D.

This shows that the same mask can also have very different attack success rates against different verification algorithms. The paper notes that both the target user's verification difficulty and the algorithm's features may affect the result.


These observations highlight a key fact:

Normal-verification EER and mask-attack SFAR rank the tested algorithms differently.

This phenomenon is more pronounced in high-performance models like ISV and ICP.

Using ISV as an example, the authors suggest that a model tolerant of a real user's appearance changes across sessions may also accept a mask that resembles the target despite an imperfect shape. This is an interpretation of these experimental results, not a claim that every high-performance model behaves this way.

When evaluating such systems, we therefore need to check both normal-verification EER and mask-attack SFAR at the same operating threshold. The masks and datasets in this study cannot represent every deployment setting.

Conclusion

3DMAD is one of the earliest systematic works to explore the "threat of 3D masks to face recognition systems."

The authors, through the Morpho and 3DMAD datasets, designed various verification and anti-spoofing experiments and analyzed the performance differences of different modalities (2D / 2.5D / 3D), features (LBP variants), and classifiers (SVM, LDA, χ2\chi^2).

Overall, the study is comprehensive in data construction, experimental design, and indicator evaluation, providing reference value for the then emerging field of 3D spoofing. The analysis, particularly regarding the relationship between mask production accuracy and model stability, is insightful.

However, from the perspective of 2025, there are some obvious limitations in this research:

  • The evaluation mainly relies on closed datasets, lacking generalized tests for cross-dataset and unknown attacks.
  • Model training relies on known attack samples, which differs from the real-world scenario where attack types are difficult to predict.
  • Under changes in data distribution, some results show instability, indicating that the model's adaptability to mask diversity is still limited.

Nevertheless, the study still holds value in terms of method design and analytical perspectives, laying a preliminary foundation for future research on 3D mask attack defenses. With the continued development of deep learning and sensing technologies, these issues remain worth exploring and expanding.