DLDing Li

Ding Li

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Ding Li has a total of 12 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Assessment of Software Vulnerability Contributing Factors by Model-Agnostic Explainable AI

    by Ding Li, Yan Liu, Jun Huang

    Software vulnerability detection aims to proactively reduce the risk to software security and reliability. Despite advancements in deep-learning-based detection, a semantic gap still remains between learned features and human-understandable vulnerability semantics. In this paper, we present an XAI-based framework to assess program code in a graph context as feature representations and their effect on code vulnerability classification into multiple Common Weakness Enumeration (CWE) types. Our XAI framework is deep-learning-model-agnostic and programming-language-neutral. We rank the feature importance of 40 syntactic constructs for each of the top 20 distributed CWE types from three datasets in Java and C++. By means of four metrics of information retrieval, we measure the similarity of human-understandable CWE types using each CWE type’s feature contribution ranking learned from XAI methods. We observe that the subtle semantic difference between CWE types occurs after the variation in neighboring features’ contribution rankings. Our study shows that the XAI explanation results have approximately 78% Top-1 to 89% Top-5 similarity hit rates and a mean average precision of 0.70 compared with the baseline of CWE similarity identified by the open community experts. Our framework allows for code vulnerability patterns to be learned and contributing factors to be assessed at the same stage.


  • Open Access

    Data-Centric Content Classification of Smart City Residential Services

    by Ding Li, Jincheng Sun, Yan Liu, Wenjie Du

    The residential services in the context of smart cities accu- mulate massive real-time inquiry data in natural language to describe the services in need. Such inquiry requests have diverse topics in the content and considerable variate length. Besides, the responsible departments that may handle the inquiry involve a large number of organizations, from metropolitan administration to local communities. Hence accumu- lated request data is primary and central to the service of accurately dispatching requests to responsible departments. The challenge is de- vising a data centric approach to fit the data with SOTA models and improve the request classification accuracy. In this paper, we analyze the factors of embedding tokens, data segmentation, model structures, and classification methods. We devise a unified modelling process with mul- tiple dataflows that combine these factors to observe their interactions. The experiment results demonstrate the compound effects and provide insights into how SOTA models respond differently to variations in these factors. The observations allow us to fine-tune the learning task at each stage and achieve a maximum 82.4% F1-Score.

  • A Trustworthy View on Explainable Artificial Intelligence Method Evaluation

    by Ding Li, Yan Liu, Jun Huang, Zerui Wang

    In this article, we follow a process of explainable artificial intelligence (XAI) method development and define two metrics in terms of consistency and efficiency in guiding the evaluation of XAI explanations.


  • Open Access

    The Analysis and Development of an XAI Process on Feature Contribution Explanation

    by Jun Huang, Zerui Wang, Ding Li, Yan Liu

    Explainable Artificial Intelligence (XAI) research focuses on effective explanation techniques to understand and build AI models with trust, reliability, safety, and fairness. Feature importance explanation summarizes feature contributions for end-users to make model decisions. However, XAI methods may produce varied summaries that lead to further analysis to evaluate the consistency across multiple XAI methods on the same model and data set. This paper defines metrics to measure the consistency of feature contribution explanation summaries under feature importance order and saliency map. Driven by these consistency metrics, we develop an XAI process oriented on the XAI criterion of feature importance, which performs a systematical selection of XAI techniques and evaluation of explanation consistency. We demonstrate the process development involving twelve XAI methods on three topics, including a search ranking system, code vulnerability detection and image classification. Our contribution is a practical and systematic process with defined consistency metrics to produce rigorous feature contribution explanations.

  • Open Access

    A Trustworthy View on XAI Method Evaluation

    by Ding Li, Yan Liu, Jun Huang, Zerui Wang

    As the demand grows to develop end-user trust in AI models, practitioners start to build and configure customized XAI (Explainable Artificial Intelligence) methods. The challenge is the lack of systematic evaluation of the newly proposed XAI method. As a result, it limits the confidence of XAI explanation in practice. In this paper, we follow a process of XAI method development and define two metrics in terms of consistency and efficiency in guiding the evaluation of trustworthy explanations. We demonstrate the development of a new XAI method in feature interactions called Mean-Centroid Preddiff, which analyzes and explains the feature importance order by a clustering algorithm. Following the process, we perform cross-validation on Mean-Centroid Preddiff with existing XAI methods. They show comparable consistency and gain in computation efficiency. The practice helps to adopt the core activities in the trustworthy evaluation of a new XAI method with rigorous cross-validation on consistency and efficiency.