mlsanityData to 14 Oct 2026

MetaTPTrans: A Meta Learning Approach for Multilingual Code Representation Learning

arXiv 2206.06460 ↗First posted 13 Jun 2022cs.SE cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

Representation learning of source code is essential for applying machine learning to software engineering tasks. Learning code representation from a multilingual source code dataset has been shown to be more effective than learning from single-language datasets separately, since more training data from multilingual dataset improves the model's ability to extract language-agnostic information from source code. However, existing multilingual training overlooks the language-specific information which is crucial for modeling source code across different programming languages, while only focusing on learning a unified model with shared parameters among different languages for language-agnostic information modeling. To address this problem, we propose MetaTPTrans, a meta learning approach for multilingual code representation learning. MetaTPTrans generates different parameters for the feature extractor according to the specific programming language type of the input code snippet, enabling the model to learn both language-agnostic and language-specific information with dynamic parameters in the feature extractor. We conduct experiments on the code summarization and code completion tasks to verify the effectiveness of our approach. The results demonstrate the superiority of our approach with significant improvements on state-of-the-art baselines.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 33 of its 49 references that are in the map. First posted on arXiv 13 Jun 2022.

Builds on

33 of 49 references.

References · 33

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  4. 2017Graph Attention Networkscited by 8,923
  5. 2017Inductive Representation Learning on Large Graphscited by 6,320
  6. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  8. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,304
  9. 2018Self-Attention with Relative Position Representationscited by 1,120
  10. 2016HyperNetworkscited by 1,027
  11. 2015Pointer Networkscited by 895
  12. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
21 more
  1. 2016Learning to learn by gradient descent by gradient descentcited by 620
  2. 2020Directional Message Passing for Molecular Graphscited by 561
  3. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
  4. 2018code2vec: Learning Distributed Representations of Codecited by 250
  5. 2017Learning to Represent Programs with Graphscited by 220
  6. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
  7. 2018code2seq: Generating Sequences from Structured Representations of Codecited by 179
  8. 2021MetaSAug: Meta Semantic Augmentation for Long-Tailed Visual Recognitioncited by 99
  9. 2016Learning feed-forward one-shot learnerscited by 93
  10. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 91
  11. 2020Code Prediction by Feeding Trees to Transformerscited by 70
  12. 2018DeepBugs: A Learning Approach to Name-based Bug Detectioncited by 65
  13. 2021Language-Agnostic Representation Learning of Source Code from Structure and Contextcited by 63
  14. 2020Multi-task Learning based Pre-trained Language Model for Code Completioncited by 58
  15. 2018Structured Neural Summarizationcited by 54
  16. 2019TAFE-Net: Task-Aware Feature Embeddings for Low Shot Learningcited by 32
  17. 2018Meta Multi-Task Learning for Sequence Modelingcited by 18
  18. 2019A Self-Attentional Neural Architecture for Code Completion with Multi-Task Learningcited by 18
  19. 2016A deep language model for software codecited by 14
  20. 2022The Best of Both Worlds: Combining Learned Embeddings with Engineered Features for Accurate Prediction of Correct Patchescited by 9
  21. 2021Predicting Patch Correctness Based on the Similarity of Failing Test Casescited by 4

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 1; 2025: 2.

6 papers.