seniorComputer Vision
What is spatial transformer network (STN) and how does it learn geometric invariance?
Updated May 15, 2026
Short answer
STN learns spatial transformations to normalize input images within the network.
Deep explanation
Spatial Transformer Networks introduce a differentiable module that predicts transformation parameters (translation, rotation, scaling) and applies them to input feature maps. This allows the network to learn invariance to geometric transformations without explicit preprocessing.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro