- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper presents a experimental evaluation of the behaviour of transformer models trained to solve the Learning With Errors (LWE) problem. In particular, these models are trained to predict a variable from a vector related by where is called the vector of secrets and is some noise. The goal is to use perturbation techniques (a distinguisher) to obtain from the trained model by observing how changes in the coordinates of affect the output .
The experimental evaluation consists on training 30 models with increasing number of coordinates in being . From these, 13 are able to recover the secret vectors, and 17 are not. With these models, the authors observe the following phenomena:
- Accuracy of the models during training does not correlate with their ability to recover the secrets
- Linear probes trained on the embeddings of the last layer show slightly better performance distinguishing between coordinates that correspond to (secret) or (no secret), and a finer cluster where we additionally add whether the coordinates are in the cruel or cool regions (something related to the preprocessing of the data) in the models that recover the secret
- A study of feature importance based on the MaxPool before the linear embedding layers that reduces dimensionality to 2, shows a slight increase in importance in the secret coordinates for the classification
- In my opinion, the biggest contribution of the paper: a PCA accross layers that shows that the clustering patter between secret and non-secret coordinates appears just before the embedding layer, and in fact the transformer obfuscates this clusters (all the previous analysis were based on the embeddings in the last layer)
- In addition, also part of the most important contibution of the paper: the causal test where the coordinates of the positional encodings corresponding to secret positions are zeroed out, and control of random non-secret coordinates are also zeroed out, and then the distinguisher is re run, shows that the first case destroys the performance while the second leaves it mostly unaffected
Strengths and weaknesses
I think this paper is really well written, it was easy to follow and understand even though I am not an expert in this specific problem. From the positioning of the paper, its study seems original and presenting novel insights about an important problem. This use case seems real and meaningful, and the overall quality of this contribution is good in my opinion. In general, all four aspects of quality, clarity, originality and significance are mostly well-covered.
I only have three questions about two of these points where I believe that the paper could be improved (see the Questions below). If these are addresses, and those small weaknesses are fixed, I'd be happy to increase my score.
Questions
In terms of clarity
- On my first read, the experimental design of section 4.1 (in particular, lines 179--180) was a bit unclear. I was not sure of what the points of the embeddings represented, and what their dimensionality was. I believe this could be clarified if you explicitly expressed what your point clouds of embeddings represent: if I understood correctly, each point is associated with a coordinate , where I think , because each token has an embedding, and then you average the corresponding embedding vectors across samples. I believe that adding a more explicit explanation along these lines would increase the clarity of these experiments.
- I was also a bit confused with the explanation of the definition of the attribution scores (line 200): can the attribution of a given coordinate index have several components, depending on how many times is the argmax of the column ? When I read the following sentence for the first time, I didn't fully understand it, because I didn't understand how the positions were related to the definition of the attribution score:
By summing these attribution scores across all dimensions $ d \in 1, . . . , d_{\mathrm{hidden}}$ for each position, we obtain a more accurate measure of which input positions drive the final prediction Maybe you could consider also trying to explain this definition in more detail to clarify this confusion.
Finally, I believe the significance of the cluster analysis could also be improved by answering the following question:
- Although the results in tables 2 (performance of linear probes in clustering the last layer embeddings), and 4 (silhouette scores of the clustering of the embedings in the input layer) are better for the models that are able to recover the secret, the improvement in performance is quite small and not very conclusive. For instance, the results of table 2 are almost overlapping, and the silhouette scores of table 4 are around 0, which generally indicates significant overlaps in the clusters and not a very nice clustering structure. How do you interpret these results, and why should we care about these differences even when they are small? Understanding better this point would help improve the significance of these contributions.
Limitations
They are addressed.
Paper formatting concerns
None
Final justification
The authors have addressed my questions and I believe this to be a solid contribution.
Meta-review
The paper presents a mechanistic study of how encoder-only transformers can recover sparse LWE secrets despite almost zero exact prediction accuracy. The reviews appear to agree that the main finding is novel. Causal ablation of secret-position positional embeddings is good evidence.
The author feedback should prioritize three issues. Current intervention shows that positional embeddings are causally important. But it seems less clear whether the secret is specifically localized there rather than represented more broadly. Also, the authors should clarify how much of observed structure remains after controlling for asymmetry due to lattice-reduction preprocessing. Last, ℓ1 intervention appears to narrow candidate support. But is it justifying the stronger claim of direct secret recovery from parameter inspection?
The experimental scope is narrow, but this is fine for a paper like this if the claims are properly scoped accordingly. A clear response on the three points above plus any of the other points indicated in the reviews, can help a robust discussion.