scimeatlas

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

ACL 2021Label-efficient and robust learning › Recognition and long-tailapproach: Contrastive representation theoryopen problems in this approach25 citations (OpenAlex)

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 ↗

12measured effects
9improved
1no clear effect
1hurt
1mixed

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 changedWhereMeasuredEffect
add independent per-language syntax encoders (IZ) (ablation)CodeDisen · Python reconstructionBLEU-1: 32.12 -> 44.77Improved
add semantic KL term (ablation)CodeDisen · Python reconstructionBLEU-1: 36.71 -> 44.77Improved
add attentive code position loss (ablation)CodeDisen · Python reconstructionCIDER: 110.1 -> 116.9Improved
add Token2AST attention to the position loss (ablation)CodeDisen · Python reconstructionCIDER: 102.6 -> 116.9Improved
add more training languages (4 instead of 2) and dataCodeDisen · Python reconstructionBLEU-1: 34.519 -> 44.765Improved
add AST guidance and extra losses over VGVAECodeDisen · Java/Python code translationCIDER: 36.37 -> 40.10Improved
use semantic vector only instead of syntax vector onlyCodeDisen · code-to-code searchaccuracy: 0.004 -> 0.316Improved
use semantic vector y instead of GraphCodeBERTcode clone detection · Java-PythonF1: 0.50 -> 0.90Improved
replace syntax vector with that of a random snippet of the same languageCodeDisen · Java/Python code translationBLEU-1: 29.75 -> 29.51No clear effect
set syntax vector z to zeroCodeDisen · Java/Python code translationBLEU-1: 29.75 -> 13.82Hurt
train on Java/Python/C#/C++ instead of Java/PythonCodeDisen semantic encoder · Java-Python code searchaccuracy: 0.316 -> 0.330Improved
lower clone-detection threshold from 0.8 to 0.5 (ablation)CodeDisen · code clone detectionprecision / recall / F1: 0.724/0.992/0.837 at 0.5Mixed

Open problems in contrastive representation theory

Do the theories and gains of representation learning hold beyond linear, Gaussian and small-scale settings?

All 4 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy