mlsanityData to 7 Oct 2026

Study of Distractors in Neural Models of Code

arXiv 2303.01739 ↗First posted 3 Mar 2023cs.LG cs.PL cs.SEcited by 2

Not on the map. Why?

Abstract (arXiv)

Finding important features that contribute to the prediction of neural models is an active area of research in explainable AI. Neural models are opaque and finding such features sheds light on a better understanding of their predictions. In contrast, in this work, we present an inverse perspective of distractor features: features that cast doubt about the prediction by affecting the model's confidence in its prediction. Understanding distractors provide a complementary view of the features' relevance in the predictions of neural models. In this paper, we apply a reduction-based technique to find distractors and provide our preliminary results of their impacts and types. Our experiments across various tasks, models, and datasets of code reveal that the removal of tokens can have a significant impact on the confidence of models in their predictions and the categories of tokens can also play a vital role in the model's confidence. Our study aims to enhance the transparency of models by emphasizing those tokens that significantly influence the confidence of the models.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 33 of its 44 references that are in the map. First posted on arXiv 3 Mar 2023.

Builds on

33 of 44 references.

References · 33

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  5. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  6. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  7. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  8. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  9. 2018code2vec: Learning Distributed Representations of Codecited by 249
  10. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
  11. 2017Learning to Represent Programs with Graphscited by 219
  12. 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
21 more
  1. 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 126
  2. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
  3. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
  4. 2019Adversarial Examples for Models of Codecited by 61
  5. 2020On the Generalizability of Neural Program Models with respect to Semantic-Preserving Program Transformationscited by 41
  6. 2019Neural Program Repair by Jointly Learning to Localize and Repaircited by 39
  7. 2021Bridging Pre-trained Models and Downstream Tasks for Source Code Understandingcited by 27
  8. 2021Counterfactual Explanations for Models of Codecited by 24
  9. 2022Diet Code Is Healthy: Simplifying Programs for Pre-trained Models of Codecited by 24
  10. 2021Understanding Neural Code Intelligence Through Program Simplificationcited by 20
  11. 2021Memorization and Generalization in Neural Code Intelligence Modelscited by 17
  12. 2020Probing Model Signal-Awareness via Prediction-Preserving Input Minimizationcited by 14
  13. 2020Embedding Java Classes with code2vec: Improvements from Variable Obfuscationcited by 12
  14. 2019COSET: A Benchmark for Evaluating Neural Program Embeddingscited by 10
  15. 2020Evaluation of Generalizability of Neural Program Analyzers under Semantic-Preserving Transformationscited by 9
  16. 2020Towards Demystifying Dimensions of Source Code Embeddingscited by 9
  17. 2022Syntax-Guided Program Reduction for Understanding Neural Code Intelligence Modelscited by 7
  18. 2018Towards security defect prediction with AIcited by 6
  19. 2021Code2Snapshot: Using Code Snapshots for Learning Representations of Source Codecited by 4
  20. 2021WheaCha: A Method for Explaining the Predictions of Models of Codecited by 1
  21. 2021Data-Driven AI Model Signal-Awareness Enhancement and Introspectioncited by 1

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.