我们提出了CrossWKV,一种用于基于状态的RWKV-7模型的新型交叉注意力机制,旨在增强文本到图像生成的表达能力。利用RWKV-7的线性复杂度加权键值(WKV)架构,CrossWKV在单次前向传播中整合文本和图像模态,采用带有向量值门控和低秩适配(LoRA)的广义delta规则,以实现卓越的跨模态对齐。与基于Transformer的模型不同,CrossWKV的非对角、输入相关的转移矩阵使其能够表示超出$\mathrm{TC}^0$复杂度类的复杂函数,包括所有正则语言,这通过其执行状态跟踪任务(如$S_5$排列建模)的能力得到证明。在Diffusion in RWKV-7(DIR-7)框架内,在LAION-5B和ImageNet等数据集上进行评估,CrossWKV在ImageNet 256x256上实现了2.88的Frechet Inception Distance(FID)和0.33的CLIP分数,匹配最先进的性能,同时在不同提示下提供稳健的泛化能力。该模型增强的表达能力,结合恒定的内存使用和线性扩展,使其成为高级跨模态任务的强大解决方案,在高分辨率生成和动态状态操作方面具有潜在应用。代码位于https://github.com/TorchRWKV/flash-linear-attention
英文摘要:
We introduce CrossWKV, a novel cross-attention mechanism for the state-based RWKV-7 model, designed to enhance the expressive power of text-to-image generation. Leveraging RWKV-7's linear-complexity Weighted Key-Value (WKV) architecture, CrossWKV integrates text and image modalities in a single pass, utilizing a generalized delta rule with vector-valued gating and low-rank adaptations (LoRA) to achieve superior cross-modal alignment. Unlike Transformer-based models, CrossWKV's non-diagonal, input-dependent transition matrix enables it to represent complex functions beyond the $\mathrm{TC}^0$ complexity class, including all regular languages, as demonstrated by its ability to perform state-tracking tasks like $S_5$ permutation modeling. Evaluated within the Diffusion in RWKV-7 (DIR-7) on datasets such as LAION-5B and ImageNet, CrossWKV achieves a Frechet Inception Distance (FID) of 2.88 and a CLIP score of 0.33 on ImageNet 256x256, matching state-of-the-art performance while offering robust generalization across diverse prompts. The model's enhanced expressivity, combined with constant memory usage and linear scaling, positions it as a powerful solution for advanced cross-modal tasks, with potential applications in high-resolution generation and dynamic state manipulation.Code at https://github.com/TorchRWKV/flash-linear-attention
PointDGRWKV: Generalizing RWKV-like Architecture to Unseen Domains for Point Cloud Classification
Shanghai Jiao Tong University(上海交通大学);The University of Tokyo(东京大学);Nanjing University(南京大学);Nanyang Technological University(南洋理工大学);The University of Western Australia(西澳大学);National University of Singapore(新加坡国立大学)
Exploring Linear Attention Alternative for Single Image Super-Resolution
School of Ecological and Environmental Engineering, Qinghai University(生态与环境工程学院,青海大学);School of Computer Technology and Application, Qinghai University(计算机技术与应用学院,青海大学);College of Agriculture and Animal Husbandry, Qinghai University(农业与动物科学学院,青海大学)
Fourier-RWKV: A Multi-State Perception Network for Efficient Image Dehazing
Institute of Intelligent Information Processing, Guangdong Provincial Key Laboratory of Intelligent Information Processing, Shenzhen Key Laboratory of Modern Communications and Information Processing, Shenzhen University(智能信息处理研究院);College of Engineering and Computer Science, Australian National University(工程与计算机科学学院)
EvRWKV: A Continuous Interactive RWKV Framework for Effective Event-Guided Low-Light Image Enhancement
Anhui Provincial International Joint Research center for Advanced technology in Medical imaging(安徽省国际联合先进医学影像技术研究中心);School of Artificial Intelligence(人工智能学院);Anhui University(安徽大学);State Key Laboratory of Opto-Electronic Information Acquisition and Protection Technology(光电信息采集与防护技术国家重点实验室);Anhui Provincial Key Laboratory of Secure Artificial Intelligence(安徽省安全人工智能重点实验室);Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ)(粤港澳大湾区人工智能与数字经济实验室(深圳))
Enhanced Multi-Scale Cross-Attention for Person Image Generation
School of Computer Science, Peking University(北京大学计算机学院);University of Chinese Academy of Sciences(中国科学院大学);University of Trento(特伦托大学);ETH Zurich(苏黎世联邦理工学院);KU Leuven(鲁汶大学);INSAIT(保加利亚索菲亚国际理工学院)
VRWKV-Editor: Reducing quadratic complexity in transformer-based video editing
International Artificial Intelligence Center of Morocco University Mohammed VI Polytechnic Rabat, Morocco(摩洛哥国际人工智能中心摩洛哥穆莱·伊沙克·穆莱·阿卜杜勒阿齐兹 polytechnic 大学拉巴特分校);University Mohammed VI Polytechnic Rabat, Morocco(摩洛哥穆莱·伊沙克·穆莱·阿卜杜勒阿齐兹 polytechnic 大学拉巴特分校);Sorbonne University, LIP6 - UMR 7606 CNRS, France(索邦大学,LIP6 - UMR 7606 CNRS,法国)
Cross Attention Based Style Distribution for Controllable Person Image Synthesis
Shanghai Key Laboratory of Multidimensional Information Processing(上海多维信息处理重点实验室);Shanghai AI Laboratory(上海人工智能实验室);Key Laboratory of Advanced Theory and Application in Statistics and Data Science(统计与数据科学前沿理论及应用重点实验室);Huazhong University of Science and Technology(华中科技大学);East China Normal University(华东师范大学)
MANGO: Multimodal Attention-based Normalizing Flow Approach to Fusion Learning
CVIU Lab, University of Arkansas, USA(大学实验室,亚利桑那大学,美国);University of Florida, USA(佛罗里达大学,美国);COSMOS Research Center, University of Arkansas, Little Rock, USA(研究机构,亚利桑那大学,小石城,美国);ICSI, University of California, Berkeley, USA(研究机构,加州大学伯克利分校,美国)
OCA: ODE-Driven Cross-Attention for Image-to-Point-Cloud Registration
Huazhong University of Science and Technology(华中科技大学);Northwestern Polytechnical University(西北工业大学);Huazhong Agricultural University(华中农业大学);Delft University of Technology(代尔夫特理工大学)
Cross-modulated Attention Transformer for RGBT Tracking
School of Artificial Intelligence, Anhui University(安徽大学人工智能学院);School of Computer Science and Technology, Anhui University(安徽大学计算机科学与技术学院);iFLYTEK CO.LTD.(科大讯飞股份有限公司)
HSANET: A Hybrid Self-Cross Attention Network For Remote Sensing Change Detection
Intelligent Science & Technology Academy Limited of CASIC(中国航天科工集团智能科技研究院有限公司);School of Geography and Planning, Sun Yat-sen University(中山大学地理科学与规划学院);School of Computer Science, Wuhan University(武汉大学计算机学院)
Optimizing Vision-Language Consistency via Cross-Layer Regional Attention Alignment
School of Medicine, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)医学院);Shenyang Institute of Automation, Chinese Academy of Sciences(中国科学院沈阳自动化研究所);Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Wave and Machine Intelligence Department, Technology Innovation Institute(技术创新研究院波浪与机器智能部门);University of the Chinese Academy of Sciences(中国科学院大学);McGill University(麦吉尔大学)
Multi-label Thoracic Disease Image Classification with Cross-Attention Networks
Singapore Management University(新加坡管理大学);South China University of Technology(华南理工大学);The University of Adelaide(阿德莱德大学);Salesforce Research Asia(赛富时亚洲研究院)