CoChat

The DOI matches its Crossref record; 44 of the 44 references it cites were found in a registry or an index.

Are deep neural networks the best choice for modeling source code?

Hellendoorn, Vincent J., Devanbu, Premkumar · 2017 · Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering

Abstract

Current statistical language modeling techniques, including deep-learning based models, have proven to be quite effective for source code. We argue here that the special properties of source code can be exploited for further improvements. In this work, we enhance established language modeling approaches to handle the special challenges of modeling source code, such as: frequent changes, larger, changing vocabularies, deeply nested scopes, etc. We present a fast, nested language modeling toolkit specifically designed for software, with the ability to add & remove text, and mix & swap out many models. Specifically, we improve upon prior cache-modeling work and present a model with a much more expansive, multi-level notion of locality that we show to be well-suited for modeling software. We present results on varying corpora in comparison with traditional N-gram, as well as RNN, and LSTM deep-learning language models, and release all our source code for public use. Our evaluations suggest that carefully adapting N-gram models for source code can yield performance that surpasses even RNN and LSTM based deep-learning models.

Overview

Integrity signals

Registry

Crossref · 10.1145/3106237.3106290

Cites

44 of 44 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Citations

Cites

Show all 44 references

Research works printed but not linked: 7

  1. 10.5555/2487085.2487127 · doi:10.5555/2487085.2487127
  2. Stanley F. Chen and Joshua Goodman . 1996 . Stanley F. Chen and Joshua Goodman. 1996.
  3. Hoa Khanh Dam , Truyen Tran , and Trang Pham . 2016. A deep language model for software code. arXiv preprint arXiv:1608.02715 ( 2016 ). Hoa Khanh Dam, Truyen Tran, and Trang Pham. 2016. A deep language model for software code. arXiv preprint arXiv:1608.02715 (2016). · arXiv
  4. 10.5555/2819009.2819143 · doi:10.5555/2819009.2819143
  5. 10.5555/2818754.2818858 · doi:10.5555/2818754.2818858
  6. Anh Tuan Nguyen , Tung Thanh Nguyen, and Tien N Nguyen . 2013 . Anh Tuan Nguyen, Tung Thanh Nguyen, and Tien N Nguyen. 2013.
  7. Thanh Nguyen , Peter C Rigby , Anh Tuan Nguyen , Mark Karanfil, and Tien N Nguyen. 2016 . Thanh Nguyen, Peter C Rigby, Anh Tuan Nguyen, Mark Karanfil, and Tien N Nguyen. 2016.

Cited by

See all 293

Metadata

Authors
Hellendoorn, V. J., & Devanbu, P.
Affiliations
  • University of California, Davis (US)
  • University of California at Davis, USA
Venue
Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering
Publisher
ACM
Published
2017-08-21
Pages
763-773
OpenAlex
W2740130862
Cited by
292
References
42
Citations by year
2026: 7 · 2025: 20 · 2024: 25 · 2023: 32 · 2022: 33 · 2021: 54 · 2020: 50 · 2019: 47 · 2018: 22 · 2017: 2
FWCI
25.41
Type
conference paper
Language
en
Open access
closed
Locations
ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) (publishedVersion)
Funders
NSF (1414172)
Topics
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
Keywords
cache model, n-gram language models, deep neural network, recurrent neural networks, LSTM

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Are deep neural networks the best choice for modeling source code? https://app.cochat.ai/papers/10.1145/3106237.3106290
The paper
Hellendoorn, V. J., & Devanbu, P. (2017). Are deep neural networks the best choice for modeling source code? Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering. https://doi.org/10.1145/3106237.3106290

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.