RNN
A Recurrent Neural Network (RNN) is a class of deep learning models designed for processing sequential data. Its defining characteristic is recurrent connections between neurons, which propagate hidden states across time steps to capture contextual dependencies within sequences. RNNs are widely applied in natural language processing, speech recognition, and time-series forecasting. Basic RNNs suffer from vanishing and exploding gradient problems, which led to the development of improved variants such as LSTM (Long Short-Term Memory) and GRU for more effective modeling of long-range dependencies.
Core Facts
The Transformer's core innovation is the self-attention mechanism, which allows models to attend to all positions in the input simultaneously rather than processing step-by-step like RNNs or LSTMs
Set Transformer models interactions between row vectors based on the self-attention mechanism and maintains permutation invariance by removing positional encodings.
The self-attention mechanism allows the model to simultaneously reference the contextual information of all other tokens in a sequence when processing each token, rather than processing sequentially as RNNs do
Timeline (last 90 days)
Modern handwritten OCR systems typically adopt CNN+RNN+CTC or Transformer-based architectures and have achieved high accuracy on datasets such as IAM.
The first step of a lip-reading model usually relies on a convolutional neural network (CNN) or vision transformer (ViT) to extract lip features from each frame, which are then fed into a temporal model (such as RNN, TCN or Transformer) to capture the dynamic changes in lip movement.
A systematic study on forecasting the closing price of the S&P 500 index, based on data from 2006 to 2025, benchmarked three model families: linear regression, vanilla RNN, and LSTM.
Stability analysis across repetitions shows that the variance of complex models is usually higher than that of linear regression, indicating that their predictions are more sensitive to initialization and data splits.
In RNNs and LSTMs, increasing the number of layers or hidden units did not bring consistent performance improvement, and instead increased the risk of overfitting in some configurations.
Under the corrected protocol, the performance differences between models narrowed significantly, and some complex models did not show a substantial advantage over linear regression.
Theoretical analysis shows that gradient health and representational capacity are two different things; the rank constraint directly compresses the model's ability to retain information over time.
Jacobian saturation means that the singular values of the input-to-state Jacobian matrix rapidly approach zero (or remain fixed) over time steps, so that input perturbations cannot effectively propagate to the hidden state; in standard RNNs, this often occurs due to activation function saturation or an inappropriate spectral radius of the weight matrices.
The method does not introduce a completely new network architecture, but strictly adjusts the dynamic structure within the standard RNN framework, and existing RNN implementations may gain improvements through similar modifications.
In RNNs, the sensitivity of the hidden state to the input is characterized by the Jacobian matrix; the input-to-state mapping can be viewed as a product of a series of Jacobian matrices, and the rank of this mapping determines the number of independent input directions the model can distinguish and retain along the time dimension.
40 more timeline events
All Facts (20)
The Transformer's core innovation is the self-attention mechanism, which allows models to attend to all positions in the input simultaneously rather than processing step-by-step like RNNs or LSTMs
90%VerifiedSet Transformer models interactions between row vectors based on the self-attention mechanism and maintains permutation invariance by removing positional encodings.
90%VerifiedThe self-attention mechanism allows the model to simultaneously reference the contextual information of all other tokens in a sequence when processing each token, rather than processing sequentially as RNNs do
90%VerifiedThe key innovation of the Transformer is the self-attention mechanism, which allows the model to simultaneously attend to information from all other tokens in the input sequence when processing a single token.
90%VerifiedThrough the self-attention mechanism, Transformer allows the model to dynamically attend to all other tokens in the sequence when processing each token, while enabling fully parallelized training.
85%VerifiedThe core innovation of the Transformer is replacing RNN's sequential processing with a self-attention mechanism, enabling highly parallelized training, while abandoning the RNN's hidden-state cross-timestep propagation mechanism.
80%VerifiedThe self-attention mechanism is capable of capturing dependencies between any two positions in a sequence.
80%VerifiedRNNs suffer from vanishing/exploding gradient problems, where gradients propagating across a large number of time steps decay or grow exponentially, making it difficult to learn long-range dependencies.
80%VerifiedEach Transformer layer contains two core sub-modules: multi-head self-attention and a feed-forward neural network.
80%VerifiedThe self-attention mechanism of the Transformer allows the model to directly compute dependencies between any two positions in a sequence, breaking through the parallelization bottleneck caused by the sequential computation of RNNs/LSTMs.
80%VerifiedDavid Ha and Schmidhuber published the paper "World Models" in 2018, demonstrating how an agent can complete reinforcement learning training within dreams
75%VerifiedRNNs are designed specifically for sequential data and pass information between time steps through hidden states.
75%VerifiedTransformer achieves efficient modeling of long texts through its self-attention mechanism.
70%VerifiedBecause each time step's output in an RNN depends on the hidden state of the previous step, RNNs cannot perform parallel computation and are unable to leverage the parallel processing advantages of GPUs.
70%VerifiedThe Transformer architecture was proposed in 2017 and has largely supplanted RNNs in the NLP domain.
70%VerifiedBefore the advent of Transformer, the field of natural language processing relied primarily on RNNs and LSTMs to process sequential data, architectures that had to process text word by word in sequence and could not perform parallel computation
70%VerifiedEach Transformer block contains a self-attention layer and a position-wise feed-forward network, both surrounded by residual connections and layer normalization.
65%VerifiedRNNs prior to the Transformer could only process words sequentially one at a time, whereas the Transformer can process entire sequences in parallel, greatly improving training efficiency.
65%VerifiedCompared to traditional recurrent neural networks (RNNs), which tend to forget earlier content when processing long texts, Transformers can analyze multiple parts of a text simultaneously.
65%VerifiedIn the deep learning era, end-to-end models based on CNN and RNN (such as the CRNN architecture) significantly improved OCR recognition capabilities, and in recent years the Transformer architecture has also been introduced into the OCR field.
65%