arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.02154cs.CV
收藏

动态预训练:迈向高效且可扩展的All-in-One图像复原

Dynamic Pre-training: Towards Efficient and Scalable All-in-One Image Restoration

Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Inception Institute of AI(Inception人工智能研究院);Australian National University(澳大利亚国立大学);Linköping University(林雪平大学);University of California, Merced(加州大学默塞德分校);Yonsei University(延世大学);Google Research(谷歌研究院)

Akshay Dudhane, Omkar Thawakar, Syed Waqas Zamir, Salman Khan, Fahad Shahbaz Khan, Ming-Hsuan Yang

AI总结:

提出DyNet动态网络家族及动态预训练策略,通过权重共享机制实现单轮训练下笨重与轻量变体的无缝切换,在all-in-one图像复原任务中显著降低计算开销并达到SOTA。

摘要:

All-in-one图像复原旨在使用统一模型处理不同类型的退化,而非为每种退化配备任务特定的非通用模型。使用同一模型处理多种退化的需求可能导致采用固定配置的高复杂度设计,缺乏对更高效替代方案的适应性。我们提出DyNet,一种以编码器-解码器风格设计的动态网络家族,用于all-in-one图像复原任务。我们的DyNet能够在笨重和轻量级变体之间无缝切换,从而通过单轮训练为高效模型部署提供灵活性。这种无缝切换由我们的权重共享机制实现,该机制构成了我们架构的核心,并促进了已初始化模块权重的重用。此外,为了建立稳健的权重初始化,我们引入了一种动态预训练策略,该策略并发训练所提出DyNet的变体,从而实现GPU小时数减少50%。我们的动态预训练策略消除了为每个变体维护单独检查点的需求,因为所有模型共享一组通用检查点,仅在模型深度上有所不同。这种高效策略显著降低了存储开销并增强了适应性。为解决预训练所需的大规模数据集不可用问题,我们策划了一个名为Million-IRD的高质量、高分辨率图像数据集,包含2M图像样本。我们在all-in-one设置下验证了DyNet在图像去噪、去雨和去雾方面的表现,与基线模型相比,实现了最先进的结果,GFlops减少31.34%,参数减少56.75%。源代码和训练模型可在https://github.com/akshaydudhane16/DyNet获取。

英文摘要:

All-in-one image restoration tackles different types of degradations with a unified model instead of having task-specific, non-generic models for each degradation. The requirement to tackle multiple degradations using the same model can lead to high-complexity designs with fixed configuration that lack the adaptability to more efficient alternatives. We propose DyNet, a dynamic family of networks designed in an encoder-decoder style for all-in-one image restoration tasks. Our DyNet can seamlessly switch between its bulkier and lightweight variants, thereby offering flexibility for efficient model deployment with a single round of training. This seamless switching is enabled by our weights-sharing mechanism, forming the core of our architecture and facilitating the reuse of initialized module weights. Further, to establish robust weights initialization, we introduce a dynamic pre-training strategy that trains variants of the proposed DyNet concurrently, thereby achieving a 50% reduction in GPU hours. Our dynamic pre-training strategy eliminates the need for maintaining separate checkpoints for each variant, as all models share a common set of checkpoints, varying only in model depth. This efficient strategy significantly reduces storage overhead and enhances adaptability. To tackle the unavailability of large-scale dataset required in pre-training, we curate a high-quality, high-resolution image dataset named Million-IRD, having 2M image samples. We validate our DyNet for image denoising, deraining, and dehazing in all-in-one setting, achieving state-of-the-art results with 31.34\% reduction in GFlops and a 56.75\% reduction in parameters compared to baseline models. The source codes and trained models are available at https://github.com/akshaydudhane16/DyNet.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