Saved in:
Bibliographic Details
Main Authors: Capelli, Lorenzo, Rosa, Leandro de Souza, Setti, Gianluca, Mangia, Mauro, Rovatti, Riccardo
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.19472
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918259252527104
author Capelli, Lorenzo
Rosa, Leandro de Souza
Setti, Gianluca
Mangia, Mauro
Rovatti, Riccardo
author_facet Capelli, Lorenzo
Rosa, Leandro de Souza
Setti, Gianluca
Mangia, Mauro
Rovatti, Riccardo
contents The recent explosive growth in Deep Neural Networks applications raises concerns about the black-box usage of such models, with limited trasparency and trustworthiness in high-stakes domains, which have been crystallized as regulatory requirements such as the European Union Artificial Intelligence Act. While models with embedded confidence metrics have been proposed, such approaches cannot be applied to already existing models without retraining, limiting their broad application. On the other hand, post-hoc methods, which evaluate pre-trained models, focus on solving problems related to improving the confidence in the model's predictions, and detecting Out-Of-Distribution or Adversarial Attacks samples as independent applications. To tackle the limited applicability of already existing methods, we introduce Multi-Layer Analysis for Confidence Scoring (MACS), a unified post-hoc framework that analyzes intermediate activations to produce classification-maps. From the classification-maps, we derive a score applicable for confidence estimation, detecting distributional shifts and adversarial attacks, unifying the three problems in a common framework, and achieving performances that surpass the state-of-the-art approaches in our experiments with the VGG16 and ViTb16 models with a fraction of their computational overhead.
format Preprint
id arxiv_https___arxiv_org_abs_2512_19472
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Multi-Layer Confidence Scoring for Detection of Out-of-Distribution Samples, Adversarial Attacks, and In-Distribution Misclassifications
Capelli, Lorenzo
Rosa, Leandro de Souza
Setti, Gianluca
Mangia, Mauro
Rovatti, Riccardo
Machine Learning
Artificial Intelligence
The recent explosive growth in Deep Neural Networks applications raises concerns about the black-box usage of such models, with limited trasparency and trustworthiness in high-stakes domains, which have been crystallized as regulatory requirements such as the European Union Artificial Intelligence Act. While models with embedded confidence metrics have been proposed, such approaches cannot be applied to already existing models without retraining, limiting their broad application. On the other hand, post-hoc methods, which evaluate pre-trained models, focus on solving problems related to improving the confidence in the model's predictions, and detecting Out-Of-Distribution or Adversarial Attacks samples as independent applications. To tackle the limited applicability of already existing methods, we introduce Multi-Layer Analysis for Confidence Scoring (MACS), a unified post-hoc framework that analyzes intermediate activations to produce classification-maps. From the classification-maps, we derive a score applicable for confidence estimation, detecting distributional shifts and adversarial attacks, unifying the three problems in a common framework, and achieving performances that surpass the state-of-the-art approaches in our experiments with the VGG16 and ViTb16 models with a fraction of their computational overhead.
title Multi-Layer Confidence Scoring for Detection of Out-of-Distribution Samples, Adversarial Attacks, and In-Distribution Misclassifications
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2512.19472