---
title: "Structural Language Models of Code — paper by Alon et al. (2019)"
description: "The paper proposes structural language modeling (SLM). 45 references, cited by 18 papers here."
authors: ["Uri Alon", "Roy Sadaka", "Omer Levy", "Eran Yahav"]
year: 2019
venue: "arXiv:1910.00577"
source: "https://arxiv.org/abs/1910.00577"
doi: "10.48550/arxiv.1910.00577"
arxiv: "1910.00577"
licence: "arXiv — non-exclusive licence to distribute"
licence_url: "http://arxiv.org/licenses/nonexclusive-distrib/1.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/alon-2019-structural-language-models-code/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · **Research** · [Groupants](https://md.groupants.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/alon-2019-structural-language-models-code/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/page/6/) / Structural Language Models of Code

# Structural Language Models of Code

**Authors:** [Uri Alon](https://md.research.elamur.ai/free/en/authors/uri-alon/), Roy Sadaka, [Omer Levy](https://md.research.elamur.ai/free/en/authors/omer-levy/) and [Eran Yahav](https://md.research.elamur.ai/free/en/authors/eran-yahav/) · **Year:** 2019 · **Venue:** arXiv:1910.00577 · **Licence:** [arXiv — non-exclusive licence to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

**Links:** [Publisher's page](https://arxiv.org/abs/1910.00577) · [PDF](https://arxiv.org/pdf/1910.00577) · [DOI 10.48550/arxiv.1910.00577](https://doi.org/10.48550/arxiv.1910.00577) · [arXiv 1910.00577](https://arxiv.org/abs/1910.00577) · [OpenAlex](https://openalex.org/W3035300716)

**Citations:** 37 citations (OpenAlex, 2026-10-14) · [18](https://md.research.elamur.ai/free/en/papers/alon-2019-structural-language-models-code/cited-by/) in our library, of the 150,927 papers whose bibliographies we read

## Summary
The authors address the task of any-code completion: a missing fragment of a program must be reconstructed from the rest of its code, with no restriction on the vocabulary or syntactic form of the result. Earlier approaches either worked with narrowly specialized languages or generated only simple expressions without user-defined functions. The paper proposes structural language modeling (SLM). A program is represented as an abstract syntax tree (AST), and its probability is decomposed by the chain rule into a product of conditional probabilities of individual nodes, ordered by a depth-first traversal. The neural network predicts each next node from a set of partial paths in the tree: from every already known leaf, and from the root, to the node currently being expanded. To control the number of child nodes and the length of identifiers, auxiliary nodes EOS_node and EOS_tok are added. The model describes the context and the missing fragment jointly, without a separate encoder and decoder. On Java and C#, SLM outperforms seq2seq and a number of structural models. The paper shows that explicitly accounting for the syntax of the language improves the generation of arbitrary code.

## Key points
- **Java, any-code completion:** exact match on the first attempt (acc@1) is 18.04%, and among five candidates (acc@5) it is 24.83%. The previous best result was 16.93% and 23.17%.
- **C#, the restricted task of Brockschmidt et al. (2019):** acc@1 is 37.61%, compared with 26.42% for previous models.
- **Node-by-node generation instead of grammar rules:** the model first decides that there will be a function call here, and only then chooses the object and the method. In production-based approaches, the method name has to be chosen before the object on which it is called.
- **Technical details:** identifiers are split into subtokens by camelCase. Paths are encoded by an LSTM, and shared path prefixes are computed once and cached, which noticeably speeds up training and inference. An ablation study showed that jointly modeling the context and the target works better than a separate encoder and decoder.
- **Resources:** the code, data and trained models are published at github.com/tech-srl/slm-code-generation, and an online demo is available at AnyCodeGen.org.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [University of Washington](https://md.research.elamur.ai/free/en/universities/university-of-washington/) — University, Seattle, United States · 422 works · 213,644 citations
- [Technion – Israel Institute of Technology](https://md.research.elamur.ai/free/en/universities/technion-israel-institute-of-technology/) — University, Haifa, Israel · 59 works · 7,598 citations

📚 Shelves (6): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 19,503 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 18,805 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 17,959 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 17,789 works · [🗄️ Information Systems](https://md.research.elamur.ai/free/en/shelves/computer-science/information-systems/) · 1,888 works · [🖥️ Computer Science Applications](https://md.research.elamur.ai/free/en/shelves/computer-science/computer-science-applications/) · 184 works

🧭 Topics (1): [🧠 Language models & pretraining](https://md.research.elamur.ai/free/en/topics/language-models/) · 4,145 works

## Cite

Cite as: Uri Alon, Roy Sadaka, Omer Levy and Eran Yahav. 2019. Structural Language Models of Code. arXiv:1910.00577.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@misc{alon2019structural,
  title = {{Structural Language Models of Code}},
  author = {Uri Alon, Roy Sadaka, Omer Levy and Eran Yahav},
  year = {2019},
  doi = {10.48550/arxiv.1910.00577},
  eprint = {1910.00577},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1910.00577}
}
```

- [← previous Compositional Generalization for Primitive Substitutions](https://md.research.elamur.ai/free/en/papers/li-2019-compositional-generalization-primitive-substitutions/)
- [next → Findings of the WMT 2019 Biomedical Translation Shared Task: Evaluation for MEDLINE Abstracts and Biomedical Terminologies](https://md.research.elamur.ai/free/en/papers/bawden-2019-findings-wmt-2019-biomedical-translation/)
- [↑ back to papers of 2019](https://md.research.elamur.ai/free/en/papers/2019/page/6/)

## References

45 references, 22 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Aharoni, R. and Goldberg, Y. [Towards string-to-tree neural machine translation](https://md.research.elamur.ai/free/en/papers/aharoni-2017-string-tree-neural-machine-translation/). In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 132–140, 2017.
2. Allamanis, M. [The adverse effects of code duplication in machine learning models of code](https://md.research.elamur.ai/free/en/papers/allamanis-2018-adverse-effects-code-duplication-machine/). In Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software, pp. 143–153.
3. Allamanis, M., Tarlow, D., Gordon, A., and Wei, Y. [Bimodal modelling of source code and natural language](https://md.research.elamur.ai/free/en/papers/allamanis-2015-bimodal-modelling-source-code-natural/). In International conference on machine learning, pp. 2123–2132, 2015.
4. Allamanis, M., Peng, H., and Sutton, C. [A convolutional attention network for extreme summarization of source code](https://md.research.elamur.ai/free/en/papers/allamanis-2016-convolutional-attention-network-extreme-summarization/). In International conference on machine learning, pp. 2091–2100, 2016.
5. Allamanis, M., Brockschmidt, M., and Khademi, M. [Learning to represent programs with graphs](https://md.research.elamur.ai/free/en/papers/allamanis-2017-learning-represent-programs-graphs/). In International Conference on Learning Representations, 2018.
6. Alon, U. and Yahav, E. On the bottleneck of graph neural networks and its practical implications. arXiv preprint arXiv:2006.05205, 2020. — [arXiv:2006.05205](https://arxiv.org/abs/2006.05205) [find](https://scholar.google.com/scholar?q=Alon%2C+U%2E+and+Yahav%2C+E%2E+On+the+bottleneck+of+graph+neural+networks+and+its+practical+implications%2E+arXiv+preprint+arXiv%3A2006%2E05205%2C+2020%2E+%E2%80%94+%5BarXiv%3A2006%2E05205%5D%28https%3A%2F%2Farxiv%2Eorg%2Fabs%2F2006%2E05205%29)
7. Alon, U., Zilberstein, M., Levy, O., and Yahav, E. [A general path-based representation for predicting program properties](https://md.research.elamur.ai/free/en/papers/alon-2018-general-path-based-representation-predicting/). In Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation, pp. 404–419, 2018.
8. Alon, U., Brody, S., Levy, O., and Yahav, E. [code2seq: Generating sequences from structured representations of code](https://md.research.elamur.ai/free/en/papers/alon-2018-code2seq-generating-sequences-structured-representations/). In International Conference on Learning Representations, 2019a.
9. Alon, U., Zilberstein, M., Levy, O., and Yahav, E. code2vec: Learning distributed representations of code. Proceedings of the ACM on Programming Languages, 3(POPL):1–29, 2019b. [find](https://scholar.google.com/scholar?q=Alon%2C+U%2E%2C+Zilberstein%2C+M%2E%2C+Levy%2C+O%2E%2C+and+Yahav%2C+E%2E+code2vec%3A+Learning+distributed+representations+of+code%2E+Proceedings+of+the+ACM+on+Programming+Languages%2C+3%28POPL%29%3A1%E2%80%9329%2C+2019b%2E)
10. Amodio, M., Chaudhuri, S., and Reps, T. arXiv:1705.[09231, 2017](https://md.research.elamur.ai/free/en/papers/amodio-2017-neural-attribute-machines-program-generation/).
11. [Neural attribute machines for program generation](https://md.research.elamur.ai/free/en/papers/amodio-2017-neural-attribute-machines-program-generation/). Balog, M., Gaunt, A. L., Brockschmidt, M., Nowozin, S., and Tarlow, D. Deepcoder: Learning to write programs. In International Conference on Learning Representations, 2017.
12. Bielik, P., Raychev, V., and Vechev, M. Phog: probabilistic model for code. In International Conference on Machine Learning, pp. 2933–2942, 2016. [find](https://scholar.google.com/scholar?q=Bielik%2C+P%2E%2C+Raychev%2C+V%2E%2C+and+Vechev%2C+M%2E+Phog%3A+probabilistic+model+for+code%2E+In+International+Conference+on+Machine+Learning%2C+pp%2E+2933%E2%80%932942%2C+2016%2E)
13. Brockschmidt, M., Allamanis, M., Gaunt, A. L., and Polozov, O. Generative code modeling with graphs. In International Conference on Learning Representations, 2019. [find](https://scholar.google.com/scholar?q=Brockschmidt%2C+M%2E%2C+Allamanis%2C+M%2E%2C+Gaunt%2C+A%2E+L%2E%2C+and+Polozov%2C+O%2E+Generative+code+modeling+with+graphs%2E+In+International+Conference+on+Learning+Representations%2C+2019%2E)
14. Brody, S., Alon, U., and Yahav, E. Neural edit completion. arXiv preprint arXiv:2005.13209, 2020. — [arXiv:2005.13209](https://arxiv.org/abs/2005.13209) [find](https://scholar.google.com/scholar?q=Brody%2C+S%2E%2C+Alon%2C+U%2E%2C+and+Yahav%2C+E%2E+Neural+edit+completion%2E+arXiv+preprint+arXiv%3A2005%2E13209%2C+2020%2E+%E2%80%94+%5BarXiv%3A2005%2E13209%5D%28https%3A%2F%2Farxiv%2Eorg%2Fabs%2F2005%2E13209%29)
15. Chen, X., Liu, C., and Song, D. Tree-to-tree neural networks for program translation. In Advances in Neural Information Processing Systems, pp. 2547–2557, 2018. [find](https://scholar.google.com/scholar?q=Chen%2C+X%2E%2C+Liu%2C+C%2E%2C+and+Song%2C+D%2E+Tree%2Dto%2Dtree+neural+networks+for+program+translation%2E+In+Advances+in+Neural+Information+Processing+Systems%2C+pp%2E+2547%E2%80%932557%2C+2018%2E)
16. Devlin, J., Uesato, J., Bhupatiraju, S., Singh, R., Mohamed, A.-r., and Kohli, P. Robustfill: Neural program learning under noisy i/o. In International Conference on Machine Learning, pp. 990–998, 2017. [find](https://scholar.google.com/scholar?q=Devlin%2C+J%2E%2C+Uesato%2C+J%2E%2C+Bhupatiraju%2C+S%2E%2C+Singh%2C+R%2E%2C+Mohamed%2C+A%2E%2Dr%2E%2C+and+Kohli%2C+P%2E+Robustfill%3A+Neural+program+learning+under+noisy+i%2Fo%2E+In+International+Conference+on+Machine+Learning%2C+pp%2E+990%E2%80%93998%2C+201)
17. Dong, L. and Lapata, M. Coarse-to-fine decoding for neural semantic parsing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 731–742, 2018. [find](https://scholar.google.com/scholar?q=Dong%2C+L%2E+and+Lapata%2C+M%2E+Coarse%2Dto%2Dfine+decoding+for+neural+semantic+parsing%2E+In+Proceedings+of+the+56th+Annual+Meeting+of+the+Association+for+Computational+Linguistics+%28Volume+1%3A+Long+Papers%29%2C+pp%2E+731)
18. Ellis, K., Nye, M., Pu, Y., Sosa, F., Tenenbaum, J., and Solar-Lezama, A. [Write, execute, assess: Program synthesis with a repl](https://md.research.elamur.ai/free/en/papers/ellis-2019-write-execute-assess-program-synthesis/). In Advances in Neural Information Processing Systems, pp. 9169–9178, 2019.
19. Fernandes, P., Allamanis, M., and Brockschmidt, M. Structured neural summarization. In International Conference on Learning Representations, 2019. [find](https://scholar.google.com/scholar?q=Fernandes%2C+P%2E%2C+Allamanis%2C+M%2E%2C+and+Brockschmidt%2C+M%2E+Structured+neural+summarization%2E+In+International+Conference+on+Learning+Representations%2C+2019%2E)
20. Gaunt, A. L., Brockschmidt, M., Kushman, N., and Tarlow, D. Differentiable programs with neural libraries. In International Conference on Machine Learning, pp. 1213–1222, 2017. arXiv preprint Green, C. Application of theorem proving to problem solving. In Readings in Artificial Intelligence, pp. 202… [find](https://scholar.google.com/scholar?q=Gaunt%2C+A%2E+L%2E%2C+Brockschmidt%2C+M%2E%2C+Kushman%2C+N%2E%2C+and+Tarlow%2C+D%2E+Differentiable+programs+with+neural+libraries%2E+In+International+Conference+on+Machine+Learning%2C+pp%2E+1213%E2%80%931222%2C+2017%2E+arXiv+preprint+Green%2C+C)
21. Gu, J., Lu, Z., Li, H., and Li, V. O. [Incorporating copying mechanism in sequence-to-sequence learning](https://md.research.elamur.ai/free/en/papers/gu-2016-incorporating-copying-mechanism-sequence-sequence/). In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1631–1640, 2016.
22. Gulwani, S. [Automating string processing in spreadsheets using input-output examples](https://md.research.elamur.ai/free/en/papers/gulwani-2011-automating-string-processing-spreadsheets-input/). In Proceedings of the 38th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages, pp. 317–330, 2011.
23. Gulwani, S., Polozov, O., Singh, R., et al. [Program synthesis](https://md.research.elamur.ai/free/en/papers/gulwani-2017-program-synthesis/). Foundations and Trends® in Programming Languages, 4 (1-2):1–119, 2017.
24. Iyer, S., Konstas, I., Cheung, A., and Zettlemoyer, L. [Mapping language to code in programmatic context](https://md.research.elamur.ai/free/en/papers/iyer-2018-mapping-language-code-programmatic-context/). In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 1643–1652, 2018.
25. Iyer, S., Cheung, A., and Zettlemoyer, L. Learning programmatic idioms for scalable semantic parsing. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 5429–5438, 201… [find](https://scholar.google.com/scholar?q=Iyer%2C+S%2E%2C+Cheung%2C+A%2E%2C+and+Zettlemoyer%2C+L%2E+Learning+programmatic+idioms+for+scalable+semantic+parsing%2E+In+Proceedings+of+the+2019+Conference+on+Empirical+Methods+in+Natural+Language+Processing+and+the+)
26. Kingma, D. and Ba, J. [Adam: A method for stochastic optimization](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/). In International Conference on Learning Representations, 2015.
27. Klein, G., Kim, Y., Deng, Y., Senellart, J., and Rush, A. M. [Opennmt: Open-source toolkit for neural machine translation](https://md.research.elamur.ai/free/en/papers/klein-2017-opennmt-open-source-toolkit-neural/). In Proceedings of ACL 2017, System Demonstrations, pp. 67–72, 2017.
28. Ling, W., Blunsom, P., Grefenstette, E., Hermann, K. M., Kočiskỳ, T., Wang, F., and Senior, A. [Latent predictor networks for code generation](https://md.research.elamur.ai/free/en/papers/ling-2016-latent-predictor-networks-code-generation/). In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 599–609, 2016.
29. Luong, M.-T., Pham, H., and Manning, C. D. [Effective approaches to attention-based neural machine translation](https://md.research.elamur.ai/free/en/papers/luong-2015-effective-approaches-attention-based-neural/). In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 1412–1421, 2015.
30. Maddison, C. and Tarlow, D. Structured generative models of natural source code. In International Conference on Machine Learning, pp. 649–657, 2014. [find](https://scholar.google.com/scholar?q=Maddison%2C+C%2E+and+Tarlow%2C+D%2E+Structured+generative+models+of+natural+source+code%2E+In+International+Conference+on+Machine+Learning%2C+pp%2E+649%E2%80%93657%2C+2014%2E)
31. Murali, V., Qi, L., Chaudhuri, S., and Jermaine, C. Neural sketch learning for conditional program generation. In International Conference on Learning Representations, 2018. [find](https://scholar.google.com/scholar?q=Murali%2C+V%2E%2C+Qi%2C+L%2E%2C+Chaudhuri%2C+S%2E%2C+and+Jermaine%2C+C%2E+Neural+sketch+learning+for+conditional+program+generation%2E+In+International+Conference+on+Learning+Representations%2C+2018%2E)
32. Parisotto, E., Mohamed, A.-r., Singh, R., Li, L., Zhou, D., and Kohli, P. [Neuro-symbolic program synthesis](https://md.research.elamur.ai/free/en/papers/parisotto-2016-neuro-symbolic-program-synthesis/). In International Conference on Learning Representations, 2017.
33. Pnueli, A. and Rosner, R. On the synthesis of a reactive module. In Proceedings of the 16th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, pp. 179–190. ACM, 1989. [find](https://scholar.google.com/scholar?q=Pnueli%2C+A%2E+and+Rosner%2C+R%2E+On+the+synthesis+of+a+reactive+module%2E+In+Proceedings+of+the+16th+ACM+SIGPLAN%2DSIGACT+symposium+on+Principles+of+programming+languages%2C+pp%2E+179%E2%80%93190%2E+ACM%2C+1989%2E)
34. Polozov, O. and Gulwani, S. Flashmeta: a framework for inductive program synthesis. In Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, pp. 107– 126, 2015. [find](https://scholar.google.com/scholar?q=Polozov%2C+O%2E+and+Gulwani%2C+S%2E+Flashmeta%3A+a+framework+for+inductive+program+synthesis%2E+In+Proceedings+of+the+2015+ACM+SIGPLAN+International+Conference+on+Object%2DOriented+Programming%2C+Systems%2C+Languages%2C+)
35. Rabinovich, M., Stern, M., and Klein, D. Abstract syntax networks for code generation and semantic parsing. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1139–1149, 2017. [find](https://scholar.google.com/scholar?q=Rabinovich%2C+M%2E%2C+Stern%2C+M%2E%2C+and+Klein%2C+D%2E+Abstract+syntax+networks+for+code+generation+and+semantic+parsing%2E+In+Proceedings+of+the+55th+Annual+Meeting+of+the+Association+for+Computational+Linguistics+%28)
36. Raychev, V., Bielik, P., Vechev, M., and Krause, A. Learning programs from noisy data. In Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, pp. 761–774, 2016. [find](https://scholar.google.com/scholar?q=Raychev%2C+V%2E%2C+Bielik%2C+P%2E%2C+Vechev%2C+M%2E%2C+and+Krause%2C+A%2E+Learning+programs+from+noisy+data%2E+In+Proceedings+of+the+43rd+Annual+ACM+SIGPLAN%2DSIGACT+Symposium+on+Principles+of+Programming+Languages%2C+pp%2E+761%E2%80%9377)
37. Si, X., Yang, Y., Dai, H., Naik, M., and Song, L. Learning a meta-solver for syntax-guided program synthesis. In International Conference on Learning Representations, 2019. [find](https://scholar.google.com/scholar?q=Si%2C+X%2E%2C+Yang%2C+Y%2E%2C+Dai%2C+H%2E%2C+Naik%2C+M%2E%2C+and+Song%2C+L%2E+Learning+a+meta%2Dsolver+for+syntax%2Dguided+program+synthesis%2E+In+International+Conference+on+Learning+Representations%2C+2019%2E)
38. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., and Polosukhin, I. [Attention is all you need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/). In Advances in Neural Information Processing Systems, pp. 6000–6010, 2017.
39. Waldinger, R. J. and Lee, R. C. Prow: A step toward automatic program writing. In Proceedings of the 1st international joint conference on Artificial intelligence, pp. 241–252, 1969. [find](https://scholar.google.com/scholar?q=Waldinger%2C+R%2E+J%2E+and+Lee%2C+R%2E+C%2E+Prow%3A+A+step+toward+automatic+program+writing%2E+In+Proceedings+of+the+1st+international+joint+conference+on+Artificial+intelligence%2C+pp%2E+241%E2%80%93252%2C+1969%2E)
40. Xiao, C., Dymetman, M., and Gardent, C. Sequence-based structured prediction for semantic parsing. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1341–1350, 2016. [find](https://scholar.google.com/scholar?q=Xiao%2C+C%2E%2C+Dymetman%2C+M%2E%2C+and+Gardent%2C+C%2E+Sequence%2Dbased+structured+prediction+for+semantic+parsing%2E+In+Proceedings+of+the+54th+Annual+Meeting+of+the+Association+for+Computational+Linguistics+%28Volume+1%3A)
41. Yin, P. and Neubig, G. [A syntactic neural model for general-purpose code generation](https://md.research.elamur.ai/free/en/papers/yin-2017-syntactic-neural-model-general-purpose/). In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 440–450, 2017.
42. Yin, P., Neubig, G., Allamanis, M., Brockschmidt, M., and Gaunt, A. L. Learning to represent edits. In International Conference on Learning Representations, 2019. [find](https://scholar.google.com/scholar?q=Yin%2C+P%2E%2C+Neubig%2C+G%2E%2C+Allamanis%2C+M%2E%2C+Brockschmidt%2C+M%2E%2C+and+Gaunt%2C+A%2E+L%2E+Learning+to+represent+edits%2E+In+International+Conference+on+Learning+Representations%2C+2019%2E)
43. Young, H., Bastani, O., and Naik, M. Learning neurosymbolic generative models via program synthesis. In International Conference on Machine Learning, pp. 7144–7153, 2019. [find](https://scholar.google.com/scholar?q=Young%2C+H%2E%2C+Bastani%2C+O%2E%2C+and+Naik%2C+M%2E+Learning+neurosymbolic+generative+models+via+program+synthesis%2E+In+International+Conference+on+Machine+Learning%2C+pp%2E+7144%E2%80%937153%2C+2019%2E)
44. Yu, T., Li, Z., Zhang, Z., Zhang, R., and Radev, D. [Typesql: Knowledge-based type-aware neural text-to-sql generation](https://md.research.elamur.ai/free/en/papers/yu-2018-typesql-knowledge-based-type-aware/). In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pp. 588–5…
45. Zhao, R., Bieber, D., Swersky, K., and Tarlow, D. Neural networks for modeling source code edits. arXiv preprint arXiv:1904.02818, 2019. — [arXiv:1904.02818](https://arxiv.org/abs/1904.02818) [find](https://scholar.google.com/scholar?q=Zhao%2C+R%2E%2C+Bieber%2C+D%2E%2C+Swersky%2C+K%2E%2C+and+Tarlow%2C+D%2E+Neural+networks+for+modeling+source+code+edits%2E+arXiv+preprint+arXiv%3A1904%2E02818%2C+2019%2E+%E2%80%94+%5BarXiv%3A1904%2E02818%5D%28https%3A%2F%2Farxiv%2Eorg%2Fabs%2F1904%2E02818%29)

*Updated 3 November 2026*
