Lucas Beyer, Pavel Izmailov, Alexander Kolesnikov, Mathilde Caron, Simon Kornblith, Xiaohua Zhai, Matthias Minderer, Michael Tschannen, Ibrahim Alabdulmohsin, Filip Pavetic
Vision Transformers convert images to sequences by slicing them into patches. The size of these patches controls a speed/accuracy tradeoff, with smaller patches leading to higher accuracy at greater computational cost, but changing the patch size typically requires retraining the model. In this paper, we demonstrate that simply randomizing the patch size at training time leads to a single set of weights that performs well across a wide range of patch sizes, making it possible to tailor the model to different compute budgets at deployment time. We extensively evaluate the resulting model, which we call FlexiViT, on a wide range of tasks, including classification, image-text retrieval, open-world detection, panoptic segmentation, and semantic segmentation, concluding that it usually matches, and sometimes outperforms, standard ViT models trained at a single patch size in an otherwise identical setup. Hence, FlexiViT training is a simple drop-in improvement for ViT that makes it easy to add compute-adaptive capabilities to most models relying on a ViT backbone architecture. Code and pre-trained models are available at https://github.com/google-research/big_vision
Progressive Growing of Patch Size: Curriculum Learning for Accelerated and Improved Medical Image Segmentation
School of Computation, Information and Technology, Technical University Munich(技术大学慕尼黑计算、信息与技术学院);Department of Radiation Oncology, TUM School of Medicine, TUM University Hospital rechts der Isar, Technical University of Munich(肿瘤放射治疗科,TUM医学院,TUM大学医院rechts der Isar,技术大学慕尼黑);Institute of Machine Learning in Biomedical Imaging, Helmholtz Munich(生物医学影像中的机器学习研究所,海德堡慕尼黑);Institute of Radiation Medicine, Helmholtz Center Munich(放射医学研究所,海德堡慕尼黑);Munich Center of Machine Learning (MCML)(慕尼黑机器学习中心);School of Biomedical Engineering and Imaging Sciences, King’s College London(生物医学工程与成像科学学院,伦敦国王学院);Departament de Matemàtiques i Informàtica, Barcelona Artificial Intelligence in Medicine Lab (BCN-AIM), Universitat de Barcelona(数学与计算机科学系,巴塞罗那人工智能在医学实验室(BCN-AIM),巴塞罗那大学)
Revisiting Token Compression for Accelerating ViT-based Sparse Multi-View 3D Object Detectors
PCA Lab, School of Computer Science and Engineering, Nanjing University of Science and Technology(计算机科学与工程学院,南京理工大学PCA实验室);PCA Lab, School of Intelligence Science and Technology, Nanjing University(智能科学与技术学院,南京大学PCA实验室)
Fast and Accurate 3D Medical Image Segmentation with Data-swapping Method
IBM Research(IBM研究院);IBM Systems(IBM系统部)
用于医学图像分割的深度神经网络模型很大,因为它们是用高分辨率三维(3D)图像训练的。图形处理单元(GPU)被广泛用于加速训练。然而,GPU上的内存不够大,无法训练模型。解决这个问题的一种流行方法是基于块的方法,它将大图像分成小块,并用这些小块训练模型。然而,这种方法会降低分割质量,如果一个目标对象跨越多个补丁。在本文中,我们提出了一种新的方法,用于3D医学图像分割,利用数据交换,将中间数据从GPU内存交换到CPU内存,以扩大有效的GPU内存大小,用于训练高分辨率的3D医学图像,而无需修补。我们仔细调整了数据交换方法中的参数,以获得3D U-Net的最佳训练性能,3D U-Net是一种广泛用于医学图像分割的深度神经网络模型。我们将我们的调整应用于训练具有脑肿瘤数据集中192 x 192 x 192体素的全尺寸图像的3D U-Net。结果,最重要的通信开销减少了17.1%。与用于128 x 128 x 128体素的块的基于块的方法相比,我们对全尺寸图像的训练分别使检测整个肿瘤子区域和肿瘤核心子区域的平均Dice得分提高了4.48%和5.32%。总训练时间从164小时减少到47小时,加速3.53倍。
PAD: Patch-Agnostic Defense against Adversarial Patch Attacks
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);School of Cyber Science and Technology, Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区网络空间安全学院)
Technion – Israel Institute of Technology(以色列理工学院)
测量图像中的块之间的相似性是各种任务中的基本构建块。当然,补丁大小对匹配质量以及随后的应用性能有重大影响。假设我们的补丁数据库已充分采样,则应优先使用大补丁(例如21 x 21)而不是小补丁(例如7 x 7)。然而,这种“密集采样”的假设很少是正确的;在大多数情况下,大补丁无法找到相关的附近的例子。这种现象是维数灾难的结果,说明数据库大小应该随着补丁大小呈指数增长,以确保正确的匹配。这解释了在大多数应用中小补丁大小的偏好选择。有没有一种方法可以保持简单性,使用小补丁,同时获得大补丁提供的一些好处?在这项工作中,我们提供了这样一种方法。我们建议将常规(小)补丁的常规内容与其(大)环境的紧凑表示-其上下文连接起来。因此,随着维度的微小增加(例如,对补丁表示增加10个值),我们隐式地/柔和地描述了大补丁的信息。附加描述符是基于补丁周围的自相似行为来计算的。我们表明,这种方法实现了更好的匹配,相比使用常规大小的补丁,而不需要增加数据库的大小。此外,所提出的方法的有效性进行了测试三个不同的问题:(i)外部自然图像去噪,(ii)深度图像超分辨率,(iii)运动补偿帧速率上转换。
Effect of Patch Size on Fine-Tuning Vision Transformers in Two-Dimensional and Three-Dimensional Medical Image Classification
Research Center for Medical Image Analysis and Artificial Intelligence(医学图像分析与人工智能研究中心);Department of Medicine(医学系);Faculty of Medicine and Dentistry(医学与牙科学院);Danube Private University(多瑙私立大学)
Progressive Growing of Patch Size: Resource-Efficient Curriculum Learning for Dense Prediction Tasks
Technical University Munich(慕尼黑工业大学);Helmholtz Munich(慕尼黑亥姆霍兹中心);Munich Center of Machine Learning (MCML)(慕尼黑机器学习中心);Universitat de Barcelona(巴塞罗那大学);King’s College London(伦敦国王学院)
PatchMorph: A Stochastic Deep Learning Approach for Unsupervised 3D Brain Image Registration with Small Patches
RIKEN Center for Brain Science(理化学研究所脑科学中心);Institute of Fundamental Technological Research, Polish Academy of Sciences(波兰科学院基础技术研究所);Central Institute for Experimental Animals(中央实验动物研究所);Medical Center Freiburg, Faculty of Medicine, University of Freiburg(弗莱堡大学医学院弗莱堡医学中心)
PatchDropout: Economizing Vision Transformers Using Patch Dropout
KTH Royal Institute of Technology(瑞典皇家理工学院);Science for Life Laboratory(生命科学实验室);Karolinska Institutet(卡罗林斯卡学院);Karolinska University Hospital(卡罗林斯卡大学医院);AstraZeneca(阿斯利康)
Architecture-agnostic Iterative Black-box Certified Defense against Adversarial Patches
East China Normal University(华东师范大学);Nanyang Technological University(南洋理工大学);Centre for Frontier AI Research (CFAR), A*STAR(新加坡科技研究局前沿人工智能研究中心(CFAR));New York University(纽约大学)
Iterative Patch Selection for High-Resolution Image Recognition
Hasso Plattner Institute for Digital Health at the Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院哈索·普拉特纳数字健康研究所);Hasso Plattner Institute for Digital Engineering, University of Potsdam(波茨坦大学哈索·普拉特纳数字工程研究所);Google Research(谷歌研究院)
PFF-Net: Patch Feature Fitting for Point Cloud Normal Estimation
School of Computing and Artificial Intelligence, Southwest Jiaotong University(计算机与人工智能学院,西南交通大学);School of Computer and Software Engineering, Xihua University(计算机与软件工程学院,西华大学);School of Software, Tsinghua University(软件学院,清华大学);Kuaishou Technology(快手科技);Center for Artificial Intelligence and Robotics, New York University Abu Dhabi(人工智能与机器人中心,纽约大学阿布扎克校区);Department of Computer Science, Wayne State University(计算机科学系,韦恩州立大学)
COVID-19 Infection Segmentation from Chest CT Images Based on Scale Uncertainty
Nagoya University(名古屋大学);Nara Institute of Science and Technology(奈良先端科学技术大学院大学);National Institute of Informatics(国立信息学研究所);Keio University School of Medicine(庆应义塾大学医学部);Juntendo University(顺天堂大学)
An End-to-End Breast Tumour Classification Model Using Context-Based Patch Modelling- A BiLSTM Approach for Image Classification
Indian Institute of Information Technology Allahabad(阿拉哈巴德印度信息技术学院);National University of Singapore(新加坡国立大学);Bioinformatics Institute, A*STAR(新加坡科技研究局生物信息学研究所);Image and Pervasive Access Lab(IPAL), CNRS UMI 2955(法国国家科学研究中心UMI 2955图像与普适访问实验室);Singapore Eye Research Institute(新加坡眼科研究所)