mlsanityData to 7 Oct 2026

Pre-Trained Language Transformers are Universal Image Classifiers

arXiv 2201.10182 ↗First posted 25 Jan 2022cs.CV cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Facial images disclose many hidden personal traits such as age, gender, race, health, emotion, and psychology. Understanding these traits will help to classify the people in different attributes. In this paper, we have presented a novel method for classifying images using a pretrained transformer model. We apply the pretrained transformer for the binary classification of facial images in criminal and non-criminal classes. The pretrained transformer of GPT-2 is trained to generate text and then fine-tuned to classify facial images. During the finetuning process with images, most of the layers of GT-2 are frozen during backpropagation and the model is frozen pretrained transformer (FPT). The FPT acts as a universal image classifier, and this paper shows the application of FPT on facial images. We also use our FPT on encrypted images for classification. Our FPT shows high accuracy on both raw facial images and encrypted images. We hypothesize the meta-learning capacity FPT gained because of its large size and trained on a large size with theory and experiments. The GPT-2 trained to generate a single word token at a time, through the autoregressive process, forced to heavy-tail distribution. Then the FPT uses the heavy-tail property as its meta-learning capacity for classifying images. Our work shows one way to avoid bias during the machine classification of images.The FPT encodes worldly knowledge because of the pretraining of one text, which it uses during the classification. The statistical error of classification is reduced because of the added context gained from the text.Our paper shows the ethical dimension of using encrypted data for classification.Criminal images are sensitive to share across the boundary but encrypted largely evades ethical concern.FPT showing good classification accuracy on encrypted images shows promise for further research on privacy-preserving machine learning.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 10 of its 48 references that are in the map. First posted on arXiv 25 Jan 2022.

Builds on

10 of 48 references.

References · 10

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  3. 2021Pretrained Transformers as Universal Computation Enginescited by 162
  4. 2015DeepID3: Face Recognition with Very Deep Neural Networkscited by 62
  5. 2017Classification of Time-Series Images Using Deep Convolutional Neural Networkscited by 38
  6. 2016Instagram photos reveal predictive markers of depressioncited by 25
  7. 2014DeepID-Net: Deformable Deep Convolutional Neural Networks for Object Detectioncited by 19
  8. 2016Responses to Critiques on Machine Learning of Criminality Perceptions (Addendum of arXiv:1611.04135)cited by 14
  9. 2015High Performance Offline Handwritten Chinese Character Recognition Using GoogLeNet and Directional Feature Mapscited by 10
  10. 2021Do Facial Trait Correlates with Roll Call Voting in Parliament? Using fWHR to Study Performance in Politicscited by 1

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.