RRWKV:在RWKV中捕捉长程依赖
RRWKV: Capturing Long-range Dependencies in RWKV
AI总结:
针对RWKV架构因过往信息回溯受限、无法捕捉长程依赖的问题,本文提出RRWKV架构,为其加入回溯能力以有效吸收信息,同时维持内存与计算效率优势。
摘要:
得益于效果出色的点积注意力机制,Transformer 已成为各类自然语言处理(NLP)任务中的主流架构。近期提出的 Receptance Weighted Key Value(RWKV,接收加权键值)架构采用非 Transformer 结构,旨在解决点积注意力的内存与计算复杂度随序列长度呈二次方增长的缺陷。尽管 RWKV 采用了线性张量积注意力机制,并通过时间序列模式实现了并行计算,但与标准 Transformer 中通过直接交互获取完整信息的方式相比,它受限于对过往信息的回溯能力,无法捕捉长程依赖关系。为此,本文提出 Retrospected Receptance Weighted Key Value(RRWKV,回溯式接收加权键值)架构,通过为 RWKV 引入回溯能力来有效吸收信息,同时保持原有的内存与计算效率。
英文摘要:
Owing to the impressive dot-product attention, the Transformers have been the dominant architectures in various natural language processing (NLP) tasks. Recently, the Receptance Weighted Key Value (RWKV) architecture follows a non-transformer architecture to eliminate the drawbacks of dot-product attention, where memory and computational complexity exhibits quadratic scaling with sequence length. Although RWKV has exploited a linearly tensor-product attention mechanism and achieved parallelized computations by deploying the time-sequential mode, it fails to capture long-range dependencies because of its limitation on looking back at previous information, compared with full information obtained by direct interactions in the standard transformer. Therefore, the paper devises the Retrospected Receptance Weighted Key Value (RRWKV) architecture via incorporating the retrospecting ability into the RWKV to effectively absorb information, which maintains memory and computational efficiency as well.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。