Computer Science ›› 2026, Vol. 53 ›› Issue (11A): 260200038-425.doi: 10.11896/jsjkx.260200038

• Image Processing & Multimedia Technology • Previous Articles     Next Articles

Vision Transformer High-frequency Feature Recovery Algorithm for Image Classification

YAN Daisong1, XIE Shukai2, GONG Xun1   

  1. 1 School of Computing and Artificial Intelligence,Southwest Jiaotong University,Chengdu 611756,China
    2 Mianyang Vocational and Technical College,Mianyang,Sichuan 621000,China
  • Online:2026-11-16 Published:2026-11-16
  • About author:YAN Daisong,born in 1999,doctoral candidate.His main research interests include computer vision,image classification and intelligent medicine.
    GONG Xun,born in 1980,Ph.D,professor.His main research interests include general vision,intelligent medicine and intelligent geological disaster management.
  • Supported by:
    This work was supported by the Mianyang Science and Technology Plan Funding(2025ZYDF076),National Natural Science Foundation of China(62576296) and Tangshan Basic Research Science and Technology Plan(23130230E).

Abstract: Due to the self-attention module of vision transformer(ViT) models,high-frequency information is continuously lost during forward propagation,which results in sub-optimal classification accuracy on small datasets.To address this problem,this paper proposes an auxiliary training strategy for ViTs called high frequency reconstruction(HFR).HFR is a plug-and-play approach that improves classification accuracy on small datasets by guiding the backbone network to preserve high-frequency features,which are crucial for image classification.HFR is only used during the training process and can be completely removed during inference;thus,it incurs no additional inference overhead and maintains the original model structure.This paper conducts image classification experiments using various ViT models on three common datasets.Results from comparative and ablation studies indicate that the proposed HFR method consistently improves the performance of different ViT models across different small datasets.On the Mini-ImageNet dataset,HFR improves the accuracy of ViT-T and ViT-B by 6.75% and 4.51%,respectively.

Key words: Image classification, Vision Transformer, Convolutional neural networks, Auxiliary training strategy

CLC Number: 

  • TP391
