There Is Hope After All: Quantifying Opinion and Trustworthiness in Neural Networks

Mingxi Cheng, Shahin Nazarian, Paul BogdanFrontiers Artif. Intell 2020 · DOI · OpenReview

TL;DR

This paper introduces DeepTrust, a novel framework that quantifies the trustworthiness of neural networks (NNs) using Subjective Logic. It moves beyond simple accuracy to assess how much we can rely on NNs, especially when dealing with imperfect data, by considering both the NN's internal workings and the data's reliability.

What Problem Does This Paper Address?

As Artificial Intelligence (AI) becomes increasingly integrated into decision-making processes, a critical question arises: how trustworthy are these AI systems? While accuracy is a standard metric, it doesn't fully capture reliability, especially when NNs are trained on incomplete, misleading, or noisy data. Existing methods for ensuring NN safety often focus on certification (pre-deployment checks) or explanation (post-deployment understanding), but a robust, quantifiable measure of trust that considers the entire pipeline – from data quality to network architecture – has been lacking. This paper aims to fill that gap by providing a principled way to quantify the trustworthiness of NNs and their predictions.

Methods

The core of DeepTrust is its foundation in Subjective Logic (SL), a probabilistic framework that explicitly models uncertainty and source trust. SL uses "opinions" with four components: belief, disbelief, uncertainty, and base rate, allowing for more nuanced representations than traditional probabilities.

DeepTrust formulates the trustworthiness of an NN as a subjective trust network. It models the NN as a target object, and its output neurons as "sources" that an analyst (human observer) relies on. The framework quantifies:

  • Opinion of Data: The reliability of the training dataset is represented as an SL opinion.
  • Opinion of NN Topology: The structure of the NN (number of layers, neurons) is considered.
  • Opinion of Training Process: The loss during training is incorporated.

The paper details how to calculate the opinion of individual neurons and then fuse these opinions to derive the overall opinion and trustworthiness of the entire NN. This involves forward and backward passes, similar to backpropagation, but adapted to SL's opinion calculus. A key aspect is the definition of trustworthiness as the "projected trust probability," which is a combination of belief, uncertainty, and base rate.

Datasets

The paper uses the following datasets for training and evaluation:

  • MNIST: A standard benchmark dataset for handwritten digit recognition, used extensively in Case Study I to evaluate different NN topologies under varying data damage levels.
  • 2016 Presidential Election Poll Data: Used in Case Study III to demonstrate DeepTrust's application to real-world prediction tasks, specifically predicting election outcomes.

Key Insights and Ideas

  • Trustworthiness is more than accuracy: The paper strongly demonstrates that accuracy and trustworthiness are not always correlated. An NN might be accurate but untrustworthy, or vice-versa.
  • Topology matters for robustness: Certain NN architectures are inherently more robust to untrustworthy data, maintaining higher trustworthiness even when trained on noisy or damaged datasets.
  • Uncertainty isn't always bad: While disbelief in data significantly harms trust, uncertainty can be a source of hope. Even with heavily damaged data, belief can still be extracted, suggesting that uncertainty itself carries valuable information.
  • Subjective Logic is a powerful tool for AI trust: SL's ability to represent and reason with opinions, including uncertainty and base rates, makes it well-suited for quantifying trust in complex AI systems.
  • Data quality is paramount: The trustworthiness of the training data is a critical factor influencing the NN's trustworthiness. The paper highlights the need for data collectors to consider and quantify data trustworthiness.

Key Results

  • Topology Impact: In Case Study I, NN₁ (784-1000-10 topology) consistently showed higher projected trust probabilities than NN₂ (784-500-500-10 topology), especially under data damage. For instance, with 10% data damage, NN₁ had a projected trust probability of 60.74% compared to NN₂'s 44.71%.
  • Data Damage: Higher data damage leads to lower trust, but the degree of degradation is topology-dependent.
  • Uncertainty vs. Disbelief: Case Study II showed that maximum uncertainty in training data ({0, 0, 1, a}) resulted in higher projected trust probabilities (e.g., ~0.5 for NN with 3-10-1 topology) than maximum disbelief ({0, 1, 0, a}), which led to very low trust.
  • 2016 Election Prediction: DeepTrust quantified the prediction of "Clinton wins" from a pre-trained NN as untrustworthy (projected trust probability of 0.21). When the dataset was enriched and a more robust NN was used, the prediction of "Trump wins" was quantified as more trustworthy (projected trust probability of 0.50).

Limitations and Future Work

  • Data Trustworthiness Assumption: The current DeepTrust framework assumes that the trustworthiness of the training data is available. A significant limitation is that this information is often not provided by data collectors. Future work aims to develop a separate quantifier for data trustworthiness.
  • NN Architectures: The current work focuses on multi-layered NNs without convolutional or pooling layers. Future research will incorporate these more complex architectures.
  • "Useless Evidence": The paper acknowledges that SL, like other monotonic logics, can struggle with "useless evidence" that doesn't clearly support belief or disbelief. Future work may explore trust revision methods within SL or introduce new evidence types to handle this.
  • Computational Cost: While the framework is designed to be applicable, the computational cost of opinion quantification, especially for very deep networks, might be a consideration.
  • Multi-Objective Optimization: The authors suggest that DeepTrust opens avenues for multi-objective optimization of NN topology, considering accuracy, opinion, and trustworthiness simultaneously, subject to space and time constraints.

Summary updated

Abstract

Artificial Intelligence (AI) plays a fundamental role in the modern world, especially when used as an autonomous decision maker. One common concern nowadays is “how trustworthy the AIs are.” Human operators follow a strict educational curriculum and performance assessment that could be exploited to quantify how much we entrust them. To quantify the trust of AI decision makers, we must go beyond task accuracy especially when facing limited, incomplete, misleading, controversial or noisy datasets. Toward addressing these challenges, we describe DeepTrust, a Subjective Logic (SL) inspired framework that constructs a probabilistic logic description of an AI algorithm and takes into account the trustworthiness of both dataset and inner algorithmic workings. DeepTrust identifies proper multi-layered neural network (NN) topologies that have high projected trust probabilities, even when trained with untrusted data. We show that uncertain opinion of data is not always malicious while evaluating NN's opinion and trustworthiness, whereas the disbelief opinion hurts trust the most. Also trust probability does not necessarily correlate with accuracy. DeepTrust also provides a projected trust probability of NN's prediction, which is useful when the NN generates an over-confident output under problematic datasets. These findings open new analytical avenues for designing and improving the NN topology by optimizing opinion and trustworthiness, along with accuracy, in a multi-objective opti...
BibTeX
@article{cheng2020there,
  author = {Mingxi Cheng and Shahin Nazarian and Paul Bogdan},
  title = {{There Is Hope After All: Quantifying Opinion and Trustworthiness in Neural Networks}},
  journal = {Frontiers Artif. Intell.},
  year = {2020},
  doi = {10.3389/frai.2020.00054},
}
Figure