atlas

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

Learning and Evaluating Contextual Embedding of Source Code

ICML 2020 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 153 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's title only (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
Pre-train a BERT Large code model and fine-tune it instead of using the strongest task-wise BiLSTM with Word2VecCuBERT · Five classification tasksaccuracy: 3.2–14.7%Helped
Fine-tune the pre-trained model instead of training a Transformer from scratchCuBERT · Five classification tasksaccuracy: 95.213145% vs 78.28434%; 92.46354% vs 76.554555%; 93.35517% vs 87.82762%; 98.08504% vs 91.017634%; 79.12152% vs 49.56463Helped
Use 2 fine-tuning epochs instead of the best 100-epoch BiLSTM baselineCuBERT · Variable-Misuse Classificationaccuracy: 94.042% vs 80.52728%Helped
Reduce fine-tuning data from 100% to 33% (ablation)CuBERT, 2 epochs · Variable-Misuse Classificationaccuracy: 94.042% -> 91.39687%Hurt
Reduce fine-tuning data from 100% to 33% (ablation)CuBERT, 2 epochs · Function-Docstring Mismatchaccuracy: 97.20764% -> 96.37577%Hurt
Reduce fine-tuning data from 100% to 33% (ablation)CuBERT, 2 epochs · Exception Typeaccuracy: 61.039084% -> 20.08514%Hurt
Increase example length from 128 to 1024 subword tokens (ablation)CuBERT · Variable-Misuse Classificationaccuracy: 83.96647% -> 95.834655%Helped
Increase example length from 128 to 1024 subword tokens (ablation)CuBERT · Function-Docstring Mismatchaccuracy: 98.188955% -> 97.899705%Hurt
Increase example length from 128 to 1024 subword tokens (ablation)CuBERT · Exception Typeaccuracy: 62.02593% -> 81.26935%Helped
Replace the LSTM sequence encoder with a CuBERT encoder in the pointer modelVariable-Misuse localization and repair · CuBERT test dataLocalization+Repair Accuracy: 56.8859616665433% -> 90.84322%Helped
Use CuBERT's lexical representation instead of the published model's richer syntax, data-flow, and control-flow representationsVariable-Misuse localization and repair · H test dataLocalization+Repair Accuracy: 73.8% -> 82.90709%Helped

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