ADELT: Transpilation Between Deep Learning Frameworks
Not on the map. Why?
Abstract (arXiv)
We propose the Adversarial DEep Learning Transpiler (ADELT), a novel approach to source-to-source transpilation between deep learning frameworks. ADELT uniquely decouples code skeleton transpilation and API keyword mapping. For code skeleton transpilation, it uses few-shot prompting on large language models (LLMs), while for API keyword mapping, it uses contextual embeddings from a code-specific BERT. These embeddings are trained in a domain-adversarial setup to generate a keyword translation dictionary. ADELT is trained on an unlabeled web-crawled deep learning corpus, without relying on any hand-crafted rules or parallel data. It outperforms state-of-the-art transpilers, improving pass@1 rate by 17.4 pts and 15.0 pts for PyTorch-Keras and PyTorch-MXNet transpilation pairs respectively. We provide open access to our code at https://github.com/gonglinyuan/adelt.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 22 of its 41 references that are in the map. First posted on arXiv 7 Mar 2023.
Builds on
22 of 41 references.
References · 22
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Generative Adversarial Networkscited by 5,603
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
10 more
- 2017Word Translation Without Parallel Datacited by 480
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2017Unsupervised Neural Machine Translationcited by 148
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
- 2014Improving zero-shot learning by mitigating the hubness problemcited by 53
- 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
- 2021KGTorrent: A Dataset of Python Jupyter Notebooks from Kagglecited by 10
- 2018Automatically Leveraging MapReduce Frameworks for Data-Intensive Applicationscited by 3
Built on by
Citing papers per year: 2025: 2.
2 papers.
- 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translation21 Oct 2025
- 2025LLM Based Long Code Translation using Identifier Replacement10 Oct 2025