HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Semantic-Aware Dual Contrastive Learning for Multi-label Image Classification

Leilei Ma Dengdi Sun Lei Wang Haifeng Zhao Bin Luo

Semantic-Aware Dual Contrastive Learning for Multi-label Image Classification

Abstract

Extracting image semantics effectively and assigning corresponding labels to multiple objects or attributes for natural images is challenging due to the complex scene contents and confusing label dependencies. Recent works have focused on modeling label relationships with graph and understanding object regions using class activation maps (CAM). However, these methods ignore the complex intra- and inter-category relationships among specific semantic features, and CAM is prone to generate noisy information. To this end, we propose a novel semantic-aware dual contrastive learning framework that incorporates sample-to-sample contrastive learning (SSCL) as well as prototype-to-sample contrastive learning (PSCL). Specifically, we leverage semantic-aware representation learning to extract category-related local discriminative features and construct category prototypes. Then based on SSCL, label-level visual representations of the same category are aggregated together, and features belonging to distinct categories are separated. Meanwhile, we construct a novel PSCL module to narrow the distance between positive samples and category prototypes and push negative samples away from the corresponding category prototypes. Finally, the discriminative label-level features related to the image content are accurately captured by the joint training of the above three parts. Experiments on five challenging large-scale public datasets demonstrate that our proposed method is effective and outperforms the state-of-the-art methods. Code and supplementary materials are released on https://github.com/yu-gi-oh-leilei/SADCL.

Code Repositories

yu-gi-oh-leilei/sadcl
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
multi-label-learning-on-coco-2014SADCL
CF1: 79.8
CP: 84.6
CR: 76
OF1: 82.1
OP: 86
OR: 78.5
mAP: 85.6

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Semantic-Aware Dual Contrastive Learning for Multi-label Image Classification | Papers | HyperAI