potentialpaper

Test-Time Graph Recalibration: Enhancing Robust Zero-Shot Inference for Graph Foundation Models

Chunchun Chen, Zhen Luo, Xing Wei, Yuxing Zhang, Xiaofeng Cao, Rui Fan, Ambuj Singh, Wei Ye

NeurIPS 2026

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.

TL;DR. TRACE detects and repairs adversarial graph connections at test time, improving zero-shot prediction without retraining the graph foundation model.

Abstract. This work investigates robust graph learning within graph foundation models. Prior studies primarily rely on data-centric structural purification or adversarial augmentation during training to achieve robustness. However, in practical zero-shot inference, such methods remain vulnerable to unseen adversarial structures because of static defenses and prohibitive retraining costs. We propose Test-time gRaph recAlibration for enhancing robust zero-shot inferenCE (TRACE). TRACE selectively learns a structural anti-attack directly on noisy graphs during inference, neutralizing adversarial perturbations while preserving clean-graph performance. Specifically, TRACE introduces a non-parametric diagnostic metric based on smoothed spectral entropy to quantify structural-semantic misalignment induced by adversarial attacks, providing an adaptive recalibration trigger. Furthermore, a uniformity-guided objective leverages semantic anchors from pretrained text encoders to guide the distorted graph back to the clean manifold. To ensure efficiency for sparse graph encoders, a first-order gradient-based edge-flipping strategy reconstructs the optimal graph structure directly in the discrete domain. Extensive experiments across benchmark datasets and graph attacks demonstrate TRACE's superiority over state-of-the-art baselines.

From the authors: Chunchun Chen · edit · also an author?

Nothing yet.

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
2 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper proposes a test-time defense framework for graph foundation models in zero-shot settings. It consists of a perturbation detection mechanism that triggers graph recalibration to restore the model's expected performance. The reviewers generally recognize the importance of the problem and the originality of the proposed perspective. However, several important issues need to be addressed:

  • Apparent inconsistency in the sign convention and edge-flipping rule identified by the reviewers. Because this mechanism is central to TRACE, the rebuttal should clarify the intended rule and provide a consistent derivation establishing that the optimization operates as expected. The authors should also double-check the implementation and reported results to ensure that they are unaffected by this inconsistency.
  • Apparent mismatch between the fixed entropy threshold and the entropy values reported for some clean datasets, including its implications for how often recalibration is triggered on clean samples.
  • Concerns regarding the applicability of the entropy-based detection mechanism to heterophilous graphs. In particular, they should provide a convincing explanation of whether the mechanism can reliably identify adversarial perturbations in such graphs, and reconcile this with the homophily assumption underlying the diagnostic.
  • Concerns regarding whether an attacker aware of TRACE could circumvent the detection or recalibration mechanism and clarify how this affects the main paper claims.
  • Two claims appear insufficiently substantiated by empirical evidence: the claim regarding the practical efficiency of TRACE and the claim that TRACE is model-agnostic. The authors should either provide focused evidence supporting these claims or appropriately qualify them.
  • Finally, the authors should also address Reviewer LHW1's concern regarding the lack of comparisons with relevant defense or purification baselines.
Final justification

I have carefully read the reviews and the authors' response. The rebuttal has satisfactorily addressed the main concerns raised, with no further questions emerging from the subsequent discussion with the reviewers. The reviewers' final assessments are now consistently positive. For these reasons, I recommend acceptance.

Area Chair KM3x · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper proposes a test-time defense framework for graph foundation models in zero-shot settings. It consists of a perturbation detection mechanism that triggers graph recalibration to restore the model's expected performance. The reviewers generally recognize the importance of the problem and the originality of the proposed perspective. However, several important issues need to be addressed:

  • Apparent inconsistency in the sign convention and edge-flipping rule identified by the reviewers. Because this mechanism is central to TRACE, the rebuttal should clarify the intended rule and provide a consistent derivation establishing that the optimization operates as expected. The authors should also double-check the implementation and reported results to ensure that they are unaffected by this inconsistency.
  • Apparent mismatch between the fixed entropy threshold and the entropy values reported for some clean datasets, including its implications for how often recalibration is triggered on clean samples.
  • Concerns regarding the applicability of the entropy-based detection mechanism to heterophilous graphs. In particular, they should provide a convincing explanation of whether the mechanism can reliably identify adversarial perturbations in such graphs, and reconcile this with the homophily assumption underlying the diagnostic.
  • Concerns regarding whether an attacker aware of TRACE could circumvent the detection or recalibration mechanism and clarify how this affects the main paper claims.
  • Two claims appear insufficiently substantiated by empirical evidence: the claim regarding the practical efficiency of TRACE and the claim that TRACE is model-agnostic. The authors should either provide focused evidence supporting these claims or appropriately qualify them.
  • Finally, the authors should also address Reviewer LHW1's concern regarding the lack of comparisons with relevant defense or purification baselines.
Final justification

I have carefully read the reviews and the authors' response. The rebuttal has satisfactorily addressed the main concerns raised, with no further questions emerging from the subsequent discussion with the reviewers. The reviewers' final assessments are now consistently positive. For these reasons, I recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

Clarification of Meta-Review Concerns and Reviewer Feedback

Dear Area Chair,

Thank you for summarizing the reviewers’ concerns in the meta-review. We would like to clarify how each point raised in the meta-review corresponds to the reviewers’ comments and what has been addressed during the discussion.

1. Edge-flipping sign convention and implementation

This concern corresponds to Reviewer Twwt’s Q3, Reviewer GoeK’s W2, and Reviewer phFy’s W1. We clarified that the inconsistency was a writing error in Eq. (6) and Algorithm 1. The implemented rule is consistent with Eq. (8) and the released code: non-edges with highly positive scores are inserted, while existing edges with highly negative scores are removed. We also verified that the implementation and reported results remain unchanged.

Reviewer phFy explicitly acknowledged that the response addressed this concern and subsequently raised the score. Reviewer Twwt noted that most concerns had been addressed while maintaining the original positive assessment.

2. Entropy threshold and clean-sample triggering

This issue corresponds to Reviewer LHW1’s W3 and Q1, and Reviewer Twwt’s Q1. We reported the clean trigger rate, clean accuracy before and after recalibration, and additional detection statistics including AUROC, precision, recall, clean FPR, and attack FNR.

These analyses show that clean heterophilous or structurally complex graphs may also exceed the fixed threshold. Accordingly, we clarified that the entropy trigger identifies structurally irregular ego-graphs that may benefit from recalibration, rather than serving as a perfect binary attack detector. Reviewer Twwt noted that most concerns had been addressed overall.

3. Applicability to heterophilous graphs

This concern corresponds to Reviewer LHW1’s W4 and Q1, Reviewer Twwt’s Q1, and Reviewer phFy’s W3. We acknowledged that spectral entropy cannot uniquely distinguish natural heterophily from adversarial perturbations. We further provided results on heterophilous datasets and additional analyses controlling for low-homophily neighborhoods.

The results show that natural heterophily can lead to high trigger rates, while adversarial perturbations further increase entropy and remain distinguishable to some extent. We will clearly state this point and avoid claiming that TRACE perfectly identifies adversarial edges. Reviewer phFy explicitly considered this concern addressed, and Reviewer Twwt noted that most concerns had been addressed overall.

4. Adaptive or TRACE-aware attackers

This issue corresponds to Reviewer LHW1’s W2 and Q3, and Reviewer Twwt’s Q2. We clarified that the reported PGD and PRBCD attacks are transferable, non-adaptive attacks generated using a clean-trained GCN surrogate without access to TRACE.

We agree that a TRACE-aware adaptive attack is an important direction. Since such an evaluation has not been conducted, we will not claim robustness against unrestricted adaptive attackers and will explicitly describe the evaluated threat model and discuss this limitation in the revised manuscript. Reviewer Twwt indicated that most concerns had been addressed overall.

5. Practical efficiency

This concern corresponds to Reviewer LHW1’s W6 and Q2, and Reviewer phFy’s W5. We added runtime measurements for SVD and the anti-attack optimization over ten iterations and reported the corresponding per-ego-graph costs. These results quantify the actual test-time overhead.

Reviewer phFy acknowledged that the efficiency concern had been addressed and subsequently raised the score.

6. Model-agnosticity

