- Rating
- 4
- Clarity
- 4
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
The authors investigate whether a vanilla Transformer can learn geometric invariances through limited data augmentation. They argue that Transformers are aligned with angle-preserving symmetries but perform poorly on non-angle-preserving ones. They also identify interpretable mechanisms explaining how each invariance is implemented.
Strengths and weaknesses
Strengths:
I found the paper to be a pleasant read and well-written. The experiments were well-controlled and constructed systematically - each step followed from the conclusions of the one before it. The theoretical lemmas helped to provide a foundation for the mechanistic claims, with proofs provided to add rigour to the claims. There were clearly some novel results surrounding the vanilla Transformer's performance on which symmetries it could learn well from and which it struggled with. The OOD generalisation experiments in Section 3.2 are a clear contribution to knowledge, showing how learned invariances transfer beyond the training augmentation range for the four base angle preserving groups.
Weaknesses:
My main criticism is that the conclusions the authors make from the experiments that they conducted are far too broad, and may not hold at scale for more advanced Transformer architectures. In particular, the experiments rely on small synthetic datasets (3D Tetris and 3D Topology) and relatively modest real-world benchmarks (ModelNet10 and QM9). Moreover, the architecture is only a vanilla transformer with two blocks, each a single attention head, without positional encodings or masks. It is therefore a considerable stretch to claim in each of their findings that what they found from their experiments hold for Transformers in general.
I also think that it would have been interesting to explore alternative metrics for invariance loss beyond KL-divergence, such as logit-based invariance [1], to further validate whether the vanilla transformer truly learns the proposed invariances. I also feel that the mechanistic analysis (outside of the theorems and accompanying proofs) is largely observational and not definitive: the authors identify properties that correlate with invariance in trained models but this does not necessarily mean that these properties are actually causing the invariance. While the ablations and theoretical lemmas provide supporting evidence of their points of view, I am not convinced that alternative mechanisms cannot be fully ruled out.
One minor point: I found the graphs quite difficult to read at times, mostly because they use different and not very distinctive shades of blue (e.g. Figure 3). I also thought that the text for Figure 4 needs to be reworded as it was difficult initially to understand what I was looking at (e.g. they could say the first row consists of test ... and the second row consists of OOD ...).
[1] On genuine invariance learning without weight-tying - Moskalev et al. (2023)
Update: Following the rebuttals, as per my response to these rebuttals, I have raised my overall score to a 4.
Questions
Q1: The findings are presented as properties of Transformers generally. Can you justify this claim given that only a simple, vanilla architecture was used? Do you have any evidence (even if it is preliminary) that the identified mechanisms and observed symmetry preferences hold for more realistic Transformer architectures?
Q2: Have you considered alternative invariance metrics beyond KL-divergence to validate your findings? How confident are you that this measure truly captures genuine invariance learning rather than merely task-specific behaviour?
Q3: If I'm not wrong, the mechanistic analysis focuses entirely on base symmetry groups. Can you offer any insight (either theoretical or empirical) as to why compositional groups, such as SE(3) and Sim(3), are harder to learn?
Limitations
I am not convinced that the limitations section is comprehensive. The authors state that the limitations are addressed in Section 6, but only the final two sentences contain anything about limitations, and even these are framed more as future work rather than as genuine limitations. At the very least, I think the authors should acknowledge that the mechanistic analysis covers only base symmetry groups, and that their reliance on small synthetic datasets and modest benchmarks limits the scope of their conclusions.
Paper formatting concerns
None.
Final justification
I am raising my score to a 4. I think they have addressed the overgeneralisation from a single architecture - with their new experiments they have found that their original findings held across the new Transformer variants. I also think their new DeepSets and PointNet comparisons address the concern that the invariance is a generic property of permutation invariant set processing. They also looked at alternative invariance metrics and found consistent conclusions across all of them. I think these new findings were reported honestly, given that they also presented some results that were not in their favour.
I still think that there is a potential lack of rigour in these new results (e.g how many seeds, no std measures). In order to be fully confident in the raised score, these would need to brought up to the same standard as the rest of the paper in a revised version.
We thank the reviewer for their valuable and detailed comments, as well as for recognizing the good construction and novelty of our experimental analysis. In terms of weaknesses and questions:
Scope of the claims, dataset scale, and architecture (W1, Q1)
Thank you for this comment. Our intended claim is that the core components of the particular vanilla, permutation-equivariant Transformer studied here exhibit a measurable inductive preference for learning certain symmetries from finite data augmentation.
The synthetic datasets serve a diagnostic purpose. Their size allows us to train a large collection of models across symmetry groups, augmentation budgets, and random initializations while controlling the source of the target invariance.
Specifically, the two synthetic datasets play complementary roles:
The controlled scale also helps separate invariance learned from the applied augmentations from invariance already present in the data distribution. This distinction would be substantially harder to isolate in a large dataset containing uncontrolled canonicalization, alignment conventions, or transformation biases.
ModelNet10 and QM9 then provide a bridge to real point-cloud and molecular tasks. We agree that these are standard but not large-scale benchmarks. Their purpose is to show that the trends are not restricted. This is consistent with the stated objective of isolating symmetry-learning behavior..
Following the reviewer’s comment, to test whether the main observations are merely artifacts of using one attention head and no positional information, we have conducted a preliminary architectural robustness study covering two common additions: coordinate-derived positional encodings and multi-head attention.
We evaluated geometric variants of ALiBi, RoPE, sinusoidal positional encoding, and relative attention bias. These variants are computed from input coordinates, preserving the set-processing nature of the task. On 3D Tetris, these models exhibit accuracy and augmentation-budget trends that are closely aligned with those of the original architecture. Repeating the base-group mechanistic diagnostics also shows that orbit-stable attention maps and the principal activation-level signatures identified in Section 4 remain qualitatively present.
We increased the number of attention heads from one to two and four. Across the symmetry groups studied in Section 2, this produces only marginal accuracy improvements and does not change the qualitative ordering between angle-preserving and non-angle-preserving groups or between base and compositional groups. In additional OOD evaluations following the transformation-range protocol of Section 3.2, rotation and scale improve slightly as the number of heads increases. The largest observed change is an approximately 0.23 absolute improvement for translation in the four-head setting. The mechanism indicators remain clearly observable. Interestingly, multi-head attention does not materially close the gap for SE(3) or Sim(3). We also do not observe a clear division of labor in which different heads specialize in different base subgroups. Although the invariance scores of individual heads differ, it is frequently the same head that is most invariant across several tested subgroups.
These experiments provide preliminary evidence that the principal trends are not solely consequences of single-head attention or the complete absence of positional information. We will make that distinction explicit and report the new results in the revision
Alternative invariance metrics (W2, Q2)
Due to the character limit, we kindly refer to our response to Reviewer VPgy (Q1).
Possibility of alternative mechanisms (W3)
Thank you for the valuable comments regarding our mechanistic analysis. Our analysis and claims indeed do not rule out the possibility that alternative mechanisms could also arise to represent invariance, which may be more subtle and thus harder to identify and interpret. Instead our claims focus on the existence and identification of a series of generalizing mechanisms that the vanilla Transformer architecture consistently develops in the various settings that we consider. We will more clearly emphasize this difference in the revised manuscript: our results show the existence of such mechanisms and not necessarily their uniqueness in implementation invariance.
Figure refinements (W4)
Thank you for these helpful suggestions. We will update the color palette in the revision, seeking to improve the clarity of our results. In addition, we will clarify the wording of Figure 4’s caption to more explicitly describe the correspondence of the different rows with the test and generalization OOD metrics respectively.
Hardness of compositional groups (Q3)
Thank you for this important point. The detailed mechanistic analysis focuses on the base groups SO(3)/O(3), T(3), and Scale(3). We chose these groups because they show the strongest finite-augmentation performance and the clearest OOD generalization, making them the most suitable setting for searching for stable internal mechanisms.
There is an important distinction between representational compatibility and learnability from finite joint augmentations. At the level of exact functions, invariance to the generating base groups is sufficient for invariance to their composition. For example, if f is exactly invariant to both translations and rotations, then for any g=tR∈SE(3), f(gx)=f(t(Rx))=f(Rx)=f(x). The same argument extends to Sim(3) when scale invariance is also present. The observed difficulty is more plausibly associated with finite sampling and optimization. We currently see three related explanations.
In three dimensions, translations and rotations each have three continuous degrees of freedom and uniform scaling has one, whereas SE(3) has six and Sim(3) has seven. For a fixed number of augmented views per sample, random samples provide substantially sparser coverage of the larger joint transformation space.
Moreover, when augmentations are sampled directly from a compositional group, almost every transformed example combines multiple factors. The model receives relatively little direct supervision corresponding to a pure translation, pure rotation, or pure scaling direction. By contrast, a model trained on a base group receives its entire augmentation budget along that factor.
The mechanisms identified for the base groups use overlapping architectural components but impose different functional requirements:
Learning SE(3) or Sim(3) requires these conditions to hold simultaneously along joint transformation orbits. Although the mechanisms are compatible in principle, their simultaneous optimization within the same attention and residual pathways may be more difficult than learning each one separately.
Exact invariance to each subgroup composes exactly, but finite-data training produces only approximate invariance. Errors associated with the constituent transformations can therefore compound when several transformations are applied jointly. A model that is moderately stable to rotation and moderately stable to translation need not be equally stable to arbitrary roto-translations unless both behaviors are learned with sufficient uniformity.
Our new multi-head experiments provide preliminary evidence relevant to the optimization hypothesis. Increasing the number of heads does not materially improve performance for the compositional groups, and we do not observe a clear specialization in which distinct heads separately implement translation, rotation, and scale invariance. This suggests that simply providing additional parallel attention heads is not sufficient to resolve the joint learning problem. We will add this analysis to the discussion while clearly labeling the coverage and optimization explanations as hypotheses supported by the empirical results.
Description of limitations
Thank you for this suggestion. While we explicitly discuss some of the main limitations of our work in the conclusions, we agree that it would be helpful to surface some of the additional underlying limitations that were more implicitly indicated throughout the rest of the paper. In that sense, we will include further comments regarding the points raised by the reviewer following our responses provided in this rebuttal.
We thank the reviewer again for their insightful suggestions, which we believe have helped improve our paper through both reinforced experimental analyses and details, and a clearer description of its contributions and limitations.