Synthetic Semantic Supervision for Contrastive Code Representation Learning in Small Transformers: An Empirical Study
arXiv cs.AIen
arXiv:2609.03702v1 Announce Type: new Abstract: General-purpose code embeddings power tools for code search, classification, and retrieval. Compact transformer encoders for code typically rely on either human-written docstrings (labor-intensive and inconsistent) or mined structural signals such as execution traces (setting-specific and costly to collect). We empirically study an alternative: contrastive pretraining of small encoders with synthetically generated natural-language descriptions emphasizing code functionality and intent, paired with code in a dual-encoder framework at training and discarded at inference. We benchmark this approach against pretraining-based baselines, generalist L
This is a short summary published by AI Global Wire. The full article is owned and hosted by arXiv cs.AI — open it there to read it in full.
Read the full story at arXiv cs.AI- Verktyg
- Forskning
Related AI news
- The sameness problem behind those unappetizing AI-generated menusTechCrunch AI · September 4, 2026
- Lite-On makes US$170 million strategic investment in DCX for AI cooling pushDIGITIMES · September 4, 2026
- K&S targets CPO, CoPoS growth with expanded TCB advanced packaging roadmapDIGITIMES · September 4, 2026
- Beyond "Made with AI": Visualizing Provenance Density to Mitigate the Transparency PenaltyarXiv cs.AI · September 4, 2026
- GPS-Bench: A Governance Policy Benchmark for Automating Policy AnalysisarXiv cs.AI · September 4, 2026
- HalluPeer: A Taxonomy-driven Benchmark for Detecting Hallucinations in Scientific Peer ReviewsarXiv cs.AI · September 4, 2026