When deep learning met code search
Paper · 2019 · José Cambronero, Hongyu Li, Seohyun Kim et al.
Summary
Finding useful code from a description of what it should do requires more than matching words. A developer may ask about traversing a map, while a relevant implementation uses method names and API calls that express the same operation differently. When Deep Learning Met Code Search examines systems that bridge this gap by representing a query and a code fragment as vectors, then retrieving fragments whose vectors resemble the query’s vector. Its central question is practical: which design choices actually improve this kind of search, and which add complexity without a corresponding benefit?
The authors compare an existing unsupervised system, two more elaborate supervised systems, and a supervised extension they introduce called UNIF, short for Embedding Unification. The unsupervised baseline learns token representations from code and combines them using conventional retrieval techniques. UNIF keeps the basic simplicity of that approach but adjusts the representations using paired code and natural-language descriptions. It also learns how strongly to weight code tokens. The other supervised systems use recurrent networks that process ordered sequences, including method names, API calls, code tokens, and descriptions. Running these alternatives through a common experimental framework lets the authors examine supervision, architectural complexity, and training-data suitability together.
The first finding is that supervision helps under some conditions, but its benefits are uneven. UNIF improves on the unsupervised baseline across the reported retrieval depths on the Java benchmark. On the Android benchmark, it retrieves useful answers more frequently within a larger result list, while doing slightly worse at placing an answer first. The second finding is that the simplest supervised architecture wins the main comparisons: UNIF outperforms the two sequence-based alternatives on both benchmarks. This does not establish that order is unimportant in code. It establishes that preserving order through the particular recurrent architectures tested here did not produce better search results.
The third finding concerns the language used for supervision. Documentation attached to code is convenient training material, but it is an imperfect substitute for the questions developers ask. When the authors replace documentation-based supervision with separate Stack Overflow question-title and code-answer pairs, the supervised systems generally improve substantially. That experiment uses training material disjoint from the benchmark questions, although drawn from the same source. The paper’s broader lesson is therefore conditional and useful: start with a strong simple baseline, measure the contribution of supervision, and examine whether the training language resembles the language of intended users before investing in a more complicated architecture.
Interesting ideas
Start with a competitive simple baseline. The unsupervised comparison is a functioning retrieval system rather than a deliberately weak alternative. It learns token vectors from code and combines them into searchable representations. UNIF then supplies a relatively small supervised extension. This makes the comparison informative: an improvement must justify itself against a system that already works without paired descriptions. The same principle applies to document retrieval, recommendation, or any engineering task where a complicated learned system competes with a compact statistical method. A useful baseline reveals whether the expensive component solves an unmet need.
Treat supervision as a design choice. Paired examples do more than supply extra training material; they specify which relationships the system should learn. In this study, a code fragment and its documentation are treated as corresponding examples, yet the eventual input is a user’s question. The mismatch matters. Elsewhere, the same issue arises whenever convenient labels stand in for the actual task: a product description may substitute for a shopper’s request, or a document heading may substitute for a search query. The reusable idea is to examine the relationship between the available supervision and the expected input before assuming that more labeled data will improve the right behavior.
Use asymmetry deliberately. UNIF does not combine query tokens and code tokens in exactly the same way. A query receives a simple average of token vectors, while code receives a learned weighted combination. The two sides also have separately adjustable embedding matrices, in spite of sharing an initialization. This design acknowledges that paired inputs can belong in a common comparison space without requiring identical treatment. It is relevant to retrieval between short requests and long documents, descriptions and catalog entries, or other tasks where the two inputs have different structures and different sources of noise.
Separate representation learning from search. The paper distinguishes learning a representation, constructing a searchable corpus, and evaluating queries against that corpus. These activities interact, but they are not interchangeable. Code representations can be prepared before a query arrives; the query representation must be produced during search. Likewise, repeated training examples and repeated search results have different consequences. This separation is useful for evaluating a retrieval pipeline because it exposes where work happens, what must be refreshed when representations change, and which dataset properties affect the user’s result list.
Compare complexity through behavior and computation. The authors examine both retrieved answers and the effort required to represent inputs. That pairing matters because architectural sophistication has operational consequences even when its effect on accuracy is disappointing. A system can be easier to train and faster to run while also ranking answers better. The transferable idea is to compare alternatives along the dimensions that deployment actually exposes, rather than treating architectural richness as evidence of quality. The paper also shows why offline preparation and interactive work should be measured separately.
Build an informative alternative dataset. The Stack Overflow training experiment is not presented as a universal replacement for documentation. It asks a more focused question: what happens when the language used for training better resembles the language used for evaluation? That makes it a diagnostic experiment about the limitations of the existing setup. Similar experiments can help distinguish a weak architecture from unsuitable supervision. Their interpretation must remain careful, because changing a dataset changes more than its writing style, but a targeted alternative can reveal opportunities that architecture-only comparisons miss.
Deep dive: When deep learning met code search
When Deep Learning Met Code Search compares simple and complex search systems, showing why supervision data matters as much as architecture. · about 36 minutes to read
How Mova uses it
For Mova, the small transparent language system written in Rust, the most direct contribution is a way to organize evidence before adding machinery. The paper supports beginning with a representation and retrieval process whose individual operations are easy to inspect. It does not provide evidence that Mova already implements code search, UNIF, or supervised embedding alignment. The applications described here are possible directions, not reports of completed features.
A concrete starting point would be retrieval over Mova’s own code or technical material. A user would express an intended operation in ordinary language, and the system would return existing fragments that might implement it. Following the paper’s experimental logic, the first question would be whether a compact token-based representation already retrieves useful results. A supervised extension would become worthwhile only if paired examples improved the search behavior that matters to users.
The distinction between token vectors and whole-input vectors is especially relevant to transparency. A token representation says something about an individual word or code identifier. A fragment representation combines many such contributions. Mova could expose those stages separately: which tokens survive preprocessing, which token representations contribute to a candidate, and how those contributions are combined. This would make the retrieval computation inspectable. It would not, on its own, demonstrate that the retrieved fragment has the intended behavior.
UNIF suggests a limited extension that could preserve much of this inspectability. Instead of immediately introducing a recurrent encoder, Mova could compare fixed token combinations with a learned weighting over code tokens. The learned weights would make some tokens contribute more strongly than others to a fragment’s vector. A transparent implementation could display those weights alongside the fragment. The interpretation would need to stay narrow: a large weight identifies influence within the representation calculation, not proof that a token explains program correctness.
The treatment of training language offers another practical lesson. If Mova eventually collects examples from documentation, those examples should not automatically be treated as representative user requests. Documentation may name an operation directly, while a user describes a difficulty, a desired outcome, or an unfamiliar API. A useful evaluation would keep actual requests separate from training descriptions and compare performance on them. The paper gives a reason to perform that comparison, rather than assuming that abundant documentation is necessarily the best supervision.
The evaluation pipeline also offers a choice that Mova could adapt cautiously. Reproducible automated scoring is valuable, particularly when comparing several retrieval settings. Yet the paper’s scoring depends on resemblance to a reference code answer. Mova could use such a score as one diagnostic while keeping its meaning explicit. A result that resembles the reference is not thereby known to compile, run correctly, or meet an unstated requirement.
Finally, the paper’s emphasis on simple comparisons fits a small system with limited implementation capacity. The relevant question is not whether Mova can reproduce the largest architecture discussed. It is whether each additional component produces a clear improvement over the existing retrieval process. That could mean better first results, more useful candidates within a short list, or lower interactive computation. Those outcomes would have to be established in Mova’s own setting; the Java and Android experiments cannot establish them for a Rust implementation in advance.
The problem and its context
Searching for behavior through language
The paper studies code and programming languages through a retrieval problem. A developer describes an intention, and the search system returns existing code that might satisfy it. The difficulty is that intention and implementation frequently use different vocabularies. The query describes an operation from the user’s perspective. The code expresses that operation through identifiers, API usage, control structures, and surrounding implementation choices.
A purely textual search can succeed when the same distinctive words appear on both sides. It has a harder task when the relationship is indirect. The paper’s map-iteration example illustrates the point: understanding the request requires connecting ordinary language about traversal with code that accesses entries and processes them. The relevant match is between a requested behavior and an implementation pattern, not necessarily between identical strings.
This matters particularly in organizational repositories. Public search tools can help developers find general examples, but the paper notes that they may not capture the APIs and libraries used within a particular organization. A developer searching private code needs examples that reflect that environment. The retrieval target is therefore frequently an existing internal implementation instead of a general answer from a public discussion.
The authors frame this as an information retrieval task, with code fragments as candidates and natural-language descriptions as requests. Their focus is finding existing material. The system does not have to generate a new program, and successful retrieval is not defined by whether newly produced code passes an execution test. That boundary is important for understanding both the architecture and the evaluation.
From words to shared representations
The approach relies on word embeddings: learned numerical representations in which a token is associated with a vector. The paper extends this idea from individual tokens to entire queries and code fragments. If the representations are useful, related inputs should occupy nearby positions according to a chosen similarity measure.
The representation is distributed across coordinates. A coordinate is not assigned a hand-written interpretation such as “contains iteration” or “uses a map.” Instead, the vector as a whole carries information learned from examples. This makes the representation flexible, but it also means that proximity is an empirical property that must be tested. A shared vector space does not guarantee that its geometry corresponds to the behavior a developer wants.
The paper describes the relationship between code and natural language as bimodal embedding. The term refers to representing different kinds of input within a space where they can be compared. A code fragment and its description remain different objects, but each is transformed into a vector of the same dimensionality. Retrieval then becomes a search for code vectors similar to the query vector.
There are different ways to learn this arrangement. An unsupervised system can derive token representations from code alone and reuse them when processing natural-language queries. A supervised system can use paired descriptions and code to adjust the representations so that corresponding inputs become more similar. The paper examines whether that additional alignment produces enough improvement to justify collecting and using the pairs.
What earlier systems contributed
The unsupervised starting point comes from earlier Neural Code Search work by Sachdev and colleagues. As described in this paper, that system combines fastText token representations with conventional retrieval weighting. It provides an important counterpoint to deeper architectures because it already retrieves relevant code without learning from aligned descriptions.
A second line of work uses more elaborate supervised encoders. The system called Code Description Embedding Neural Network processes method names, API sequences, body tokens, and natural-language descriptions through several neural components. GitHub’s Semantic Code Search system instead combines a code-to-description sequence network with a separately trained description encoder and an alignment stage. These systems supply the sequence-based alternatives in the comparison.
The authors use the original implementations made available for those supervised approaches. Their stated contribution is not to replace every component with a new implementation, but to bring established systems into a common evaluation setting and compare their major design choices. UNIF supplies a missing point in that comparison: supervision without an accompanying move to a complex sequence architecture.
The related-work discussion also places code search beside other uses of paired code and language. The paper describes work on synthesizing snippets from natural-language requests, producing programs from API and language inputs, and generating descriptions of code. These tasks share representation-learning ideas, but they ask for different outputs. A system that writes a description or synthesizes a program is not evaluated in the same way as a system that ranks existing fragments.
The paper also discusses work on software-defect detection, program analysis, code reuse, and automated changes. Bug localization is a particularly close neighboring task because it searches source material in response to an input such as a bug report. The authors distinguish their setting by emphasizing natural-language queries and retrieval across multiple projects.
The experimental gap
The research problem is therefore not simply whether neural retrieval can work. Earlier systems already provide evidence that it can. The unresolved question is how to choose among plausible designs when supervision, architecture, preprocessing, and evaluation data all differ.
An apparent advantage for a sophisticated system could come from its training corpus rather than its architecture. Conversely, weak results for a supervised system could reflect a mismatch between documentation and actual questions. Without a common framework, these explanations are difficult to separate.
The paper organizes its investigation around those choices. It asks whether supervision helps an effective unsupervised system, whether more elaborate sequence processing improves supervised search, and whether documentation is suitable language for training a query encoder. These questions make the study useful beyond the particular architectures: they concern how to interpret improvements and how to decide where further effort belongs.
The method, step by step
The retrieval pipeline
The basic pipeline has a training stage and a search stage. During training, the system learns token representations and, for supervised alternatives, learns from corresponding code and language. During preparation for search, every candidate code fragment receives a vector. At search time, a query receives its own vector, and the system ranks candidate fragments by similarity.
Learning representations and retrieving code
The steps in order.
The separation matters operationally. Preparing the code index can happen before a user asks a question. The query cannot be prepared in advance because its wording is only known when it arrives. This is why the authors later measure code embedding in batches but query embedding individually.
It also matters conceptually. Training examples teach the representation; search candidates define what can be returned; benchmark queries test whether the resulting arrangement retrieves suitable answers. These roles can involve related source material without being the same dataset.
Defining an embedding
The paper first introduces an embedding as a function from an input domain into a real-valued vector space.
E: 𝒳 → ℝᵈ
E is the embedding function. The symbol 𝒳 denotes the collection of possible inputs, such as code fragments. The symbol ℝ denotes real numbers, and d is the number of coordinates in the output vector. An input therefore becomes a vector with d real-valued components.
For retrieval between code and language, the paper uses separate functions.
E_c: 𝒞 → ℝᵈ
E_c maps code into vectors. The set 𝒞 is the domain of possible code fragments, and ℝᵈ is the shared output space.
E_q: 𝒬 → ℝᵈ
E_q maps queries or natural-language descriptions into vectors. The set 𝒬 contains those language inputs. Both functions produce vectors of length d, making it possible to compare their outputs directly.
The desired relationship is expressed through similarity.
sim(E_c(c), E_q(q))
The function sim measures similarity between vectors. The input c is a code fragment, and q is its corresponding description or query. Training seeks representations for which this similarity is high for corresponding inputs. The paper uses cosine similarity as the retrieval comparison, but it does not supply an explicit cosine formula or a complete supervised loss equation.
That omission limits how precisely the optimization can be reconstructed from the mathematical presentation. The paper explains what relationships the training should encourage and identifies the parameters that change. It does not give a full objective from which every training detail could be derived independently.
Preparing tokens and initial vectors
Before a fragment becomes a single vector, it is broken into tokens. Tokenization determines which pieces of the original text become the units that receive representations. In code, splitting identifiers matters because useful words may be joined through camel case or snake case rather than separated by spaces.
The running example uses a loop over map entries. After tokenization, the input becomes words associated with the loop, the map, its entry set, and output operations. This turns structured source text into material that a token-based representation can consume.
The initial token representations are learned using fastText. The paper explains the underlying intuition through skip-gram learning: a target token is used to predict neighboring context tokens. With the example window size of 2, the training context includes nearby tokens on either side of the target. Repeated exposure to local contexts produces vectors that reflect patterns of co-occurrence.
The resulting embedding matrix is written as follows.
T ∈ ℝ^(|V_c| × d)
T is the matrix of code-token representations. V_c is the code vocabulary, and |V_c| is its number of entries. Each row contains a vector of length d. Looking up a token selects its corresponding row.
This initial training does not require a paired natural-language description for every fragment. That is what makes it a suitable starting point for both the unsupervised baseline and the supervised extension. Supervision can then be studied as an additional operation rather than as the prerequisite for obtaining any representation at all.
The unsupervised baseline
Neural Code Search uses the learned token matrix on both sides of retrieval. Code tokens and query tokens draw from the same initial representation space. The system then combines their vectors differently.
For code, it uses TF-IDF weighting. A token’s contribution depends on its occurrence within the fragment and its prevalence across the corpus. The intention is to preserve distinguishing terms while reducing the influence of terms that occur throughout the collection. The code vector is formed from weighted token representations.
For a query, the baseline averages the available token vectors. This produces a compact query representation without a separate supervised encoder. The average discards ordering, so changing the sequence of the same tokens does not change the representation.
The baseline’s token matrix remains fixed after its unsupervised learning stage. It is not adjusted using corresponding code and descriptions. The comparison therefore asks whether learning from such pairs improves the geometry already supplied by the code corpus.
The authors also exclude a query-expansion heuristic described in the earlier baseline work. That heuristic uses co-occurrence between code and natural-language terms to extend a request. Leaving it out gives the study a more focused comparison of supervision. The baseline here should therefore be understood as the specified version of Neural Code Search, rather than every enhancement associated with its earlier presentation.
UNIF: supervision with a compact architecture
UNIF begins with the same initial token representations but gives code and language separate matrices.
T_q ∈ ℝ^(|V_q| × d)
T_q contains the natural-language token vectors. V_q is the vocabulary used for descriptions and queries, |V_q| is its size, and d is the vector length.
T_c ∈ ℝ^(|V_c| × d)
T_c contains code-token vectors. V_c is the code vocabulary. Both matrices begin from the initial representations in T, but supervised training can change them separately.
This separation allows a token’s role in code to differ from its role in a description. Shared initialization provides a starting relationship between the spaces; separate adjustment lets the training data refine that relationship. UNIF therefore retains the original token-based approach while allowing the paired examples to influence retrieval.
The query representation remains an average of token vectors. The authors report that this worked better in their experiments than applying learned attention to queries. They do not present detailed values for that comparison, so it supports the chosen architecture without establishing the size or consistency of the advantage.
For code, UNIF replaces fixed retrieval weighting with learned attention. Here, attention means a mechanism that assigns different contributions to token vectors before combining them. A learned vector is compared with every code-token vector, and the resulting scores are normalized.
α_i = exp(a_c · e_iᵀ) / Σⱼ₌₁ⁿ exp(a_c · e_jᵀ)
The symbol α_i is the weight assigned to token vector e_i. The vector a_c is the learned attention parameter for code. The dot indicates an inner product, and the superscript T denotes transposition. The function exp is the exponential function. The denominator sums the exponential scores over the n token vectors, using j as the summation index.
Normalization makes the token contributions relative to one another within the fragment. A token with a stronger score receives a larger share of the combined representation. The attention vector is learned across training examples rather than specified through a hand-written list of important code words.
The fragment vector is then calculated from those weights.
e = Σᵢ₌₁ⁿ α_i e_i
The output e is the code-fragment embedding. Each token vector e_i is multiplied by its attention weight α_i, and the weighted vectors are added across the n tokens. The index i identifies the token being included in the sum.
Training adjusts T_q, T_c, and a_c through back-propagation. This is the core of UNIF’s additional capacity: it can alter code and language representations and learn which code tokens should contribute most strongly. It still treats each input as a bag of tokens, so it does not learn an ordered traversal of the fragment.
What sequence processing adds
To explain the more complex alternatives, the paper introduces recurrent processing. A recurrent network reads tokens in order and updates a hidden state after each token. Its representation can therefore depend on which token came before which.
The paper gives a basic recurrence.
h_t = tanh(W · [h_(t−1); w_t])
The vector h_t is the hidden state after processing the token at position t. The vector h_(t−1) is the previous hidden state, and w_t represents the current token. The notation inside brackets means concatenating those vectors. W is a learned matrix that transforms the concatenated input, and tanh is a nonlinear activation.
The activation is defined as follows.
tanh(x) = (eˣ − e⁻ˣ) / (eˣ + e⁻ˣ)
The symbol x is an activation input, and e is the base of the exponential function in this expression. The output is bounded between -1 and 1. Applied across a vector, the function limits the values of the hidden-state components.
The paper explains that a sequence can be summarized through its final hidden state or through a reduction over multiple states. Max pooling, for example, selects the largest value in each coordinate across the states being combined. The recurrent systems studied use more elaborate recurrent units, including LSTMs and GRUs, rather than only the basic recurrence above.
Code Description Embedding Neural Network
The first sequence-based alternative represents code through several views. It extracts a sequence from the method name, another sequence from API calls, and a bag of tokens from the method body. Method identifiers are split into component words so that naming conventions do not hide their internal vocabulary.
The method-name sequence and API sequence go through separate bidirectional LSTMs. Bidirectional processing allows the representation to incorporate sequence context from both directions. Each sequence of hidden states is then reduced through max pooling to obtain a fixed-size vector.
The body-token bag follows a different path. Individual token representations pass through a feed-forward network, and those outputs are max-pooled. The resulting body vector is combined with the method-name and API vectors. A further feed-forward network produces the final code representation.
The language side uses another bidirectional LSTM to encode the description. This architecture therefore invests substantially more machinery in ordered inputs and in combining specialized views of code than UNIF does.
The comparison is informative, but it is not a perfectly isolated experiment on order. The systems also differ in input decomposition, aggregation, and learned transformations. A performance difference cannot automatically be attributed to the presence or absence of a recurrent component alone.
Semantic Code Search
The other sequence-based alternative uses a staged training process. Its first module learns to generate a documentation sequence from a code-token sequence with a GRU-based sequence-to-sequence architecture. This creates a code encoder as part of learning the code-to-description task.
A separate LSTM learns the distribution of documentation text. Besides assigning probabilities to language inputs, it provides representations for descriptions and eventual queries. The code and language encoders are therefore developed through different training tasks before being aligned.
The next stage learns a feed-forward transformation from the code encoder’s output into the description representation space. During this stage, the code encoder is frozen, so its parameters remain fixed while the added transformation learns the mapping.
A final adjustment stage unfreezes the encoder and fine-tunes the combined code side. The eventual retrieval system uses that adjusted code encoder for fragments and the documentation encoder for queries. This staged procedure is more elaborate than directly averaging language-token vectors and learning a weighted code-token combination.
Experiments and results
Keeping training, search, and evaluation distinct
The experimental design distinguishes material used for learning from material used for retrieval and scoring. A training corpus contains code paired with language, although the unsupervised baseline uses only the code. A search corpus contains candidate fragments that may be returned. Benchmark questions provide the natural-language inputs used to compare systems.
The search collections are deduplicated after tokenization. This prevents equivalent entries from repeatedly occupying the result list. Training collections may retain repeated pairs. The distinction reflects their different roles: repetition can affect learning, while repeated candidates directly affect what a user sees.
The Java training collection contains approximately 16 million methods paired with documentation. It was released with the earlier deep code search work and includes method-name sequences, API sequences, body-token bags, and documentation sequences. For the simpler approaches, the authors derive an input by joining the method-name and API material and treating it as a bag.
The Android documentation collection comes from approximately 26,109 GitHub repositories tagged for Android. Methods with documentation supply roughly 787,000 training examples. The corresponding search collection also includes methods without documentation, so the availability of a training description does not determine whether code can become a retrieval candidate.
The Java search collection contains 4 million distinct methods. The Android search collection contains 5.5 million distinct methods. These are large candidate sets relative to the benchmark query collections, so the task requires locating relevant fragments within substantial repositories rather than choosing among a few prepared alternatives.
The question benchmarks
The Java benchmark consists of 50 Stack Overflow questions. These were selected in the earlier deep code search study from highly voted Java questions, subject to conditions concerning a concrete answer, an accepted response containing code, and the exclusion of duplicates. The authors pair the titles with independently collected reference code answers.
The Android benchmark contains 287 questions. Its selection procedure requires the relevant Android and Java tagging, an upvoted code answer, and a reference snippet that has a match in the GitHub Android collection. These conditions make it possible to evaluate retrieval against code known to have a counterpart in the candidate environment.
Question titles are used as natural-language queries. This choice is deliberate: the authors want to test mapping from natural-language expressions into code representations, and they also want continuity with the earlier comparisons. A title can describe a problem more fully than a short keyword query, but it remains a particular kind of developer language.
The benchmarks therefore support claims about these selected question collections. They do not represent every possible interaction with a code-search interface. Queries written while browsing a private repository may differ from public question titles in length, terminology, assumptions, or specificity.
The alternative supervision corpus
The authors also construct Android training pairs from Stack Overflow. They extract question titles and answer snippets, then apply filters intended to remove examples poorly suited to the target code-search setting.
A retained snippet must avoid XML tags and include a left parenthesis, used as a sign that it contains a method call. Titles mentioning terms such as “gradle,” “studio,” or “emulator” are excluded. The resulting collection contains 451k title-and-code pairs.
This training collection is disjoint from the benchmark questions. That separation is essential to the interpretation: the experiment is not simply training on the evaluation questions and then retrieving their answers. It changes the source and character of supervision while holding the evaluation task in place.
At the same time, the authors intentionally describe it as idealized. Both the supervision and the benchmark now come from Stack Overflow. The experiment asks what supervised retrieval can achieve with a closer match between training language and evaluation language. It does not establish that an equally suitable dataset will be available for every organization or repository.
Training allocations and input preparation
The supervised systems receive 50 hours of training on the Java collection using an Nvidia Tesla M40 GPU. For the Android documentation collection and the Stack Overflow training collection, the stated allocation is 3 hours on that hardware.
The following comparison concerns the common training allocation on the Android documentation corpus. It is not a comparison of answer quality or of how quickly each architecture converges.
Android documentation corpus: allotted supervised training time
The supervised alternatives share the same stated training-time allocation.
The numbers
| System or setting | training hours |
|---|---|
| Code Description Embedding Neural Network | 3 |
| Semantic Code Search | 3 |
| UNIF (this paper) | 3 |
Equal time allocations do not imply equal amounts of optimization work or equally mature training. They establish a common resource allowance. That is relevant to a practical comparison, but a reader should not interpret the chart as evidence that the systems have equal computational efficiency.
Preprocessing also differs across settings. For Android, the simpler systems use the parser-derived input associated with the earlier unsupervised approach. It includes qualified method information, invocations, enums, string literals, and comments while omitting variable names. Identifier splitting supplies component words.
For Java, the simpler representations use the derived combination of method-name and API information. These choices matter because the representation cannot recover material that preprocessing has discarded. The results compare complete configured pipelines, including their input preparation, rather than architectures detached from their inputs.
How an answer is judged
The paper’s evaluation and benchmarks procedure uses reference snippets to make scoring reproducible. Instead of asking a human to judge every candidate returned by every system, the pipeline computes code similarity between a retrieved fragment and the reference answer.
A threshold converts that similarity into a relevance decision. Results above the threshold count as sufficient matches for the evaluation. This permits the authors to compare many query-result combinations consistently, but it also means that the reported outcome depends on the similarity procedure and its cutoff.
The cutoff is informed by manual assessment. Two authors separately judge the relevance of results within the top 10 for the calibration comparison. They revisit disagreements, compute similarity values for the agreed relevant results, and use the mean of the resulting distribution as the threshold.
This introduces human judgment at the calibration stage instead of removing it from evaluation altogether. The benefit is that subsequent scoring follows an explicit procedure. The limitation is that an automated resemblance score may accept or reject examples differently from a developer assessing whether the fragment solves a particular problem.
The reported measure is Answered@k. It counts benchmark questions for which a qualifying answer appears within the first k returned results. The paper uses Answered@1, Answered@5, and Answered@10. These are counts of questions answered at specified retrieval depths, not percentages and not direct measurements of program correctness.
Supervision helps, with an important qualification
The first comparison asks whether UNIF improves on the unsupervised baseline. On the Java benchmark, the paper reports improvement at all the examined retrieval depths. This supports the claim that paired descriptions can refine the initial token representations usefully.
The Android result is less uniform. UNIF improves the reported results within the top 5 and top 10, but performs slightly worse at the first position. Supervision therefore improves the availability of an answer within a list without consistently improving the leading recommendation.
This distinction matters in practice. A tool that displays several candidates gives the user an opportunity to inspect a useful result below the first position. A tool that immediately acts on the highest-ranked candidate exposes a different requirement. The same experimental comparison can be favorable for one interaction and unfavorable for another.
The results discussion reports these orderings without supplying the numerical answer-count entries needed to measure their magnitude. It therefore supports the direction and conditional nature of the comparisons, but not a numerical effect size. Assigning answer counts, percentages, or gains to those comparisons would go beyond the reported values.
Simpler supervised retrieval wins the main comparison
UNIF outperforms both sequence-based alternatives on the Java and Android benchmarks. This is the central architectural result. The added recurrent processing, specialized input paths, and staged training procedures do not yield better retrieval in the tested configurations.
The conclusion should be read at the level of the experiment. A compact supervised architecture is sufficient to beat these more elaborate alternatives on these benchmarks. That is a strong reason to include it in future comparisons. It is not evidence that every architecture using sequence order will lose to every bag-based representation.
The paper also examines embedding computation. Code is processed in batches of size 1000, reflecting offline index preparation. Queries are embedded individually, reflecting the interactive search path. The sequence-based systems require more time to produce both kinds of representation.
The discussion presents computational comparisons relative to UNIF, but the numerical ratio entries are not available in the results narrative. The defensible conclusion is therefore qualitative: the more elaborate systems perform more representation computation, while UNIF also achieves the stronger reported retrieval results. The exact runtime penalties cannot be reconstructed from the stated discussion.
Better-matched supervision improves the outlook
The final main comparison retrains supervised systems on the Stack Overflow collection. The paper reports substantial improvement for the supervised alternatives, with an exception involving first-position answers for a sequence-based system.
This changes the interpretation of the earlier documentation-trained results. A supervised architecture’s disappointing performance need not mean that alignment between language and code is intrinsically ineffective. It may mean that the available descriptions teach a relationship that transfers poorly to the benchmark questions.
The experiment also shifts the practical priority. Before adding architectural components, it may be more productive to improve the relationship between training descriptions and actual requests. That recommendation follows from the observed sensitivity to the aligned corpus, not from a claim that documentation has no value.
The paper does not supply enough numerical detail in its results discussion to compare the sizes of the architecture effect and the corpus effect directly. What it establishes is their qualitative importance: simplicity wins the principal architecture comparison, and better-matched supervision improves the supervised systems’ prospects.
What the ablations show
A controlled comparison of supervision
The paper offers comparisons organized around design choices rather than an exhaustive component-removal study. Its most direct test of supervision starts with the unsupervised baseline and introduces UNIF as a compact extension.
That comparison is deliberately conservative in architectural ambition. Both approaches combine token vectors without processing them as ordered sequences. This reduces the chance that any improvement will be attributed merely to replacing a simple representation with a large recurrent encoder.
Still, the transition changes more than the presence of paired examples. UNIF learns separate code and query matrices and replaces TF-IDF code weighting with attention. The result therefore evaluates a bundle of related supervised changes. It does not isolate the contribution of each changed parameter group or aggregation choice.
The strongest supported statement is that this particular supervised extension improves some retrieval outcomes over this particular unsupervised baseline. The authors explicitly resist turning that result into a universal guarantee that any unsupervised approach can be improved through equally minimal changes.
A comparison of architectural commitments
UNIF, Code Description Embedding Neural Network, and Semantic Code Search represent different commitments about how much input structure to retain and how much machinery to use. The study compares the outcomes of those commitments within a shared experimental framework.
The result challenges a plausible assumption: because code and language are ordered, a sequence-sensitive architecture must be preferable for retrieval. That assumption does not hold for the tested systems. Discarding order can still preserve enough lexical information to identify relevant fragments, especially when token representations and their aggregation are well suited to the benchmark.
However, this is not an isolated order ablation. The recurrent alternatives also change the organization of inputs, the number of learned transformations, and the training procedure. Their weaker performance does not identify sequence sensitivity as the sole cause.
The authors propose overfitting as a possible explanation. In their interpretation, the sequence-based alternatives may learn patterns that do not transfer as well to benchmark questions, while UNIF’s order-insensitive representation may constrain learning in a useful way.
They explicitly leave that explanation untested. There is no reported experiment that holds the rest of an architecture constant while changing only its access to token order. There is also no reported analysis that directly measures the proposed overfitting mechanism. The explanation should therefore remain a hypothesis attached to the observed ranking.
Query averaging versus attention
A smaller analysis appears within UNIF’s design discussion. The authors report trying attention-based aggregation for the query side and finding that simple averaging worked better.
This is useful because it shows that the asymmetry between code and query aggregation was not presented solely as a theoretical preference. The query encoder’s simplicity reflects an experimental choice made during development.
The evidence is limited, however. No numerical comparison, benchmark breakdown, or detailed training conditions accompany that observation. It supports retaining averaging in the described architecture, but it does not show when query attention might help or whether the same preference would hold with different query lengths or supervision.
Nor does this observation establish that query tokens are equally informative. Equal averaging is an aggregation rule. A learned token matrix can still make different words contribute different vector directions and magnitudes. Simplicity in the final combination does not mean that the representation contains no learned distinctions.
The corpus substitution as a diagnostic
Changing documentation pairs to Stack Overflow pairs is the paper’s strongest analysis of supervision suitability. The benchmark remains based on question titles and code answers, while the training source changes to resemble that relationship more closely.
The broad improvement shows that the supervised systems have useful capacity that documentation-based training does not fully realize in this evaluation. It also argues against interpreting their initial results as a complete measure of what the architectures can achieve.
The substitution does not isolate writing style alone. Documentation and question-answer pairs can differ in the code they contain, the operations they cover, the surrounding vocabulary, and how directly the language specifies a desired behavior. The study observes the combined effect of changing the aligned corpus.
That combined effect is still valuable. Deployment decisions frequently involve choosing between available data sources rather than manipulating a single linguistic property while holding everything else fixed. The experiment offers practical evidence about such a choice, while leaving the underlying causal contributions unresolved.
Retrieval depth exposes ranking tradeoffs
The use of several Answered@k measures is another important analysis. Looking only at whether some answer appears in a broad list would hide changes at the first position. Looking only at the first position would hide improvements that make the system more useful for browsing.
The Android supervision result demonstrates this tension. UNIF’s larger-list results improve even though its leading result becomes slightly less reliable according to the evaluation. That pattern warns against collapsing retrieval behavior into an unqualified statement that one system is better.
These measures also stop short of describing the entire ranking. A qualifying answer near the start and one near the end of the permitted list both satisfy the corresponding Answered@k condition. The reported measures answer specific questions about coverage at chosen depths, rather than providing a complete account of ordering quality.
Computation is analyzed separately from relevance
The timing comparison gives a second perspective on architectural cost. It does not infer computational expense from the number of architectural components alone; the authors measure the work needed to embed actual code and language inputs.
Separating batch code preparation from individual query processing makes that analysis more relevant to search. A slower code encoder may be acceptable if indexing happens infrequently. A slower query encoder affects every interactive request. The study acknowledges that the real-time query work remains relatively small while still identifying the additional computation of the sequence-based alternatives.
The analysis does not cover every operational cost. It does not establish end-to-end search latency, index memory requirements, or the cost of refreshing a large deployment. Its contribution is narrower: the representation stage itself becomes more expensive as the tested architectures become more elaborate, without a corresponding improvement in the reported answer results.
Limitations
Limits the authors state
The authors explicitly limit the supervision conclusion to the baseline they extend. They do not claim that every unsupervised system will benefit from the same changes. Another starting representation might need a different alignment procedure or more substantial modifications.
They also limit the architecture conclusion. UNIF beats the two sophisticated alternatives examined, but the paper does not rule out more elaborate systems that could outperform it. The recommendation is to test compact configurations seriously before assuming that extra components are necessary.
A further stated limitation concerns automated scoring. Results can change with the code-similarity algorithm and its threshold. The authors justify their procedure through manual relevance assessment and its agreement with earlier reported behavior, but they acknowledge that this does not eliminate dependence on the evaluator.
The explanation for UNIF’s advantage is also deliberately restricted. Overfitting in the sequence-based systems is offered as a conjecture, not as an experimentally established cause. Understanding the internal reasons for the ranking is left outside the study’s demonstrated findings.
Limits visible in the experimental setup
The benchmarks focus on Java and Android-related code. The study provides no direct evidence about retrieval in other programming languages, including Rust. A transferable design principle is different from an established cross-language result.
The natural-language inputs are selected Stack Overflow titles. These are meaningful developer questions, but they are not observations of every kind of search behavior. Some users may issue short API names, incomplete phrases, or requests that depend heavily on repository context. The paper does not evaluate those possibilities separately.
Benchmark selection also matters. The Android questions require a reference answer with a match in the GitHub collection. This makes evaluation feasible, but it favors questions for which the corpus can support the reference-based scoring process. It does not measure what happens when the requested functionality is absent.
The Java benchmark is comparatively small, with 50 queries, while the Android benchmark contains 287. Both can support useful comparisons, but neither supplies a comprehensive picture of all developer intentions. The paper does not report uncertainty estimates or repeated-run variability alongside the qualitative result discussion.
The reported result narrative also limits numerical interpretation. It identifies which approaches improve and which approach leads the main comparison, but it does not provide the answer-count entries or timing-ratio entries needed to quantify those conclusions. The terms “slightly” and “substantially” therefore cannot be converted into independently calculated numerical effects.
Similarity is a proxy for usefulness
The evaluation treats resemblance to a reference answer as evidence that a retrieved fragment is relevant. This makes scoring scalable, but a reference answer is not the only possible implementation of a requested operation.
A useful fragment could differ structurally from the reference and receive a low similarity score. Conversely, a superficially similar fragment could fail to satisfy an important requirement. The evaluation does not resolve that distinction through execution, compilation, or task-specific behavioral checking.
Reference answers can also omit conditions that matter in a real repository. Compatibility with surrounding APIs, error handling, performance requirements, and project conventions may influence whether a developer can reuse a fragment. The paper’s relevance procedure does not establish those properties.
Consequently, Answered@k should be read as the outcome of the stated retrieval-and-similarity procedure. It is not a direct estimate of how many development tasks would be completed successfully after adopting the search system.
Common conditions do not eliminate every confound
A shared platform, benchmark, and corpus framework makes the comparison more informative than unrelated results from separate studies. It does not make every architecture identical except for the component under investigation.
The systems consume differently organized inputs and use different aggregation mechanisms. UNIF’s contrast with the baseline changes both embedding adjustment and code weighting. Its contrast with recurrent systems changes still more. These are comparisons of meaningful design packages rather than a complete causal decomposition.
The fixed training-time allocations create another interpretive boundary. Different architectures may process different amounts of data or make different amounts of progress within the allotted time. The study gives evidence about performance under its resource conditions, not a proof of the best result each approach could reach with unrestricted tuning.
The paper’s mathematical account also leaves some training details unspecified. It identifies the representation functions and UNIF’s attention calculation, but does not provide a complete supervised loss. That makes the conceptual design clear while limiting reconstruction of every optimization decision from the equations alone.
The idealized corpus remains idealized
The Stack Overflow experiment is persuasive evidence that supervision source matters. It is less direct evidence about how to acquire suitable data for a private codebase.
An organization may not possess a large collection pairing internal developer requests with appropriate internal implementations. Public question-answer pairs may describe different libraries, coding styles, or intended operations. The paper does not test how the observed benefit changes as the training source becomes less similar to the deployment environment.
Disjoint benchmark questions prevent direct reuse of those evaluation examples as training pairs. They do not establish that every broader source similarity has disappeared. Shared platform conventions and recurring problem types are part of what makes the alternative corpus more suitable, and part of why its results require a conditional interpretation.
The practical lesson is therefore to investigate data suitability rather than to assume a universally preferred corpus. The paper demonstrates an opportunity through a favorable alignment between training and evaluation. It does not provide a general recipe for obtaining that alignment everywhere.
What came after
Evaluation became a visible research direction
CodeSearchNet Challenge: Evaluating the State of Semantic Code Search appears among the later works citing this study. Its title places evaluation of semantic code search at the center of the contribution.
That connection is relevant to a central feature of When Deep Learning Met Code Search: a search architecture is difficult to assess independently of the corpus, query collection, and relevance procedure used to test it. The earlier paper’s contribution is partly methodological because it brings several systems into a common comparison.
The citation and title alone do not establish which particular recommendation CodeSearchNet adopted, which systems it evaluated, or what results it obtained. The link that can be justified is the ongoing importance of assessing semantic code retrieval as a distinct task.
For a reader following the research question forward, this is the most direct continuation among the listed works. The original study asks how to make architecture and supervision comparisons informative. A challenge devoted to the state of semantic code search addresses the broader need for evidence about the task.
Retrieval connects with code completion
ReACC: A Retrieval-Augmented Code Completion Framework also cites the study. Its stated subject combines retrieval with code completion.
This places retrieval in a different role from the one evaluated in When Deep Learning Met Code Search. Here, retrieved code is the result a developer inspects. A completion framework makes retrieval part of a process concerned with extending code. The common concern is obtaining relevant existing material; the final task is different.
The available description does not establish whether ReACC uses UNIF, the same supervision strategy, or the same evaluation procedure. Nor does it supply completion results. Those details cannot be inferred from the citation relationship.
The conceptual connection remains useful. The original paper shows that the quality of retrieved code depends on representation choices and the suitability of training pairs. When retrieval becomes a component within another system, those choices can still matter, but their effects must be evaluated through the downstream task rather than assumed from standalone search performance.
Ranking acquires another criterion
Fault-Aware Neural Code Rankers is the other listed citing work. Its title identifies fault awareness as a concern in ranking code candidates.
That concern is adjacent to a limitation of the earlier study. Semantic relevance, as estimated through similarity to a reference answer, is not the same as establishing that a candidate is free of faults. A fragment can appear to match an intention while still having behavior that makes it unsuitable.
The title supports recognizing fault-aware ranking as a later research direction. It does not establish which faults the later work considers, how it represents them, or how much its ranking improves. It also does not show that the later work adopts the earlier paper’s architecture.
Read together, the listed later works point toward evaluation, retrieval within completion, and additional criteria for ranking code. The connection to When Deep Learning Met Code Search is its insistence that a plausible representation is only the beginning of the evidence. Architecture, supervision, candidate relevance, and the eventual use of a result each require their own assessment.
Cite
Cite as José Cambronero, Hongyu Li, Seohyun Kim, Koushik Sen and Satish Chandra. 2019. When deep learning met code search. ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE).
@inproceedings{cambronero2019when,
title = {{When deep learning met code search}},
author = {José Cambronero, Hongyu Li, Seohyun Kim, Koushik Sen and Satish Chandra},
booktitle = {ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE)},
year = {2019},
doi = {10.1145/3338906.3340458},
eprint = {1905.03813},
archivePrefix = {arXiv},
url = {https://doi.org/10.1145/3338906.3340458}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/cambronero-2019-when-deep-learning-met-code/
References
- Miltiadis Allamanis, Marc Brockschmidt, and Mahmoud Khademi. Learning to represent programs with graphs. arXiv preprint arXiv:1711.00740, 2017. our card
- Miltos Allamanis, Daniel Tarlow, Andrew Gordon, and Yi Wei. Bimodal modelling of source code and natural language. In International Conference on Machine Learning, pages 2123–2132, 2015. our card
- Uri Alon, Meital Zilberstein, Omer Levy, and Eran Yahav. code2vec: Learning distributed representations of code. arXiv preprint arXiv:1803.09473, 2018. OpenAlex ↗ · Scholar ↗
- Mikel Artetxe, Gorka Labaka, and Eneko Agirre. Learning bilingual word embeddings with (almost) no bilingual data. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), volume 1, pages 451–462, 2017. our card
- Matej Balog, Alexander L Gaunt, Marc Brockschmidt, Sebastian Nowozin, and Daniel Tarlow. Deepcoder: Learning to write programs. arXiv preprint arXiv:1611.01989, 2016. OpenAlex ↗ · Scholar ↗
- Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence, 35(8):1798–1828, 2013. our card
- Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. Enriching word vectors with subword information. Transactions of the Association for Computational Linguistics, 5:135–146, 2017. our card
- Kyunghyun Cho, Bart Van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014. our card
- Alexis Conneau, Guillaume Lample, Marc'Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. Word translation without parallel data. arXiv preprint arXiv:1710.04087, 2017. our card
- Hoa Khanh Dam, Trang Pham, Shien Wee Ng, Truyen Tran, John Grundy, Aditya Ghose, Taeksu Kim, and Chul-Joo Kim. A deep tree-based model for software defect prediction. arXiv preprint arXiv:1802.00921, 2018. OpenAlex ↗ · Scholar ↗
- William Bruce Frakes and Ricardo Baeza-Yates. Information retrieval: Data structures & algorithms, volume 331. prentice Hall Englewood Cliffs, NJ, 1992. OpenAlex ↗ · Scholar ↗
- Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep learning. MIT press, 2016. OpenAlex ↗ · Scholar ↗
- Edouard Grave, Armand Joulin, and Quentin Berthet. Unsupervised alignment of embeddings with wasserstein procrustes. arXiv preprint arXiv:1805.11222, 2018. OpenAlex ↗ · Scholar ↗
- Xiadong Gu. Private Communication, 2018. OpenAlex ↗ · Scholar ↗
- Xiaodong Gu, Hongyu Zhang, and Sunghun Kim. Deep code search. In Proceedings of the 40th International Conference on Software Engineering, pages 933–944. ACM, 2018. OpenAlex ↗ · Scholar ↗
- Xiaodong Gu, Hongyu Zhang, and Sunghun Kim. Deep code search github repository, 2018. URL: https://github.com/guxd/deep-code-search/#54130b6be41fc5d73c4ebb8422942a7b53ad4024. OpenAlex ↗ · Scholar ↗
- Jin Guo, Jinghui Cheng, and Jane Cleland-Huang. Semantically enhanced software traceability using deep learning techniques. In Software Engineering (ICSE), 2017 IEEE/ACM 39th International Conference on, pages 3–14. IEEE, 2017. OpenAlex ↗ · Scholar ↗
- Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 9(8):1735–1780, 1997. OpenAlex ↗ · Scholar ↗
- Xuan Huo, Ming Li, and Zhi-Hua Zhou. Learning unified features from natural and programming languages for locating buggy source code. In IJCAI, pages 1606–1612, 2016. OpenAlex ↗ · Scholar ↗
- Hamel Husain and Ho-Hsiang Wu. How to create natural language semantic search for arbitrary objects with deep learning, 2018. URL: https://towardsdatascience.com/semantic-code-search-3cd6d244a39c. OpenAlex ↗ · Scholar ↗
- Hamel Husain and Ho-Hsiang Wu. Towards natural language semantic code search, 2018. URL: https://githubengineering.com/towards-natural-language-semantic-code-search/. OpenAlex ↗ · Scholar ↗
- Srinivasan Iyer, Ioannis Konstas, Alvin Cheung, and Luke Zettlemoyer. Summarizing source code using a neural attention model. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), volume 1, pages 2073–2083, 2016. OpenAlex ↗ · Scholar ↗
- An Ngoc Lam, Anh Tuan Nguyen, Hoan Anh Nguyen, and Tien N Nguyen. Bug localization with combination of deep learning and information retrieval. In 2017 IEEE/ACM 25th International Conference on Program Comprehension (ICPC), pages 218–229. IEEE, 2017. OpenAlex ↗ · Scholar ↗
- Sifei Luan, Di Yang, Koushik Sen, and Satish Chandra. Aroma: Code recommendation via structural code search. CoRR, abs/1812.01158, 2018. URL: http://arxiv.org/abs/1812.01158, arXiv:1812.01158 (http://arxiv.org/abs/1812.01158). OpenAlex ↗ · Scholar ↗
- David Alvarez Melis and Tommi Jaakkola. Towards robust interpretability with self-explaining neural networks. In Advances in Neural Information Processing Systems, pages 7775–7784, 2018. our card
- Stephen Merity, Nitish Shirish Keskar, and Richard Socher. Regularizing and Optimizing LSTM Language Models. arXiv preprint arXiv:1708.02182, 2017. our card
- Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pages 3111–3119, 2013. our card
- Vijayaraghavan Murali, Swarat Chaudhuri, and Chris Jermaine. Bayesian sketch learning for program synthesis. CoRR, abs/1703.05698, 2017. URL: http://arxiv.org/abs/1703.05698, arXiv:1703.05698 (http://arxiv.org/abs/1703.05698). OpenAlex ↗ · Scholar ↗
- Saksham Sachdev, Hongyu Li, Sifei Luan, Seohyun Kim, Koushik Sen, and Satish Chandra. Retrieval on source code: a neural code search. In Proceedings of the 2nd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages, pages 31–41. ACM, 2018. OpenAlex ↗ · Scholar ↗
- Gerard Salton and Christopher Buckley. Term-weighting approaches in automatic text retrieval. Information processing & management, 24(5):513–523, 1988. OpenAlex ↗ · Scholar ↗
- Inc. Stack Exchange. datastack exchange data dump, 2018. URL: https://archive.org/details/stackexchange. OpenAlex ↗ · Scholar ↗
- Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pages 3104–3112, 2014. our card
- Armin W Thomas, Hauke R Heekeren, Klaus-Robert Müller, and Wojciech Samek. Interpretable lstms for whole-brain neuroimaging analyses. arXiv preprint arXiv:1810.09945, 2018. OpenAlex ↗ · Scholar ↗
- Michele Tufano, Jevgenija Pantiuchina, Cody Watson, Gabriele Bavota, and Denys Poshyvanyk. On learning meaningful code changes via neural machine translation. arXiv preprint arXiv:1901.09102, 2019. OpenAlex ↗ · Scholar ↗
- Chenglong Wang, Po-Sen Huang, Alex Polozov, Marc Brockschmidt, and Rishabh Singh. Execution-guided neural program decoding. arXiv preprint arXiv:1807.03100, 2018. OpenAlex ↗ · Scholar ↗
- Ross Wilkinson and Philip Hingston. Using the cosine measure in a neural network for document retrieval. In Proceedings of the 14th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '91, pages 202–210, New York, NY, USA, 1991. ACM. URL: http://doi.acm.org/10.1145/122860.122880, doi:10.1145/122860.122880 (http://dx.doi.org/10.1145/122860.122880). OpenAlex ↗ · Scholar ↗
- W Eric Wong, Vidroha Debroy, Richard Golden, Xiaofeng Xu, and Bhavani Thuraisingham. Effective software fault localization using an rbf neural network. IEEE Transactions on Reliability, 61(1):149–169, 2011. OpenAlex ↗ · Scholar ↗
- Quanshi Zhang, Ying Nian Wu, and Song-Chun Zhu. Interpretable convolutional neural networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 8827–8836, 2018. OpenAlex ↗ · Scholar ↗