potentialpaper

TopoScanPE: Topological Positional Encodings for Brain Network Transformers

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Brain regions can have similar functional connectivity strengths while playing different roles within the connectome. To capture these differences, we introduce TopoScanPE, a positional encoding that represents each region of interest (ROI) through the topology of its local neighborhood. For every ROI we extract its local neighborhood from a sparse connectivity graph and apply TopoScan (Uddin et al., 2026), a sliding-window filtration over complementary geometric node functions that summarizes each slice by the topology of its clique complex. A shared encoder maps the resulting TopoScan (Uddin et al., 2026) sequences into a fixed-width code that is concatenated to the ROI token. Experiments on ABIDE and ADNI show that TopoScanPE competitive state-of-the-art brain graph transformers and graph neural networks.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
19 Sep 2026ICLR 2027submittedICLR 2027Under reviewforumreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Under review · 3 reviews · OpenReview

Updated 24 Nov 2026, 17:16 UTC.

Reviewer WCKQOpenReview ↗
Rating
2/4
Confidence
4/4
Soundness
1/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

This paper proposes TopoScanPE to represent each ROI through the topology of its local neighborhood, encodes the resulting Topo-Scan sequences, and concatenates them with connectivity profiles in BrainNetTF.

Strengths
  • The ROI-level encoding provides a sensible way to incorporate local topology into attention-based brain network models.
  • Results on ABIDE are encouraging, with improvements over the reported baselines across all four metrics.
Weaknesses
  • The description for some parts of the method is incomplete. The Forman–Ricci node function and heat kernel signature are not explicitly defined. Their formulas, Laplacian convention, and computation within each neighborhood are needed for reproducibility. Distinct quantile values can produce variable-length sequences, whereas the encoder assumes a fixed LL. Please explain how duplicate thresholds, constant functions, and padding are handled.
  • The efficiency analysis is missing. Report the preprocessing cost of ROI-wise topology computation, additional parameters, and training/inference time to substantiate the description of the encoder as lightweight.
Questions for the authors
  • What specific pattern has been captured by the proposed PE? How does it align with existing findings for a specific disease?
  • Does the topology encoding remain beneficial when added to a second transformer backbone?
  • Existing work explicitly explores positional and structural encodings for brain networks [1-3]. Why these works are not included for discussion and comparison?

[1] Brain-JEPA: Brain Dynamics Foundation Model with Gradient Positioning and Spatiotemporal Masking. NeurIPS 2024 [2] Contrasformer: A Brain Network Contrastive Transformer for Neurodegenerative Condition Identification. CIKM 2024 [3] A Brain Graph Foundation Model: Pre-Training and Prompt-Tuning across Broad Atlases and Disorders. ICLR 2026

4 comments
Authors · CommentOpenReview ↗

Response to Reviewer WCKQ (1/4)

Dear Reviewer WCKQ, thank you for the thoughtful review and the questions about interpretation and related work. We added the missing definitions, a cost analysis, an analysis of the patterns the encoding captures and their relation to ASD and AD findings, results on other backbones, and a comparison with Brain-JEPA, Contrasformer and BrainGFM. We hope these additions resolve your remaining doubts and encourage you to reconsider your assessment.

W1. Definitions, duplicate thresholds, constant functions and padding

The description for some parts of the method is incomplete. The Forman–Ricci node function and heat kernel signature are not explicitly defined. Their formulas, Laplacian convention, and computation within each neighborhood are needed for reproducibility. Distinct quantile values can produce variable-length sequences, whereas the encoder assumes a fixed L. Please explain how duplicate thresholds, constant functions, and padding are handled.

Reply: Thank you for pointing this out; these details are indeed needed for reproducibility. We have added the definitions to Appendix A, and Sec. 4.2 and Appendix A now explain the duplicate thresholds and the padding:

All quantities are computed on the induced subgraph Gᵢ = (Vᵢ, Eᵢ) of ROI i's bounded two-hop neighbourhood in the unweighted, symmetrised k-nearest-neighbour graph (k = 8); degrees are taken within Gᵢ.

Forman–Ricci curvature (edge function). We use the combinatorial Forman curvature of an unweighted graph without higher-order cells, F(a, b) = 4 − deg(a) − deg(b) for an edge (a, b) ∈ Eᵢ. Topo-Scan uses F directly on the edges: the thresholds are quantiles of {F(e)} over Eᵢ, and each slice is the subgraph formed by the edges whose curvature falls in the window, together with their endpoints.

Heat kernel signature (node function). We use the symmetric normalised Laplacian of Gᵢ, ℒ = I − D^(−1/2) A D^(−1/2) (rows of vertices without edges equal those of I). With the eigendecomposition ℒ = Σₖ λₖ φₖ φₖᵀ, HKSₜ(v) = Σₖ exp(−t λₖ) φₖ(v)², at t = 1, computed by a full eigendecomposition of each neighbourhood (at most 81 vertices on ABIDE and 37 on ADNI at ρ = 0.4).

