Skip to main content
QUICK REVIEW

[Paper Review] Attribute Adaptive Margin Softmax Loss using Privileged Information

Seyed Mehdi Iranmanesh, Ali Dabouei|arXiv (Cornell University)|Sep 4, 2020
Face recognition and analysisComputer Science37 references8 citations
TL;DR

This paper proposes Attribute Adaptive Margin Softmax Loss (ATAM), a novel loss function that leverages soft biometric attributes as privileged information during training to dynamically adjust class margins in deep metric learning. By learning adaptive margins based on attributes, ATAM improves feature discriminativeness, reduces class imbalance, and achieves state-of-the-art performance on face recognition and person re-identification with minimal architectural changes.

ABSTRACT

We present a novel framework to exploit privileged information for recognition which is provided only during the training phase. Here, we focus on recognition task where images are provided as the main view and soft biometric traits (attributes) are provided as the privileged data (only available during training phase). We demonstrate that more discriminative feature space can be learned by enforcing a deep network to adjust adaptive margins between classes utilizing attributes. This tight constraint also effectively reduces the class imbalance inherent in the local data neighborhood, thus carving more balanced class boundaries locally and using feature space more efficiently. Extensive experiments are performed on five different datasets and the results show the superiority of our method compared to the state-of-the-art models in both tasks of face recognition and person re-identification.

Motivation & Objective

  • Address the challenge of class imbalance and limited discriminative power in deep metric learning for recognition tasks.
  • Exploit soft biometric attributes (e.g., gender, hair color) as privileged information only available during training to improve feature learning.
  • Develop a loss function that learns adaptive margins per class based on attribute information, rather than using a fixed margin.
  • Improve performance in both closed-set and open-set recognition protocols, especially for minority or highly variable classes.
  • Demonstrate the effectiveness of the method on unbalanced datasets without requiring attribute information at inference time.

Proposed method

  • Introduce a new loss function, Attribute Adaptive Margin Softmax Loss (ATAM), which modifies the standard softmax loss by making the margin $ m $ adaptive and learnable based on attribute embeddings.
  • Use a multi-task head to predict class-specific margins from the attribute embeddings during training, enabling the network to learn which classes need larger or smaller margins.
  • Train the network end-to-end with ATAM loss to jointly optimize feature embedding and adaptive margin prediction using cross-entropy loss.
  • Integrate the ATAM loss into standard CNN backbones (e.g., ResNet-50) and multi-granularity networks (e.g., MGN) without adding auxiliary loss functions.
  • Ensure that attribute information is only used during training, preserving the standard inference pipeline.
  • Apply the method to both face recognition and person re-identification tasks using standard evaluation protocols and metrics.

Experimental results

Research questions

  • RQ1Can privileged attribute information improve the discriminative power of deep features in recognition tasks when only available during training?
  • RQ2Does learning adaptive margins per class using attributes lead to better generalization and reduced intra-class variance compared to fixed-margin methods?
  • RQ3How does the proposed ATAM loss perform on unbalanced datasets with minority classes that have high visual variability?
  • RQ4Can ATAM achieve state-of-the-art performance without requiring attribute information at inference time or using additional loss functions?
  • RQ5To what extent does the use of adaptive margins improve performance in open-set recognition scenarios?

Key findings

  • ATAM achieved 97.1% R-1 accuracy and 88.3% mAP on the MGN + ATAM model for person re-identification on DukeMTMC-reID, outperforming state-of-the-art methods using multiple loss functions.
  • On Market-1501, the MGN + ATAM model achieved 95.1% R-1 and 86.5% mAP, surpassing models using AMSoftmax and CircleLoss with the same backbone.
  • The method achieved 95.1% R-1 and 86.5% mAP on Market-1501 with a single loss function, demonstrating strong performance without auxiliary losses.
  • ATAM outperformed methods like APR and AANet-50 that use attributes at both training and inference, proving the effectiveness of privileged information used only at training.
  • The adaptive margin mechanism effectively reduced intra-class variance and improved local class boundary balance, especially for minority and high-variability classes.
  • Extensive ablation confirmed that the use of attribute-based margin adaptation significantly improved feature discriminativeness and generalization across five diverse datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.