Contrastive Classification and Representation Learning with Probabilistic Interpretation
DOI:
https://doi.org/10.1609/aaai.v37i6.25819Keywords:
ML: Classification and Regression, ML: Representation LearningAbstract
Cross entropy loss has served as the main objective function for classification-based tasks. Widely deployed for learning neural network classifiers, it shows both effectiveness and a probabilistic interpretation. Recently, after the success of self supervised contrastive representation learning methods, supervised contrastive methods have been proposed to learn representations and have shown superior and more robust performance, compared to solely training with cross entropy loss. However, cross entropy loss is still needed to train the final classification layer. In this work, we investigate the possibility of learning both the representation and the classifier using one objective function that combines the robustness of contrastive learning and the probabilistic interpretation of cross entropy loss. First, we revisit a previously proposed contrastive-based objective function that approximates cross entropy loss and present a simple extension to learn the classifier jointly. Second, we propose a new version of the supervised contrastive training that learns jointly the parameters of the classifier and the backbone of the network. We empirically show that these proposed objective functions demonstrate state-of-the-art performance and show a significant improvement over the standard cross entropy loss with more training stability and robustness in various challenging settings.Downloads
Published
2023-06-26
How to Cite
Aljundi, R., Patel, Y., Sulc, M., Chumerin, N., & Olmeda Reino, D. (2023). Contrastive Classification and Representation Learning with Probabilistic Interpretation. Proceedings of the AAAI Conference on Artificial Intelligence, 37(6), 6675-6683. https://doi.org/10.1609/aaai.v37i6.25819
Issue
Section
AAAI Technical Track on Machine Learning I