Manuscript Offprint

arXiv:2608.25727

Are LLM-Enhanced GNNs Privacy-Safe?

Longzhu He, Zelang Wen, Chaozhuo Li, Sen Su

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language models (LLMs) have recently advanced graph neural networks (GNNs) by enriching node representations with semantic information, giving rise to LLM-enhanced GNNs that achieve substantial performance gains. However, their vulnerability to privacy attacks, in which adversaries infer sensitive information from model outputs, remains largely underexplored. To bridge this gap, we present a systematic evaluation of privacy risks in LLM-enhanced GNNs through a unified framework consisting of five stages: ① dataset preparation, ② victim model training, ③ privacy attack, ④ risk assessment, and ⑤ defense analysis. Specifically, we conduct experiments on six real-world text-attributed graph datasets covering diverse domains. We consider six representative privacy attack methods targeting three fundamental threats, namely link, label, and membership inference, and construct 42 victim model configurations by combining multiple LLM-based feature enhancers with representative GNN backbones. Extensive experiments show that, despite their utility improvements, LLM-enhanced GNNs consistently exhibit increased vulnerability to privacy attacks compared to shallow text representation baselines. Further analysis reveals that semantic enrichment amplifies link-, label-, and membership-related signals in the embedding space, making them more exploitable by inference attacks. Finally, we evaluate differential privacy as a defense strategy and show that, while it can partially mitigate privacy risks, it introduces significant utility degradation, highlighting a fundamental privacy-utility trade-off in LLM-enhanced graph learning. Overall, this work provides a comprehensive understanding of privacy risks in LLM-enhanced GNNs and offers practical insights for developing more secure and trustworthy graph learning systems.

1 Introduction

In recent years, graph neural networks (GNNs) [55, 24, 46, 14] have achieved remarkable success in graph representation learning and have become the dominant paradigm for modeling graph-structured data. In many real-world applications, graphs are not only characterized by their topology but also associated with rich textual attributes, such as user profiles, paper abstracts, or semantic descriptions of entities, forming so-called text-attributed graphs [58, 60]. Traditional approaches typically rely on shallow text encoding techniques, such as Bag-of-Words (BoW) [15], Word2Vec [6], or skip-gram models [36], to obtain initial node representations, which are then integrated into GNN-based message passing frameworks. However, these methods are limited in their ability to capture rich contextual and semantic information in node texts. Consequently, effectively modeling textual semantics while preserving structural dependencies remains a key challenge in graph representation learning.

Recently, large language models (LLMs) have demonstrated strong capabilities in natural language understanding [26, 61], contextual reasoning [56, 3], and instruction following [32, 41], and have been increasingly introduced into graph learning to enhance the semantic modeling of textual attributes. Compared with traditional text encoders, LLMs can generate more expressive and context-aware representations by capturing deep semantic relationships beyond surface-level word co-occurrence patterns. This has led to the emergence of LLM-enhanced GNNs [18, 2, 68, 4, 64], a new paradigm that

Preprint.

Figure

Figure 1: Overview of the proposed privacy risk evaluation framework. It consists of five stages: dataset preparation, victim model training, privacy attack, risk assessment, and defense analysis.

integrates LLMs into graph learning to enrich node representations. As illustrated in Fig. 1(II), existing approaches can be broadly categorized into explanation-based and embedding-based approaches. These approaches typically utilize LLMs or smaller pretrained language models (LMs) to perform semantic augmentation, such as contextual enrichment or representation refinement of node texts, and seamlessly integrate the resulting embeddings into GNN pipelines. By jointly modeling structural dependencies and enriched semantic representations, LLM-enhanced GNNs have achieved substantial performance improvements across various graph learning tasks, such as node classification [18].

Despite their strong empirical performance, the privacy risks of LLM-enhanced GNNs remain largely underexplored. Existing studies [35, 63, 52, 19, 49, 62] have shown that GNNs are highly vulnerable to privacy attacks, where adversaries can infer sensitive information from model outputs, even when only limited access is available. In LLM-enhanced GNNs, such risks may be further exacerbated, as node representations integrate structural dependencies with rich semantic features encoded by LLMs or LMs, potentially increasing the information content exposed through model outputs. This paradigm shift may introduce new and more powerful avenues for privacy leakage beyond those observed in conventional GNNs. Therefore, how privacy vulnerabilities evolve under LLM-enhanced architectures remains poorly understood, calling for a systematic investigation of their privacy risks.

To fill this gap, we conduct a systematic study of privacy risks in LLM-enhanced GNNs. As illustrated in Fig. 1, we develop a unified evaluation framework encompassing five stages, including ① dataset preparation, ② victim model training, ③ privacy attack, ④ risk assessment, and ⑤ defense analysis, enabling an end-to-end analysis of privacy risks and potential mitigation strategies.

Specifically, we collect and curate six real-world text-attributed graph datasets that span various domains, including social networks, citation networks, and e-commerce platforms. We construct 42 LLM-enhanced GNN victim models by combining multiple LLM-based feature enhancers with widely used GNN backbones, enabling a comprehensive evaluation under diverse model settings. We then consider six representative privacy attack methods targeting three fundamental objectives, namely link, label, and membership inference. These attack objectives have been extensively studied in prior work [37, 35, 63, 19, 13, 62] on traditional GNNs and are widely recognized as the most prevalent forms of privacy leakage, as they respectively capture the exposure of graph structure, node semantics, and training participation. In the risk assessment stage, we conduct a quantitative evaluation of privacy risks and further investigate how semantic enhancement affects model vulnerability. The results show that LLM-induced semantics can significantly amplify privacy leakage by strengthening structural-, label-, and membership-related signals in learned representations. Finally, we evaluate differential privacy (DP) [42, 29, 67, 16, 10] as a defense strategy and find that, while it can partially mitigate privacy risks, it incurs substantial utility degradation. These findings highlight the urgent need to revisit and redesign privacy protection mechanisms for LLM-enhanced GNNs.

