Research map / Probabilistic and scientific modeling / Variational and generative sampling
Latent Predictor Networks for Code Generation
Wang Ling, Edward Grefenstette, Karl Moritz Hermann, Tomáš Kočiský, Andrew Senior, Fumin Wang, Phil Blunsom
Google DeepMind · University of Oxford
Read the paperPlace an idea next to itCheck your own paper ↗
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 latent predictor networks (pointer copy predictors) (ablation) | Our System · Django | BLEU: 63.3 -> 77.6 | Improved |
| add latent predictor networks (ablation) | Our System · HS | BLEU: 42.0 -> 65.6 | Improved |
| add latent predictor networks (ablation) | Our System · MTG | BLEU: 52.4 -> 61.4 | Improved |
| add structured attention (ablation) | Our System · Django | BLEU: 48.8 -> 77.6 | Improved |
| add structured attention (ablation) | Our System · HS | BLEU: 49.9 -> 65.6 | Improved |
| add structured attention (ablation) | Our System · MTG | BLEU: 39.1 -> 61.4 | Improved |
| use C2W character-level word encoder instead of lookup tables (ablation) | Our System · MTG, Django | BLEU: 60.9 -> 61.4 (MTG), 75.9 -> 77.6 (Django) | Improved |
| use C2W character-level word encoder instead of lookup tables (ablation) | Our System · HS | BLEU: 67.1 -> 65.6 | Hurt |
| add code compression (ablation) | Our System · HS, Django | BLEU: 59.7 -> 65.6 (HS), 76.3 -> 77.6 (Django) | Improved |
| increase code compression from 0% to 80% (ablation) | LPN · Code compression sweep | BLEU: 59.7 -> 67.1 (seconds per card 3.29 -> 1.41) | Improved |
| increase code compression from 0% to 80% (ablation) | Softmax model · Code compression sweep | BLEU: 44.2 -> 52.7 (seconds per card 2.81 -> 0.94) | Improved |
| LPN versus best retrieval baseline | Our System · HS | BLEU: 62.5 -> 65.6 | Improved |
Open problems in disentangled and discrete latent models
How far do disentangled and discrete latent models hold up beyond small, clean benchmarks and idealised theory?
- Evidence comes only from small or simple datasets. · 5 papers state it
- Cost grows with network size, latents or projections. · 4 papers state it
- Identifiability results hold only under strong assumptions. · 3 papers state it
Closest papers by meaning
- Latent Programmer: Discrete Latent Codes for Program Synthesis (ICML 2021 · similarity 0.85)
- Automatic Generation of Text Descriptive Comments for Code Blocks (AAAI 2018 · similarity 0.83)
- Retrieval-Based Neural Code Generation (EMNLP 2018 · similarity 0.82)
- Generative Code Modeling with Graphs (ICLR 2019 · similarity 0.82)
- InCoder: A Generative Model for Code Infilling and Synthesis (ICLR 2023 · similarity 0.81)
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.81)
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.