Authentication of Copy Detection Patterns under Machine Learning Attacks: A Supervised Approach

Brian Pulfer, Roman Chaban, Yury Belousov, Joakim Tutt, Olga Taran, Taras Holotyak, Slava VoloshynovskiyarXiv 2022

TL;DR

This paper investigates whether deep learning (DL) can defend against sophisticated machine learning (ML) attacks on Copy Detection Patterns (CDP)—random noise-like codes used to prevent counterfeiting. While DL-based authentication performs perfectly when it knows the attacker's printing process, it proves dangerously brittle when faced with "distribution shifts," such as fakes produced on a different printer than those used during training.

What Problem Does This Paper Address?

Counterfeiting is a global economic threat, impacting everything from luxury goods to pharmaceuticals. Copy Detection Patterns (CDP) are a front-line defense: they are high-density random patterns printed at the limit of a printer's resolution (e.g., 1x1 pixel symbols). The core assumption is the Data Processing Inequality: every time a pattern is scanned and re-printed (copied), information is lost, making the fake detectable.

However, modern ML-based attacks (like GANs or estimation models) can now produce high-quality "clones" that bypass traditional statistical checks. This paper asks: Can a supervised Deep Learning model reliably distinguish these ML-generated fakes from originals? Specifically, it explores how well these models generalize when the attacker uses printing equipment the defender hasn't seen before.

Methods

The authors propose a supervised authentication system that treats the problem as a binary classification task.

  1. Architecture: They use a standard ResNet18 backbone followed by a 2-layer Multi-Layer Perceptron (MLP) head.
  2. Input Aggregation: The system doesn't just look at the physical probe ($y_i$). It takes both the probe and the original digital template ($t_i$) and concatenates them channel-wise. This allows the network to learn the relationship between the intended digital design and the printed result.
  3. Training Setups: The researchers tested three scenarios:
  4. Setup 1: Defender knows fakes from only one specific printer.
  5. Setup 2: Defender knows fakes from multiple printers but prints originals on one.
  6. Setup 3: Defender uses multiple printers for both originals and observed fakes.
Schematic of the supervised authentication process, showing how templates and probes are aggregated before classification.

Datasets

The study utilizes the Indigo 1x1 base dataset, which contains 720 tuples of CDP data.

  • Printers: High-end industrial printers (HP Indigo 5500 and 7600) printing at 812.8 dpi.
  • Components: Each tuple includes a digital template, two printed originals (one from each printer), and four ML-estimated fakes (cross-printed on both machines).
  • Imaging: Originals were scanned at 2400 ppi (simulating mobile cameras), while fakes were generated using high-res 6400 ppi scans to give the attacker an advantage.
Fig. 2: Example of the first tuple of our dataset. For a single template code (cropped part), two originals are printed on two industrial printers. Fakes are obtained by estimating the dig- ital template starting from the two original printed CDP and then printing the estimations on both printers.

Key Insights and Ideas

  • The Failure of Simple Correlation: Traditional authentication often relies on normalized correlation between the template and the print. The authors show that for 1x1 symbols, the distributions of originals and ML-fakes overlap so significantly that linear separation is impossible.
  • The "Black Box" Trap: DL models are incredibly good at finding "shortcuts." In this case, the model often learns the specific noise signature of a printer rather than the fundamental difference between an original and a clone.
  • Distribution Shift is the Enemy: The most critical finding is that if a defender trains a model on fakes from Printer A, it will likely fail to detect fakes from Printer B. This "distribution shift" makes supervised DL a risky choice for real-world deployment where attackers' equipment is unknown.
Fig. 3: KDE plot of normalized correlation between the digi- tal templates and printed original and fake codes.

Key Results

  • Perfect Performance (In-Distribution): When the test fakes came from the same printer as the training fakes, the model achieved an AUC of 1.0 and zero false alarms ($P_{fa}$).
  • Catastrophic Generalization: In Setup 1, when the printer changed between training and testing, the performance plummeted. In one case, the AUC dropped to 0.25, meaning the model was performing worse than random guessing because it had "learned" the wrong printer artifacts.
  • Linear Separability: PCA analysis of the ResNet features (Figure 5) confirmed that originals and fakes are only linearly separable in the specific case where the training and testing distributions match perfectly.
2D PCA plots of ResNet features showing that originals and fakes are only clearly separable when the training and testing printers match (case a).

Limitations and Future Work

The primary limitation is the requirement for known fakes. In a real-world scenario, a manufacturer might not have access to an attacker's counterfeit samples to train their model. Furthermore, the model's lack of robustness to printer changes (distribution shift) is a major hurdle.

Future Directions: The authors suggest moving away from relying solely on digital templates. Instead, they propose investigating authentication models that use physical references (enrolled scans of every printed item). By comparing a probe to a specific physical original rather than a generic digital template, the system might better account for printer-specific statistics and become more robust against unseen attacks.

Summary updated

BibTeX
@misc{pulfer2022authentication,
  author = {Brian Pulfer and Roman Chaban and Yury Belousov and Joakim Tutt and Olga Taran and Taras Holotyak and Slava Voloshynovskiy},
  title = {{Authentication of Copy Detection Patterns under Machine Learning Attacks: A Supervised Approach}},
  year = {2022},
  eprint = {2206.11793},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.11793},
}
Figure