This issue corresponds to Reviewer Twwt’s W3 and Reviewer phFy’s W4. We added experiments using DCGFM as an additional backbone under the same datasets and attack settings. TRACE consistently improves the performance of DCGFM, providing evidence that the method generalizes beyond GraphCLIP. Reviewer phFy explicitly considered this concern addressed and Reviewer Twwt noted that most concerns had been addressed overall.

7. Defense and purification baselines

This concern corresponds to Reviewer LHW1’s W1. We added DiffSP and GPR-GAE under the same datasets and attack settings. TRACE achieves stronger or more stable performance than these defense and purification baselines while preserving clean accuracy.

As no follow-up comment has been posted by Reviewer LHW1, we hope that the Area Chair will take these additional results into account during the final deliberation.

We will incorporate all clarifications, additional experiments, claim revisions, and limitations into the revised manuscript. Thank you again for your careful consideration.

Best regards,

The Authors

Reviewer phFyOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/4
Clarity
2/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper looks at how to make graph foundation models more robust against structural attacks at test time without retraining. The proposed method, TRACE, first uses a spectral entropy measure to flag suspicious ego‑graphs, then edits the graph by flipping edges based on gradient signals and semantic guidance from a frozen text encoder. Experiments on text‑attributed graph datasets show that TRACE outperforms several zero‑shot baselines under PGD and PRBCD attacks. The paper also includes ablation and sensitivity studies.

Strengths and weaknesses

Pros

  1. The problem is practical since retraining large models when attack patterns change is expensive, so focusing on test‑time robustness makes sense.
  2. The three‑step design (diagnosis, semantic guidance, structural editing) is easy to follow. Figure 2 is very helpful for visualising the whole pipeline.
  3. Framing defense as graph editing during inference, rather than retraining, is an interesting angle. Using frozen encoders is also appealing from an operational standpoint.

Cons

  1. There is a clear sign inconsistency between Equation (6) and Equation (8) regarding edge flips. One says a positive score means removing an existing edge, while the other says the opposite. This isn't a minor typo. The whole method relies on ranking and direction, so if the sign logic is wrong, the optimization could go the wrong way. The authors need to provide a consistent derivation and update the algorithm accordingly.
  2. Theorem 1 doesn't really prove much new. It essentially rewrites part of Equation (5) into a negative InfoNCE form. It's an okay observation, but calling it a theorem feels like a stretch.
  3. The entropy trigger assumes homophily (clean graphs have similar neighbours), but the paper also claims strong performance on heterophilous datasets.
  4. The conclusion claims the framework is model‑agnostic, but all experiments are done with just one backbone (GraphCLIP).
  5. The method is repeatedly said to be practical and efficient, yet the paper provides no runtime, memory, or latency comparisons. This is a notable gap because TRACE does per‑sample SVD, multiple backprop steps, and edge ranking/editing at test time, which can be costly.
Questions

Please address the weakness part.

Limitations

The authors do acknowledge some limitations. However, they should discuss more explicitly:

  1. the dependence of the entropy trigger on structural-semantic assumptions that may fail on heterophilous graphs,
  2. the lack of evidence for backbone generalization despite model-agnostic claims,
  3. the practical test-time cost of iterative recalibration, and

So, not fully yes.

Final justification

Authors' reply has addressed my concerns about some flaws and the experimental results.

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

[W1: Sign Problem]

Thank you for raising this issue. The edge-flipping rule used in our implementation follows Eq. (8): inserting non-edges with highly positive scores and dropping existing edges with highly negative scores. We have corrected the misleading descriptions in Eq. (6) and Algorithm 1 and verified, by inspecting lines 168-183 of the released code at TRACE-CB3B/utils/anti_attack.py, that the implementation and reported results remain unchanged.

[W2: Theorem 1]

Thank you for this suggestion. We agree that this part only establishes an equivalence between the semantic component of Eq. (5) and a negative InfoNCE objective, rather than a new theory. To avoid overstating its contribution, we will rename Theorem 1 as Proposition 1 and replace formally prove with establish the equivalence.

[W3: Heterophilous Datasets]

Thanks for your concern. In this paper, the entropy trigger does not assume clean graphs are homophilous. Instead, spectral entropy measures dispersion in local structural-feature signals. High entropy indicates local neighborhood inconsistency that may arise from adversarial edge perturbations or natural heterophily. Thus, TRACE does not interpret every high-entropy ego-graph as adversarial; it identifies ego-graphs that may benefit from test-time structural recalibration. Heterophilous graphs are therefore a challenging scenario for TRACE because their natural structural-feature irregularities may reduce graph foundation model reliability.

Moreover, the performance improvements on heterophilous datasets in Table 2 of the manuscript provide empirical evidence that TRACE remains effective amid natural heterophily. We will clarify this distinction and discuss the trigger's dependence on structural-feature assumptions in the revised manuscript.

[W4: Backbone Generalizability]

Thank you for this comment. To examine whether TRACE generalizes beyond GraphCLIP, we conducted additional experiments using DCGFM [1] as a second backbone under the same datasets, attack settings, and evaluation protocol. The results are summarized below:

Data Method Clean PGD 10% PGD 20% PGD 30% PGD 40% PRBCD 10% PRBCD 20% PRBCD 30% PRBCD 40% AVG
Cora DCGFM 63.8±1.9 61.0±1.5 58.5±1.0 57.5±1.4 56.5±1.0 57.5±1.3 54.2±1.4 52.0±0.5 50.7±1.3 56.9
+TRACE 64.1±2.1 61.3±2.1 58.8±0.6 58.1±1.2 57.1±1.2 58.9±1.0 55.6±0.9 53.7±0.4 52.1±1.3 57.7
CiteSeer DCGFM 64.0±1.7 60.5±1.5 57.7±1.6 55.5±0.6 54.3±1.6 55.8±1.1 51.7±0.9 49.4±1.2 48.0±2.0 55.3
+TRACE 64.4±1.6 60.6±1.5 57.8±1.3 56.5±0.4 56.6±1.3 56.3±1.2 54.4±1.0 52.3±1.7 51.2±2.2 56.7
History DCGFM 46.0±0.5 44.4±0.4 44.0±0.4 43.5±0.2 42.8±0.7 35.2±0.7 32.5±0.7 31.1±0.7 30.2±0.5 38.9
+TRACE 46.4±0.5 45.3±0.4 45.1±0.4 45.0±0.3 44.3±0.7 36.2±0.7 33.5±0.5 31.8±0.6 31.0±0.6 39.8

TRACE consistently improves the performance of DCGFM. These results provide evidence that TRACE can be applied to different graph foundation model backbones.

[1] Li, Yuhan, et al. "Advancing graph foundation models: A data-centric perspective." KDD2025.

[W5: Efficiency Evaluation]

Thank you for the suggestion. We have added a runtime experiment for the main test-time components of TRACE. All reported total times correspond to 10 iterations, and the per-ego-graph times are also accumulated over these 10 iterations.

Dataset Component Total Time per Ego Graph
Cora SVD 24.66s 45.50ms
Anti-Attack Optimization 118.45s 218.54ms
CiteSeer SVD 11.55s 18.10ms
Anti-Attack Optimization 70.63s 110.71ms
History SVD 43.51s 5.24ms
Anti-Attack Optimization 252.02s 30.32ms

Thus, although TRACE introduces test-time computation, the complete recalibration of each ego graph requires only milliseconds for 10 iterations, whereas retraining a graph foundation model generally requires several hours on eight A100(40G)-class GPUs to complete.

[W6: Limitations]

Thank you for pointing this out. We have addressed these limitations in our responses to W3, W4, and W5.

Thank you again for appreciating our work and for your constructive suggestions. Please let us know if you have further questions.

Reviewer phFy · CommentOpenReview ↗

The authors' reply has addressed my concerns. I would like to raise my score.

Authors · CommentOpenReview ↗

Thank you for your constructive feedback and support

Dear Reviewer phFy,

Thank you for your thoughtful follow-up and for indicating your intention to raise the score after considering our rebuttal. We are grateful that our clarifications and additional experiments have addressed your concerns.

TRACE proposes a test-time graph recalibration framework for robust zero-shot inference with graph foundation models. By combining spectral-entropy-based structural diagnosis, semantic guidance from a frozen text encoder, and gradient-based edge flipping, TRACE adapts noisy graph structures during inference without retraining the foundation model.

Following your suggestions, we clarified and corrected the edge-flipping sign convention in Eq. (6) and Algorithm 1, renamed Theorem 1 as Proposition 1, and explained why the entropy trigger remains effective on the evaluated heterophilous graphs. We also added experiments with DCGFM, showing that TRACE consistently improves robustness beyond GraphCLIP, and added runtime measurements quantifying the cost of test-time recalibration.