Duplicate thresholds and padding. For each filtration function f we take Q = L + m = 22 quantile thresholds of its values (over Eᵢ for Forman–Ricci, over Vᵢ for HKS) and remove duplicates, leaving Q′ ≤ Q distinct thresholds. The windows α_ℓ ≤ f ≤ α_{ℓ+m} give min(Q′ − m, L) slices. Thresholds are never repeated to fill the sequence: the remaining positions are zero columns, (0, 0, 0, 0), so every sequence has length L = 20. Sequences are shorter than L for 7.54% (Forman–Ricci) and 0.26% (HKS) of the ROIs on ABIDE, and for 13.43% and 0.11% on ADNI. We have corrected Eq. (4), which incorrectly implied L = Q − m.

Constant functions. The thresholds are taken from the values of f within each ROI neighbourhood, so f is constant only if it has the same value at every edge (Forman–Ricci) or vertex (HKS) of Gᵢ, e.g. when Gᵢ is a complete graph. This is rare (0.21% of the ROIs on ABIDE, none on ADNI) and needs no separate rule: no threshold is repeated, so all L slices are zero columns. Appendix A now states this.

Authors · CommentOpenReview ↗

Response to Reviewer WCKQ (2/4)

W2. Efficiency

The efficiency analysis is missing. Report the preprocessing cost of ROI-wise topology computation, additional parameters, and training/inference time to substantiate the description of the encoder as lightweight.

Reply: The signature encoder adds 106,960 parameters (2.4% of the model). Topology is computed once per subject before training, in about 3.6 s per subject (about 1 h for all of ABIDE), and cached. Training and inference are therefore faster than with RWSE or LapPE, which are recomputed in every forward pass.

Cost (ABIDE, BrainNetTF backbone, 200 epochs per run, mean over the five splits; all on one NVIDIA RTX PRO 5000 Blackwell GPU)

