In this paper, we investigate how to convert a pre-trained Diffusion Transformer (DiT) into a linear DiT, as its simplicity, parallelism, and efficiency for image generation. Through detailed exploration, we offer a suite of ready-to-use solutions, ranging from linear attention design to optimization strategies. Our core contributions include 5 practical guidelines: 1) Applying depth-wise convolution within simple linear attention is sufficient for image generation. 2) Using fewer heads in linear attention provides a free-lunch performance boost without increasing latency. 3) Inheriting weights from a fully converged, pre-trained DiT. 4) Loading all parameters except those related to linear attention. 5) Hybrid knowledge distillation: using a pre-trained teacher DiT to help the training of the student linear DiT, supervising not only the predicted noise but also the variance of the reverse diffusion process. These guidelines lead to our proposed \underline{L}inear D\underline{i}ffusion \underline{T}ransformer (LiT), which serves as a safe and efficient alternative baseline for DiT with pure linear attention. In class-conditional 256$\times$256 and 512$\times$512 ImageNet generation, LiT can be quickly adapted from DiT using only $20\%$ and $33\%$ of DiT's training steps, respectively, while achieving comparable performance. LiT also rivals methods based on Mamba or Gated Linear Attention. Moreover, the same guidelines generalize to text-to-image generation: LiT can be swiftly converted from PixArt-$Σ$ to generate high-quality images, maintaining comparable GenEval scores.
FlatFusion: Delving into Details of Sparse Transformer-based Camera-LiDAR Fusion for Autonomous Driving
School of Computer Science and School of Artificial Intelligence, Shanghai Jiao Tong University(计算机科学学院和人工智能学院,上海交通大学);Carnegie Mellon University(卡内基梅隆大学)
Delving into Masked Autoencoders for Multi-Label Thorax Disease Classification
Johns Hopkins University(约翰斯·霍普金斯大学)
视觉Transformer(ViT)由于其在许多视觉任务中的巨大可扩展性、计算效率和令人信服的性能而成为最流行的神经架构之一。然而,ViT在医疗任务上表现出不如卷积神经网络(CNN)的性能,这是由于其数据饥渴的性质和缺乏注释的医疗数据。在本文中,我们使用掩码自编码器(MAE)对266,340张胸部X光片进行了预训练ViT,MAE从每张图像的一小部分中重建丢失的像素。为了进行比较,CNN也使用先进的自监督方法(例如,MoCo v2)。结果表明,我们的预训练ViT在多标签胸部疾病分类方面表现优于(有时更好)最先进的CNN(DenseNet-121)。这一表现归功于从我们的经验研究中提取的用于预训练和微调ViT的强大配方。预训练配方表明,与自然成像相比,医学重建需要更小比例的图像(10% vs. 25%)和更适度的随机调整大小的裁剪范围(0.5~1.0 vs. 0.2~1.0)。此外,我们注意到,只要可能,域内迁移学习是优选的。微调配方公开了逐层LR衰减、RandAug幅度和DropPath速率是要考虑的重要因素。我们希望这项研究可以指导未来的研究应用Transformers到更大的各种医学成像任务。
UNETR++: Delving into Efficient and Accurate 3D Medical Image Segmentation
Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Australian National University(澳大利亚国立大学);University of California, Merced(加州大学默塞德分校);Yonsei University(延世大学);Google Research(谷歌研究院);Linköping University(林雪平大学)
DB-SAM: Delving into High Quality Universal Medical Image Segmentation
Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Tianjin University(天津大学);Institute of High Performance Computing(高性能计算研究所);Agency for Science, Technology and Research(科学、技术与研究局);Linköping University(林雪平大学)