mlsanityData to 7 Oct 2026

PLMGH: What Matters in PLM-GNN Hybrids for Code Classification and Vulnerability Detection

arXiv 2604.25599 ↗First posted 28 Apr 2026cs.SE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Code understanding models increasingly rely on pretrained language models (PLMs) and graph neural networks (GNNs), which capture complementary semantic and structural information. We conduct a controlled empirical study of PLM-GNN hybrids for code classification and vulnerability detection tasks by systematically pairing three code-specialized PLMs with three foundational GNN architectures. We compare these hybrids against PLM-only and GNN-only baselines on Java250 and Devign, including an identifier-obfuscation setting. Across both tasks, hybrids consistently outperform GNN-only baselines and often improve ranking quality over frozen PLMs. On Devign, performance and robustness are more sensitive to the PLM feature source than to the GNN backbone. We also find that larger PLMs are not necessarily better feature extractors in this pipeline, and that the PLM choice has more impact than the GNN choice. Finally, we distill these findings into practical guidelines for PLM-GNN design choices in code classification and vulnerability detection.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 25 of its 37 references that are in the map. First posted on arXiv 28 Apr 2026.

Builds on

25 of 37 references.

References · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  3. 2017Graph Attention Networkscited by 8,854
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  6. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  7. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  8. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  9. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  10. 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 500
  11. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  12. 2021Unified Pre-training for Program Understanding and Generationcited by 361
13 more
  1. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  2. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
  3. 2017Learning to Represent Programs with Graphscited by 219
  4. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
  5. 2020Improved Code Summarization via a Graph Neural Networkcited by 79
  6. 2020LambdaNet: Probabilistic Type Inference using Graph Neural Networkscited by 44
  7. 2021ReGVD: Revisiting Graph Neural Networks for Vulnerability Detectioncited by 32
  8. 2020Code Summarization with Structure-induced Transformercited by 29
  9. 2020Learning to Represent Programs with Heterogeneous Graphscited by 13
  10. 2024Vul-LMGNNs: Fusing language models and online-distilled graph neural networks for code vulnerability detectioncited by 11
  11. 2021Software Vulnerability Detection via Deep Learning over Disaggregated Code Graph Representationcited by 5
  12. 2021GN-Transformer: Fusing Sequence and Graph Representation for Improved Code Summarizationcited by 3
  13. 2025GNN-Coder: Boosting Semantic Code Retrieval with Combined GNNs and Transformercited by 1

Built on by

Not cited yet.