A semi-supervised attention model for identifying authentic sneakers

Yang Yang, Nengjun Zhu, Yi-Feng Wu, Jian Cao, De-Chuan Zhan, Hui Xiong

Abstract

Sneaker authentication is a complex fine-grained classification task where subtle details distinguish authentic products from high-quality counterfeits. We present the Semi-Supervised Attention (SSA) model, which employs multi-instance learning and a novel prototypical loss to leverage both labeled and unlabeled data. Evaluated on the massive YSneaker dataset of 7 million images, the SSA model achieves 88.75% accuracy, demonstrating its ability to focus on critical diagnostic features like interior tags and midsoles, mirroring human expert behavior.

Introduction

In the high-stakes world of sneaker collecting, the difference between a "grail" and a counterfeit often comes down to millimeters of stitching or font variations on a size tag. As the counterfeit market expands into a multi-billion dollar industry, human experts are increasingly overwhelmed by the volume of authentication requests. This paper introduces the Semi-Supervised Attention (SSA) model, a deep learning framework designed to automate expert-level scrutiny in digital marketplaces.

The Challenge of Fine-Grained Classification

Authenticating sneakers is a classic "fine-grained classification" problem. Unlike general object recognition, identifying a "high-grade" replica requires detecting extremely subtle differences in texture, typography, and construction.

Figure 4: Fine-grained details like the 'SPLY-350' text on a Yeezy Boost 350 V2 are critical for authentication.

Current AI approaches face three major hurdles: data scarcity in specialized domains, the limitation of single-image analysis (whereas experts examine multiple angles), and the prohibitive cost of expert labeling for millions of images.

Methodology: The SSA Model

The proposed SSA model addresses these challenges through two primary architectural innovations:

  1. Multi-Instance Learning (MIL) with Attention: Rather than treating photos independently, the model treats a sneaker as a "bag" of images. A shallow attention network assigns weights to these images, learning to prioritize diagnostic areas like interior stamps or midsoles over generic profile shots.
  2. Semi-Supervised Prototypical Loss: To utilize vast amounts of unlabeled data, the authors designed a loss function that calculates "class centers" (prototypes). By clustering unlabeled data around these centers, the model reduces intra-class variation and learns a more robust definition of authenticity.

The system uses a ResNet18 backbone for feature extraction, with features aggregated through an attention-based pooling layer.

The YSneaker Dataset

The study introduces YSneaker, a massive multi-source dataset collected from the sporting goods platform HuPu.

Figure 6: Examples from the YSneaker dataset, covering major brands like Adidas, Jordan, and Nike.

The dataset comprises nearly 7 million images. It includes 568,769 sneakers labeled by seven domain experts over seven months and 240,625 unlabeled sneakers for semi-supervised learning. The collection covers 14 coarse categories across major brands.

Results and Discussion

The SSA model was evaluated against several state-of-the-art baselines, including Bilinear CNNs and Multi-Attention CNNs (MA-CNN). Key findings include:

  • Superior Accuracy: The SSA model achieved 88.75% accuracy on the YSneaker-small benchmark, outperforming standard CNN ensembles (82.59%) and Bilinear models (87.01%).
  • High Precision: A precision of 90.00% was reached, which is vital for minimizing "false positives" that lead to financial loss and eroded consumer trust.
  • Expert-Like Focus: Heatmaps revealed that the attention mechanism naturally focuses on the same areas human experts prioritize, such as size tags and midsoles.
  • Data Efficiency: The results demonstrate that unlabeled data acts as a force multiplier, helping the model define the manifold structure of authentic sneakers without requiring exhaustive manual labeling.

Conclusion

While the SSA model represents a significant advancement, challenges remain regarding data noise (e.g., non-sneaker images) and the computational demands of processing 4TB of image data. Future work will explore integrating low-rank constraints and utilizing contextual textual data provided by users to further refine the authentication process.

Summary updated

BibTeX
@article{yang2020semi,
  author = {Yang Yang and Nengjun Zhu and Yi-Feng Wu and Jian Cao and De-Chuan Zhan and Hui Xiong},
  title = {{A semi-supervised attention model for identifying authentic sneakers}},
  journal = {Big Data Min. Anal.},
  year = {2020},
  doi = {10.26599/bdma.2019.9020017},
}
Figure