Straight-Through Estimator
A technique for training neural networks containing discrete operations. The forward pass performs the hard operation, while during backpropagation a surrogate gradient (typically 1) is used to pass upstream gradients, enabling end-to-end training of the network.
Timeline (last 90 days)
For ternary quantization, gradients cannot pass directly through the discrete quantization function during backpropagation, and a common approach is to use a straight-through estimator (STE).
FLEX-LBP adopts a straight-through estimator (STE), passing gradients only during backpropagation, while the forward pass always computes the exact hard binary LBP encoding.
BNN training typically employs the Straight-Through Estimator, using the sign function for discretization in the forward pass and directly passing gradients in the backward pass to bypass the non-differentiable points.
This trick is a variant of gradient surgery or the straight-through estimator.
During VQ-VAE training, a straight-through estimator passes gradients back from the decoder to the encoder, and a commitment loss constrains the encoder output to stay close to the selected codebook vector.
VQ-VAE uses a straight-through estimator to pass gradients back from the decoder to the encoder, and the training objective typically includes three terms: reconstruction loss, codebook alignment loss, and commitment loss.
LoopRec's gating mechanism outputs binary decisions, and during training the non-differentiability problem must be addressed using methods such as Gumbel-Softmax, straight-through estimators, or relaxed sampling with temperature annealing.
All Facts (7)
For ternary quantization, gradients cannot pass directly through the discrete quantization function during backpropagation, and a common approach is to use a straight-through estimator (STE).
50%UnverifiedFLEX-LBP adopts a straight-through estimator (STE), passing gradients only during backpropagation, while the forward pass always computes the exact hard binary LBP encoding.
50%UnverifiedBNN training typically employs the Straight-Through Estimator, using the sign function for discretization in the forward pass and directly passing gradients in the backward pass to bypass the non-differentiable points.
50%UnverifiedThis trick is a variant of gradient surgery or the straight-through estimator.
50%UnverifiedDuring VQ-VAE training, a straight-through estimator passes gradients back from the decoder to the encoder, and a commitment loss constrains the encoder output to stay close to the selected codebook vector.
50%UnverifiedVQ-VAE uses a straight-through estimator to pass gradients back from the decoder to the encoder, and the training objective typically includes three terms: reconstruction loss, codebook alignment loss, and commitment loss.
50%UnverifiedLoopRec's gating mechanism outputs binary decisions, and during training the non-differentiability problem must be addressed using methods such as Gumbel-Softmax, straight-through estimators, or relaxed sampling with temperature annealing.
50%