Hugging Face Blog

Fine-Tune ViT for Image Classification with 🤗 Transformers

arXiv AI
Oct 27

SAP-ViT: A Self-Attributing Patch Vision Transformer for Medical Image Classification

SAP-ViT is a Vision Transformer that replaces the traditional global classification token with direct aggregation of last‑layer patch embeddings, enabling class predictions to be decomposed into patch‑level contributions during the forward pass. The model incorporates sparsity regularization to produce concise, readable evidence and introduces an input‑space back‑mapping mechanism to identify which input patches influence the output. Experiments on diverse medical imaging datasets show that SAP‑ViT retains strong classification performance while delivering consistent, interpretable patch‑level explanations, with ablation studies confirming the benefits of both sparsity and back‑mapping.

By Wei Zhang, Wolfgang Nejdl, Ming Tang
arXiv Computer Vision
Oct 26

NUViT: Vision Transformers for Fourier Space Data

NUViT is a new vision transformer designed for Fourier-space data, such as medical imaging and microscopy. It redefines tokenization, data representation, and positional encoding to align with the frequency and phase structure of Fourier data. Experiments on tasks like Fourier-domain image classification, crystal lattice identification, MRI annotation, and cryo-EM protein analysis demonstrate that NUViT consistently outperforms standard ViT architectures in capturing Fourier data structure.

By Jeffrey Gu, Robert C. Heeter, Ellen D. Zhong
arXiv Computer Vision
Aug 25

Extending the Horizon of Early Diagnosis: Lung Cancer Prediction with Vision Transformers

arXiv:2608.21571v1 Announce Type: new Abstract: Lung cancer remains a leading cause of cancer-related mortality worldwide, and early diagnosis is critical for improving survival. However, early-stage...

By Olivera Kotevska, Ian Goethert, Michael McGee, Maria Mahbub, Sean R. Wilkinson, Rowena Yip, Myvizhi Esai Selvan, Zeynep H. Gumus, Claudia Henschke, Robert J. Klein, Providencia Morales, Samuel M Aguayo, Ioana Danciu, Mayanka Chandrashekar
arXiv AI
Jul 7

Towards Generalizable Deepfake Image Detection with Vision Transformers

arXiv:2604. 17376v2 Announce Type: replace-cross Abstract: In today's day and age, we face a challenge in detecting deepfake images because of the fast evolution of modern generative models and the poor generalization capability of existing methods.

By Kaliki V Srinanda, M Manvith Prabhu, Hemanth K Mogilipalem, Jayavarapu S Abhinai, Vaibhav Santhosh, Aryan Herur, Deepu Vijayasenan