Researchers have developed a modular version of feature inversion, a technique that reconstructs input images from a model's internal representations, to study how transformer-based vision models process visual information. By training lightweight inverse networks attached at different depths, the method avoids the expense of full-model inversion while still producing useful reconstructions. In some cases, the authors report, the modular approach even yields semantically more coherent images than earlier inversion setups.

Applying the method to four architectures—Detection Transformer (DETR), Vision Transformer (ViT), Swin Transformer, and Data-Efficient Image Transformer (DeiT)—the team focused its main comparison on DETR and ViT, which showed the most informative differences. Both models exhibited gradual representational changes across layers, a shared characteristic. However, they diverged systematically in how they preserve contextual shape and fine-grained image details, and in their robustness to color perturbations.

The authors position modular feature inversion as a practical interpretability tool for large-scale vision models. The consistent results across Swin and DeiT suggest the approach is not limited to a single architecture, though the paper does not claim these secondary models were analyzed as deeply as DETR and ViT. The work was published in Transactions on Machine Learning Research in September 2026.