Vanishing Gradient
A common problem in training deep neural networks. When activation functions such as Sigmoid or Tanh are used, gradients attenuate layer by layer during backpropagation, making it nearly impossible to update parameters in deeper layers. This was a primary reason early deep networks were difficult to train. The introduction of the ReLU activation function substantially mitigated this issue.
Core Facts
RNNs 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.
Vanishing gradient refers to the exponential decay of gradient values during backpropagation in deep neural networks, causing parameters near the input layer to receive almost no updates.
The vanishing gradient problem originates from saturating activation functions such as Sigmoid or Tanh, whose derivatives approach zero for large or small input values, causing gradients to decay layer by layer.
Timeline (last 90 days)
The initialization method directly affects the convergence speed and stability of training: initial values that are too small may cause vanishing gradients, while initial values that are too large may trigger exploding gradients.
The vanishing and exploding gradient problems stem from the long-term behavior of the product of Jacobian matrices along time.
TV distance has two problems: first, gradients vanish for tokens with insufficient coverage; second, the prefix product in the acceptance-length objective suppresses the contribution of later positions.
Deep networks using the Sigmoid activation function are prone to the vanishing gradient problem, making it difficult for early layers to learn.
Excessively large weights may cause the Sigmoid activation function to saturate, triggering vanishing gradients.
When the hidden dimension dk is large, the raw attention scores can spike to 20, 30 or even higher, and feeding them directly into softmax leads to output saturation and vanishing gradients.
An actionable method for detecting vanishing gradients is to monitor the ratio of weight update magnitudes across layers; if deeper layers show updates several orders of magnitude larger than shallower layers, vanishing gradients may be occurring.
All Facts (13)
RNNs 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%VerifiedVanishing gradient refers to the exponential decay of gradient values during backpropagation in deep neural networks, causing parameters near the input layer to receive almost no updates.
75%VerifiedThe vanishing gradient problem originates from saturating activation functions such as Sigmoid or Tanh, whose derivatives approach zero for large or small input values, causing gradients to decay layer by layer.
70%UnverifiedWhen the factors multiplied by the chain rule are continuously less than 1, gradients decay exponentially (vanishing); when they are continuously greater than 1, gradients grow exponentially (exploding).
60%UnverifiedThe initialization method directly affects the convergence speed and stability of training: initial values that are too small may cause vanishing gradients, while initial values that are too large may trigger exploding gradients.
50%UnverifiedThe vanishing and exploding gradient problems stem from the long-term behavior of the product of Jacobian matrices along time.
50%UnverifiedTV distance has two problems: first, gradients vanish for tokens with insufficient coverage; second, the prefix product in the acceptance-length objective suppresses the contribution of later positions.
50%UnverifiedDeep networks using the Sigmoid activation function are prone to the vanishing gradient problem, making it difficult for early layers to learn.
50%UnverifiedExcessively large weights may cause the Sigmoid activation function to saturate, triggering vanishing gradients.
50%UnverifiedWhen the hidden dimension dk is large, the raw attention scores can spike to 20, 30 or even higher, and feeding them directly into softmax leads to output saturation and vanishing gradients.
50%UnverifiedAn actionable method for detecting vanishing gradients is to monitor the ratio of weight update magnitudes across layers; if deeper layers show updates several orders of magnitude larger than shallower layers, vanishing gradients may be occurring.
50%UnverifiedSigmoid函数的导数最大值仅为0.25,经过数十层连乘后梯度会指数级衰减
50%Unverified梯度消失问题由Hochreiter在1991年和Bengio等人在1994年正式分析
50%