We will incorporate these corrections, additional results, and scope clarifications into the revised manuscript. We sincerely appreciate your feedback, careful evaluation, and willingness to update your score. Thank you again for helping us improve the paper.

Best regards,

Authors

Reviewer GoeKOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper presents TRACE, an inference-time defense framework. It first adopts smoothed spectral entropy to detect structure-semantic mismatches in ego-graphs. Once anomalies are found, it recalibrates perturbed graphs via edge flipping guided by text semantic anchors, to restore graphs to the clean manifold. It provides extensive empirical evidence that the method achieves state-of-the-art robustness across diverse datasets and attack types.

Strengths and weaknesses

Strength

  1. The experiments cover a comprehensive range of settings. The authors conduct evaluations on mainstream datasets including Cora, CiteSeer, WikiCS, History and Children, and further adopt heterophilous graph datasets such as Texas, Cornell, Washington, Wisconsin and Actor. Two typical structural attacks, PGD and PRBCD, are adopted with multiple perturbation rates configured. Extensive ablation studies are also performed to validate the effectiveness of key components, namely spectral entropy, semantic anchor and uniformity guidance.
  2. The proposed methods shows clear novelty and motivation Boasting solid motivation and innovation, this work shifts defense from training to test time for zero-shot graph foundation models, avoiding the high cost of model retraining. It detects adversarial ego-graphs with smoothed spectral entropy and recalibrates graph structures under semantic guidance from pre-trained text encoders. The design is well consistent with the model’s zero-shot characteristics.
  3. Integration of large language models This work effectively combines language models and text encoders for robust graph inference. It leverages textual semantics instead of pure topology to recalibrate graphs at test time. Texts act as semantic anchors matching the zero-shot property of graph foundation models. The introduced cross-modal prior also differentiates this method from conventional defenses relying on structural rules or adversarial training.

Weakness

  1. No detailed parameter settings of ego graph construction Critical parameters for ego-graph sampling are missing. This makes the work hard to reproduce and undermines the scalability evaluation, as subgraph size largely determines computational overhead. Sensitivity analysis on sampling settings is needed to strengthen experiments and verify performance on large graphs.
  2. Inconsistency between the algorithmic description and the theoretical justification A critical limitation is the sign inconsistency of edge-flipping rules between algorithm description and Taylor-based theoretical analysis. Given standard settings ΔAij=+1\Delta A_{ij}=+1 for edge addition and ΔAij=−1\Delta A_{ij}=-1 for edge deletion, the proposed edge manipulation strategy contradicts theoretical objective maximization. This conflict harms model interpretability and mismatches theory and code implementation. The authors are required to unify sign conventions, correct explanations and add supplementary implementation details.
  3. Lack of LLM sensitivity analysis For more comprehensive experiments, it is suggested to compare different large language models including DeepSeek, GPT, Qwen and LLaMA. Alternatively, evaluations on generated descriptions of varying quality and quantity are also necessary. The results should cover the stability of zero-shot accuracy, robust accuracy, semantic anchor distribution and recalibration success rate.
Questions
  1. Could the authors supplement detailed parameter settings for RWR-based localized ego-graph sampling? Moreover, why is the sensitivity analysis of sampling hyperparameters and ego-graph size omitted?
  2. Only DeepSeek-V4-Pro is employed for text generation, and LLM sensitivity analysis has not been performed. Could you elaborate on this choice?
Limitations
  1. No detailed parameter settings of ego graph construction Critical parameters for ego-graph sampling are missing. This makes the work hard to reproduce and undermines the scalability evaluation, as subgraph size largely determines computational overhead. Sensitivity analysis on sampling settings is needed to strengthen experiments and verify performance on large graphs.
  2. Inconsistency between the algorithmic description and the theoretical justification A critical limitation is the sign inconsistency of edge-flipping rules between algorithm description and Taylor-based theoretical analysis. Given standard settings ΔAij=+1\Delta A_{ij}=+1 for edge addition and ΔAij=−1\Delta A_{ij}=-1 for edge deletion, the proposed edge manipulation strategy contradicts theoretical objective maximization. This conflict harms model interpretability and mismatches theory and code implementation. The authors are required to unify sign conventions, correct explanations and add supplementary implementation details.
  3. Lack of LLM sensitivity analysis For more comprehensive experiments, it is suggested to compare different large language models including DeepSeek, GPT, Qwen and LLaMA. Alternatively, evaluations on generated descriptions of varying quality and quantity are also necessary. The results should cover the stability of zero-shot accuracy, robust accuracy, semantic anchor distribution and recalibration success rate.
Final justification

Thank you for the response. I have no further questions and keep the positive score.

Formatting concerns

NA

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

[W1&Q1: Ego-Graph Sampling]

Thank you for your comments. We use the default ego-graph sampling parameters provided by GraphCLIP [1] (github.com/ZhuYun97/GraphCLIP/blob/main/gen_target_subg.sh). Specifically, kk-hop sampling constructs an ego-graph by including nodes reachable from the target node within kk hops. Random-walk sampling constructs an ego-graph from the nodes visited by a random walk starting at the target node, where the number of walk steps controls the sampled neighborhood size.

We further conduct a sensitivity analysis by varying these sampling parameters. For CiteSeer, we vary the order kk of the kk-hop sampling, while for History, we vary the number of random-walk steps. The results are reported below.

Data Sampling Clean PRBCD40% PRBCD40%+Anti Improve
CiteSeer k=2 65.5±1.5 45.4±2.1 53.2±2.1 +8.1
k=3 65.7±1.5 48.2±1.6 56.8±1.7 +8.8
k=4 65.5±1.5 52.4±1.5 57.2±1.8 +5.2
history walk steps=16 53.0±0.5 35.0±0.9 37.4±0.8 +2.4
walk steps=32 52.3±0.5 32.6±0.6 37.9±0.8 +5.3
walk steps=64 51.6±0.3 29.2±0.7 37.5±0.9 +8.4

An important observation is that the sampling parameters noticeably affect the performance of GraphCLIP without TRACE, particularly under PRBCD attacks. In contrast, the robust accuracy after applying TRACE is more stable across different kk-hop and random-walk sampling settings. Although the magnitude of improvement varies, TRACE consistently improves performance under all tested configurations. These results suggest that TRACE reduces the sensitivity of test-time robustness to the specific ego-graph construction parameters.

[1] Zhu, Yun, et al. "GraphCLIP: Enhancing Transferability in Graph Foundation Models for Text-Attributed Graphs." WWW2025.

[W2: Sign Problem]

Thank you for raising this point. This inconsistency results from a writing error in the descriptions of Eq. (6) and Algorithm 1. The true rule is consistent with Eq. (8) and our code implementation: inserting non-edges with highly positive scores and dropping existing edges with highly negative scores. We have revised Eq. (6) and Algorithm 1 accordingly. We also verified, using our released code in the Abstract, lines 163-183 of TRACE-CB3B/utils/anti_attack.py, that neither the implementation nor the reported results have changed.

[W3&Q2: LLM Sensitivity Analysis]

We thank you for raising this concern. We selected DeepSeek-V4-Pro as the default LLM because of its strong instruction-following capability and reliable long-form generation. To evaluate the sensitivity of TRACE to the choice of LLM, we regenerated the fine-grained descriptions using GPT-5.6-Luna and Qwen3.7-Max.

Data LLM Clean+Anti PRBCD10%+Anti PRBCD20%+Anti PRBCD30%+Anti PRBCD40%+Anti
Cora GPT-5.6-Luna 66.4±1.7 63.1±1.5 59.5±1.9 58.3±1.5 56.9±1.5
Qwen3.7-Max 66.4±1.5 62.9±1.3 59.6±2.0 58.1±1.4 56.7±1.6
DeepSeek-V4-Pro 66.4±2.2 62.7±1.8 59.6±2.1 58.0±1.5 56.6±1.8
CiteSeer GPT-5.6-Luna 66.3±1.5 60.5±0.9 59.1±1.4 57.5±2.0 56.4±1.4
Qwen3.7-Max 66.2±1.1 60.9±0.5 59.6±1.4 57.9±2.0 57.1±1.9
DeepSeek-V4-Pro 66.4±1.6 61.0±1.0 59.4±1.4 57.8±1.6 56.9±1.6

