TransCoder: Towards Unified Transferable Code Representation Learning Inspired by Human Skills
Qiushi Sun, Nuo Chen, Jianing Wang, Xiang Li, Ming Gao

TL;DR
TransCoder introduces a unified transfer learning approach for code representations, enabling better performance across multiple software tasks and low-resource scenarios by learning transferable meta-knowledge inspired by human skills.
Contribution
The paper proposes a novel unified fine-tuning strategy with a tunable prefix encoder to enhance transferable code representations across tasks and languages.
Findings
Outperforms existing methods on benchmark datasets
Effective in low-resource and small corpus scenarios
Enhances cross-task and cross-language transferability
Abstract
Code pre-trained models (CodePTMs) have recently demonstrated a solid capacity to process various software intelligence tasks, e.g., code clone detection, code translation, and code summarization. The current mainstream method that deploys these models to downstream tasks is to fine-tune them on individual tasks, which is generally costly and needs sufficient data for large models. To tackle the issue, in this paper, we present TransCoder, a unified Transferable fine-tuning strategy for Code representation learning. Inspired by human inherent skills of knowledge generalization, TransCoder drives the model to learn better code-related meta-knowledge like human programmers. Specifically, we employ a tunable prefix encoder as the meta-learner to capture cross-task and cross-language transferable knowledge, respectively. Besides, tasks with minor training sample sizes and languages with…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Topic Modeling · Advanced Malware Detection Techniques
