Reproduction experiment: the stronger the adversarial perturbation superimposed on ViT, the more it conforms to the class geometry
Start here
On November 9, 2026, an author posted on LessWrong stating that they had reproduced a vision Transformer experiment on the relationship between feature superposition and adversarial examples. The study added a linear encoder and decoder before the classification head to form a bottleneck; when the bottleneck dimension is smaller than the number of classes, class directions are forced to overlap, and PGD attacks were used to measure the correlation between the input-space profile and the latent-space profile, finding that the correlation rises as the bottleneck tightens. The authors confirmed on CIFAR-10/100, STL-10 and Tiny-ImageNet that the stronger the superposition, the more the adversarial attack perturbations conform to the class vector geometry; they also tested the gradient-free Square black-box attack and the CW attack, with the same trend.
Generated by AI from reports · Updated 20 days ago
Progress timeline
- LessWrongValidating the link between superposition and adversarial examples in vision Transformers
The author reproduces a vision Transformer experiment on the relationship between feature superposition and adversarial examples, confirming on CIFAR-10/100, STL-10 and Tiny-ImageNet that the stronger the superposition, the more closely adversarial attack perturbations align with the geometry of class vectors. The study adds a linear encoder and decoder before the classification head to form a bottleneck; when the bottleneck dimension is smaller than the number of classes, class directions are forced to overlap, and PGD attacks are used to measure the correlation between the input-space profile and the latent-space profile, which rises as the bottleneck tightens. The author also tests the gradient-free Square black-box attack and the CW attack, with the same trend, indicating that this coupling is not a product of gradient attack algorithms. After adversarial training, robust accuracy improves by about 5 times, but head interference and effective dimensionality remain essentially unchanged; widening the ViT reduces the coupling between input and latent space, while interference and robustness do not change accordingly. The author notes that beyond toy models superposition cannot be measured directly, and causal judgments remain limited.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@RayXijiaCheThese results suggest that robustness and representation geometry can change independently, raising questions about the…(opens the original post in a new tab)
2 likes·Nov 10 04:15Collect
- X@RayXijiaCheAn interesting result: adversarial training improved robustness by ~5× without measurable changes in final-layer interf…(opens the original post in a new tab)
2 likes·Nov 10 04:15Collect
- X@RayXijiaCheDoes superposition contribute to adversarial vulnerabilities in neural networks? We replicated and extended recent fin…(opens the original post in a new tab)
38 likes·Nov 10 04:15Collect