paper-with-me

홈 › Papers

Extracting Label-specific Key Input Features for Neural Code Intelligence Models

2022-02-14 · Md Rafiqul Islam Rabin

The code intelligence (CI) models are often black-box and do not offer any insights on the input features that they learn for making correct predictions. This opacity may lead to distrust in their prediction and hamper their wider adoption in safety-critical applications. In recent, the program reduction technique is widely being used to identify key input features in order to explain the prediction of CI models. The approach removes irrelevant parts from an input program and keeps the minimal snippets that a CI model needs to maintain its prediction. However, the state-of-the-art approaches mainly use a syntax-unaware program reduction technique that does not follow the syntax of programs, which adds significant overhead to the reduction of input programs and explainability of models. In this paper, we apply a syntax-guided program reduction technique that follows the syntax of input programs during reduction. Our experiments on multiple models across different types of input programs show that the syntax-guided program reduction technique significantly outperforms the syntax-unaware program reduction technique in reducing the size of input programs. Extracting key input features from reduced programs reveals that the syntax-guided reduced programs contain more label-specific key input features and are more vulnerable to adversarial transformation when renaming the key tokens in programs. These label-specific key input features may help to understand the reasoning of models' prediction from different perspectives and increase the trustworthiness to correct classification given by CI models.

📄 PDF Abstract BibTeX arXiv:2202.06474

Code (2)

mdrafiqulrabin/ci-dd-perses 공식 구현
mdrafiqulrabin/rm-dd-perses 공식 구현

Tasks

Method name predictionPrediction

Similar Papers 제목 키워드 기반

Integration of Autoencoder and Functional Link Artificial Neural Network for Multi-label Classification

2021-07-21 · Anwesha Law, Ashish Ghosh

Multi-label (ML) classification is an actively researched topic currently, which deals with convoluted and overlapping boundaries that arise due to several labels being active for a particular data instance. We propose a…

Multi-Label ClassificationMUlTI-LABEL-ClASSIFICATION

Score Function Features for Discriminative Learning

2014-12-19 · Majid Janzamin, Hanie Sedghi, Anima Anandkumar

Feature learning forms the cornerstone for tackling challenging learning problems in domains such as speech, computer vision and natural language processing. In this paper, we consider a novel class of matrix and tensor-…

Score Function Features for Discriminative Learning: Matrix and Tensor Framework

2014-12-09 · Majid Janzamin, Hanie Sedghi, Anima Anandkumar

Feature learning forms the cornerstone for tackling challenging learning problems in domains such as speech, computer vision and natural language processing. In this paper, we consider a novel class of matrix and tensor-…

Learning Latent Subspaces in Variational Autoencoders

2018-12-14 · NeurIPS 2018 12 · Jack Klys, Jake Snell, Richard Zemel

Variational autoencoders (VAEs) are widely used deep generative models capable of learning unsupervised latent representations of data. Such representations are often difficult to interpret or control. We consider the pr…

Attribute

DICS: Find Domain-Invariant and Class-Specific Features for Out-of-Distribution Generalization

2024-09-13 · Qiaowei Miao, Yawei Luo, Yi Yang

While deep neural networks have made remarkable progress in various vision tasks, their performance typically deteriorates when tested in out-of-distribution (OOD) scenarios. Many OOD methods focus on extracting domain-i…

Out-of-Distribution GeneralizationSpecificity