- Rating
- 4
- Clarity
- 3
- Confidence
- 2
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes Tree+Cycle Positional Encoding for sequence Transformers applied to serialized graphs. The core idea is to replace standard sequence-position encodings with graph-derived encodings: an ancestor-path/tree component plus a cycle-membership component from a canonical cycle basis. The goal is to reduce sensitivity to arbitrary graph traversal/root choices while keeping a sequence-model architecture. Experiments focus mainly on molecular graphs, with additional synthetic cycle-counting/ring-membership tasks.
Strengths and weaknesses
strengths
- Directly addresses traversal sensitivity in serialized graphs.
- Re-rooting stability experiment is well aligned with the main claim.
- Uses a meaningful PMEL+Sinusoidal control to isolate the PE effect.
- Synthetic cycle tasks clearly test whether encoded cycle structure helps.
weaknesses
- Graphormer comparison is asymmetric because only sequence models are pretrained.
- Tree+Cycle does not consistently beat PMEL+Sinusoidal, especially on Tox21.
Questions
- Graphormer baseline fairness: Sequence models are pretrained on 50k ChEMBL molecules, while Graphormer is trained from scratch. Have the authors tried a pretrained graph-native baseline, or a no-pretraining version of Tree+Cycle?
- Tox21 underperformance: Tree+Cycle trails PMEL+Sinusoidal on Tox21. Do the authors have evidence explaining why the structural PE hurts this task?
Limitations
yes
Paper formatting concerns
No
Final justification
I would like to thank the authors for their detailed responses. After reading the rebuttal, including the responses to all reviewers and the AC meta review, I think my concerns have been addressed. As this topic is somewhat outside my primary area of expertise, I will update my rating to Borderline Accept and defer to the AC and the reviewers with greater expertise in this area for the final decision.
We thank you for the review, and particularly for identifying the Tox21 result as the case needing explanation. It turned out to have one.
Q1a. Have the authors tried a pretrained graph-native baseline?
Yes. We pretrained Graphormer on the identical 50,000-molecule ChEMBL sample using self-supervised atom masking, and separately re-pretrained Tree+Cycle under a comparable atom-only masking scheme so that both models solve similar self-supervised tasks. Fine-tuning schedule, scaffold splits, classification head, and seeds are shared.
The asymmetry you identified was real, but correcting it does not close the gap. Under matched pretraining Graphormer is ahead on BACE and Tox21 and level on BBBP, and we withdraw the abstract's claim that Tree+Cycle outperforms a parameter matched Graphormer on BACE and BBBP.
Two residual asymmetries we state rather than leave to be found. Graphormer pretrains at 2e-4 and Tree+Cycle at 1e-4, each at its own tuned value. Our cycle encoding keeps an aromaticity indicator at masked atom positions unless it is zeroed, which may give away part of the masked target, so we call the two objectives comparable rather than identical and are running a control that zeros it.
If a different pretrained graph-native baseline would be more convincing, we are willing to run one during the discussion period if you consider it decisive.
Q1b. Or a no-pretraining version of Tree+Cycle?
We have not run this, and it is a reasonable request. A from-scratch Tree+Cycle would isolate how much of the encoding's contribution survives without self-supervised pretraining, which is a different question from the one the matched-pretraining experiment answers. We will run it and report the result during the discussion period regardless of outcome.
We would note that the synthetic experiments in §5.5 are already trained from scratch, with no pretraining for any variant. There an identical Transformer differing only in positional encoding reaches 0.095 ± 0.003 normalized MSE on cycle counting with Tree+Cycle against 0.329 with the alternative encoding, and 0.973 ± 0.001 on ring membership against 0.774. Reviewer fjUg objects that these tasks partly validate the preprocessing, since the encoding supplies ring membership directly, and we accept that with respect to the comparison against GIN, which must infer cycle structure from raw topology and differs greatly in capacity. On ring membership GIN is in fact slightly ahead of us at 0.975 ± 0.001. The encoding ablation has neither confound. So the encoding's contribution does not depend on pretraining in that setting. What your question asks, and what we will answer, is whether the same holds on the molecular tasks.
Q2. Tree+Cycle trails the sinusoidal baseline on Tox21. Do you have evidence explaining why the structural PE hurts this task?
We do, and the explanation is not that the encoding hurts the task.
The submitted models were pretrained with masked language modelling over all token types, including the structural tokens the graph-derived serialization introduces, parentheses, bond modifiers, anchors, and closures. Reconstructing those is largely a syntactic problem: a closing parenthesis or a ring-closure marker is predicted from bracket depth and distance to its opening token. Sinusoidal positional encoding supplies exactly that signal. A graph-derived encoding does not. A substantial share of the pretraining objective therefore rewarded a capability irrelevant to downstream property prediction, and rewarded it asymmetrically across the two encodings.
Re-pretraining Tree+Cycle with masking restricted to atoms, the scheme used to match Graphormer, with the same architecture, fine-tuning protocol, splits, and seeds, raises Tox21 from 0.827 ± 0.005 to 0.834 ± 0.003. Nothing changed except which token types are masked during pretraining.
A second factor is structural. Tox21 is by some margin the least cyclic of the three benchmarks: 52.2% of its molecules have cyclomatic number 0 or 1, against 21.0% at µ = 2 and 26.8% at µ ≥ 3. On acyclic and monocyclic molecules Theorem 1 already applies and the cycle component contributes a graph-determined constant rather than a disambiguating signal, so the majority of Tox21 lies outside the regime the encoding targets. This is consistent with the ring-count subgroups below, where the advantage over tree-only encoding appears only at three rings and above.
We are careful about what this shows. It does not make Tree+Cycle superior on Tox21, and we do not claim the gap is eliminated. It shows that a substantial part of the shortfall reflects the pretraining objective and the benchmark's low cyclicity rather than a defect in the positional encoding, a different diagnosis from the task-specific inductive-bias explanation §7 offered, and we would revise that section accordingly.
On your two stated weaknesses
"Graphormer comparison is asymmetric." Addressed above. Your framing was accurate and the control you implied was the right one to run.
"Tree+Cycle does not consistently beat the sinusoidal baseline, especially on Tox21." We accept the general point. Two things bear on it. The Tox21 case has the explanation above. More broadly, the BACE and BBBP test sets contain 152 and 204 molecules, and AUROC on sets that small carries a sampling error of roughly 0.03 to 0.04 however many seeds are used, so differences of a few points do not support a ranking in either direction. That cuts against our own results as much as for them. We are computing paired DeLong comparisons and will report them.
We would also note that the contribution does not rest on the accuracy comparison. You observed that the re-rooting experiment is well aligned with the main claim, and we have extended it from representation level to prediction level. Holding a model fixed and changing only the serialization root, Tree+Cycle gives the smallest change in output logits on all three datasets. On Tox21 it is best on all six root sensitivity measures, reducing variability or worst root degradation by 39% to 57% relative to the strongest baseline for each. Under a canonical root versus farthest root intervention the predicted class reverses on 9.13 ± 0.16% of Tox21 molecules for Tree+Cycle, against 9.72 ± 0.54% for Tree-Pos and 11.17 ± 1.09% for sinusoidal.
The invariance is partial rather than complete, and we report the full gradient. Mismatch by ring count for Tree+Cycle, Tree-Pos and sinusoidal is 1.83 / 1.57 / 3.37% at zero rings, 10.11 / 5.71 / 12.65% at one, 13.37 / 14.08 / 13.35% at two, and 17.02 / 19.09 / 20.71% at three or more. Tree-Pos is better at zero and one ring, clearly so at one. Tree+Cycle separates only at three rings and above, which is where Corollary 3 predicts the benefit should appear, and 9.13% of Tox21 decisions still change under rerooting. That is where we would ask the improvement to be judged.