TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Methods/U-RNNs

U-RNNs

Asymmetrical Bi-RNN

SequentialIntroduced 20002 papers
Source Paper

Description

An aspect of Bi-RNNs that could be undesirable is the architecture's symmetry in both time directions.

Bi-RNNs are often used in natural language processing, where the order of the words is almost exclusively determined by grammatical rules and not by temporal sequentiality. However, in some cases, the data has a preferred direction in time: the forward direction.

Another potential drawback of Bi-RNNs is that their output is simply the concatenation of two naive readings of the input in both directions. In consequence, Bi-RNNs never actually read an input by knowing what happens in the future. Conversely, the idea behind U-RNN, is to first do a backward pass, and then use during the forward pass information about the future.

We accumulate information while knowing which part of the information will be useful in the future as it should be relevant to do so if the forward direction is the preferred direction of the data.

The backward and forward hidden states (htb)(h^b_t)(htb​) and (htf)(h^f_t)(htf​) are obtained according to these equations:

\begin{equation} \begin{aligned} &h_{t-1}^{b}=R N N\left(h_{t}^{b}, e_{t}, W_{b}\right) \ &h_{t+1}^{f}=R N N\left(h_{t}^{f},\left[e_{t}, h_{t}^{b}\right], W_{f}\right) \end{aligned} \end{equation}

where WbW_bWb​ and WfW_fWf​ are learnable weights that are shared among pedestrians, and [⋅,⋅][\cdot, \cdot][⋅,⋅] denotes concatenation. The last hidden state hTobsfh^f_{T_{obs}}hTobs​f​ is then used as the encoding of the sequence.

Papers Using This Method

TrouSPI-Net: Spatio-temporal attention on parallel atrous convolutions and U-GRUs for skeletal pedestrian crossing prediction2021-09-02Asymmetrical Bi-RNN for pedestrian trajectory encoding2021-06-01