- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper studies how transformers memorize multi-relation factual associations when entity embeddings are learned. In the synthetic setting, each relation is a bijection over a shared set of entities, and the model must answer one-hop or multi-hop factual queries. The paper argues that facts need not be stored mainly as key-value associations in MLP or attention weights. Instead, learned subject embeddings can store relation-specific attributes in a structured geometric form, while the MLP or attention mechanism selects the component requested by the relation.
Strengths and weaknesses
This is a strong and interesting theory paper with well matched synthetic experiments. The main strength is the clean mechanistic distinction between storing facts in active weights and storing them in learned embedding geometry. The single-hop construction is simple and useful, and the experiments do a good job testing the proposed structure rather than only reporting accuracy. The main weakness is that several theoretical statements need sharper accounting. The paper should be more precise about MLP width, embedding dimension, total storage, bit complexity, and which parameters are counted. I am also not fully convinced by the current presentation of the multi-hop lower bound. The fiber-size argument and the local tree extraction argument both need more formal justification. The real-LM probing section is suggestive, but it should be framed as compatibility evidence rather than evidence that pretrained LMs use the same mechanism causally.
Questions
- The theorem says the 3-layer MLP has width , but the proof seems to use coordinate-wise ReLU operations over blocks of size , which looks closer to hidden units. Is width being counted as relation blocks, hidden neurons, or something else? A table separating embedding dimension, embedding-table size, MLP width, MLP parameter count, and unembedding size would help.
- What exactly do and count? Are input embeddings, relation embeddings, output embeddings, and the unembedding matrix included? How many bits of precision are assumed for each parameter?
- The global argument claims that two relation graphs with the same -hop evaluations differ by a common right-translation, so each output has preimage size at most . I do not find this fully justified as written. The local argument also extracts vertex-disjoint -ary trees, but arbitrary permutation graphs can have collisions and cycles. Is the lower bound over all graphs, a large subset, or a constructed worst-case family?
- For the CoT result and experiments, please specify whether intermediate subject tokens are supervised, whether evaluation is teacher-forced or fully autoregressive, and how errors compound across hops.
- For the real-LM probing section, please add stronger controls or soften the conclusion. Useful controls include but not limitae to shuffled subject-attribute mappings, relation-shuffled probes, random labels, probe-rank sweeps, and a nearest-neighbor lexical baseline.
Limitations
Yes
Paper formatting concerns
No
Final justification
Thank you for the detailed response. The rebuttal addresses most of my concerns in Q1, Q4, and Q5. However, I remain concerned about Theorem 4.2. In particular, excluding the trainable unembedding from the bit count requires further justification, and the local argument still appears to count independent assignments per root even when collisions or cycles reduce the number of distinct nodes and independent transitions. The fact that a smaller neighborhood permits more roots does not by itself preserve the same number of independent assignments per root, especially under the global bijectivity constraints on each relation. Given that the lower bound is a central theoretical contribution, I will keep my current score unchanged.
We thank the reviewer for an unusually careful technical reading. The questions identified genuine imprecisions; we address each and describe the corresponding revisions.
Q1: MLP width in Theorem 4.1. The reviewer is correct, and we will fix the statement. We indeed define the width as the number of hidden neurons. In Theorem 4.1 we meant to write O~(R), where the O~ notation hides the logarithmic terms, as we also did in the other theorems. In the construction, we indeed used a width of O(Rlog(N)) as the reviewer correctly noted.
Regarding the table that the reviewer suggested, it is partly covered in Table 1 in the paper. The embedding table size is a constant N, and the unembedding dimension is equal to the embedding dimension for all cases. The MLP width and embedding dimension for all constructions appear in Table 1 with O~ notation. For clarity, we will use O notation in the camera-ready version, i.e., we'll explicitly write the log(N) terms. Regarding the MLP parameter count, since in all our constructions we use a 3-layer MLP, the number of parameters is equal to
embedding_dim * (width)^2. We can add this column to Table 1 if the reviewer suggests that it will help to clarify this point.Q2: What W and D count in Theorem 4.2. We thank the reviewer for this comment, and we will make the definitions of the terms W and D more precise in the camera-ready version. To answer the question, in the proof we want to compare the size of the emebdding of individual tokens and the number of parameters in the transformer that are required to solve the multi-hop task. D count the number of bits representing each token. That is, if each token is represented as a vector with d dimensions, and each dimension has a precision of p bits, then D=d⋅p. Note that we don't explicitly define p, but rather leave it as a parameter which makes the lower bound more general. Similarly, W counts the number of bits of the transformer model itself, that is the number of parameters in the attention and MLP, multiplied by the precision of each parameter. We emphasize that the embedding and unembeddign matrices do not appear in the count of bits in W. The reason is that it allows the lower bound to show that for any possible embedding and unembeddign matrices (e.g. perfectly trained ones), we still need either the inner mechanism of the transformer itself or the embedding of each individual token to be large to solve the multi-hop problem.
Q3: Global and local tree arguments. We thank the reviewer for this question. We wrote the proof perhaps too concisely, making the arguments difficult to parse. We will elaborate more on every transition in the camera-ready version. To clarify:
In the global bound, we define a mapping Φ from the product of R permutations on N items (the space of bijections gi) to the space of transition matrices between an input node and an output node over k relations. This map is not injective, because different sets of R bijections applied k times can yield the same output. For example, if k=2 and R=1, taking a bijection that is its own inverse (gr∘gr=id) leaves the output unchanged. Next, if two k-compositions are equal (g1∘⋯∘gk=h1∘⋯∘hk), we can split them to get g1=h1∘hw∘gw−1, where gw=g2∘⋯∘gk and hw=h2∘⋯∘hk. Varying g1 and h1 across all permutations shows that hw∘gw−1 must be fixed, which is the right translation C we found. Given two sets of R permutations, G=(g1,…,gR) and H=(h1,…,hR), we have gi=hi∘C for every i=1,…,R. With N! choices for C and an input space of size (N!)R, the image set of Φ must exceed N!(N!)R.
In the local bound, we extract p subgraphs by taking a node v1 and its R neighbors. We repeat this k times to include neighbors of neighbors, up to k hops. This subgraph contains at most Rk nodes (fewer if collisions or cycles occur). We remove these nodes and repeat the process on the remaining graph until it is empty. Starting with N nodes, we create at most RkN trees this way. Cycles or collisions actually improve the bound by allowing us to construct more trees. So, the argument above works for any permutation graph.
Two minor points on the local bound: we include R2k nodes in each tree by taking k forward and then k backward hops to prevent collisions. This ensures k hops from distinct nodes v1 and v2 do not overlap. Finally, we count only N/2 nodes instead of N (adding a factor of 2 in p's denominator) for a clean bound after line 886. Since p⋅M≤N/2, each term in ∏j=1pM(N−j) is larger than N/2, making the product larger than (N/2)pm.
Q4: CoT supervision and evaluation. We provide here the full details, which we will add to App. C.1: CoT sequences have the form [⟨seq⟩, s0,r1,…,rk, ⟨cot⟩, s0,r1,y1,r2,y2,…,rk,yk]. Training is standard next-token cross-entropy, so all intermediate subjects are supervised. On evaluation, the accuracies reported in Fig. 5 were computed with a teacher-forced prefix (ground-truth intermediates in context) rather than fully autoregressively. We have fixed the pipeline and re-measured, repeating the same Fig. 5 configuration with K=4, R=4/16 (on 3 seeds):
Two conclusions: (i) In the CoT/unfrozen regime supporting Theorem 4.4, autoregressive and teacher-forced accuracy coincide, so Fig. 5's conclusions are unchanged. (ii) In every individual run, autoregressive final accuracy matches the product of teacher-forced per-hop accuracies to within 0.003: teacher-forced per-hop metrics fully predict autoregressive performance, with no additional autoregressive-specific degradation. (Under bijections a wrong intermediate cannot accidentally recover, so degradation reduces to per-hop error propagation. The match to the product is the expected behavior, which we verified.) In the revision, Fig. 5 will report fully autoregressive accuracies throughout (teacher-forced numbers and a per-hop compounding figure in the appendix).
Q5: Real-LM probing framing and controls. We agree on the framing and will revise section 5.3 to state: "these results establish that pretrained LMs' subject representations are compatible with the geometric account, where the attribute is linearly decodable in the predicted form, but they are correlational; we make no causal claim that pretrained LMs use this mechanism". On controls, the current design already includes a subject-disjoint split, a majority-class baseline, an LM-greedy baseline, and layer-0 (static-embedding) probes. We have now run the two controls the reviewer's concern most directly calls for (on "people", Llama-3.2-1B, same hyperparams as in the paper):
We first want to emphasize a point about the existing setup that may address the underlying concern directly: all probes in section 5.3 are already trained and evaluated on disjoint subject sets (the 90/10 split is subject-disjoint, so no subject in the test set appears in training). This split is itself a memorization control. A probe that merely memorized (subject to attribute) training pairs would have nothing to look up for a held-out subject and would fall to the class prior. The real probe instead reaches 0.61 on subjects it has never seen, which is only possible if it has learned a subject-general linear relation (the geometric readout our account predicts) rather than a lookup table.
The two requested controls above confirm this. The shuffled-mapping control showes that when we corrupt the training labels (pairing each subject with the wrong attribute), the probe's accuracy falls to the majority baseline and the layer-wise pattern disappears. This shows the real probe's accuracy comes from a genuine subject to attribute relationship it learns and generalizes, not from the probe being expressive enough to fit arbitrary labels. The relation-shuffled control (score each real probe against the same subject's attribute under a different relation) returns exactly zero at every layer. We will report both across models in App. E.
We believe these results directly address the reviewer's concerns, and we would be grateful if the reviewer would consider raising their score if satisfied.