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

VisionGRU:一种用于高效图像分析的线性复杂度RNN模型

VisionGRU: A Linear-Complexity RNN Model for Efficient Image Analysis

Sun Yat-sen University(中山大学);Nanning Normal University(南宁师范大学)

Shicheng Yin, Kaixuan Yin, Weixing Chen, Enbo Huang, Yang Liu

AI总结:

本文提出VisionGRU,一种基于简化GRU的线性复杂度RNN架构,通过分层2DGRU双向扫描实现多尺度特征提取和长程依赖建模,在ImageNet和ADE20K上以更低计算成本超越ViTs。

摘要:

卷积神经网络(CNNs)和视觉Transformer(ViTs)是图像分析的两类主流模型。虽然CNN擅长提取多尺度特征,ViT能有效捕获全局依赖关系,但两者在处理高分辨率图像时都面临较高的计算成本。近年来,状态空间模型(SSMs)和循环神经网络(RNNs)因其高效性而受到关注,但它们在图像分类任务中的性能仍然有限。为应对这些挑战,本文提出VisionGRU,一种基于RNN的新型架构,旨在实现高效图像分类。VisionGRU利用简化的门控循环单元(minGRU)以线性复杂度处理大规模图像特征。它将图像划分为较小的块,并逐步缩短序列长度,同时增加通道深度,从而促进多尺度特征提取。具有双向扫描的分层2DGRU模块同时捕获局部和全局上下文,改善了长程依赖建模,尤其适用于语义分割等任务。在ImageNet和ADE20K数据集上的实验结果表明,VisionGRU优于ViTs,显著降低了内存占用和计算成本,尤其是在处理高分辨率图像时。这些发现凸显了基于RNN的方法在开发高效且可扩展的计算机视觉解决方案方面的潜力。代码将发布在https://github.com/YangLiu9208/VisionGRU。

英文摘要:

Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs) are two dominant models for image analysis. While CNNs excel at extracting multi-scale features and ViTs effectively capture global dependencies, both suffer from high computational costs, particularly when processing high-resolution images. Recently, state-space models (SSMs) and recurrent neural networks (RNNs) have attracted attention due to their efficiency. However, their performance in image classification tasks remains limited. To address these challenges, this paper introduces VisionGRU, a novel RNN-based architecture designed for efficient image classification. VisionGRU leverages a simplified Gated Recurrent Unit (minGRU) to process large-scale image features with linear complexity. It divides images into smaller patches and progressively reduces the sequence length while increasing the channel depth, thus facilitating multi-scale feature extraction. A hierarchical 2DGRU module with bidirectional scanning captures both local and global contexts, improving long-range dependency modeling, particularly for tasks like semantic segmentation. Experimental results on the ImageNet and ADE20K datasets demonstrate that VisionGRU outperforms ViTs, significantly reducing memory usage and computational costs, especially for high-resolution images. These findings underscore the potential of RNN-based approaches for developing efficient and scalable computer vision solutions. Codes will be available at https://github.com/YangLiu9208/VisionGRU.

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

↑