错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Supervised Contrastive Learning and Dynamic Attention Fusion for Integrating Deep and Handcrafted Features in Anti-counterfeiting

  • Di Shan,
  • Wei Shi,
  • Hui Shao,
  • Changqing Fang,
  • Hongtao Wang,
  • Kun Wang

摘要

This study proposes an intelligent framework based on multimodal texture features analysis to address the persistent challenges of easy replication and low detection accuracy in traditional product anti-counterfeiting systems. The proposed approach integrates an enhanced supervised contrastive learning architecture with differentiable handcrafted feature extraction to construct a highly discriminative model that enhances both deep and handcrafted representations. A novel hybrid contrastive learning mechanism—combining InfoNCE loss with triplet sampling and explicitly masking same-class interfering samples—is introduced to optimize the feature-space distribution. Furthermore, Local Binary Patterns (LBP) are reformulated as differentiable convolutional operations to enable multiscale spatial pyramid fusion. A dynamic attention module is introduced to effectively fuse deep features extracted via RepVGG with multiscale LBP handcrafted features. Experimental evaluations on the ALOT dataset demonstrate that the proposed framework achieves a classification accuracy of 99.71% in closed-set scenarios and 97.43% in open-set scenarios, effectively fulfilling stringent anti-counterfeiting requirements across diverse conditions and offering a robust, efficient solution for product authentication.