mlsanityData to 14 Oct 2026

Masked Jigsaw Puzzle: A Versatile Position Embedding for Vision Transformers

arXiv 2205.12551 ↗First posted 25 May 2022cs.CV cs.CRcited by 33

Not on the map. Why?

Abstract (arXiv)

Position Embeddings (PEs), an arguably indispensable component in Vision Transformers (ViTs), have been shown to improve the performance of ViTs on many vision tasks. However, PEs have a potentially high risk of privacy leakage since the spatial information of the input patches is exposed. This caveat naturally raises a series of interesting questions about the impact of PEs on the accuracy, privacy, prediction consistency, etc. To tackle these issues, we propose a Masked Jigsaw Puzzle (MJP) position embedding method. In particular, MJP first shuffles the selected patches via our block-wise random jigsaw puzzle shuffle algorithm, and their corresponding PEs are occluded. Meanwhile, for the non-occluded patches, the PEs remain the original ones but their spatial relation is strengthened via our dense absolute localization regressor. The experimental results reveal that 1) PEs explicitly encode the 2D spatial relationship and lead to severe privacy leakage problems under gradient inversion attack; 2) Training ViTs with the naively shuffled patches can alleviate the problem, but it harms the accuracy; 3) Under a certain shuffle ratio, the proposed MJP not only boosts the performance and robustness on large-scale datasets (i.e., ImageNet-1K and ImageNet-C, -A/O) but also improves the privacy preservation ability under typical gradient attacks by a large margin. The source code and trained models are available at~urlhttps://github.com/yhlleo/MJP.

Key facts. Cited by 33 papers in the map (data through 14 Oct 2026). Builds on 51 of its 58 references that are in the map. First posted on arXiv 25 May 2022.

Builds on

51 of 58 references.

References · 51

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  9. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  10. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  11. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  12. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
38 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  2. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  3. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
  4. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  5. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  6. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  7. 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,085
  8. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  9. 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
  10. 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,591
  11. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
  12. 2019Natural Adversarial Examplescited by 1,408
  13. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
  14. 2018Self-Attention with Relative Position Representationscited by 1,120
  15. 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,060
  16. 2021Transformers in Vision: A Surveycited by 1,013
  17. 2020Pre-Trained Image Processing Transformercited by 893
  18. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
  19. 2017Convolutional Sequence to Sequence Learningcited by 552
  20. 2022PETR: Position Embedding Transformation for Multi-View 3D Object Detectioncited by 552
  21. 2020End-to-End Video Instance Segmentation with Transformerscited by 443
  22. 2021TransReID: Transformer-based Object Re-Identificationcited by 435
  23. 2021Conditional Positional Encodings for Vision Transformerscited by 406
  24. 2021See through Gradients: Image Batch Recovery via GradInversioncited by 326
  25. 2018Video Action Transformer Networkcited by 316
  26. 2019Cross-Modal Self-Attention Network for Referring Image Segmentationcited by 263
  27. 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
  28. 2021You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detectioncited by 170
  29. 2022Self-Supervised Transformers for Unsupervised Object Discovery using Normalized Cutcited by 167
  30. 2021TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Upcited by 162
  31. 2021Transformer-Based Attention Networks for Continuous Pixel-Wise Predictioncited by 125
  32. 2021Efficient Training of Visual Transformers with Small Datasetscited by 108
  33. 2021Position Information in Transformers: An Overviewcited by 103
  34. 2020R-GAP: Recursive Gradient Attack on Privacycited by 97
  35. 2022GradViT: Gradient Inversion of Vision Transformerscited by 53
  36. 2020What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encodingcited by 52
  37. 2021SHAPE: Shifted Absolute Position Embedding for Transformerscited by 37
  38. 2021APRIL: Finding the Achilles' Heel on Privacy for Vision Transformerscited by 24

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 9; 2025: 15; 2026: 8.

33 papers.

Sort:

By area:

  1. 2024The Ninth NTIRE 2024 Efficient Super-Resolution Challenge Reportcited by 57
  2. 2025SceneSplat: Gaussian Splatting-based Scene Understanding with Vision-Language Pretrainingcited by 52
  3. 2025MLLMs are Deeply Affected by Modality Biascited by 40
  4. 2024Masked Image Modeling: A Surveycited by 29
  5. 2025The Tenth NTIRE 2025 Efficient Super-Resolution Challenge Reportcited by 26
  6. 2026The Eleventh NTIRE 2026 Efficient Super-Resolution Challenge Reportcited by 25
  7. 2024ShapeSplat: A Large-scale Dataset of Gaussian Splats and Their Self-Supervised Pretrainingcited by 21
  8. 2024Bringing Masked Autoencoders Explicit Contrastive Properties for Point Cloud Self-Supervised Learningcited by 16
  9. 2024Sharing Key Semantics in Transformer Makes Efficient Image Restorationcited by 14
  10. 2025Reducing Unimodal Bias in Multi-Modal Semantic Segmentation with Multi-Scale Functional Entropy Regularizationcited by 9
  11. 2025Efficient Degradation-agnostic Image Restoration via Channel-Wise Functional Decomposition and Manifold Regularizationcited by 8
  12. 2025AIM 2025 challenge on Inverse Tone Mapping Report: Methods and Resultscited by 8
21 more
  1. 2025ERL-MPP: Evolutionary Reinforcement Learning with Multi-head Puzzle Perception for Solving Large-scale Jigsaw Puzzles of Eroded Gapscited by 5
  2. 2025Open-World Deepfake Attribution via Confidence-Aware Asymmetric Learningcited by 5
  3. 2026Video Understanding: From Geometry and Semantics to Unified Modelscited by 5
  4. 2024Key-Graph Transformer for Image Restorationcited by 3
  5. 2024SETA: Semantic-Aware Token Augmentation for Domain Generalizationcited by 3
  6. 2026The Missing GAP: From Solving Square Jigsaw Puzzles to Handling Real World Archaeological Fragmentscited by 3
  7. 2025SeqPE: Transformer with Sequential Position Encodingcited by 2
  8. 2025Masked Clustering Prediction for Unsupervised Point Cloud Pre-trainingcited by 2
  9. 2025CryptoFace: End-to-End Encrypted Face Recognitioncited by 2
  10. 2023Human-imperceptible, Machine-recognizable Imagescited by 1
  11. 2024PVAFN: Point-Voxel Attention Fusion Network with Multi-Pooling Enhancing for 3D Object Detectioncited by 1
  12. 2025Any Image Restoration via Efficient Spatial-Frequency Degradation Adaptationcited by 1
  13. 2025ReefNet: A Large-Scale Dataset and Benchmark for Fine-Grained Coral Reef Recognitioncited by 1
  14. 2025LangHOPS: Language Grounded Hierarchical Open-Vocabulary Part Segmentationcited by 1
  15. 2026JigShape: Evaluating Visual-Geometric Reasoning in VLMs through Jigsaw Puzzlescited by 1
  16. 2024KDC-MAE: Knowledge Distilled Contrastive Mask Auto-Encodercited by 0
  17. 2025Learning to Adapt to Position Bias in Vision Transformer Classifierscited by 0
  18. 2026A Unified Masked Jigsaw Puzzle Framework for Vision and Language Modelscited by 0
  19. 2026The Devil Is in Gradient Entanglement: Energy-Aware Gradient Coordinator for Robust Generalized Category Discoverycited by 0
  20. 2026Active Spatial Guidance: Eliminating Injected Positional Mechanisms in Vision Transformerscited by 0
  21. 2026JigSync: Gauge-Resolved Synchronization for Jigsaw Reassembly under Unknown Piece Orientationcited by 0