arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.13963cs.CV
收藏

用于图像描述的移位窗口傅里叶变换与保留机制

Shifted Window Fourier Transform And Retention For Image Captioning

University of Modena and Reggio Emilia(摩德纳与雷焦艾米利亚大学)

Jia Cheng Hu, Roberto Cavicchioli, Alessandro Capotondi

AI总结:

提出基于傅里叶变换和保留机制的轻量架构SwiFTeR,解决图像描述模型视觉骨干与解码器效率瓶颈,以20M参数和3.1 GFLOPs实现高效并行处理,为高效架构设计指明新方向。

摘要:

图像描述是一项重要的语言与视觉任务,在从医疗保健到自动驾驶等多种场景中都有应用。由于许多现实应用依赖于资源有限的设备,该领域在开发更轻量、更快的模型方面投入了大量精力。然而,当前的优化大多集中在 Transformer 架构上,而忽略了存在更高效方法的事实。在本研究中,我们提出了 SwiFTeR,一种几乎完全基于傅里叶变换和 Retention(保留机制)的架构,旨在解决当前轻量级图像描述模型的主要效率瓶颈,即视觉骨干网络的高昂开销以及解码器的二次方成本。SwiFTeR 仅包含 20M 参数,单次前向传播仅需 3.1 GFLOPs。此外,与传统基于 Transformer 的架构相比,它在描述长度上展现出更优的可扩展性,且其内存需求较小,能够并行处理更多图像。例如,它可以在一秒内生成 400 条描述。尽管目前描述质量较低(110.2 CIDEr-D),但大部分下降并不归因于架构本身,而是由于不完善的训练实践,这仍有很大的改进空间。总体而言,SwiFTeR 为新的高效架构设计指明了有前景的方向。实现代码将在未来发布。

英文摘要:

Image Captioning is an important Language and Vision task that finds application in a variety of contexts, ranging from healthcare to autonomous vehicles. As many real-world applications rely on devices with limited resources, much effort in the field was put into the development of lighter and faster models. However, much of the current optimizations focus on the Transformer architecture in contrast to the existence of more efficient methods. In this work, we introduce SwiFTeR, an architecture almost entirely based on Fourier Transform and Retention, to tackle the main efficiency bottlenecks of current light image captioning models, being the visual backbone's onerosity, and the decoder's quadratic cost. SwiFTeR is made of only 20M parameters, and requires 3.1 GFLOPs for a single forward pass. Additionally, it showcases superior scalability to the caption length and its small memory requirements enable more images to be processed in parallel, compared to the traditional transformer-based architectures. For instance, it can generate 400 captions in one second. Although, for the time being, the caption quality is lower (110.2 CIDEr-D), most of the decrease is not attributed to the architecture but rather an incomplete training practice which currently leaves much room for improvements. Overall, SwiFTeR points toward a promising direction to new efficient architectural design. The implementation code will be released in the future.

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

↑