Transducer Tuning: Efficient Model Adaptation for Software Tasks Using Code Property Graphs
Not on the map. Why?
Abstract (arXiv)
Large language models have demonstrated promising performance across various software engineering tasks. While fine-tuning is a common practice to adapt these models for downstream tasks, it becomes challenging in resource-constrained environments due to increased memory requirements from growing trainable parameters in increasingly large language models. We introduce approach, a technique to adapt large models for downstream code tasks using Code Property Graphs (CPGs). Our approach introduces a modular component called transducer that enriches code embeddings with structural and dependency information from CPGs. The Transducer comprises two key components: Graph Vectorization Engine (GVE) and Attention-Based Fusion Layer (ABFL). GVE extracts CPGs from input source code and transforms them into graph feature vectors. ABFL then fuses those graphs feature vectors with initial code embeddings from a large language model. By optimizing these transducers for different downstream tasks, our approach enhances the models without the need to fine-tune them for specific tasks. We have evaluated approach on three downstream tasks: code summarization, assert generation, and code translation. Our results demonstrate competitive performance compared to full parameter fine-tuning while reducing up to 99% trainable parameters to save memory. approach also remains competitive against other fine-tuning approaches (e.g., LoRA, Prompt-Tuning, Prefix-Tuning) while using only 1.5%-80% of their trainable parameters. Our findings show that integrating structural and dependency information through Transducer Tuning enables more efficient model adaptation, making it easier for users to adapt large models in resource-constrained settings.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 49 of its 66 references that are in the map. First posted on arXiv 18 Dec 2024.
Builds on
49 of 66 references.
References · 49
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
- 2021How Attentive are Graph Attention Networks?cited by 818
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
37 more
- 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 641
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2022MTEB: Massive Text Embedding Benchmarkcited by 623
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 443
- 2020AdapterHub: A Framework for Adapting Transformerscited by 441
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2023VeRA: Vector-based Random Matrix Adaptationcited by 294
- 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 242
- 2019Simple, Scalable Adaptation for Neural Machine Translationcited by 239
- 2017Learning to Represent Programs with Graphscited by 219
- 2019Understanding and Improving Layer Normalizationcited by 213
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
- 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
- 2021FedPara: Low-Rank Hadamard Product for Communication-Efficient Federated Learningcited by 140
- 2022Large Language Models Meet NL2Code: A Surveycited by 135
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2023InferFix: End-to-End Program Repair with LLMscited by 113
- 2023Navigating Text-To-Image Customization: From LyCORIS Fine-Tuning to Model Evaluationcited by 108
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
- 2023A Comprehensive Survey on Deep Graph Representation Learningcited by 72
- 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
- 2021Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Taskscited by 70
- 2023A Survey of Large Language Models for Code: Evolution, Benchmarking, and Future Trendscited by 66
- 2019Code Generation as a Dual Task of Code Summarizationcited by 62
- 2021On the Evaluation of Neural Code Summarizationcited by 47
- 2020On Learning Meaningful Assert Statements for Unit Test Casescited by 42
- 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
- 2022Combining Modular Skills in Multitask Learningcited by 27
- 2023An Empirical Comparison of Pre-Trained Models of Source Codecited by 25
- 2020Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program Repaircited by 22
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2023Towards Efficient Fine-tuning of Pre-trained Code Models: An Experimental Study and Beyondcited by 20
- 2024Vul-LMGNNs: Fusing language models and online-distilled graph neural networks for code vulnerability detectioncited by 11
- 2022Using Large-scale Heterogeneous Graph Representation Learning for Code Review Recommendations at Microsoftcited by 2
Built on by
Not cited yet.