RRWKV: Capturing Long-range Dependencies in RWKV

Leilei Wang
6/8/2023
cs.CLcs.AI
transformer-attention

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2023rrwkv,
  title  = {RRWKV: Capturing Long-range Dependencies in RWKV},
  author = {Leilei Wang},
  year   = {2023},
  eprint = {2306.05176},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.05176v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.05176.svg)](https://codeofpaper.com/paper/2306.05176)

Discussion