The results show that both clean and robust accuracy remain stable across the evaluated LLMs under different attack strengths. This indicates that the performance of TRACE is not strongly dependent on a particular LLM. We will include this sensitivity analysis in the revised manuscript.

In light of these responses, we hope we have addressed your concerns. If there are any additional notable points of concern that we have not yet addressed, please do not hesitate to share them, and we will promptly attend to those points.

Authors · CommentOpenReview ↗

Further Analysis for W3: Semantic Anchor Distribution & Recalibration Success Rate

[Further Analysis for W3: Semantic Anchor Distribution & Recalibration Success Rate]

Thank you for this suggestion. We added experiments using DeepSeek-V4-Pro, GPT-5.6-Luna, and Qwen3.7-Max.

Semantic Anchor Distribution. Each class contains 100 anchors. Intra-class Distance is the average pairwise cosine distance between same-class anchors; larger values indicate greater within-class semantic diversity. Inter-class Centroid Distance is the cosine distance between class-level anchor centroids; larger values indicate stronger class separation. Effective Rank measures anchor-embedding dimensional diversity; larger values indicate occupancy of more independent directions. Token Mean and Token P95 denote mean and 95th-percentile description lengths measured with the MiniLM tokenizer.

Dataset LLM Intra-class Distance Inter-class Centroid Distance Effective Rank Token Mean Token P95
Cora DeepSeek-V4-Pro 0.5412 0.5700 255.84 28.03 33
Cora GPT-5.6-Luna 0.4979 0.5675 246.82 28.89 35
Cora Qwen3.7-Max 0.5629 0.5460 253.63 28.14 34
CiteSeer DeepSeek-V4-Pro 0.5820 0.5007 254.52 22.37 27
CiteSeer GPT-5.6-Luna 0.4910 0.4938 243.33 24.40 29
CiteSeer Qwen3.7-Max 0.5693 0.5419 251.07 21.88 28

The three LLMs yield different yet broadly comparable semantic distributions. Effective ranks remain high, ranging from 243.33 to 255.84, indicating that the anchor sets do not collapse into a few directions. Moderate variation in intra-class and inter-class distances reflects semantic organization differences but causes no substantial downstream instability.

Recalibration Success Rate. Trigger Rate is the fraction of ego-graphs whose spectral entropy exceeds the fixed threshold τ=0.7\tau=0.7. Success Rate is the fraction of triggered samples misclassified before recalibration and correctly classified afterward, among all triggered samples misclassified before recalibration. Pre Acc. is the accuracy before Anti-Attack, Post Acc. the accuracy after Anti-Attack, and Δ\DeltaAcc. equals Post Acc. - Pre Acc.

Cora & LLM PRBCD Success Rate Trigger Rate Pre Acc. Post Acc. ΔAcc.
DeepSeek-V4-Pro 10% 15.10±1.12% 98.63±0.22% 60.00±1.41% 63.06±1.62% +3.06±0.48%
DeepSeek-V4-Pro 20% 14.28±2.55% 99.30±0.07% 56.72±2.53% 59.59±1.67% +2.88±1.53%
DeepSeek-V4-Pro 30% 15.82±1.72% 99.56±0.30% 54.58±1.73% 58.34±1.36% +3.76±1.53%
DeepSeek-V4-Pro 40% 14.38±1.02% 98.97±0.50% 53.25±2.08% 56.90±1.18% +3.65±0.93%
GPT-5.6-Luna 10% 15.40±1.67% 98.63±0.22% 60.00±1.41% 62.77±1.26% +2.77±0.73%
GPT-5.6-Luna 20% 12.83±2.39% 99.30±0.07% 56.72±2.53% 58.93±1.96% +2.21±1.47%
GPT-5.6-Luna 30% 15.18±1.57% 99.56±0.30% 54.58±1.73% 58.41±1.47% +3.84±0.83%
GPT-5.6-Luna 40% 13.81±1.02% 98.97±0.50% 53.25±2.08% 56.72±1.31% +3.47±1.46%
Qwen3.7-Max 10% 15.10±1.90% 98.63±0.22% 60.00±1.41% 62.69±1.33% +2.69±0.69%
Qwen3.7-Max 20% 13.85±2.60% 99.30±0.07% 56.72±2.53% 59.52±2.19% +2.80±1.52%
Qwen3.7-Max 30% 15.41±1.68% 99.56±0.30% 54.58±1.73% 58.75±1.46% +4.17±0.89%
Qwen3.7-Max 40% 14.39±0.59% 98.97±0.50% 53.25±2.08% 56.42±1.45% +3.17±1.07%

CiteSeer + LLM PRBCD Success Rate Trigger Rate Pre Acc. Post Acc. ΔAcc.
DeepSeek-V4-Pro 10% 15.02±1.11% 87.21±1.46% 56.77±1.41% 60.78±0.80% +4.01±0.80%
DeepSeek-V4-Pro 20% 19.95±2.30% 94.26±1.12% 52.45±1.10% 59.50±1.37% +7.05±1.04%
DeepSeek-V4-Pro 30% 20.49±1.88% 96.39±0.46% 49.62±2.20% 57.84±1.68% +8.21±1.35%
DeepSeek-V4-Pro 40% 21.02±0.43% 97.02±0.66% 48.24±1.62% 57.05±1.63% +8.81±0.23%
GPT-5.6-Luna 10% 15.10±1.49% 87.21±1.46% 56.77±1.41% 60.72±0.83% +3.95±0.70%
GPT-5.6-Luna 20% 19.83±1.84% 94.26±1.12% 52.45±1.10% 59.37±1.34% +6.93±0.72%
GPT-5.6-Luna 30% 19.92±2.06% 96.39±0.46% 49.62±2.20% 57.62±1.98% +7.99±1.34%
GPT-5.6-Luna 40% 20.46±0.76% 97.02±0.66% 48.24±1.62% 56.83±1.88% +8.59±0.64%
Qwen3.7-Max 10% 15.18±1.86% 87.21±1.46% 56.77±1.41% 61.03±0.55% +4.26±0.90%
Qwen3.7-Max 20% 19.88±1.63% 94.26±1.12% 52.45±1.10% 59.53±1.30% +7.08±0.65%
Qwen3.7-Max 30% 20.52±2.22% 96.39±0.46% 49.62±2.20% 57.93±1.95% +8.31±1.27%
Qwen3.7-Max 40% 20.15±0.95% 97.02±0.66% 48.24±1.62% 56.99±1.94% +8.75±0.52%

The results show moderate variation in semantic anchor statistics across LLMs, while recalibration consistently improves attacked accuracy for all evaluated LLMs and attack ratios. Thus, the observed robustness gains are not specific to one description generator. We will add these metric definitions and results to the revised manuscript.

Authors · CommentOpenReview ↗

A Friendly Reminder to Review Our Responses

Dear Reviewer GoeK,

Thank you again for your careful evaluation and constructive suggestions. We would like to gently follow up on our rebuttal and subsequent analyses.

We have addressed your concerns point by point. Specifically, we clarified the default RWR and kk-hop sampling settings and added sensitivity experiments; corrected the edge-flipping sign convention in Eq. (6) and Algorithm 1 while verifying that the implementation and results remain unchanged; and evaluated LLM sensitivity using DeepSeek-V4-Pro, GPT-5.6-Luna, and Qwen3.7-Max. We further analyzed semantic anchor distributions and recalibration success rates, showing that TRACE remains effective across the evaluated LLMs.

When convenient, we would be grateful if you could review our responses and let us know whether any concerns remain unclear or insufficiently addressed. If you find these clarifications satisfactory, we would sincerely appreciate your consideration of updating your assessment.

Thank you again for your time and thoughtful feedback.

Best regards,
Authors

Authors · CommentOpenReview ↗

Brief Follow-Up on Our Additional Analyses

Dear Reviewer GoeK,

We apologize for following up once more. As the discussion period is approaching its conclusion, we would be grateful if you could briefly let us know whether any concern remains unresolved after our additional analyses.

In particular, we added ego-graph sampling sensitivity experiments, corrected the edge-flipping description and verified the implementation, and evaluated LLM sensitivity together with semantic-anchor distributions and recalibration success rates.

We fully understand the time constraints and sincerely appreciate any brief feedback you may be able to provide.

Thank you again for your time and careful consideration.

Best regards,
The Authors

