Learning Sequence Representations by Non-local Recurrent Neural Memory

Wenjie Pei, Xin Feng, Canmiao Fu, Qiong Cao, Guangming Lu +1 more
7/20/2022
cs.CVcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

The key challenge of sequence representation learning is to capture the long-range temporal dependencies. Typical methods for supervised sequence representation learning are built upon recurrent neural networks to capture temporal dependencies. One potential limitation of these methods is that they only model one-order information interactions explicitly between adjacent time steps in a sequence, hence the high-order interactions between nonadjacent time steps are not fully exploited. It greatly limits the capability of modeling the long-range temporal dependencies since the temporal features learned by one-order interactions cannot be maintained for a long term due to temporal information dilution and gradient vanishing. To tackle this limitation, we propose the Non-local Recurrent Neural Memory (NRNM) for supervised sequence representation learning, which performs non-local operations \MR{by means of self-attention mechanism} to learn full-order interactions within a sliding temporal memory block and models global interactions between memory blocks in a gated recurrent manner. Consequently, our model is able to capture long-range dependencies. Besides, the latent high-level features contained in high-order interactions can be distilled by our model. We validate the effectiveness and generalization of our NRNM on three types of sequence applications across different modalities, including sequence classification, step-wise sequential prediction and sequence similarity learning. Our model compares favorably against other state-of-the-art methods specifically designed for each of these sequence applications.

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{pei2022learning,
  title  = {Learning Sequence Representations by Non-local Recurrent Neural Memory},
  author = {Wenjie Pei and Xin Feng and Canmiao Fu and Qiong Cao and Guangming Lu and Yu-Wing Tai},
  year   = {2022},
  eprint = {2207.09710},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.09710v1}
}

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/2207.09710.svg)](https://codeofpaper.com/paper/2207.09710)

Discussion