scimeatlas

Research map / Large language models / Language, safety and interpretability

Synthetic Semantic Supervision for Contrastive Code Representation Learning in Small Transformers: An Empirical Study

Kenneth Paulsen, Florian Tambon, Mike Papadakis, Shin Yoo

EMNLP 2026Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach0 citations (OpenAlex)

University of Luxembourg · Korea Advanced Institute of Science and Technology

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
9improved
3no clear effect
1hurt

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.

This paper tried a common change: Add a contrastive loss

add contrastive objective instead of MLM · Clone detection and tag classification · accuracy / F1: +4.2 and +3.2 points Improved

What 1,804 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add contrastive pretraining with synthetic descriptions (SyncDesc-2S)UnixCoder / TRACED · Title matching (CodeForces)accuracy: 0.609 -> 0.677Improved
add contrastive pretraining with synthetic descriptions (SyncDesc-S)UnixCoder / ContraCode · Docstring matchingaccuracy: 0.595 -> 0.645Improved
use synthetic descriptions instead of execution traces at matched dataTRACED · Clone / vulnerability / tag matching (C)MAP / F1 / accuracy: clone 0.855 vs 0.858; vulnerability 0.557 vs 0.545No clear effect
use SyncDesc on vulnerability detectionUnixCoder · Vulnerability detectionF1: 0.570 -> 0.557 (n.s.)Hurt
use SyncDesc on tag classification and description generationstrongest 125M baseline · CodeForces tag classification; description generationF1; similarity: 0.281 -> 0.287; 0.658 -> 0.672 (not significant)No clear effect
use fine-tuned 125M SyncDesc instead of zero-shot prompted LLMsClaude Sonnet / GPT-4o · CodeForces tag classificationF1: 0.270 -> 0.287Improved
add synthetic descriptions instead of human docstrings (ablation)SyncDesc · Clone accuracy / CodeChef tag F1accuracy / F1: 0.6934 -> 0.7239 clone accuracyImproved
add contrastive objective instead of MLM (ablation)SyncDesc · Clone detection and tag classificationaccuracy / F1: +4.2 and +3.2 pointsImproved
add semantic content instead of random text (ablation)SyncDesc · Clone detectionaccuracy: 0.6558 -> 0.7239Improved
train description encoder instead of freezing it (ablation)SyncDesc · Clone detection and tag classificationaccuracy / F1: about 1 and 2 pointsImproved
use code-conditioned synthetic descriptions instead of GPT-4o paraphrases of docstrings (ablation)SyncDesc (50k subset) · Clone accuracyaccuracy: 0.728 -> 0.752Improved
replace GPT-4o with Qwen2.5-Coder-7B as description generator (ablation)SyncDesc (50k subset) · Clone accuracy and tag F1accuracy / F1: 0.752 vs 0.749; 0.260 vs 0.256No clear effect

Open problems in controlled text generation

How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?

All 5 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