À suivreGuide suivant
Transformateurs de diffusion
IA visuelle
GUIDE DE L'IA Visuelle
Swin Transformer is a vision Transformer that computes attention within local windows and shifts window partitions between layers.
Écoutez ce guideNarré par l'IA · ~2 min
Its hierarchy produces features at multiple spatial resolutions.
The Swin paper introduces window-based self-attention and shifted windows for cross-window communication. Fixed-size windows reduce attention complexity to linear growth with image size. Patch merging builds a hierarchy of feature maps, supporting classification and dense prediction tasks. The paper evaluates specific model variants on ImageNet, COCO, and ADE20K; results are benchmark- and setup-specific. Unlike standard ViT global attention over all image patches, Swin computes attention within local windows. Within each window it adds a learnable relative-position bias. Shifted-window blocks use a mask after cyclic shifting so patches wrapped across image boundaries do not become unintended neighbors.
Use a Swin backbone in an image-classification experiment.
Feed hierarchical features into an object-detection or segmentation head.
Compare window attention with global attention at matched image resolution.
Measure memory and latency under a fixed image-size and hardware setup.
Hierarchical local-attention backbones remain one design choice among many vision architectures. Compare them under the intended data, resolution, hardware, and task rather than assuming universal superiority over CNNs or global-attention models.
Newsletter gratuite
Trois histoires d'IA vérifiées chaque matin de la semaine, écrites dans un anglais simple. Gratuit pour toujours, sans publicité.
Un e-mail chaque jour de la semaine. Désabonnez-vous en un clic. Nous ne vendons ni ne partageons jamais votre adresse.
Testez-vous
Commentaires instantanés sur chaque réponse et un certificat partageable avec une pièce d'identité vérifiable une fois que vous avez réussi un cours.
Soutenez l’enseignement gratuit de l’IA. AI Understanding est une organisation à but non lucratif 501(c)(3) : pas de publicité, pas de paywall, jamais. Faire un don
Swin Transformer is a vision Transformer that computes attention within local windows and shifts window partitions between layers. Its hierarchy produces features at multiple spatial resolutions.
Swin signifie Shifted Windows, le mécanisme qui permet aux fenêtres d'attention locale d'échanger des informations entre les couches.
The Swin paper adds learnable relative-position bias to self-attention within each local window.
Les couches alternées décalent la grille des fenêtres d'une demi-fenêtre, de sorte que les correctifs précédemment présents dans différentes fenêtres puissent s'occuper les uns des autres.
La fusion de patchs concatène les patchs voisins pour réduire de moitié la résolution spatiale et doubler la profondeur de canal, créant ainsi une hiérarchie multi-échelle.
Les cartes de fonctionnalités multi-échelles imitent les backbones CNN, de sorte que Swin s'intègre facilement aux cadres de prédiction dense comme Mask R-CNN.
Continuez à apprendre
Plus de guides sélectionnés pour ce sujet
À suivreGuide suivant
Transformateurs de diffusion
IA visuelle