Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architectures

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Duan, Yuchen, Wang, Weiyun, Chen, Zhe, Zhu, Xizhou, Lu, Lewei, Lu, Tong, Qiao, Yu, Li, Hongsheng, Dai, Jifeng, Wang, Wenhai
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913767289257984
author Duan, Yuchen
Wang, Weiyun
Chen, Zhe
Zhu, Xizhou
Lu, Lewei
Lu, Tong
Qiao, Yu
Li, Hongsheng
Dai, Jifeng
Wang, Wenhai
author_facet Duan, Yuchen
Wang, Weiyun
Chen, Zhe
Zhu, Xizhou
Lu, Lewei
Lu, Tong
Qiao, Yu
Li, Hongsheng
Dai, Jifeng
Wang, Wenhai
contents Transformers have revolutionized computer vision and natural language processing, but their high computational complexity limits their application in high-resolution image processing and long-context analysis. This paper introduces Vision-RWKV (VRWKV), a model adapted from the RWKV model used in the NLP field with necessary modifications for vision tasks. Similar to the Vision Transformer (ViT), our model is designed to efficiently handle sparse inputs and demonstrate robust global processing capabilities, while also scaling up effectively, accommodating both large-scale parameters and extensive datasets. Its distinctive advantage lies in its reduced spatial aggregation complexity, which renders it exceptionally adept at processing high-resolution images seamlessly, eliminating the necessity for windowing operations. Our evaluations demonstrate that VRWKV surpasses ViT's performance in image classification and has significantly faster speeds and lower memory usage processing high-resolution inputs. In dense prediction tasks, it outperforms window-based models, maintaining comparable speeds. These results highlight VRWKV's potential as a more efficient alternative for visual perception tasks. Code is released at https://github.com/OpenGVLab/Vision-RWKV.
format Preprint
id arxiv_https___arxiv_org_abs_2403_02308
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architectures
Duan, Yuchen
Wang, Weiyun
Chen, Zhe
Zhu, Xizhou
Lu, Lewei
Lu, Tong
Qiao, Yu
Li, Hongsheng
Dai, Jifeng
Wang, Wenhai
Computer Vision and Pattern Recognition
Transformers have revolutionized computer vision and natural language processing, but their high computational complexity limits their application in high-resolution image processing and long-context analysis. This paper introduces Vision-RWKV (VRWKV), a model adapted from the RWKV model used in the NLP field with necessary modifications for vision tasks. Similar to the Vision Transformer (ViT), our model is designed to efficiently handle sparse inputs and demonstrate robust global processing capabilities, while also scaling up effectively, accommodating both large-scale parameters and extensive datasets. Its distinctive advantage lies in its reduced spatial aggregation complexity, which renders it exceptionally adept at processing high-resolution images seamlessly, eliminating the necessity for windowing operations. Our evaluations demonstrate that VRWKV surpasses ViT's performance in image classification and has significantly faster speeds and lower memory usage processing high-resolution inputs. In dense prediction tasks, it outperforms window-based models, maintaining comparable speeds. These results highlight VRWKV's potential as a more efficient alternative for visual perception tasks. Code is released at https://github.com/OpenGVLab/Vision-RWKV.
title Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architectures
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.02308