HGAdapter: Hypergraph-based Adapters in Language Models for Code Summarization and Clone Detection
Not on the map. Why?
Abstract (arXiv)
Pre-trained language models (PLMs) are increasingly being applied to code-related tasks. Although PLMs have achieved good results, they do not take into account potential high-order data correlations within the code. We propose three types of high-order correlations in code tokens, i.e. abstract syntax tree family correlation, lexical correlation, and line correlation. We design a tokens and hyperedges generator to capture these high-order data correlations. We improve the architecture of hypergraph neural networks and combine it with adapter tuning to propose a novel hypergraph-based adapter (HGAdapter) to fine-tune PLMs. HGAdapter can encode high-order data correlations and is allowed to be inserted into various PLMs to enhance performance. Experiments were conducted on several public datasets, including six languages of code summarization and code clone detection tasks. Our methods improved the performance of PLMs in datasets to varying degrees. Experimental results validate the introduction of high-order data correlations that contribute to improved effectiveness.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 34 references that are in the map. First posted on arXiv 20 Oct 2025.
Builds on
23 of 34 references.
References · 23
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
- 2024TinyLlama: An Open-Source Small Language Modelcited by 618
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2017Learning multiple visual domains with residual adapterscited by 557
11 more
- 2018Hypergraph Neural Networkscited by 488
- 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 445
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
- 2018code2seq: Generating Sequences from Structured Representations of Codecited by 179
- 2021UniGNN: a Unified Framework for Graph and Hypergraph Neural Networkscited by 130
- 2020Detecting Code Clones with Graph Neural Networkand Flow-Augmented Abstract Syntax Treecited by 69
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2021Structural Adapters in Pretrained Language Models for AMR-to-text Generationcited by 48
- 2022Deep Learning Meets Software Engineering: A Survey on Pre-Trained Models of Source Codecited by 21
- 2023Investigating the Effect of Relative Positional Embeddings on AMR-to-Text Generation with Structural Adapterscited by 2
- 2023Heterogeneous Directed Hypergraph Neural Network over abstract syntax tree (AST) for Code Classificationcited by 1
Built on by
Not cited yet.