mlsanityData to 7 Oct 2026

Transducer Tuning: Efficient Model Adaptation for Software Tasks Using Code Property Graphs

arXiv 2412.13467 ↗First posted 18 Dec 2024cs.SE cs.AI cs.CLcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  4. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  6. 2019Root Mean Square Layer Normalizationcited by 1,425
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  8. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
  9. 2021How Attentive are Graph Attention Networks?cited by 818
  10. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
  11. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  12. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
37 more
  1. 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 641
  2. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  3. 2022MTEB: Massive Text Embedding Benchmarkcited by 623
  4. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  5. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  6. 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 443
  7. 2020AdapterHub: A Framework for Adapting Transformerscited by 441
  8. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  9. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  10. 2023VeRA: Vector-based Random Matrix Adaptationcited by 294
  11. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 242
  12. 2019Simple, Scalable Adaptation for Neural Machine Translationcited by 239
  13. 2017Learning to Represent Programs with Graphscited by 219
  14. 2019Understanding and Improving Layer Normalizationcited by 213
  15. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
  16. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
  17. 2021FedPara: Low-Rank Hadamard Product for Communication-Efficient Federated Learningcited by 140
  18. 2022Large Language Models Meet NL2Code: A Surveycited by 135
  19. 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
  20. 2023InferFix: End-to-End Program Repair with LLMscited by 113
  21. 2023Navigating Text-To-Image Customization: From LyCORIS Fine-Tuning to Model Evaluationcited by 108
  22. 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
  23. 2023A Comprehensive Survey on Deep Graph Representation Learningcited by 72
  24. 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
  25. 2021Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Taskscited by 70
  26. 2023A Survey of Large Language Models for Code: Evolution, Benchmarking, and Future Trendscited by 66
  27. 2019Code Generation as a Dual Task of Code Summarizationcited by 62
  28. 2021On the Evaluation of Neural Code Summarizationcited by 47
  29. 2020On Learning Meaningful Assert Statements for Unit Test Casescited by 42
  30. 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
  31. 2022Combining Modular Skills in Multitask Learningcited by 27
  32. 2023An Empirical Comparison of Pre-Trained Models of Source Codecited by 25
  33. 2020Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program Repaircited by 22
  34. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  35. 2023Towards Efficient Fine-tuning of Pre-trained Code Models: An Experimental Study and Beyondcited by 20
  36. 2024Vul-LMGNNs: Fusing language models and online-distilled graph neural networks for code vulnerability detectioncited by 11
  37. 2022Using Large-scale Heterogeneous Graph Representation Learning for Code Review Recommendations at Microsoftcited by 2

Built on by

Not cited yet.