mlsanityData to 14 Oct 2026

Towards noise contrastive estimation with soft targets for conditional models

arXiv 2404.14076 ↗First posted 22 Apr 2024cs.LG cs.CV stat.MLcited by 5

Not on the map. Why?

Abstract (arXiv)

Soft targets combined with the cross-entropy loss have shown to improve generalization performance of deep neural networks on supervised classification tasks. The standard cross-entropy loss however assumes data to be categorically distributed, which may often not be the case in practice. In contrast, InfoNCE does not rely on such an explicit assumption but instead implicitly estimates the true conditional through negative sampling. Unfortunately, it cannot be combined with soft targets in its standard formulation, hindering its use in combination with sophisticated training strategies. In this paper, we address this limitation by proposing a loss function that is compatible with probabilistic targets. Our new soft target InfoNCE loss is conceptually simple, efficient to compute, and can be motivated through the framework of noise contrastive estimation. Using a toy example, we demonstrate shortcomings of the categorical distribution assumption of cross-entropy, and discuss implications of sampling from soft distributions. We observe that soft target InfoNCE performs on par with strong soft target cross-entropy baselines and outperforms hard target NLL and InfoNCE losses on popular benchmarks, including ImageNet. Finally, we provide a simple implementation of our loss, geared towards supervised classification and fully compatible with deep classification models trained with cross-entropy.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 32 of its 41 references that are in the map. First posted on arXiv 22 Apr 2024.

Builds on

32 of 41 references.

References · 32

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  6. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  7. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  8. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  9. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  10. 2017On Calibration of Modern Neural Networkscited by 4,960
  11. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  12. 2020Supervised Contrastive Learningcited by 2,829
20 more
  1. 2019Contrastive Multiview Codingcited by 1,301
  2. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
  3. 2018Deep Graph Infomaxcited by 1,106
  4. 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 997
  5. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
  6. 2019When Does Label Smoothing Help?cited by 988
  7. 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 734
  8. 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 673
  9. 2019On Variational Bounds of Mutual Informationcited by 559
  10. 2019DeepGCNs: Can GCNs Go as Deep as CNNs?cited by 527
  11. 2020Hard Negative Mixing for Contrastive Learningcited by 402
  12. 2020DeeperGCN: All You Need to Train Deeper GCNscited by 250
  13. 2021Contrastive Learning Inverts the Data Generating Processcited by 221
  14. 2016Exploring the Limits of Language Modelingcited by 173
  15. 2022G-Mixup: Graph Data Augmentation for Graph Classificationcited by 146
  16. 2018Large Margin Deep Networks for Classificationcited by 112
  17. 2018Noise Contrastive Estimation and Negative Sampling for Conditional Models: Consistency and Statistical Efficiencycited by 105
  18. 2023Rethinking Negative Pairs in Code Searchcited by 14
  19. 2020The continuous categorical: a novel simplex-valued exponential familycited by 12
  20. 2020Uses and Abuses of the Cross-Entropy Loss: Case Studies in Modern Deep Learningcited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 2.

5 papers.