Reviewer TwwtOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes TRACE, a training-free test-time recalibration framework for robust zero-shot inference on graph foundation models under adversarial structural perturbations. TRACE detects perturbed ego-graphs via a smoothed spectral entropy metric, then recalibrates them by optimizing graph embeddings toward LLM-generated semantic anchors through a uniformity-guided objective and gradient-based edge flipping, all without retraining the backbone. Experiments on multiple text-attributed graph benchmarks under PGD and PRBCD attacks show consistent improvements over GraphCLIP and other graph foundation model baselines.

Strengths and weaknesses

Pros

  • The paper addresses an important problem, which is robustness of graph foundation models in zero-shot inference settings.
  • The idea of uniformity-guided objective is interesting and natural for text-attributed graphs.
  • The experiments are fair and comprehensive. The results are promising and impressive.

Cons

  • In terms of clarity, some terminology is informal, such as “anti-attack,” “clean manifold,” and “real uniform distribution on a hypersphere.” These concepts are intuitive, and the paper would benefit from more precise definitions.
  • The reliance on LLM-generated fine-grained descriptions needs more careful validation. The method assumes that these generated descriptions form useful and approximately uniform semantic anchors, but the paper should better justify why this is robust across datasets and labels. It raises concerns about whether prompt generation introduces label noise or accidental semantic leakage. An ablation comparing LLM-generated anchors against simpler alternatives, such as label prompts only, random paraphrases, or class-description templates, would help clarify the concern.
  • TRACE is evaluated mainly as a recalibration wrapper around GraphCLIP-style encoders, while the paper describes the approach as model-agnostic. Generalizability across diverse backbones remains to be validated, and additional backbone experiments would make the method’s generality much more convincing.
Questions
  • The paper argues that attacks increase spectral entropy, but heterophilous graphs naturally contain structural-semantic disagreement. Please report detection metrics such as AUROC, precision/recall, false positive rate on clean graphs, and false negative rate. These would answer whether the trigger is genuinely detecting attacks rather than simply identifying heterophily or high graph complexity.
  • The current attacks seem to test standard PGD and PRBCD perturbations, but an attacker aware of TRACE could potentially optimize perturbations that preserve spectral entropy. For example, the attacker could optimize the post-TRACE prediction or constrain perturbations to maintain entropy below the threshold. Is TRACE still robust to adaptive or defense-aware attacks?
  • The text appears to give different sign interpretations for edge insertion/deletion in different parts of the method section, could authors provide the exact implemented rule and align the derivation accordingly?
Limitations

Yes

Formatting concerns

No

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

[W1: Terminology]

Thank you for the suggestion. We will add precise definitions of "anti-attack", "clean manifold", and "real uniform distribution on a hypersphere" to the section titled Preliminaries & Problem Definition.

[W2: LLM-Generated Descriptions]

Thank you for this comment. We clarify that the purpose of generating fine-grained descriptions is not merely to paraphrase class labels, but to construct multiple semantically meaningful anchors that capture intra-class variation and provide a diverse, approximately balanced distribution in the text-embedding space. In contrast, label-only prompts typically represent isolated points and provide limited information about intra-class semantics. Random paraphrases may introduce lexical variation without adding meaningful semantic attributes, while fixed templates impose a similar structure across classes without sufficiently capturing class-specific details.

The generated descriptions are used only to construct frozen semantic anchors and do not provide additional supervision or access to test-node information. To evaluate the contribution of these descriptions, we compare them with label-only prompts, random paraphrases, and class-description templates under the same backbone, attack settings, and recalibration procedure.

Data Method Fine-grained descriptions Label prompts only Random paraphrase Class-description template
Cora PRBCD40% 53.3±2.1 53.3±2.1 53.3±2.1 53.3±2.1
PRBCD40%+Anti 56.6±1.8 54.8±1.2 54.6±1.5 55.6 ± 1.7
Improve +3.3 +1.5 +1.3 +2.3
CiteSeer PRBCD40% 48.2±1.6 48.2±1.6 48.2±1.6 48.2±1.6
PRBCD40%+Anti 56.9±1.7 52.8±1.5 50.2±1.8 54.9 ± 1.5
Improve +8.7 +4.6 +2.0 +6.7

The results show that fine-grained descriptions consistently provide the strongest robust accuracy and the largest improvement over the attacked baseline on both datasets. Simpler alternatives provide smaller gains, indicating that the benefit does not arise merely from adding textual inputs or lexical variation, but from constructing semantically informative and diverse anchors. We will include this ablation and clarify that the generated descriptions provide an approximately balanced semantic-anchor distribution rather than claiming strict uniformity.

[W3: Backbone Generalizability]

Thank you for this concern. To examine whether TRACE generalizes beyond GraphCLIP, we conducted additional experiments using DCGFM [1] as a second backbone under the same datasets, attack settings, and evaluation protocol. The results are summarized below.

Data Method Clean PGD 10% PGD 20% PGD 30% PGD 40% PRBCD 10% PRBCD 20% PRBCD 30% PRBCD 40% AVG
Cora DCGFM 63.8±1.9 61.0±1.5 58.5±1.0 57.5±1.4 56.5±1.0 57.5±1.3 54.2±1.4 52.0±0.5 50.7±1.3 56.9
+TRACE 64.1±2.1 61.3±2.1 58.8±0.6 58.1±1.2 57.1±1.2 58.9±1.0 55.6±0.9 53.7±0.4 52.1±1.3 57.7
CiteSeer DCGFM 64.0±1.7 60.5±1.5 57.7±1.6 55.5±0.6 54.3±1.6 55.8±1.1 51.7±0.9 49.4±1.2 48.0±2.0 55.3
+TRACE 64.4±1.6 60.6±1.5 57.8±1.3 56.5±0.4 56.6±1.3 56.3±1.2 54.4±1.0 52.3±1.7 51.2±2.2 56.7
History DCGFM 46.0±0.5 44.4±0.4 44.0±0.4 43.5±0.2 42.8±0.7 35.2±0.7 32.5±0.7 31.1±0.7 30.2±0.5 38.9
+TRACE 46.4±0.5 45.3±0.4 45.1±0.4 45.0±0.3 44.3±0.7 36.2±0.7 33.5±0.5 31.8±0.6 31.0±0.6 39.8

TRACE consistently improves the performance of DCGFM. These results provide evidence that TRACE can be applied to different graph foundation model backbones.

[1] Li, Yuhan, et al. "Advancing graph foundation models: A data-centric perspective." KDD2025.

Q1: Spectral Entropy Trigger

Thank you for raising this concern. We clarify that TRACE does not use spectral entropy to determine whether an irregularity is caused by an adversarial attack or inherent heterophily. Both factors can increase entropy by producing local structural-semantic inconsistency. Instead, the entropy trigger identifies ego-graphs that may benefit from test-time recalibration. Thus, TRACE should be viewed as a structural recalibration method rather than a binary attack detector.

To examine whether adversarial perturbations further increase the trigger rate, we compare clean ego-graphs with ego-graphs attacked by PRBCD at a perturbation rate of 40%, using the fixed threshold τ=0.7\tau=0.7. The results are averaged over five seeds.

Dataset Clean Trigger Rate PRBCD40% Trigger Rate Difference
CiteSeer 59.3±0.8 97.0±0.7 +37.7
History 76.3±0.4 99.8±0.1 +23.6

Although natural heterophily already leads to relatively high trigger rates on clean graphs, adversarial perturbations substantially increase the probability of triggering recalibration. These results show that spectral entropy captures both natural and adversarial structural-semantic inconsistency, while remaining sensitive to additional adversarial perturbations. We will clarify this interpretation and avoid presenting the entropy trigger as a perfect attack detector.

[Q2: Attack and Defense Settings]

Thank you for raising this concern. We clarify that the PGD and PRBCD attacks are generated using a clean-trained GCN as the surrogate model, without access to GraphCLIP or TRACE. Therefore, the attacks are unaware of the existence of TRACE.

Conversely, TRACE is attack-agnostic: it does not observe or require knowledge of the specific attack type. It recalibrates an input graph based only on its structural signals and the frozen model. Thus, our experiments evaluate TRACE against transferable, non-adaptive structural attacks. We will clarify this point in the revised manuscript.

[Q3: Edge-Flipping Rule]

Thanks for your question. The different sign interpretations result from a writing error in the descriptions of Eq. (6). The true rule is consistent with Eq. (8) (inserting non-edges with highly positive scores and dropping existing edges with highly negative scores) and the code implementation in the Abstract (in lines 168-183 TRACE-CB3B/utils/anti_attack.py ).

