mlsanityData to 7 Oct 2026

Epicure: Distilling Sequence Model Predictions into Patterns

arXiv 2308.08203 ↗First posted 16 Aug 2023cs.LG cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Most machine learning models predict a probability distribution over concrete outputs and struggle to accurately predict names over high entropy sequence distributions. Here, we explore finding abstract, high-precision patterns intrinsic to these predictions in order to make abstract predictions that usefully capture rare sequences. In this short paper, we present Epicure, a method that distils the predictions of a sequence model, such as the output of beam search, into simple patterns. Epicure maps a model's predictions into a lattice that represents increasingly more general patterns that subsume the concrete model predictions. On the tasks of predicting a descriptive name of a function given the source code of its body and detecting anomalous names given a function, we show that Epicure yields accurate naming patterns that match the ground truth more often compared to just the highest probability model prediction. For a false alarm rate of 10%, Epicure predicts patterns that match 61% more ground-truth names compared to the best model prediction, making Epicure well-suited for scenarios that require high precision.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 27 references that are in the map. First posted on arXiv 16 Aug 2023.

Builds on

15 of 27 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  3. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  4. 2017Learning to Represent Programs with Graphscited by 219
  5. 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
  6. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
  7. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
  8. 2019DIRE: A Neural Approach to Decompiled Identifier Namingcited by 36
  9. 2014Learning Natural Coding Conventionscited by 28
  10. 2018A General Path-Based Representation for Predicting Program Propertiescited by 28
  11. 2021Learning to Complete Code with Sketchescited by 23
  12. 2019Learning Deterministic Weighted Automata with Queries and Counterexamplescited by 22
3 more
  1. 2018Context2Name: A Deep Learning-Based Approach to Infer Natural Variable Names from Usage Contextscited by 11
  2. 2021Impact of Evaluation Methodologies on Code Summarizationcited by 11
  3. 2019Recovering Variable Names for Minified Code with Usage Contextscited by 2

Built on by

Not cited yet.