近年来,Transformer模型迅速普及,在文本、图像、音频和视频处理任务中取得了当前最优(state-of-the-art)性能。但Transformer的训练和推理都需要大量计算资源,且训练过程中容易出现过拟合问题。为解决这些挑战,我们提出了位置一致性输入压缩(Input Compression with Positional Consistency,ICPC)——一种全新的数据增强方法,与现有增强技术不同,它能同时提升模型的泛化能力和训练效率。\nICPC在每个训练轮次(epoch)中对每个训练样本施加不同程度的压缩。这使得Transformer处理的输入序列更短,从而加快训练速度,同时通过为每个输入提供不同压缩等级的样本,缓解过拟合问题。我们在ICPC中设计了一种一致性感知的位置选择方法,无需修改底层Transformer架构即可准确处理压缩后的输入。\n我们详细介绍了适配四种不同模态的基于压缩的增强方法:文本的非重要词剪枝、图像的分辨率调节、视频的时空分辨率调节,以及音频的频谱图尺寸调节。ICPC还支持高效的可变算力推理:先以高压缩等级对样本进行推理,对于更难处理的输入,再逐步降低压缩等级重新评估。在覆盖4种模态的9项不同任务上,ICPC将准确率最高提升了1%,同时将训练和推理速度分别最高提升了2.9倍和2.6倍。代码可在https://github.com/amrnag/ICPC 获取。
英文摘要:
Transformers have rapidly increased in popularity in recent years, achieving state-of-the-art performance in processing text, images, audio and video. However, Transformers present large computational requirements for both training and inference, and are prone to overfitting during training. To address these challenges, we present Input Compression with Positional Consistency (ICPC), a new data augmentation method that, unlike prior augmentation techniques, simultaneously improves both generalization and training efficiency. ICPC applies varying levels of compression to each training sample in each epoch. This leads to smaller input sequences being processed by the Transformer, and hence faster training, while also alleviating overfitting by presenting each input with different compression levels. We introduce a consistency-aware position selection method in ICPC that enables accurate processing of compressed inputs without any changes to the underlying Transformer architecture. We detail compression-based augmentation methods for four different modalities -- insignificant word pruning for text, resolution modulation for images, spatio-temporal resolution modulation for videos, and spectogram size modulation for audio. ICPC also enables efficient variable-effort inference, where samples are first inferred at high compression levels, and progressively re-evaluated with lower compression for more challenging inputs. On 9 diverse tasks spanning 4 different modalities, ICPC improves accuracy by up to 1%, while also accelerating training and inference by up to 2.9X and 2.6X, respectively. Code is available at https://github.com/amrnag/ICPC.
Unveiling and Controlling Anomalous Attention Distribution in Transformers
School of Computer Science and Engineering, University of New South Wales(新南威尔士大学计算机科学与工程学院);School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);Computer Network Information Center, Chinese Academy of Sciences(中国科学院计算机网络信息中心);University of Chinese Academy of Sciences(中国科学院大学);Ant Group(蚂蚁集团);School of Mathematics and Statistics, The University of Sydney(悉尼大学数学与统计学院);Beijing Xing Rui Qi Zhi Technology Co., Ltd.(北京星瑞齐智科技有限公司)
Efficient Multi-modal Large Language Models via Progressive Consistency Distillation
Shanghai Jiao Tong University(上海交通大学);Shanghai AI Laboratory(上海人工智能实验室);Duke University(杜克大学);The University of Hong Kong(香港大学);Peking University(北京大学);University of Chicago(芝加哥大学);Sun Yat-sen University(中山大学)
T3C: Test-Time Tensor Compression with Consistency Guarantees
Multidisciplinary Faculty of Nador, Mohammed Premier University, Oujda 60000, Morocco(穆罕默德·普里姆大学纳多多学科学院);Laboratory LaSTI, ENSAK, Sultan Moulay Slimane University, Khouribga 54000, Morocco(苏丹·莫拉迪·斯利曼大学拉斯特实验室)
Affinity-aware Compression and Expansion Network for Human Parsing
Megvii(旷视科技)
作为一个细粒度的分割任务,人类句法分析仍然面临着两个挑战:部分之间的模糊性和部分内的不一致性,由于模糊的定义和混淆的关系之间的相似的人体部位。针对这两个问题,本文提出了一种新的\textit{Affinity-aware Compression and Expansion}网络(ACENet),它主要由两个模块组成:局部压缩模块(LCM)和全局扩展模块(GEM)。具体地说,LCM压缩部件相关信息,通过结构骨架点,从额外的骨架分支。它可以减少零件间的干涉,加强歧义零件之间的结构关系。此外,GEM通过结合空间相似度和边界引导,将各零件的语义信息扩展为一个完整的块,有效地提高了零件内部的语义一致性。ACENet在具有挑战性的LIP和Pascal-Person-Part数据集上实现了最先进的性能。特别是,在LIP基准上实现了58.1%的平均IoU。
AdaTok: Adaptive Token Compression with Object-Aware Representations for Efficient Multimodal LLMs
Institute of Medical Technology, Peking University Health Science Center(北京大学医学部医学技术研究所);Department of Biomedical Engineering, Peking University(北京大学生物医学工程系);National Biomedical Imaging Center, Peking University(北京大学国家生物医学成像中心)