mlsanityData to 14 Oct 2026

One Adapter for All Programming Languages? Adapter Tuning for Code Search and Summarization

arXiv 2303.15822 ↗First posted 28 Mar 2023cs.SE cs.AIcited by 16

Not on the map. Why?

Abstract (arXiv)

As pre-trained models automate many code intelligence tasks, a widely used paradigm is to fine-tune a model on the task dataset for each programming language. A recent study reported that multilingual fine-tuning benefits a range of tasks and models. However, we find that multilingual fine-tuning leads to performance degradation on recent models UniXcoder and CodeT5. To alleviate the potentially catastrophic forgetting issue in multilingual models, we fix all pre-trained model parameters, insert the parameter-efficient structure adapter, and fine-tune it. Updating only 0.6% of the overall parameters compared to full-model fine-tuning for each programming language, adapter tuning yields consistent improvements on code search and summarization tasks, achieving state-of-the-art results. In addition, we experimentally show its effectiveness in cross-lingual and low-resource scenarios. Multilingual fine-tuning with 200 samples per programming language approaches the results fine-tuned with the entire dataset on code summarization. Our experiments on three probing tasks show that adapter tuning significantly outperforms full-model fine-tuning and effectively overcomes catastrophic forgetting.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 31 of its 40 references that are in the map. First posted on arXiv 28 Mar 2023.

Builds on

31 of 40 references.

References · 31

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  6. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  7. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  8. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  9. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  10. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  11. 2019Unified Language Model Pre-training for Natural Language Understanding and Generationcited by 670
  12. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
19 more
  1. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  2. 2017Learning multiple visual domains with residual adapterscited by 557
  3. 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 445
  4. 2021Unified Pre-training for Program Understanding and Generationcited by 366
  5. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
  6. 2020IntelliCode Compose: Code Generation Using Transformercited by 227
  7. 2021On the Effectiveness of Adapter-based Tuning for Pretrained Language Model Adaptationcited by 147
  8. 2018Improving Automatic Source Code Summarization via Deep Reinforcement Learningcited by 100
  9. 2016Toward Multilingual Neural Machine Translation with Universal Encoder and Decodercited by 76
  10. 2016One-shot Learning with Memory-Augmented Neural Networkscited by 60
  11. 2016Zero-Resource Translation with Multi-Lingual Neural Machine Translationcited by 46
  12. 2021Multilingual training for Software Engineeringcited by 43
  13. 2018Contextual Parameter Generation for Universal Neural Machine Translationcited by 40
  14. 2021What do pre-trained code models know about code?cited by 36
  15. 2021Robust Transfer Learning with Pretrained Language Models through Adapterscited by 35
  16. 2019Learning and Evaluating Contextual Embedding of Source Codecited by 33
  17. 2021Bridging Pre-trained Models and Downstream Tasks for Source Code Understandingcited by 28
  18. 2020A Comprehensive Survey of Multilingual Neural Machine Translationcited by 12
  19. 2021Modular Tree Network for Source Code Representation Learningcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 5; 2024: 6; 2025: 3; 2026: 2.

16 papers.

Sort:

By area: