Robustness of Contrastive Learning on Multilingual Font Style Classification Using Various Contrastive Loss Functions
Open Access
- 13 March 2023
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 13 (6) , 3635
Abstract
Font is a crucial design aspect, however, classifying fonts is challenging compared with that of other natural objects, as fonts differ from images. This paper presents the application of contrastive learning in font style classification. We conducted various experiments to demonstrate the robustness of contrastive image representation learning. First, we built a multilingual synthetic dataset for Chinese, English, and Korean fonts. Next, we trained the model using various contrastive loss functions, i.e., normalized temperature scaled cross-entropy loss, triplet loss, and supervised contrastive loss. We made some explicit changes to the approach of applying contrastive learning in the domain of font style classification by not applying any image augmentation. We compared the results with those of a fully supervised approach and achieved comparable results using contrastive learning with fewer annotated images and a smaller number of training epochs. In addition, we also evaluated the effect of applying different contrastive loss functions on training.Keywords
Funding Information
- Korea government (MSIP) (2016-0-00166)
This publication has 20 references indexed in Scilit:
- Fine-Tuning Convolutional Neural Networks for Biomedical Image Analysis: Actively and Incrementally2017
- ImageNet classification with deep convolutional neural networksCommunications of the ACM, 2017
- Deep Residual Learning for Image Recognition2016
- Script identification in the wild via discriminative convolutional neural networkPattern Recognition, 2016
- Deepdocclassifier: Document classification with deep Convolutional Neural Network2015
- Evaluation of deep convolutional nets for document image classification and retrieval2015
- FaceNet: A unified embedding for face recognition and clustering2015
- Going deeper with convolutions2015
- Convolutional Neural Networks for Document Image Classification2014
- On the momentum term in gradient descent learning algorithmsNeural Networks, 1999