Multi-head-self-attention (MHSA)-equipped models have achieved notable performance in computer vision. Their computational complexity is proportional to quadratic numbers of pixels in input feature maps, resulting in slow processing, especially when dealing with high-resolution images. New types of token-mixer are proposed as an alternative to MHSA to circumvent this problem: an FFT-based token-mixer involves global operations similar to MHSA but with lower computational complexity. However, despite its attractive properties, the FFT-based token-mixer has not been carefully examined in terms of its compatibility with the rapidly evolving MetaFormer architecture. Here, we propose a novel token-mixer called Dynamic Filter and novel image recognition models, DFFormer and CDFFormer, to close the gaps above. The results of image classification and downstream tasks, analysis, and visualization show that our models are helpful. Notably, their throughput and memory efficiency when dealing with high-resolution image recognition is remarkable. Our results indicate that Dynamic Filter is one of the token-mixer options that should be seriously considered. The code is available at https://github.com/okojoalg/dfformer
GroupedMixer: An Entropy Model with Group-wise Token-Mixers for Learned Image Compression
School of Computer Science and Technology, Harbin Institute of Technology(哈尔滨工业大学计算机科学与技术学院);School of Electronics Engineering and Computer Science, Peking University(北京大学电子工程与计算机科学学院)
PoM: A Linear-Time Replacement for Attention with the Polynomial Mixer
LIGM, CNRS, Univ Gustave Eiffel, ENPC, Institut Polytechnique de Paris(LIGM,法国国家科学研究中心,古斯塔夫·埃菲尔大学,巴黎高科路桥学院,巴黎综合理工学院);LIX, École Polytechnique, CNRS, IP Paris(LIX,巴黎综合理工学院,法国国家科学研究中心,巴黎综合理工学院);Department of Information Engineering, Università degli Studi di Padova(帕多瓦大学信息工程系);AMIAD, Pole recherche, EFEO(AMIAD,法国远东学院研究部);LASTIG, Univ Gustave Eiffel, IGN, Géodata Paris(LASTIG,古斯塔夫·埃菲尔大学,法国国家地理与森林信息研究所,巴黎地理数据)
TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognition
School of Computing and Data Science, The University of Hong Kong(计算与数据科学学院,香港大学);AI Lab, Deepwise Healthcare(深睿医疗AI实验室);Department of Biomedical Informatics, Harvard Medical School(生物医学信息学系,哈佛医学院);Department of Computer Science, The University of Hong Kong(计算机科学系,香港大学);School of Information Science and Technology, ShanghaiTech University(信息科学与技术学院,上海科技大学)
CHASM: Cross-frequency Harmonized Axis-Separable Mixing for Spectral Token Operators
University of Southampton(南安普顿大学);University of Queensland(昆士兰大学);Chengdu University of Technology(成都理工大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
PoM: Efficient Image and Video Generation with the Polynomial Mixer
LIGM;École Nationale des Ponts et Chaussées(巴黎国立路桥学校);IP Paris(巴黎理工学院);Univ Gustave Eiffel(古斯塔夫·埃菲尔大学);CNRS(法国国家科学研究中心);LIX;École Polytechnique(巴黎综合理工学院)
Indian Institute of Technology Bombay(印度理工学院孟买分校);Department of Electrical Engineering(电气工程系);Mumbai, India(印度孟买)
视觉Transformer(ViTs)在图像处理中的实际应用有限,尽管它们在某些基准上具有最先进的精度。其使用有限的原因包括与卷积神经网络(CNN)相比,它们需要更大的训练数据集和更多的计算资源,这是由于它们的自我注意力机制的二次复杂性。我们提出了一个线性注意力-卷积混合架构-卷积X-formers for Vision(CXV)-来克服这些限制。我们将二次注意力替换为线性注意力机制,例如Performer,Nyströmmormer和Linear Transformer,以减少其GPU使用量。图像数据的归纳先验由卷积子层提供,从而消除了对ViT使用的类标记和位置嵌入的需要。我们还提出了一种新的训练方法,在不同的训练阶段使用两种不同的优化器,并表明它可以提高不同架构中的前1名图像分类精度。在数据和GPU资源(内核、RAM、电源)有限的情况下,CXV优于其他架构、令牌混合器(例如ConvMixer、FNet和MLP Mixer)、Transformer模型(例如ViT、CCT、CvT和混合Xformer)以及用于图像分类的ResNets。
S2AFormer: Strip Self-Attention for Efficient Vision Transformer
Faculty of Engineering and Information Technology, University of Technology Sydney(工程与信息技术学院,悉尼大学);Bionic Vision System Laboratory, State Key Laboratory of Transducer Technology, Shanghai Institute of Microsystem and Information Technology, Chinese Academy of Sciences(生物视觉系统实验室,传感技术国家重点实验室,上海微系统与信息技术研究所,中国科学院);PCA Lab, Key Lab of Intelligent Perception and Systems for High-Dimensional Information of Ministry of Education, School of Computer Science and Engineering, Nanjing University of Science and Technology(PCA实验室,教育部高维信息智能感知与系统重点实验室,南京理工大学计算机科学与工程学院);Research Center for Industries of the Future and the School of Engineering, Westlake University(未来产业研究中心和工程学院,西湖大学);OPPO Research, Seattle, WA 98101 USA(OPPO研究,美国西雅图华盛顿州98101)
MaLViL: Multi-axis Low-rank Vision-LSTM for Medical Image Segmentation
Faculty of Informatics and Data Science, University of Regensburg(雷根斯堡大学信息学与数据科学学院);Independent Computer Science Researcher(独立计算机科学研究者);University of British Columbia(不列颠哥伦比亚大学);Fraunhofer Institute for Digital Medicine MEVIS(弗劳恩霍夫数字医学梅维斯研究所)
Demystify Transformers & Convolutions in Modern Image Deep Networks
South China University of Technology(南方科技大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Huazhong University of Science and Technology(华中科技大学);Fudan University(复旦大学);The Chinese University of Hong Kong(香港中文大学);Tsinghua University(清华大学);SenseTime Research(商汤科技研究院)