Contributions. ① Important But Underexplored Problem. We identify and systematically study an important yet underexplored problem of privacy risks in LLM-enhanced GNNs, which has been largely overlooked in existing graph learning literature. ② Systematic Evaluation Framework. We propose a unified evaluation framework consisting of five stages to evaluate privacy risks in LLM-enhanced GNNs, covering multiple datasets, diverse privacy attacks, and defense analysis, enabling a holistic understanding of both privacy vulnerabilities and mitigation effectiveness. ③ Comprehensive Empirical Study. We conduct extensive experiments on six real-world text-attributed graph datasets,

42 victim model configurations, and six privacy attack methods targeting membership, link, and label inference, providing a thorough and systematic evaluation under diverse settings.

References (62)

  • Improving the gaussian mechanism for differential privacy: Analytical calibration and optimal denoising
  • ACM SIGKDD Explorations Newsletter (SIGKDD Explorations), 25(2): 42–61, 2024
  • Unveiling causal reasoning in large language models: Reality or mirage? Advances in Neural Information Processing Systems (NeurIPS), 37:96640–96670, 2024
  • Node feature extraction by self-supervised multi-scale neighborhood prediction
  • Linq-embed-mistral technical report (opens arXiv in a new tab)
  • Privacy at scale: Local differential privacy in practice
  • Collecting telemetry data privately
  • Simteg: A frustratingly simple approach improves textual graph learning (opens arXiv in a new tab)
  • Safeguarding graph neural networks against topology inference attacks
  • Attention-based membership inference attacks on graph neural network through topological features
  • Inductive representation learning on large graphs
  • Going deeper into locally differentially private graph neural networks
  • Deberta: decoding-enhanced bert with disentangled attention
  • Harnessing explanations: Llm-to-lm interpreter for enhanced text-attributed graph representation learning
  • Stealing links from graph neural networks
  • Node-level membership inference attacks against graph neural networks (opens arXiv in a new tab)
  • Can gnn be good adapter for llms? In Proceedings of the ACM Web Conference (WWW), pages 893–904, 2024
  • Discrete distribution estimation under local privacy
  • Semi-supervised classification with graph convolutional networks
  • Predict then propagate: Graph neural networks meet personalized pagerank
  • Natural language understanding and inference with mllm in visual question answering: A survey
  • A survey of graph meets large language model: Progress and future directions
  • Estimating numerical distributions under local differential privacy
  • Towards private learning on decentralized graphs with local differential privacy
  • Indigo: Gnn-based inductive knowledge graph completion using pair-wise encoding
  • Pick and choose: a gnn-based imbalanced learning approach for fraud detection
  • Large language model instruction following: A survey of progresses and challenges
  • Are llm-enhanced graph neural networks robust against poisoning attacks? arXiv preprint arXiv:2603.26105, 2026 (opens arXiv in a new tab)
  • Automating the construction of internet portals with machine learning
  • Devil in disguise: Breaching graph neural networks privacy through infiltration
  • Distributed representations of words and phrases and their compositionality
  • Membership inference attack on graph neural networks
  • Adaptive laplace mechanism: Differential privacy preservation in deep learning
  • Linkguard: Link locally privacy-preserving graph neural networks with integrated denoising and private learning
  • Infobench: Evaluating instruction following ability in large language models
  • Locally private graph neural networks
  • Collective classification in network data
  • Model stealing attacks against inductive graph neural networks
  • LLaMA: Open and Efficient Foundation Language Models
  • Graph attention networks
  • Text embeddings by weakly-supervised contrastive pre-training (opens arXiv in a new tab)
  • Collecting and analyzing multidimensional data with local differential privacy
  • Group property inference attacks against graph neural networks
  • A modern bidirectional encoder for fast, memory efficient, and long context finetuning and inference
  • State-of-the-art natural language processing
  • Linkteller: Recovering private edges from graph neural networks via influence analysis
  • Simplifying graph convolutional networks
  • Graph neural networks in recommender systems: a survey
  • A comprehensive survey on graph neural networks
  • Mapping the minds of llms: A graph-based analysis of reasoning llms
  • How powerful are graph neural networks? In 7th International Conference on Learning Representations (ICLR), pages 1–15, 2019
  • Benchmarking and rethinking
  • Flag: Fraud detection with llm-enhanced graph neural network
  • Graph convolutional networks for text classification
  • A survey on recent advances in llm-based multi-turn dialogue systems
  • A survey on privacy in graph neural networks: Attacks, preservation, and applications
  • Inference attacks against graph neural networks
  • Toward general and robust llm-enhanced text-attributed graph learning (opens arXiv in a new tab)
  • Simple spectral graph convolution
  • Beyond homophily in graph neural networks: Current limitations and effective designs
  • Blink: Link local differential privacy in graph neural networks via bayesian estimation
  • Efficient tuning and inference for large language models on textual graphs