[1] KRIZHEVSKY A,SUTSKEVER I,HINTON G E.Imagenetclassification with deep convolutional neural networks[C]//Advances in Neural Information Processing Systems.2012:84-90.
[2] SIMONYAN K,ZISSERMAN A.Very deep convolutional networks for large-scale image recognition[C]//Proceedings of the International Conference on Learning Representations.2015:1-14.
[3] HE K M,ZHANG X,REN S,et al.Deep residual learning for image recognition[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2016:770-778.
[4] LIU Z,MAO H,WU C Y,et al.A convnet for the 2020s[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2022:11976-11986.
[5] LONG X,HUANG W,HU K.Bi-MI ViT:Bi-directional Multi-level Interaction Vision Transformer for Lung CT Image Classification[J].Computer Science,2025,52(S1):240700183-6.
[6] HE K M,GKIOXARI G,DOLLÁR P,et al.Mask r-cnn[C]//Proceedings of the IEEE International Conference on Computer Vision.2017:2961-2969.
[7] LEI S,QIU M X,LIU X H,et al.Image Classification Model for Waste Household Appliance Recycling Based on Multi-scaleDepthwise Separable ResNet[J].Computer Science,2025,52(S1):240500057-7.
[8] VASWANI A,SHAZEER N,PARMAR N,et al.Attention isall you need[C]//Advances in Neural Information Processing Systems.2017:5998-6008.
[9] BELTAGY I,PETERS M E,COHAN A.Longformer:Thelong-document transformer[J].arXiv:004.05150,2020.
[10] DOSOVITSKIY A,BEYER L,KOLESNIKOV A,et al.Animage is worth 16x16 words:Transformers for image recognition at scale[C]//Proceedings of the International Conference on Learning Representations,2021:1-22.
[11] TOUVRON H,CORD M,DOUZE M,et al.Training data-efficient image transformers & distillation through attention[C]//Proceedings of the International Conference on Machine Lear-ning.2021:10347-10357.
[12] TOUVRON H,CORD M,SABLAYROLLES A,et al.Goingdeeper with image transformers[C]//Proceedings of the IEEE International Conference on Computer Vision.2021:32-42.
[13] CHU X,TIAN Z,ZHANG B,et al.Conditional positional encodings for vision transformers[J].arXiv:2102.10882,2021.
[14] MA X,GUO J,SANSOM A,et al.Spatial pyramid attention for deep convolutional neural networks[J].IEEE Transactions on Multimedia,2021,23:3048-3058.
[15] WANG P,ZHENG W,CHEN T,et al.Anti-oversmoothing in deep vision transformers via the fourier domain analysis:From theory to practice[J].arXiv:2203.05962,2022.
[16] YUAN L,CHEN Y,WANG T,et al.Tokens-to-token vit:trai-ning vision transformers from scratch on imagenet[C]//Procee-dings of the IEEE International Conference on Computer Vision.2021:558-567.
[17] LIU Z,LIN Y,CAO Y,et al.Swin transformer:hierarchical vision transformer using shifted windows[C]//Proceedings of the IEEE International Conference on Computer Vision.2021:10012-10022.
[18] DONG X,BAO J,CHEN D,et al.Cswin transformer:a general vision transformer backbone with cross-shaped windows[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2022:12124-12134.
[19] TU Z,TALEBI H,ZHANG H,et al.Maxvit:multi-axis vision transformer[C]//Proceedings of the European Conference on Computer Vision.2022:459-479.
[20] LI Y,YANG C,ZENG H,et al.Frequency-aligned knowledge distillation for lightweight spatiotemporal forecasting[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.2025:7262-7272.
[21] RANGWANI H,MONDAL P,MISHRA M,et al.Deit-lt:Distillation strikes back for vision transformer training on long-tailed datasets[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2024:23396-23406.
[22] KAYA A,BILIK I,STAINVAS I.A Comparative Study of Vision Transformers and CNNs for Few-Shot Rigid Transformation and Fundamental Matrix Estimation[J].arXiv:2510.04794,2025.
[23] XIAO T,SINGH M,MINTUN E,et al.Early convolutions help transformers see better[C]//Advances in Neural Information Processing Systems.2021:30392-30400.
[24] CHU Z,CHEN J,CHEN C,et al.DualToken-ViT:position-aware efficient vision transformer with dual token fusion[C]//Proceedings of the 2024 SIAM International Conference on Data Mining(SDM).2024:688-696.
[25] WU H,XIAO B,CODELLA N,et al.Cvt:introducing convolutions to vision transformers[C]//Proceedings of the IEEE International Conference on Computer Vision.2021:22-31.
[26] LOSHCHILOV I,HUTTER F.Decoupled weight decay regularization[J].arXiv:1711.05101,2017.
[27] ZHANG H,CISSE M,DAUPHIN Y N,et al.Mixup:beyondempirical risk minimization[J].arXiv:1710.09412,2017.
[28] YUN S,HAN D,OH S J,et al.Cutmix:regularization strategy to train strong classifiers with localizable features[C]//Procee-dings of the IEEE International Conference on Computer Vision.2019:6023-6032.
[29] SELVARAJU R R,COGSWELL M,DAS A,et al.Grad-cam:Visual explanations from deep networks via gradient-based localization[C]//Proceedings of the IEEE International Confe-rence on Computer Vision.2017:618-626.
[1] ZHANG Xueyi, YAN Feifei. Deep Forest Models Based on CNN Feature Enhancement and Dynamic Sparse Cascading [J]. Computer Science, 2026, 53(8): 61-70.
[2] ZHU Bin, LI Xiaobin. AETC:Image Classification Model via Attention-based Topological Features Fusion [J]. Computer Science, 2026, 53(7): 24-33.
[3] DUAN Pengsong, LUO Yu, WANG Chao. Q&A Model for Agricultural Diseases Based on Transformer [J]. Computer Science, 2026, 53(6A): 250400114-9.
[4] YANG Hongju, ZHANG Ziyang, LI Yao. Frequency Driven Multi-scale Image Super-resolution Method [J]. Computer Science, 2026, 53(5): 218-227.
[5] GUO Jingchen, YANG Kuiwu, DING Mengdi, WEI Jianghong. Survey of Adversarial Sample Attacks for Vision Transformer [J]. Computer Science, 2026, 53(5): 404-418.
[6] ZHENG Yi, JIA Xinghao, ZHANG Junwen, REN Shuang. Image Classification Based on Hybrid Quantum-Classical Long-Short Range Feature Extension Network [J]. Computer Science, 2026, 53(4): 277-283.
[7] CHEN Han, XU Zefeng, JIANG Jiu, FAN Fan, ZHANG Junjian, HE Chu, WANG Wenwei. Large Language Model and Deep Network Based Cognitive Assessment Automatic Diagnosis [J]. Computer Science, 2026, 53(3): 41-51.
[8] YU Kehang, MA Handa. Fine-grained Image Classification via Multi-scale Feature Fusion and Channel Shuffling [J]. Computer Science, 2026, 53(11A): 251200185-484.
[9] ZHANG Jiazhe, MO Xian. Hierarchical Diffusion Contrastive Enhancement Method for Multimodal Recommendation [J]. Computer Science, 2026, 53(11A): 251000143-723.
[10] LEI Shuai, QIU Mingxin, LIU Xianhui, ZHANG Yingyao. Image Classification Model for Waste Household Appliance Recycling Based on Multi-scaleDepthwise Separable ResNet [J]. Computer Science, 2025, 52(6A): 240500057-7.
[11] WANG Chundong, ZHANG Qinghua, FU Haoran. Federated Learning Privacy Protection Method Combining Dataset Distillation [J]. Computer Science, 2025, 52(6A): 240500132-7.
[12] CHEN Yadang, GAO Yuxuan, LU Chuhan, CHE Xun. Saliency Mask Mixup for Few-shot Image Classification [J]. Computer Science, 2025, 52(6): 256-263.
[13] WEI Xiaohui, GUAN Zeyu, WANG Chenyang, YUE Hengshan, WU Qi. Hardware-Software Co-design Fault-tolerant Strategies for Systolic Array Accelerators [J]. Computer Science, 2025, 52(5): 91-100.
[14] SUN Jinyong, WANG Xuechun, CAI Guoyong, SHANG Zhiliang. Open Set Recognition Based on Meta Class Incremental Learning [J]. Computer Science, 2025, 52(5): 187-198.
[15] WANG Yifei, ZHANG Shengjie, XUE Dizhan, QIAN Shengsheng. Self-supervised Backdoor Attack Defence Method Based on Poisoned Classifier [J]. Computer Science, 2025, 52(4): 336-342.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!