Thanks again for appreciating our work and for your constructive suggestions. Please let us know if you have further questions.

Authors · CommentOpenReview ↗

Additional Clarifications and Analyses

[Further Analysis for Q1: Spectral Entropy Trigger]

Thank you for this concern. We agree that high spectral entropy can stem from either adversarial attacks or natural structural heterophily. Thus, TRACE does not classify every high-entropy ego-graph as adversarial; instead, entropy serves as an indicator of local structural-semantic irregularity to trigger test-time recalibration.

To quantify attack-discrimination performance, we pair each clean ego-graph with its PRBCD-perturbed counterpart for the same test root node, treating clean and attacked graphs as negative and positive samples, respectively, with spectral entropy as the detection score. We fix τ=0.7\tau=0.7 without dataset-specific calibration and report results over five seeds.

Dataset PRBCD Ratio Clean Entropy Attacked Entropy AUROC Precision Recall Clean FPR Attack FNR
CiteSeer 10% 0.602±0.007 0.750±0.005 0.712±0.012 59.5±0.5% 87.2±1.5% 59.3±0.8% 12.8±1.5%
CiteSeer 20% 0.602±0.007 0.796±0.004 0.843±0.005 61.4±0.4% 94.3±1.1% 59.3±0.8% 5.7±1.1%
History 10% 0.690±0.002 0.793±0.001 0.758±0.004 55.8±0.1% 96.3±0.2% 76.3±0.4% 3.7±0.2%
History 20% 0.690±0.002 0.813±0.000 0.846±0.002 56.5±0.1% 99.1±0.1% 76.3±0.4% 0.9±0.1%

The Clean False Positive Rate (FPR) measures the proportion of clean ego-graphs with entropy exceeding τ=0.7\tau=0.7, while the Attack False Negative Rate (FNR) measures the proportion of attacked ego-graphs remaining untriggered. Clean FPR reaches 59.3% on CiteSeer and 76.3% on History, confirming that natural heterophily or structural complexity also induces high entropy. In contrast, Attack FNR decreases from 12.8% to 5.7% on CiteSeer and 3.7% to 0.9% on History under increasing perturbations. Thus, the trigger misses few attacked ego-graphs under strong perturbations, though it is not a precise binary attack detector.

To control for natural heterophily, we stratify samples using clean root 1-hop homophily. Results for the low-homophily group (h1−hop<1/3h_{\mathrm{1-hop}}<1/3) appear below.

Dataset PRBCD Ratio Clean Entropy Attacked Entropy Entropy Increase AUROC
CiteSeer 10% 0.572±0.017 0.674±0.017 0.101±0.007 0.639±0.010
CiteSeer 20% 0.572±0.017 0.742±0.017 0.170±0.021 0.766±0.016
History 10% 0.713±0.005 0.786±0.002 0.073±0.004 0.682±0.006
History 20% 0.713±0.005 0.809±0.001 0.096±0.004 0.774±0.006

Even in low-homophily neighborhoods, PRBCD causes an additional entropy increase. Here, an AUROC of 0.5 represents random guessing, while the observed AUROC indicates the probability that an attacked ego-graph scores higher in entropy than a clean one within the same low-homophily group. As the perturbation ratio increases from 10% to 20%, the AUROC rises from 0.639 to 0.766 on CiteSeer and from 0.682 to 0.774 on History. These results show that spectral entropy maintains attack-discrimination ability after controlling for natural heterophily, with stronger perturbations yielding clearer separation.

Reviewer Twwt · CommentOpenReview ↗

Thanks for the additional experiments and clarification. Most of my concerns have been addressed. I will maintain my original score.

Authors · CommentOpenReview ↗

Response to Reviewer Twwt's Follow-up Feedback

Dear Reviewer Twwt,

Thank you for reviewing our additional experiments and clarifications. We appreciate your acknowledgment that most concerns have been addressed and respect your decision to maintain the original score.

We clarified that spectral entropy indicates local structural-semantic irregularity rather than serving as a binary attack detector. Our additional analyses report AUROC, precision, recall, clean FPR, and attack FNR while controlling for natural heterophily in low-homophily neighborhoods. These results show that adversarial perturbations further increase entropy and that the trigger retains attack-discrimination ability, while natural heterophily can produce high trigger rates. We further clarified the threat model and acknowledged TRACE-aware adaptive attacks as an important direction for future work.

We will incorporate these clarifications, analyses, and scope limitations into the revised manuscript. Thank you again for your careful evaluation and feedback.

Best regards,

Authors

Reviewer LHW1OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper targets robustness of graph foundation models for text attributed graphs under adversarial structural perturbations at inference time. The authors argue training time defenses fail in zero shot settings because they are static and retraining is costly. They propose TRACE, a training free inference time framework with three parts. First, a label free diagnostic based on normalized smoothed spectral entropy: it normalizes the adjacency, applies one Laplacian smoothing step, runs SVD on the smoothed features and treats high spectral entropy as an adversarial signal that triggers recalibration above a threshold. Second, a uniformity guided objective that pulls the purified ego graph toward its class text anchor and away from a pool of LLM generated class descriptions, reduced to an InfoNCE form. Third, a first order edge flipping step that scores edges with an input feature gradient surrogate, avoiding dense adjacency relaxation so it stays compatible with sparse encoders. Experiments use a GraphCLIP backbone on ten datasets under PGD and PRBCD attacks, with different ablations, sensitivity studies and plots.

Strengths and weaknesses

The problem is well motivated and broadly relevant: achieving training free, inference time robustness for graph foundation models in a realistic zero shot setting. The spectral entropy trigger is clean and label free and Figure 3 supports it well, showing a monotonic rise in entropy together with a collapse in variance under attack. The feature gradient surrogate is a sensible response to a real difficulty, namely that sparse encoders cannot backpropagate through absent edges and it keeps the cost roughly linear in the features. The empirical scope is broad, spanning ten datasets, two attacks, ablations and error bars and the overall style and presentation are clear.

However, no defense or purification baseline is included: every competitor is an undefended foundation model or a plain self supervised encoder, so the comparison reduces to TRACE on GraphCLIP versus a bare GraphCLIP. No real defense is ever run, despite several inference time ones being cited. The evaluation also appears nonadaptive: the paper never says whether the attacks are aware of the recalibration or which surrogate produces them,and since TRACE optimizes the graph at inference, the gains may reflect gradient masking rather than genuine robustness: perhaps a little more insight into this might help understand the experimental setup better.The trigger is internally inconsistent with the authors own numbers: the threshold is fixed at 0.7, but clean mean entropy is about 0.799 on Cora and 0.801 on WikiCS, so under a single global threshold most clean graphs there would be recalibrated, which sits uneasily with the claim that clean samples are spared. It is also unclear whether the diagnostic can reliably separate natural heterophily from attack, since both seem likely to flatten the spectrum and raise entropy. On the low homophily datasets in Table 2 clean graphs may already sit at high entropy and with the attack and rate unspecified, it is hard to tell whether the gains come from removing adversarial edges or just from rewiring heterophilous structure. Many gains fall within the reported variance. Finally, efficiency is a core motivation but no measured runtime is reported, only an asymptotic complexity analysis, despite an iterative ten step optimization with terms quadratic in ego graph size and the LLM anchors are a possible confound since the baselines never receive that richer text.

Questions
  • How is the entropy threshold selected in a truly unlabeled deployment setting and what is the false positive rate on clean but naturally heterophilous graphs?
  • Beyond the asymptotic complexity, what is the measured runtime per ego graph, split into SVD, text embedding generation and edge flipping, versus a single forward pass on the larger graphs?
  • How would TRACE perform against an adaptive attacker aware of the entropy trigger and the recalibration objective, rather than the defense unaware attacks used here?
  • The prompts are documented, but how sensitive is performance to prompt design and text encoder choice?
Limitations

yes

Final justification

The authors have addressed my concerns. The additional experiments and revisions have improved the quality of the work and strengthened the experimental validation. For this reason, I am increasing my quality score and, consequently, my overall rating from 3 to 4.

Formatting concerns
  • Table 5 misaligns class labels: rows under Military start with belongs to Americas, and rows under Russia start with belongs to Military. - - - - Notation is inconsistent: the hat graph means the purified graph in the text but the adversarial graph in Table 4.
  • Figure 1 misspells the anti attack label ("anttack")
5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

[W1: Baselines]

