atlas

Research map / Image generation / Autoregressive and latent generation

EpiCoder: Encompassing Diversity and Complexity in Code Generation

ICML 2025 · Image generation › Autoregressive and latent generation · approach: Synthetic training data from generators · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes a feature tree-based synthesis framework that extracts hierarchical code features from The Stack v2, evolves them in depth and breadth, and samples subtrees to generate 433k instruction samples (function- and file-level) for fine-tuning EpiCoder models.

Problem

Code instruction-data synthesis from code snippet seeds limits the complexity and diversity of generated data, and existing methods rarely produce multi-file, repository-level tasks.

Approach

Organize code features into a hierarchical feature tree extracted by an LLM from raw code, iteratively expand it in breadth and depth, reweight sampling probabilities with a temperature, and sample subtrees of controllable depth/breadth to drive task and code generation (including multi-file solutions).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune Qwen2.5-Coder-7B on EpiCoder synthesized instruction dataQwen2.5-Coder-7B · Function-level benchmarks, averagePass@1 (%): 57.0 -> 59.0Helped
Fine-tune DeepSeek-Coder-Base-6.7B on EpiCoder synthesized instruction dataDeepSeek-Coder-Base-6.7B · Function-level benchmarks, averagePass@1 (%): 48.1 -> 53.1Helped
Use 75k EpiCoder function-level samples instead of Magicoder-DS (75k)DeepSeek-Coder-Base-6.7B · Function-level benchmarks, averagePass@1 (%): 45.8 -> 51.2Helped
Use 75k EpiCoder function-level samples instead of WaveCoder-Ultra-6.7B dataDeepSeek-Coder-Base-6.7B · Function-level benchmarks, averagePass@1 (%): 48.2 -> 51.2Helped
Use 74k EpiCoder function-level samples instead of SelfCodeAlign dataCodeQwen-7B · Function-level benchmarks, averagePass@1 (%): 58.6 -> 62.6Helped
Train on EpiCoder file-level dataEpiCoder · XFileDepPass@1Helped
Generate function-level code with the feature tree synthesis framework rather than existing code datasetsEpiCoder function-level data · Code complexity (LLM judge)Average score: 32.6%Helped
Generate file-level code with the feature tree synthesis framework rather than existing code datasetsEpiCoder file-level data · Code complexity (LLM judge)Average score: 52.5%Helped

Surprising findings

Limitations

Experimental setup

Datasets: The Stack v2 evol-codealpaca-v1

Benchmarks: HumanEval MBPP BigCodeBench EvoEval FullStackBench XFileDep

Metrics: pass@1

Baselines: Qwen2.5-Coder-7B-Instruct DeepSeekCoder-6.7B-Instruct Magicoder-S-DS WaveCoder-Ultra-6.7B OpenCodeInterpreter-DS-6.7B OpenCoder-8B-Instruct SelfCodeAlign-CQ-7B Magicoder-DS

Builds on: Magicoder Evol-Instruct OSS-Instruct SelfCodeAlign

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