Encoding Pre-processing (once) Training (min per run) Inference (ms per subject)
RWSE (ALTER's encoding) — (computed in every forward pass) 4.77 1.09
LapPE — (computed in every forward pass) 16.24 4.49
TopoScanPE ≈ 3.6 s per subject (≈ 1 h for 1,009 subjects × 200 ROI neighbourhoods) 4.35 0.40

Q1. Which pattern does the encoding capture, and how does it relate to disease findings?

What specific pattern has been captured by the proposed PE? How does it align with existing findings for a specific disease?

Reply: The encoding describes how each ROI's local functional neighbourhood is organised, not how strongly the ROI is connected. Along the Forman–Ricci order of the edges (from edges between hubs to peripheral edges) and the heat-kernel order of the vertices, Topo-Scan records whether the neighbourhood stays connected or splits (β₀), how many cycles are not filled by triangles (β₁), and the slice sizes. It thus distinguishes an ROI whose neighbours form a tight module from one whose neighbours are loosely connected or split into groups, a local measure of segregation versus integration. On the trained models, the learned code predicts clustering (R² = 0.50), betweenness (0.38) and participation (0.37) far better than RWSE (0.07, 0.17, 0.07), and carries little information about connection strength.

Both disorders are commonly described at this level: autism by an atypical balance between local and long-range functional connectivity (Belmonte et al., 2004; Courchesne & Pierce, 2005), and Alzheimer's disease by reduced local clustering and a loss of small-world organisation (Supekar et al., 2008). On ABIDE, 39 of 200 ROIs have signatures that differ between ASD and controls (FDR q < 0.05), mostly in the somatomotor and subcortical/cerebellar networks. In 29 of them the signature is lower in ASD, i.e. fewer vertices, edges, components and cycles per slice; 10, mostly default-mode ROIs, are higher. Half of the 20 ROIs the trained model relies on most are among these 39 (hypergeometric p = 0.001; new Fig. 6, Appendix D). On ADNI (124 participants) no ROI survives FDR correction, so we draw no disease-level conclusion there. We have added this interpretation to Appendix D (Figs. 5 and 6).

Authors · CommentOpenReview ↗

Response to Reviewer WCKQ (3/4)

Q2. A second transformer backbone

Does the topology encoding remain beneficial when added to a second transformer backbone?

Reply: Yes, for some backbones. We added TopoScanPE, unchanged, to Graphormer, GraphTrans and SAN on ABIDE and ADNI.

Other backbones (test metrics, mean ± std over five splits; base: scores from Table 1; + TopoScanPE: layers and dropout chosen per split on validation loss; Table 3 of the revised paper)

Dataset Backbone Variant AUC ACC SEN SPE
ABIDE Graphormer base (Table 1) 63.91 ± 4.05 61.88 ± 6.85 66.30 ± 9.98 55.74 ± 11.00
+ TopoScanPE 69.81 ± 2.72 64.63 ± 3.78 67.78 ± 5.35 61.27 ± 5.11
GraphTrans base (Table 1) 60.13 ± 6.73 57.83 ± 4.71 65.70 ± 10.30 49.77 ± 11.52
+ TopoScanPE 57.19 ± 4.01 53.79 ± 3.26 44.72 ± 11.96 64.48 ± 8.27
SAN base (Table 1) 71.35 ± 2.18 65.34 ± 2.91 55.41 ± 9.29 68.39 ± 7.50
+ TopoScanPE 61.59 ± 6.49 57.83 ± 5.49 59.02 ± 10.33 57.09 ± 8.50
ADNI Graphormer base (Table 1) 60.69 ± 5.26 55.75 ± 3.18 60.18 ± 11.36 47.75 ± 13.53
+ TopoScanPE 64.36 ± 5.32 62.31 ± 8.57 41.82 ± 12.33 77.33 ± 17.18
GraphTrans base (Table 1) 61.41 ± 3.65 58.60 ± 5.41 65.57 ± 6.05 54.37 ± 3.42
+ TopoScanPE 49.45 ± 10.76 51.54 ± 7.54 25.45 ± 23.98 70.67 ± 24.07
SAN base (Table 1) 66.11 ± 3.41 61.78 ± 4.22 53.94 ± 7.56 63.63 ± 8.51
+ TopoScanPE 61.82 ± 7.84 61.54 ± 7.69 27.27 ± 19.07 86.67 ± 17.38

Against their Table 1 scores, TopoScanPE improves Graphormer on both datasets (AUC +5.90 on ABIDE and +3.67 on ADNI, with higher accuracy). It does not improve GraphTrans (AUC −2.94 on ABIDE, −11.96 on ADNI) or SAN (−9.76 and −4.29), so we describe the transfer to other backbones as partial.

Authors · CommentOpenReview ↗

Response to Reviewer WCKQ (4/4)

Q3. Existing positional and structural encodings for brain networks

Existing work explicitly explores positional and structural encodings for brain networks [1-3]. Why these works are not included for discussion and comparison?

Reply: Thank you for these references; we have added them to the related work. Brain-JEPA (Dong et al., NeurIPS 2024) positions each ROI by its coordinates on population-level connectivity gradients, and Contrasformer (Xu et al., CIKM 2024) adds a learnable ROI identity embedding; both are the same for every subject. BrainGFM (Wei et al., ICLR 2026) uses RWSE as its structural encoding. TopoScanPE is instead computed per subject from the topology of each ROI's own neighbourhood and can be added to an existing backbone. Under the same backbone and protocol, RWSE reaches 79.92 AUC on ABIDE against 81.96 for TopoScanPE. We also trained the three models themselves on our five ABIDE splits and the five ADNI splits, with their published architectures and learning rates (Brain-JEPA and BrainGFM fine-tuned from their released pre-trained checkpoints) and the same model selection as TopoScanPE:

ABIDE; dropout of each baseline chosen per split on validation loss; TopoScanPE as in Table 1 (test metrics, mean ± std)

Model AUC ACC SEN SPE
Brain-JEPA 56.82 ± 2.31 52.81 ± 3.60 55.20 ± 29.78 51.96 ± 26.75
Contrasformer 69.87 ± 2.96 64.24 ± 2.43 71.22 ± 5.35 56.95 ± 10.78
BrainGFM 72.85 ± 2.98 67.68 ± 1.70 63.54 ± 5.41 72.17 ± 5.59
TopoScanPE 81.96 ± 1.04 75.47 ± 0.81 74.99 ± 6.58 76.34 ± 5.58

TopoScanPE has the highest AUC, accuracy, sensitivity and specificity.

ADNI; dropout of each baseline chosen per split on validation loss; TopoScanPE as in Table 1 (test metrics, mean ± std)

Model AUC ACC SEN SPE
Brain-JEPA 51.45 ± 9.69 64.62 ± 8.21 32.73 ± 9.27 88.00 ± 9.80
Contrasformer 65.58 ± 4.75 61.54 ± 8.43 60.00 ± 14.77 62.67 ± 20.04
BrainGFM 63.64 ± 7.79 60.00 ± 10.20 50.91 ± 9.27 66.67 ± 18.38
TopoScanPE 71.15 ± 2.93 72.31 ± 1.72 58.18 ± 13.79 82.67 ± 12.11

On ADNI, TopoScanPE also has the highest AUC and accuracy.

Reviewer dYs2OpenReview ↗
Rating
2/4
Confidence
2/4
Soundness
2/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

This paper introduces TopoScanPE, which applies Topo-Scan to each ROI’s local neighborhood and uses Forman–Ricci curvature and heat kernel signature to generate sequences of Betti numbers and slice sizes. A shared encoder converts these sequences into positional encodings for BrainNetTF. The method performs well on ABIDE and achieves the highest accuracy and specificity on ADNI, although its AUC and sensitivity do not lead.

Strengths
  1. The motivation is clear. Incorporating local topological descriptors into ROI tokens allows structural information to influence attention rather than entering only at the final readout.

  2. The ablations are informative. Comparisons with Random PE, individual filtrations, Betti numbers, slice sizes, and removal of the residual projection provide useful evidence about the components.

  3. The ABIDE results are promising, and some evaluation safeguards are explicit. AUC and ACC improve over BQN by 2.11 and 2.94 percentage points, respectively; epoch selection uses validation loss, and feature-standardization statistics are computed from training subjects only.

Weaknesses
  1. The advantage over conventional positional and structural encodings is not sufficiently established. Since the main contribution adapts existing Topo-Scan to ROI-level input encoding, direct comparisons with LapPE, RWSE, and simple local structural features under the same BrainNetTF and training protocol are important.

  2. The source of the improvement remains insufficiently isolated. On ABIDE, Random PE already reaches 80.07 AUC, numerically above BQN’s 79.85, while sizes-only reaches 81.07 versus 81.96 for the full model; these results motivate controls that separate topology from the additional encoder and residual projection, whose inclusion in the BrainNetTF baseline is unclear.

  3. Hyperparameter selection raises a test-set selection concern, and the ADNI advantage is mixed. Figure 4 closely matches the reported test results, yet Section 5.3 uses the best performance on these curves to justify selecting (\rho=0.4), without documenting an independent validation-based choice. On ADNI, AUC ranks third, while mean balanced accuracy derived from SEN and SPE is approximately 70.43% versus BQN’s 69.46%, so the higher ACC does not establish a clear overall advantage.

  4. The construction of fixed-length topological sequences requires clarification. The node-level Forman–Ricci function and HKS Laplacian are not explicitly defined, and removing duplicate quantile thresholds may produce variable slice counts despite the fixed (L=20).

Questions for the authors
  1. Could the authors compare TopoScanPE with LapPE, RWSE, and simple local structural features under the same BrainNetTF, including matched residual projection and Mixup settings? Please clarify which architectural and training settings are shared with the reported BrainNetTF baseline.

  2. Is Random PE fixed or resampled, and does it pass through the same signature encoder? What are the paired performance differences and uncertainty estimates between the full model, Random PE, and sizes-only?

  3. Were (\rho) and (L) selected without consulting test performance, and which split supplies the curves in Figure 4 and Appendix B? If test results informed selection, please repeat selection using validation data and evaluate on an untouched test set; also clarify whether all methods share the five splits and how any repeated ADNI scans are grouped.

  4. How are node-level Forman–Ricci curvature and HKS defined, including the Laplacian choice? Please explain duplicate thresholds, padding or resampling to a fixed sequence length, and the additional preprocessing and training costs.

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer dYs2 (1/5)

Dear Reviewer dYs2, thank you for the detailed review and the precise questions. We compared TopoScanPE with standard encodings under an identical backbone and protocol, isolated the encoder and the residual projection, re-trained the baselines on our splits so that every comparison is paired, and repeated the selection of ρ on validation data. All runs share the paper's five splits and the protocol below. We hope the new results address your concerns and encourage you to reconsider your assessment.

Protocol shared by every new run (all encodings, ablations and re-trained baselines)

Component Setting used
Splits The same five train/validation/test splits per dataset as in the paper, read from file and never redrawn
Backbone BrainNetTF, with the residual projection XW_res of Eq. (11), for TopoScanPE and every other encoding. The re-trained baselines keep their own architectures: BrainNetTF and ALTER are graph transformers, BQN is a quadratic network without message passing or attention
Encoding size 16 per ROI, concatenated to the FC row
Optimisation Adam, learning rate 10⁻⁴ → 10⁻⁵ (cosine), weight decay 10⁻⁴, batch 16, 200 epochs
Augmentation and loss Mixup; cross-entropy
Model selection Epoch with the lowest validation loss; test metrics reported at that epoch

W1 / Q1. Comparison with LapPE, RWSE and local structural features under the same BrainNetTF

W1. The advantage over conventional positional and structural encodings is not sufficiently established. Since the main contribution adapts existing Topo-Scan to ROI-level input encoding, direct comparisons with LapPE, RWSE, and simple local structural features under the same BrainNetTF and training protocol are important.

Q1. Could the authors compare TopoScanPE with LapPE, RWSE, and simple local structural features under the same BrainNetTF, including matched residual projection and Mixup settings? Please clarify which architectural and training settings are shared with the reported BrainNetTF baseline.

Reply: Thank you for this suggestion; we ran exactly this comparison. All variants share BrainNetTF, the residual projection, Mixup, optimiser, schedule, splits and model selection; only the encoding changes. We compare TopoScanPE with LapPE and RWSE, with LapPE and RWSE passed through the same signature encoder, and with Topo-Scan using simple local statistics (degree, clustering coefficient, triangle count, closeness) as filtration functions. On both datasets TopoScanPE has a higher AUC than LapPE and RWSE, with or without the encoder. The simpler filtrations are lower, except one ADNI pair (Forman–Ricci + clustering coefficient) that matches its AUC with lower accuracy; curvature carries most of the signal.

Authors · CommentOpenReview ↗

Response to Reviewer dYs2 (2/5)

Controlled encoding comparison on ABIDE (test metrics at the lowest-validation-loss epoch, mean ± std over the five splits)

Encoding AUC ACC SEN SPE
TopoScanPE (Forman–Ricci + HKS) 81.96 ± 1.04 75.47 ± 0.81 74.99 ± 6.58 76.34 ± 5.58
LapPE 80.70 ± 1.17 73.79 ± 1.75 76.58 ± 3.00 70.98 ± 3.23
LapPE + signature encoder 79.65 ± 2.14 72.51 ± 2.83 73.08 ± 6.98 72.44 ± 9.26
RWSE (ALTER's encoding) 79.92 ± 1.79 72.32 ± 2.50 72.30 ± 9.08 72.71 ± 6.24
RWSE + signature encoder 79.91 ± 1.70 70.94 ± 1.79 72.73 ± 8.58 69.50 ± 8.32
Forman–Ricci + degree 81.52 ± 1.14 74.68 ± 1.34 74.53 ± 3.61 75.06 ± 4.47
Forman–Ricci + clustering coefficient 80.14 ± 1.62 72.81 ± 3.24 73.98 ± 5.31 71.87 ± 5.36
Forman–Ricci + triangle count 80.58 ± 1.36 73.69 ± 1.01 79.50 ± 6.29 67.73 ± 7.47
Forman–Ricci + closeness 80.89 ± 1.39 73.40 ± 2.82 77.70 ± 7.74 69.25 ± 6.83
FC value (edge) + degree 79.34 ± 3.49 73.40 ± 2.45 77.73 ± 7.14 68.65 ± 4.48
FC value (edge) + clustering coefficient 78.62 ± 2.44 70.74 ± 3.03 69.95 ± 9.47 71.54 ± 7.21
FC value (edge) + triangle count 77.69 ± 4.43 70.64 ± 4.94 74.25 ± 8.48 67.47 ± 13.35
FC value (edge) + closeness 80.58 ± 1.31 74.09 ± 1.99 78.83 ± 5.91 69.48 ± 6.17
FC value (edge) + HKS 80.60 ± 1.26 73.20 ± 2.13 77.70 ± 8.25 68.71 ± 6.12

Controlled encoding comparison on ADNI (test metrics at the lowest-validation-loss epoch, mean ± std over the five splits)

Encoding AUC ACC SEN SPE
TopoScanPE (Forman–Ricci + HKS) 71.15 ± 2.93 72.31 ± 1.72 58.18 ± 13.79 82.67 ± 12.11
LapPE 66.55 ± 3.88 60.00 ± 3.92 30.91 ± 21.97 81.33 ± 21.66
LapPE + signature encoder 69.09 ± 2.92 61.54 ± 3.44 36.36 ± 23.00 80.00 ± 17.89
RWSE (ALTER's encoding) 68.61 ± 3.72 65.38 ± 3.44 38.18 ± 21.05 85.33 ± 11.47
RWSE + signature encoder 64.85 ± 2.99 60.00 ± 3.92 30.91 ± 15.85 81.33 ± 16.55
Forman–Ricci + degree 68.61 ± 5.88 66.15 ± 2.88 40.00 ± 21.97 85.33 ± 11.47
Forman–Ricci + clustering coefficient 72.36 ± 3.38 63.08 ± 1.88 41.82 ± 27.33 78.67 ± 18.09
Forman–Ricci + triangle count 68.00 ± 2.75 63.85 ± 5.76 49.09 ± 27.93 74.67 ± 25.44
Forman–Ricci + closeness 69.21 ± 6.14 67.69 ± 3.92 60.00 ± 21.20 73.33 ± 17.38
FC value (edge) + degree 67.39 ± 4.61 62.31 ± 4.49 25.45 ± 23.98 89.33 ± 12.36
FC value (edge) + clustering coefficient 67.76 ± 3.95 60.00 ± 1.88 21.82 ± 20.41 88.00 ± 12.93
FC value (edge) + triangle count 64.97 ± 4.90 63.08 ± 4.62 43.64 ± 25.32 77.33 ± 14.36
FC value (edge) + closeness 64.12 ± 7.66 63.85 ± 3.92 45.45 ± 32.52 77.33 ± 18.18
FC value (edge) + HKS 67.76 ± 3.92 65.38 ± 8.43 30.91 ± 24.12 90.67 ± 15.55
Authors · CommentOpenReview ↗

Response to Reviewer dYs2 (3/5)

Shared settings. In the submission, the baseline rows of Table 1 were taken from the published results of BQN (Yang et al., 2025), so they did not share our splits, Mixup or residual projection. We have now re-trained BrainNetTF and ALTER with our protocol: on ABIDE they reach 80.44 and 79.67 AUC, against 81.96 for TopoScanPE. ALTER with and without the residual projection reaches 79.92 and 79.67 on ABIDE and 68.61 and 68.73 on ADNI, so the residual projection alone explains little of the gain.

W2 / Q2. Source of the improvement; Random PE and sizes-only

The source of the improvement remains insufficiently isolated. On ABIDE, Random PE already reaches 80.07 AUC, numerically above BQN's 79.85, while sizes-only reaches 81.07 versus 81.96 for the full model; these results motivate controls that separate topology from the additional encoder and residual projection, whose inclusion in the BrainNetTF baseline is unclear.

Q2. Is Random PE fixed or resampled, and does it pass through the same signature encoder? What are the paired performance differences and uncertainty estimates between the full model, Random PE, and sizes-only?

Reply: Random PE is standard Gaussian noise of the same shape as the Topo-Scan signature, drawn once with a fixed seed and kept fixed for training and evaluation. It passes through the same signature encoder and residual projection, so only the topological information is removed. Sizes-only keeps |V| and |E| of every slice and sets β₀ and β₁ to zero.

Same configuration for all three variants (test metrics, mean ± std over the five splits)

Dataset Model AUC ACC SEN SPE
ABIDE Full TopoScanPE 81.96 ± 1.04 75.47 ± 0.81 74.99 ± 6.58 76.34 ± 5.58
Random PE 80.07 ± 1.40 72.22 ± 2.05 69.51 ± 7.23 75.17 ± 3.92
Sizes-only 81.07 ± 1.55 73.89 ± 1.74 73.56 ± 6.09 74.43 ± 5.81
ADNI Full TopoScanPE 71.15 ± 2.93 72.31 ± 1.72 58.18 ± 13.79 82.67 ± 12.11
Random PE 67.39 ± 5.27 63.08 ± 5.83 47.27 ± 21.70 74.67 ± 15.92
Sizes-only 69.09 ± 4.87 66.15 ± 5.01 50.91 ± 33.15 77.33 ± 18.62

As you note, Random PE already exceeds BQN’s published AUC on ABIDE (80.07 vs. 79.85). BQN, however, does not use BrainNetTF: it is a quadratic network without message passing or attention, so this comparison differs in architecture as well as in protocol. The matched reference for Random PE is its own backbone, BrainNetTF, re-trained with our protocol: it reaches 80.44 AUC on ABIDE, Random PE does not improve on it (80.07), and TopoScanPE reaches 81.96. We therefore now report the gain against BrainNetTF and ALTER re-trained with the same protocol (W1).

Reviewer ADszOpenReview ↗
Rating
3/4
Confidence
3/4
Soundness
2/3
Presentation
3/3
Informativeness
2/3
Read review
Summary

This paper proposes TopoScanPE, a topology-based positional encoding for brain network transformers. For each brain region, the method extracts a local neighborhood from the functional connectivity graph and applies Topo-Scan using Forman–Ricci curvature and heat kernel signatures. The resulting topological descriptors are processed by a shared Transformer encoder to generate ROI-level positional encodings, which are incorporated into BrainNetTF for brain disorder classification. Experiments on ABIDE and ADNI compare the method against several baselines, with additional ablation and sensitivity studies.

Strengths
  1. The paper addresses a relevant problem by incorporating local topological structure into ROI-level representations.
  2. The proposed encoding is modular and can be integrated into existing brain network Transformer architectures.
  3. The experiments include a broad set of baselines.
Weaknesses
  1. On ABIDE, the sizes-only simple variant achieves an AUC close to the full model's. The current ablations do not sufficiently disentangle the contributions of topological information, simple structural statistics, and the additional encoding architecture. Comparisons with standard graph positional encodings (e.g., LapPE and RWSE), simpler structural features (like degree、clustering coefficient、triangle count) variant are missing.
  2. The paper does not explicitly define how Forman–Ricci curvature is converted into a node-level function or which curvature formulation is used. Similarly, the HKS computation lacks a precise definition of the graph Laplacian and its normalization. 
  3. Although TopoScanPE achieves higher accuracy and specificity, its sensitivity is substantially lower than BQN , and its AUC is also lower. This trade-off limits the strength of the claimed performance improvements on ADNI.
  4. ADNI contains only 124 subjects, leaving approximately 25 test subjects per split. With only five random splits and no confidence intervals or paired statistical comparisons, the reliability of the reported improvements over strong baselines remains unclear.
  5. Section 5.3 identifies \rho=0.4 as the best setting based on the reported performance curves, but it is unclear whether \rho were selected using validation data independently of the test results. 
  6. The paper provides no visualization or further analysis of the learned PE representations. As a result, it remains unclear whether these encodings capture the structural distinctions between ROIs that motivate the method.
  7. Although the method is claimed as applicable to different brain network transformers, experiments only demonstrate its integration with BrainNetTF. Its effectiveness across other backbones remains unverified.
Questions for the authors
  1. Can the authors provide controlled comparisons with simpler structural positional encodings to better isolate the contribution of Topo-Scan?
  2. Can the authors clarify the exact formulations of the Forman–Ricci and HKS node functions?
  3. Was \rho selected exclusively using validation data, before evaluating test performance?
  4. Can the authors provide paired comparisons or confidence intervals for the improvements over the strongest baselines, particularly on ADNI?
  5. Can the authors provide evidence that the learned positional encodings capture meaningful differences in local brain network topology?
5 comments
Authors · CommentOpenReview ↗

Response to Reviewer ADsz (1/5)

Comment: Dear Reviewer ADsz, thank you for your careful and constructive review. We added controlled comparisons with standard positional encodings and simpler filtrations, baselines re-trained on our splits with confidence intervals and paired tests, a validation-based selection of ρ, and an analysis of the learned encoding. All new runs share the paper's five splits and training protocol (table below). We hope the new evidence resolves your concerns and encourages you to reconsider your assessment.

Protocol shared by every new run (all encodings, ablations and re-trained baselines)

Component Setting used
Splits The same five train/validation/test splits per dataset as in the paper, read from file and never redrawn
Backbone BrainNetTF, with the residual projection XW_res of Eq. (11), for TopoScanPE and every other encoding. The re-trained baselines keep their own architectures: BrainNetTF and ALTER are graph transformers, BQN is a quadratic network without message passing or attention
Encoding size 16 per ROI, concatenated to the FC row
Optimisation Adam, learning rate 10⁻⁴ → 10⁻⁵ (cosine), weight decay 10⁻⁴, batch 16, 200 epochs
Augmentation and loss Mixup; cross-entropy
Model selection Epoch with the lowest validation loss; test metrics reported at that epoch

W1 / Q1. Disentangling topology, simple structural statistics and the encoder

On ABIDE, the sizes-only simple variant achieves an AUC close to the full model's. The current ablations do not sufficiently disentangle the contributions of topological information, simple structural statistics, and the additional encoding architecture. Comparisons with standard graph positional encodings (e.g., LapPE and RWSE), simpler structural features (like degree, clustering coefficient, triangle count) variant are missing.

Q1. Can the authors provide controlled comparisons with simpler structural positional encodings to better isolate the contribution of Topo-Scan?

Reply: Thank you for suggesting these controls; we have added all of them. Each changes only the encoding: (i) LapPE and RWSE; (ii) LapPE and RWSE passed through TopoScanPE's signature encoder, which separates the information in the encoding from the encoder's capacity; and (iii) Topo-Scan with simple local statistics (degree, clustering coefficient, triangle count, closeness) as filtration functions, paired with Forman–Ricci curvature or an FC-value edge filtration. On both datasets TopoScanPE has a higher AUC than LapPE and RWSE, with or without the encoder, so its gain does not come from the encoder. Among the simpler filtrations, pairs that keep Forman–Ricci curvature come closest, and on ADNI one pair (with the clustering coefficient) matches TopoScanPE in AUC but with lower accuracy; curvature therefore carries most of the signal. The sizes-only variant is not a simple structural statistic: |V| and |E| are counted per slice along the curvature and HKS orders, so they are part of the topological scan.

Authors · CommentOpenReview ↗

Response to Reviewer ADsz (2/5)

Controlled encoding comparison on ABIDE (test metrics at the lowest-validation-loss epoch, mean ± std over the five splits)

Encoding AUC ACC SEN SPE
TopoScanPE (Forman–Ricci + HKS) 81.96 ± 1.04 75.47 ± 0.81 74.99 ± 6.58 76.34 ± 5.58
LapPE 80.70 ± 1.17 73.79 ± 1.75 76.58 ± 3.00 70.98 ± 3.23
LapPE + signature encoder 79.65 ± 2.14 72.51 ± 2.83 73.08 ± 6.98 72.44 ± 9.26
RWSE (ALTER's encoding) 79.92 ± 1.79 72.32 ± 2.50 72.30 ± 9.08 72.71 ± 6.24
RWSE + signature encoder 79.91 ± 1.70 70.94 ± 1.79 72.73 ± 8.58 69.50 ± 8.32
Forman–Ricci + degree 81.52 ± 1.14 74.68 ± 1.34 74.53 ± 3.61 75.06 ± 4.47
Forman–Ricci + clustering coefficient 80.14 ± 1.62 72.81 ± 3.24 73.98 ± 5.31 71.87 ± 5.36
Forman–Ricci + triangle count 80.58 ± 1.36 73.69 ± 1.01 79.50 ± 6.29 67.73 ± 7.47
Forman–Ricci + closeness 80.89 ± 1.39 73.40 ± 2.82 77.70 ± 7.74 69.25 ± 6.83
FC value (edge) + degree 79.34 ± 3.49 73.40 ± 2.45 77.73 ± 7.14 68.65 ± 4.48
FC value (edge) + clustering coefficient 78.62 ± 2.44 70.74 ± 3.03 69.95 ± 9.47 71.54 ± 7.21
FC value (edge) + triangle count 77.69 ± 4.43 70.64 ± 4.94 74.25 ± 8.48 67.47 ± 13.35
FC value (edge) + closeness 80.58 ± 1.31 74.09 ± 1.99 78.83 ± 5.91 69.48 ± 6.17
FC value (edge) + HKS 80.60 ± 1.26 73.20 ± 2.13 77.70 ± 8.25 68.71 ± 6.12

Controlled encoding comparison on ADNI (test metrics at the lowest-validation-loss epoch, mean ± std over the five splits)

Encoding AUC ACC SEN SPE
TopoScanPE (Forman–Ricci + HKS) 71.15 ± 2.93 72.31 ± 1.72 58.18 ± 13.79 82.67 ± 12.11
LapPE 66.55 ± 3.88 60.00 ± 3.92 30.91 ± 21.97 81.33 ± 21.66
LapPE + signature encoder 69.09 ± 2.92 61.54 ± 3.44 36.36 ± 23.00 80.00 ± 17.89
RWSE (ALTER's encoding) 68.61 ± 3.72 65.38 ± 3.44 38.18 ± 21.05 85.33 ± 11.47
RWSE + signature encoder 64.85 ± 2.99 60.00 ± 3.92 30.91 ± 15.85 81.33 ± 16.55
Forman–Ricci + degree 68.61 ± 5.88 66.15 ± 2.88 40.00 ± 21.97 85.33 ± 11.47
Forman–Ricci + clustering coefficient 72.36 ± 3.38 63.08 ± 1.88 41.82 ± 27.33 78.67 ± 18.09
Forman–Ricci + triangle count 68.00 ± 2.75 63.85 ± 5.76 49.09 ± 27.93 74.67 ± 25.44
Forman–Ricci + closeness 69.21 ± 6.14 67.69 ± 3.92 60.00 ± 21.20 73.33 ± 17.38
FC value (edge) + degree 67.39 ± 4.61 62.31 ± 4.49 25.45 ± 23.98 89.33 ± 12.36
FC value (edge) + clustering coefficient 67.76 ± 3.95 60.00 ± 1.88 21.82 ± 20.41 88.00 ± 12.93
FC value (edge) + triangle count 64.97 ± 4.90 63.08 ± 4.62 43.64 ± 25.32 77.33 ± 14.36
FC value (edge) + closeness 64.12 ± 7.66 63.85 ± 3.92 45.45 ± 32.52 77.33 ± 18.18
FC value (edge) + HKS 67.76 ± 3.92 65.38 ± 8.43 30.91 ± 24.12 90.67 ± 15.55
Authors · CommentOpenReview ↗

Response to Reviewer ADsz (3/5)

W2 / Q2. Forman–Ricci curvature and HKS Laplacian

The paper does not explicitly define how Forman–Ricci curvature is converted into a node-level function or which curvature formulation is used. Similarly, the HKS computation lacks a precise definition of the graph Laplacian and its normalization.

Reply: Thank you for pointing this out; both definitions were missing. We have added them to Appendix A. Forman–Ricci curvature is not converted to a node function: Topo-Scan scans it as an edge function.

All quantities are computed on the induced subgraph Gᵢ = (Vᵢ, Eᵢ) of ROI i's bounded two-hop neighbourhood in the unweighted, symmetrised k-nearest-neighbour graph (k = 8); degrees are taken within Gᵢ.

Forman–Ricci curvature (edge function). We use the combinatorial Forman curvature of an unweighted graph without higher-order cells, F(a, b) = 4 − deg(a) − deg(b) for an edge (a, b) ∈ Eᵢ. Topo-Scan uses F directly on the edges: the thresholds are quantiles of {F(e)} over Eᵢ, and each slice is the subgraph formed by the edges whose curvature falls in the window, together with their endpoints.

Heat kernel signature (node function). We use the symmetric normalised Laplacian of Gᵢ, ℒ = I − D^(−1/2) A D^(−1/2) (rows of vertices without edges equal those of I). With the eigendecomposition ℒ = Σₖ λₖ φₖ φₖᵀ, HKSₜ(v) = Σₖ exp(−t λₖ) φₖ(v)², at t = 1, computed by a full eigendecomposition of each neighbourhood (at most 81 vertices on ABIDE and 37 on ADNI at ρ = 0.4).

W3. ADNI: lower sensitivity and AUC than BQN

Although TopoScanPE achieves higher accuracy and specificity, its sensitivity is substantially lower than BQN, and its AUC is also lower. This trade-off limits the strength of the claimed performance improvements on ADNI.

Reply: We agree and have revised the ADNI claims. In Table 1, TopoScanPE ranks third in AUC (71.15 vs. 74.18 for BQN and 71.86 for ALTER), and its higher accuracy comes from higher specificity. Because ACC, SEN and SPE depend on the 0.5 threshold and on the class balance (53 AD, 71 CN), Sec. 5.2 now also reports balanced accuracy (the mean of SEN and SPE): 70.43% for TopoScanPE vs. 69.46% for BQN, which we do not consider a meaningful difference. With the baselines re-trained on our splits (W4), TopoScanPE has the highest sensitivity (58.18 vs. 23.64 for BQN) and balanced accuracy (70.43 vs. 53.82). Choosing the threshold on the 12 validation participants per split instead of 0.5 is unstable and lowers balanced accuracy for every model, so we keep 0.5. Sec. 5.2 now states that on ADNI TopoScanPE is competitive with the strongest baselines, and that the clear improvement is on ABIDE.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Revised PDF uploaded

We thank all reviewers for their careful reviews and constructive suggestions. We have uploaded a revised version of the paper, with all changes marked in blue. The main updates are:

  • Table 1: added Brain-JEPA, Contrasformer and BrainGFM as baselines.
  • Table 2 (ablation): added LapPE and RWSE, each used directly and passed through our signature encoder.
  • Table 3 (new): TopoScanPE added to other graph transformers (Graphormer, GraphTrans, SAN).
  • Sec. 4.2 and Appendix A: definitions of Forman–Ricci curvature and the heat kernel signature, and the handling of duplicate thresholds, padding and constant functions.
  • Sec. 5.2: revised ADNI claims and balanced accuracy.
  • Sec. 5.3 and Appendix F: selection of ρ on validation loss; Fig. 4 and the L sweeps (Appendix I) are now labelled as test performance.
  • Appendix C: alternative filtration functions.
  • Appendix D: analysis of the learned encoding (R², t-SNE and ROI importance, Figs. 5–6).
  • Appendix E: ADNI baselines re-trained on our splits, with paired DeLong tests.
  • Appendix G: computational cost.
  • Related work: brain-specific positional encodings (Brain-JEPA, Contrasformer, BrainGFM).

We hope the revision addresses your concerns.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…

This paper is under review