Thanks for your comment. We agree that the evaluation did not include comparisons with defense or purification methods. We have added DiffSP [1] and GPR-GAE [2], evaluated under the same settings.

As shown in the Table, TRACE consistently achieves the strongest performance under two attacks. It maintains clean accuracy comparable to or higher than the undefended GraphCLIP baseline and provides more stable robustness as the perturbation rate increases. The improvements are particularly clear under PRBCD, while DiffSP and GPR-GAE do not consistently improve over GraphCLIP. These results provide a more direct comparison with existing test-time defense and purification methods. We will include DiffSP and GPR-GAE in the revised manuscript

Dataset Method Clean PGD10% PGD20% PGD30% PGD40% PRBCD10% PRBCD20% PRBCD30% PRBCD40%
Cora GraphCLIP 66.2±2.0 63.6±1.3 61.3±1.9 59.6±1.8 59.3±1.4 60.0±1.4 56.7±2.5 54.6±1.7 53.3±2.1
+DiffSP[1] 63.8±1.6 62.4±1.6 60.4±1.5 59.5±1.9 58.9±1.0 59.7±0.7 56.3±2.2 54.9±1.4 53.6±1.9
+GPR-GAE[2] 57.6±1.5 57.0±1.2 56.7±1.4 57.3±1.6 56.9±1.0 53.8±0.9 52.1±0.7 51.4±1.0 49.5±1.1
+Ours 66.4±2.2 64.8±1.5 61.9±1.4 61.1±1.6 60.1±1.5 62.7±1.8 59.6±2.1 58.0±1.5 56.6±1.8
CiteSeer GraphCLIP 65.7±1.5 61.0±0.9 58.9±1.3 56.2±1.2 55.6±1.8 56.8±1.4 52.5±1.1 49.6±2.2 48.2±1.6
+DiffSP[1] 65.0±1.6 59.8±1.2 58.4±0.7 57.0±1.3 56.2±1.9 56.6±1.1 53.2±1.3 51.9±1.2 50.6±0.4
+GPR-GAE[2] 50.6±1.5 50.8±0.7 50.4±0.5 51.0±2.0 50.9±1.5 50.5±1.0 48.4±0.6 48.8±1.1 48.4±0.9
+Ours 66.4±1.6 63.6±1.2 61.8±1.7 61.4±1.6 60.1±1.2 61.0±1.0 59.4±1.4 57.8±1.6 56.9±1.6

[1] Luo, Jiayi, et al. "Robust graph learning against adversarial evasion attacks via prior-free diffusion-based structure purification." WWW2025.

[2] Lee, Woohyun, and Hogun Park. "Self-supervised Adversarial Purification for Graph Neural Networks." ICML2025.

[W2&Q3: Attack & Defense Settings]

Thank you for raising this concern. We clarify that the PGD and PRBCD attacks are generated using a clean-trained GCN as the surrogate model, without access to TRACE. Therefore, the attacks are unaware of the existence of TRACE.

Conversely, TRACE is attack-agnostic: it does not observe or require knowledge of the specific attack type. It recalibrates an input graph based only on its structural signals and the frozen model. Thus, our experiments evaluate TRACE against transferable, non-adaptive structural attacks. We will clarify this point in the revised manuscript.

[W3&Q1: Entropy Threshold]

We appreciate this observation. We clarify that even in clean homophilous graphs, many ego-graphs may contain nodes from other classes, resulting in entropy above 0.70.7 and leaving room for further refinement. During testing, we cannot know whether an ego-graph is clean, so recalibration is triggered solely when its entropy exceeds the threshold. In zero-shot inference, the test set may contain only one ego-graph, making dataset-specific threshold estimation impractical. Figure 4 (b) shows that τ=0.7\tau=0.7 performs well across different attack ratios, while Tables 1 and 2 show consistent improvements across datasets with varying homophily levels.

We further quantify the effect of the entropy trigger on clean data. The results are reported below, including the trigger rate and the clean accuracy before and after recalibration.

Data Seed Trigger rate Clean acc. before Clean acc. after Δ\DeltaAcc.
Cora 0 88.56% 66.42 66.42 +0.00
1 90.41% 69.74 70.30 +0.55
2 91.51% 65.13 65.31 +0.18
CiteSeer 0 58.31% 68.50 68.81 +0.31
1 60.50% 65.52 66.46 +0.94
2 59.56% 65.67 67.24 +1.57

Although the trigger is activated for a fraction of clean ego-graphs, recalibration does not decrease clean accuracy for any seed. Clean accuracy remains unchanged or improves after recalibration, indicating that the fixed threshold does not introduce a measurable performance penalty.

[W4: Heterophilous Graphs]

Thank you for this concern. We agree that spectral entropy cannot uniquely distinguish natural heterophily from adversarial perturbations. Heterophilous graphs naturally contain mixed and dissimilar neighborhoods, so their ego-graphs may exhibit high entropy and reduce the reliability of graph foundation model inference even without attacks. TRACE is therefore intended to recalibrate structurally irregular ego-graphs, rather than serve as a perfect attack detector or assume that every modified edge is adversarial. The improvements on heterophilous datasets in Table 2 of the manuscript demonstrate that TRACE can correct structural irregularities under both natural heterophily and adversarial perturbations. We will clarify that these gains should not be interpreted as uniquely removing adversarial edges, and will explicitly discuss this limitation in the revised manuscript.

[W5: Reported Variance]

Thank you for the concern about "Many gains fall within the reported variance". We clarify that, in the zero-shot setting, we follow the evaluation protocol in [1]: for each seed, all baselines are evaluated on the same randomly sampled 20% subset of the dataset. Because the models are not retrained across seeds, the observed variation primarily reflects differences in the sampled subsets rather than instability in model training. The following table shows the results on two heterophilous graphs. Our method improves over GraphCLIP for every seed.

Dataset Method Seed 0 Seed 1 Seed 2 Seed 3 Seed 4 Mean ± Std
Cornell GraphCLIP 20.51 17.95 12.82 12.82 12.82 15.38 ± 3.24
Ours 23.08 25.64 15.38 15.38 15.38 18.97 ± 4.47
Wisconsin GraphCLIP 11.32 13.21 11.32 11.32 9.43 11.32 ± 1.19
Ours 22.64 22.64 33.96 26.42 26.42 26.42 ± 4.13

[1] Zhu, Yun, et al. "GraphCLIP: Enhancing Transferability in Graph Foundation Models for Text-Attributed Graphs." WWW2025.

[W6&Q2: Runtime]

Thank you for the suggestion. We have added runtime analysis for the main components of TRACE. All reported total times correspond to 10 iterations, and the per-ego-graph times are also accumulated over these 10 iterations.

Dataset Component Total Time Per Ego Graph
Cora SVD 24.66s 45.50ms
Anti-Attack Optimization 118.45s 218.54ms
CiteSeer SVD 11.55s 18.10ms
Anti-Attack Optimization 70.63s 110.71ms
History SVD 43.51s 5.24ms
Anti-Attack Optimization 252.02s 30.32ms

Thus, although TRACE introduces test-time computation, the complete recalibration of each ego graph requires only milliseconds for 10 iterations, whereas retraining a graph foundation model requires several hours on eight A100(40G)-class GPUs to complete.

[Q4: Prompt and Text Encoder Sensitivity]

Thanks for your question. Text encoder sensitivity cannot be evaluated under the fixed pretrained GraphCLIP checkpoint. The text encoder is part of the jointly pretrained graph-text model, and replacing it changes the shared embedding space. Therefore, a different text encoder would require retraining the GraphCLIP backbone, which is beyond our zero-shot test-time setting. We thus evaluate prompt sensitivity while keeping the pretrained text encoder fixed.

We evaluate five prompt templates for each dataset. Following Tables reports the results for each individual template. The results show limited prompt sensitivity. Importantly, the overall robustness trend remains consistent across prompt templates.

Cora Prompt Clean Clean+Anti PGD 40% PGD40%+Anti PRBCD40% PRBCD40%+Anti
this paper has a topic on {c} Ours 66.2±1.9 66.4±2.0 59.3±1.4 60.1±1.5 53.3±2.1 56.6±1.8
this paper is about {c} 66.5±2.0 66.8±1.8 59.0±1.5 60.6±1.1 54.1±1.6 57.6±1.7
a research paper in the field of {c} 66.3±2.0 66.6±1.8 59.2±0.7 60.9±1.1 53.4±1.5 57.1±1.3
the topic of this paper is {c} 66.5±1.7 66.7±1.9 59.3±0.9 60.7±0.6 53.6±1.4 57.3±1.7
{c} research paper 66.1±1.7 66.2±1.6 59.7±0.8 60.3±1.1 53.1±1.5 57.0±0.9

