LGAIDec 22, 2025

Multi-Layer Confidence Scoring for Detection of Out-of-Distribution Samples, Adversarial Attacks, and In-Distribution Misclassifications

arXiv:2512.19472v1h-index: 37
Originality Incremental advance
AI Analysis

This addresses the need for reliable confidence scoring in high-stakes domains like those regulated by the EU AI Act, offering a practical solution for existing models without retraining.

The paper tackles the problem of limited transparency and trustworthiness in deep neural networks by introducing a unified post-hoc framework called MACS, which analyzes intermediate activations to produce classification-maps for confidence estimation, out-of-distribution detection, and adversarial attack detection, achieving state-of-the-art performance with reduced computational overhead in experiments with VGG16 and ViTb16 models.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes