AI Paper Atlas

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

Long-Range Modeling of Source Code Files with eWASH: Extended Window Access by Syntax Hierarchy

Colin B. Clement, Shuai Lu, Xiaoyu Liu, Michele Tufano, Dawn Drain, Nan Duan, Neel Sundaresan, Alexey Svyatkovskiy

EMNLP 2021Large language models › Language, safety and interpretabilityapproach: Controlled text generation27 citations (OpenAlex)

Microsoft

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

13measured effects
11improved
1no clear effect
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 eWASH syntax-hierarchy file contextGPT-C (norm literals) · CodeXGLUE code completion (Py150, sampled methods)EM@5 (%): 46.3 -> 62.4Improved
add eWASH syntax-hierarchy file contextGPT-C (norm literals) · CodeXGLUE code completion (Py150, sampled methods)perplexity: 1.83 -> 1.25Improved
use eWASH XGPT-C instead of Reformer/Performer long-context modelsReformer / Performer · CodeXGLUE code completion (Py150, sampled methods)EM@5 (%): 46.1 / 41.2 -> 49.4Improved
evaluate only on files longer than 1024 tokensXGPT-C vs Performer · Python test files >1024 tokensEM@5: Performer 55.9% vs XGPT-CMixed
normalize literalsXGPT-C · CodeXGLUE code completion (Py150, sampled methods)EM@5 (%): 49.4 -> 62.4Improved
add eWASH contextGPT-C · CodeXGLUE code completion, top-1 total exact matchexact match (%): 63.1 -> 75.9Improved
add eWASH contextGPT-C · code completion, top-5 EM@5exact match (%): 59.6 -> 79.7Improved
add eWASH file-level contextPyMT5 · CodeSearchNet Python method completion (test)ROUGE-L F1: 0.35 -> 0.55Improved
add eWASH file-level contextPyMT5 · CodeSearchNet Python method completion (test)BLEU-4: 0.27 -> 0.31Improved
add eWASH file-level contextPyMT5 · CodeSearchNet Python method completion (test)syntax correct (%): 89% -> 88%No clear effect
add eWASH file-level contextPyMT5 · CodeSearchNet Python docstring completion / code summarization (test)ROUGE-L F1: 0.32 -> 0.66Improved
add eWASH file-level contextPyMT5 · CodeSearchNet Python docstring completion / code summarization (test)BLEU-4: 0.28 -> 0.47Improved

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