CiteSeer Prompt Clean Clean+Anti PGD40% PGD40%+Anti PRBCD40% PRBCD40%+Anti
good paper of {c} Ours 65.7±2.0 66.4±2.2 55.6±1.8 60.1±1.2 48.2±1.6 56.9±1.6
this paper belongs to the {c} 65.2±1.6 65.7±1.3 54.6±0.5 59.2±0.8 47.2±1.4 55.2±1.2
a scientific paper about {c} 66.9±1.6 67.2±1.4 55.8±2.3 61.4±1.2 48.5±0.7 56.2±1.1
this is a {c} research paper 65.7±2.0 66.4±1.5 53.9±1.0 59.9±0.9 47.2±0.6 55.7±1.0
{c} paper 66.8±0.9 67.1±0.7 54.9±0.9 60.8±0.6 48.7±0.8 56.0±1.0

[Typos]

Thank you for carefully checking the manuscript. We identified these as presentation errors and will correct them in the revision. Specifically, we will realign the class labels in Table 5, use G~\widetilde{G} consistently for the adversarial graph and G^\widehat{G} for the purified graph, and correct “anttack” to “anti-attack” in Figure 1.

We sincerely appreciate your insightful suggestions. If there are any unaddressed concerns, please do not hesitate to let us know.

Authors · CommentOpenReview ↗

Comment-to-Response Mapping

To facilitate correspondence between the reviewer’s comments and our responses, we map each response to the relevant comment using the labels W1-W6 and Q1-Q4.

[W1: Baselines]

refers to: "However, no defense or purification baseline is included: every competitor is an undefended foundation model or a plain self-supervised encoder, so the comparison reduces to TRACE on GraphCLIP versus a bare GraphCLIP. No real defense is ever run, despite several inference-time ones being cited."

[W2: Attack & Defense Settings]

refers to: "The evaluation also appears nonadaptive: the paper never says whether the attacks are aware of the recalibration or which surrogate produces them,"

[W3: Entropy Threshold]

refers to: "The trigger is internally inconsistent with the authors' own numbers: the threshold is fixed at 0.7, but clean mean entropy is about 0.799 on Cora and 0.801 on WikiCS, so under a single global threshold most clean graphs there would be recalibrated, which sits uneasily with the claim that clean samples are spared."

[W4: Heterophilous Graphs]

refers to: "It is also unclear whether the diagnostic can reliably separate natural heterophily from attack, since both seem likely to flatten the spectrum and raise entropy. On the low homophily datasets in Table 2, clean graphs may already sit at high entropy, and with the attack rate unspecified, it is hard to tell whether the gains come from removing adversarial edges or just from rewiring heterophilous structure."

[W5: Reported Variance]

refers to: "Many gains fall within the reported variance."

[W6: Runtime]

refers to: "Finally, efficiency is a core motivation, but no measured runtime is reported, only an asymptotic complexity analysis, despite an iterative ten-step optimization with terms quadratic in ego graph size"

[Q1: Entropy Threshold]

refers to: "How is the entropy threshold selected in a truly unlabeled deployment setting, and what is the false positive rate on clean but naturally heterophilous graphs?"

[Q2: Runtime]

refers to: "Beyond the asymptotic complexity, what is the measured runtime per ego graph, split into SVD, text embedding generation, and edge flipping, versus a single forward pass on the larger graphs?"

[Q3: Attack & Defense Settings]

refers to: "How would TRACE perform against an adaptive attacker aware of the entropy trigger and the recalibration objective, rather than the defense-unaware attacks used here?"

[Q4: Prompt and Text Encoder Sensitivity]

refers to: "The prompts are documented, but how sensitive is performance to prompt design and text encoder choice?"

Authors · CommentOpenReview ↗

Additional Clarifications and Analyses

We further clarify W4 & Q3 and separately disentangle two related concerns implicit in the review.

[Restate W4: Heterophilous Graphs]

Thanks for this concern. We agree that spectral entropy cannot distinguish natural heterophily from adversarial attacks. Clean heterophilous datasets naturally stress-test TRACE because their graph structures and features are misaligned. Thus, we evaluate whether TRACE handles naturally irregular ego-graphs, not whether it identifies adversarial edges.

TRACE recalibrates structurally irregular ego-graphs toward a more structurally and semantically consistent state using frozen semantic anchors. Table 2 shows TRACE improves performance on the evaluated heterophilous datasets, indicating its ability to handle naturally misaligned graph structures. We will clarify that these results do not show TRACE removes adversarial edges and discuss this point in the revised manuscript.

[Restate Q3: Attack & Defense Settings]

Thanks for this question. We clarify that gradient-based edge flipping in TRACE is not used to maximize classification loss, as in PGD-style attacks. Instead, it optimizes a recalibration objective that moves the perturbed graph toward a cleaner distribution, guided by semantic anchors from the frozen text encoder. Thus, PGD and TRACE use gradients for opposite purposes: PGD searches for perturbations that increase classification loss, whereas TRACE searches for structural edits that reduce structural-semantic misalignment.

In our evaluation, adversarial attacks first generate perturbed graphs, after which TRACE recalibrates them before prediction. Therefore, our experiments evaluate whether TRACE can repair such graphs. As TRACE introduces a new test-time recalibration defense for zero-shot GFMs, no off-the-shelf adaptive attack specifically targets it.

We agree that security evaluation is iterative: new defenses can motivate stronger defense-aware attacks. We will clarify the evaluated threat model, avoid claiming robustness against unrestricted adaptive attackers, and include TRACE-aware adaptive attacks as an important direction for future work.

[Additional Weakness 1: Robustness Analysis ]

refers to: "and since TRACE optimizes the graph at inference, the gains may reflect gradient masking rather than genuine robustness: perhaps a little more insight into this might help understand the experimental setup better."

Reply: Thank you for this concern. TRACE keeps the graph encoder frozen during inference, without updating its parameters or altering its internal computation. It modifies the input graph structure through a recalibration objective guided by semantic anchors from the frozen text encoder. The objective reduces structural-semantic misalignment rather than maximizing classification loss or suppressing attack gradients.

In evaluation, adversarial attacks first generate perturbed graphs, then TRACE recalibrates them before final prediction. Thus, the improvement reflects TRACE's structural repair objective rather than parameter updates or encoder retraining. Specifically, TRACE modifies neither encoder parameters nor their parameter-level gradients; it uses only gradients with respect to the input graph structure to optimize recalibration.

[Additional Weakness 2: LLM anchors]

refers to: "and the LLM anchors are a possible confound since the baselines never receive that richer text."

Reply: Fine-grained descriptions serve only to construct frozen semantic anchors and provide neither additional supervision nor access to test-node information.

To isolate description richness, we compare three anchor designs: fine-grained descriptions, label-only prompts, and class-description templates.

Dataset Setting Fine-grained descriptions Label-only prompts Class-description templates
Cora PRBCD 40% 53.3±2.1 53.3±2.1 53.3±2.1
PRBCD 40% + Anti 56.6±1.8 54.8±1.2 55.6±1.7
Improvement +3.3 +1.5 +2.3
CiteSeer PRBCD 40% 48.2±1.6 48.2±1.6 48.2±1.6
PRBCD 40% + Anti 56.9±1.7 52.8±1.5 54.9±1.5
Improvement +8.7 +4.6 +6.7

Fine-grained descriptions achieve the largest improvement over the attacked baseline. Label-only prompts and class-description templates retain positive gains, showing that TRACE does not fully depend on the additional information in fine-grained descriptions. Their stronger performance further indicates that the benefit comes from constructing semantically informative and diverse anchors, rather than merely adding text or introducing lexical variation. We will include this ablation and clarify the supervision-free construction of semantic anchors in the revised manuscript.

Thank you again for your constructive suggestions. If you have any further questions, please do not hesitate to let us know.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Friendly Reminder for Feedback

Dear Reviewer LHW1, Twwt and GoeK,

Thanks for your attention to this message. This is a friendly reminder that the author-reviewer discussion period is ending. We understand you are busy, but we would appreciate any additional feedback or suggestions you might have on our work. Your insights are valuable to us. Thank you.

Sincerely,

Authors of Submission 13116

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

Missing a submission?

Loading the discussion…