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
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add eWASH syntax-hierarchy file context | GPT-C (norm literals) · CodeXGLUE code completion (Py150, sampled methods) | EM@5 (%): 46.3 -> 62.4 | Improved |
| add eWASH syntax-hierarchy file context | GPT-C (norm literals) · CodeXGLUE code completion (Py150, sampled methods) | perplexity: 1.83 -> 1.25 | Improved |
| use eWASH XGPT-C instead of Reformer/Performer long-context models | Reformer / Performer · CodeXGLUE code completion (Py150, sampled methods) | EM@5 (%): 46.1 / 41.2 -> 49.4 | Improved |
| evaluate only on files longer than 1024 tokens | XGPT-C vs Performer · Python test files >1024 tokens | EM@5: Performer 55.9% vs XGPT-C | Mixed |
| normalize literals | XGPT-C · CodeXGLUE code completion (Py150, sampled methods) | EM@5 (%): 49.4 -> 62.4 | Improved |
| add eWASH context | GPT-C · CodeXGLUE code completion, top-1 total exact match | exact match (%): 63.1 -> 75.9 | Improved |
| add eWASH context | GPT-C · code completion, top-5 EM@5 | exact match (%): 59.6 -> 79.7 | Improved |
| add eWASH file-level context | PyMT5 · CodeSearchNet Python method completion (test) | ROUGE-L F1: 0.35 -> 0.55 | Improved |
| add eWASH file-level context | PyMT5 · CodeSearchNet Python method completion (test) | BLEU-4: 0.27 -> 0.31 | Improved |
| add eWASH file-level context | PyMT5 · CodeSearchNet Python method completion (test) | syntax correct (%): 89% -> 88% | No clear effect |
| add eWASH file-level context | PyMT5 · CodeSearchNet Python docstring completion / code summarization (test) | ROUGE-L F1: 0.32 -> 0.66 | Improved |
| add eWASH file-level context | PyMT5 · CodeSearchNet Python docstring completion / code summarization (test) | BLEU-4: 0.28 -> 0.47 | Improved |
Closest papers by meaning
- Language-Agnostic Representation Learning of Source Code from Structure and Context (ICLR 2021 · similarity 0.90)
- AutoCodeBench: Large Language Models are Automatic Code Benchmark Generators (ICLR 2026 · similarity 0.88)
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.86)
- Structured Packing in LLM Training Improves Long Context Utilization (AAAI 2025 · similarity 0.86)
- McEval: Massively Multilingual Code Evaluation (ICLR 2025 · similarity 0.86)
- SWE-bench: Can Language Models Resolve Real-world Github Issues? (ICLR 2024 · similarity 0.86)
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.
