Abstract
The advances and successes in deep learning in recent years have led to considerable efforts and investments into its widespread ubiquitous adoption for a wide variety of applications. With this tremendous rise in deep learning adoption comes questions about the trustworthiness of the deep neural networks that power these applications. In this work, we introduce the concept of trust matrix, a novel trust quantification strategy that leverages the recently introduced question-answer trust metric to provide deeper, more detailed insights into where trust breaks down for a given deep neural network. A trust matrix defines the expected question-answer trust for a given actor-oracle answer scenario, allowing one to quickly spot areas of low trust. We further extend the concept of trust densities with the notion of conditional trust densities. The results illustrate that trust matrices, along with conditional trust densities, can be useful tools for guiding practitioners and regulators in creating and certifying deep learning solutions for trusted operation.
Introduction
As deep learning moves into mission-critical fields like healthcare and autonomous driving, "accuracy" is no longer a sufficient metric. A model that is 99% accurate but 100% confident when it fails is a liability. Most current trust quantification methods look at either a single prediction or the entire model, lacking the granularity needed to identify specific failure modes. This paper addresses the need for a human-interpretable way to visualize and quantify these modes across different categories: When the model thinks it sees a 'cat' but the truth is a 'dog,' how confident is it?
Methodology
The authors introduce two core diagnostic tools built upon the concept of Question-Answer Trust, which rewards well-placed confidence and penalizes undeserved overconfidence.
The Trust Matrix
The Trust Matrix is similar in structure to a confusion matrix, but instead of showing the count of predictions, each cell $(y, z)$ represents the expected trust score when the model predicts $y$ (Actor Answer) but the oracle (truth) is $z$. Brighter cells indicate high trust; dark cells in the off-diagonal indicate "danger zones" where the model is confidently wrong.
Conditional Trust Densities
This technique extends trust densities by breaking down the distribution of trust scores into two curves: one for when the model is correct ($y=z$) and one for when it is incorrect ($y \neq z$). This allows researchers to see if a model’s mistakes are "honest" (low confidence) or "deceptive" (high confidence).
Experimental Evaluation
The researchers evaluated their methods using a subset of ImageNet (2,500 images) to compare two well-known architectures: ResNet-50 (a standard heavy-duty model) and MobileNet-V2 (an efficient, mobile-friendly model).
The Trust Trade-off
A key finding is that a more accurate model isn't always more trustworthy. While ResNet-50 achieved a higher overall "NetTrustScore," MobileNet-V2 actually performed better in "incorrect answer trust." This means MobileNet's mistakes are generally less confident, making them easier for a human supervisor or secondary system to detect.
| Metric | ResNet-50 | MobileNet-V2 |
|---|---|---|
| NetTrustScore ($T_M$) | 0.776 | 0.739 |
| Trust for Correct Answers ($T_{M, y=z}$) | 0.887 | 0.845 |
| Trust for Incorrect Answers ($T_{M, y \neq z}$) | 0.435 | 0.507 |
Key Insights
- Visualizing "Danger Zones": The Trust Matrix makes it trivial to spot specific class-pair failures. For example, ResNet-50 showed a significant trust breakdown for the 'monitor' class, where it was frequently overconfident in its incorrect predictions.
- Detectability as a Feature: The authors argue that having higher trust in incorrect scenarios is a desirable trait. If a model is "cautious" when it's wrong, we can build secondary systems (like simple threshold filters) to catch those errors before they cause real-world harm.
Conclusion
While the Trust Matrix identifies where trust breaks down, it doesn't inherently explain why. Future work suggested includes using these matrices to guide targeted data collection for the "dark spots" identified and developing secondary intervention systems. By moving beyond simple accuracy, the Trust Matrix provides a necessary tool for certifying deep learning solutions for trusted operation.
Summary updated