# OCFormer: One-Class Transformer Network for Image Classification

Source: [OCFormer: One-Class Transformer Network for Image Classification](<https://www.sota2.com/research/paper/68fa6c651e209131cea33d0e>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T00:09:48.320Z

Authors: Prerana Mukherjee, Chandan Kumar Roy, Swalpa Kumar Roy

Published: 2022-04-25T05:43:40.000Z

## Abstract

We propose a novel deep learning framework based on Vision Transformers (ViT) for one-class classification. The core idea is to use zero-centered Gaussian noise as a pseudo-negative class for latent space representation and then train the network using the optimal loss function. In prior works, there have been tremendous efforts to learn a good representation using varieties of loss functions, which ensures both discriminative and compact properties. The proposed one-class Vision Transformer (OCFormer) is exhaustively experimented on CIFAR-10, CIFAR-100, Fashion-MNIST and CelebA eyeglasses datasets. Our method has shown significant improvements over competing CNN based one-class classifier approaches.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2204.11449>)

[PDF](<https://arxiv.org/pdf/2204.11449.pdf>)
