Research map / Label-efficient and robust learning / Recognition and long-tail
Disentangled Code Representation Learning for Multiple Programming Languages
Jingfeng Zhang, Haiwen Hong, Yin Zhang, Yao Wan, Ye Liu, Yulei Sui
Zhejiang University · Huazhong University of Science and Technology · University of Illinois at Chicago · University of Technology Sydney
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add independent per-language syntax encoders (IZ) (ablation) | CodeDisen · Python reconstruction | BLEU-1: 32.12 -> 44.77 | Improved |
| add semantic KL term (ablation) | CodeDisen · Python reconstruction | BLEU-1: 36.71 -> 44.77 | Improved |
| add attentive code position loss (ablation) | CodeDisen · Python reconstruction | CIDER: 110.1 -> 116.9 | Improved |
| add Token2AST attention to the position loss (ablation) | CodeDisen · Python reconstruction | CIDER: 102.6 -> 116.9 | Improved |
| add more training languages (4 instead of 2) and data | CodeDisen · Python reconstruction | BLEU-1: 34.519 -> 44.765 | Improved |
| add AST guidance and extra losses over VGVAE | CodeDisen · Java/Python code translation | CIDER: 36.37 -> 40.10 | Improved |
| use semantic vector only instead of syntax vector only | CodeDisen · code-to-code search | accuracy: 0.004 -> 0.316 | Improved |
| use semantic vector y instead of GraphCodeBERT | code clone detection · Java-Python | F1: 0.50 -> 0.90 | Improved |
| replace syntax vector with that of a random snippet of the same language | CodeDisen · Java/Python code translation | BLEU-1: 29.75 -> 29.51 | No clear effect |
| set syntax vector z to zero | CodeDisen · Java/Python code translation | BLEU-1: 29.75 -> 13.82 | Hurt |
| train on Java/Python/C#/C++ instead of Java/Python | CodeDisen semantic encoder · Java-Python code search | accuracy: 0.316 -> 0.330 | Improved |
| lower clone-detection threshold from 0.8 to 0.5 (ablation) | CodeDisen · code clone detection | precision / recall / F1: 0.724/0.992/0.837 at 0.5 | Mixed |
Open problems in contrastive representation theory
Do the theories and gains of representation learning hold beyond linear, Gaussian and small-scale settings?
- Theory covers only linear, kernel, Gaussian or shallow networks. · 12 papers state it
- Experiments stay on small models and small image benchmarks. · 10 papers state it
- Performance is sensitive to hyperparameters that need tuning. · 10 papers state it
Closest papers by meaning
- CODE REPRESENTATION LEARNING AT SCALE (ICLR 2024 · similarity 0.83)
- Language Agnostic Code Embeddings (NAACL 2024 · similarity 0.82)
- Language-Agnostic Representation Learning of Source Code from Structure and Context (ICLR 2021 · similarity 0.82)
- CodeTrek: Flexible Modeling of Code using an Extensible Relational Representation (ICLR 2022 · similarity 0.82)
- An Evaluation of Disentangled Representation Learning for Texts (ACL 2021 · similarity 0.82)
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.80)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.