Saved in:
Bibliographic Details
Main Authors: Deng, Huiqi, Li, Yibo, Zhang, Quanshi, Zhang, Peng, Pei, Hongbin, Hu, Xia
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.13148
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914562877423616
author Deng, Huiqi
Li, Yibo
Zhang, Quanshi
Zhang, Peng
Pei, Hongbin
Hu, Xia
author_facet Deng, Huiqi
Li, Yibo
Zhang, Quanshi
Zhang, Peng
Pei, Hongbin
Hu, Xia
contents Understanding why deep neural networks (DNNs) fail to generalize to unseen samples remains a long-standing challenge. Existing studies mainly examine changes in externally observable factors such as data, representations, or outputs, yet offer limited insight into how a model's internal decision mechanism evolves from training to test. To address this gap, we introduce Decision Pattern Shift (DPS), a new perspective that defines generalization through the stability of internal decision patterns and quantifies failure as their deviation from those learned during training. Specifically, we represent each sample's decision pattern as a GradCAM-based channel-contribution vector, which captures how feature channels collectively support a prediction, and we propose the DPS metric to measure its discrepancy from the class-average pattern. Empirical analyses across multiple datasets and architectures show that, (i) decision patterns form a highly structured, class-consistent space with strong intra-class cohesion and low inter-class confusion, enabling direct analysis of a model's decision logic; (ii) the DPS magnitude correlates linearly with the generalization gap (nearly all Pearson r > 0.8), revealing generalization as a systematic drift in the model's internal decision mechanism; (iii) the DPS spectrum organizes diverse generalization degradation scenarios (covering ideal generalization, in-distribution degradation, domain shift, out-of-distribution, and shortcut learning) into a continuous trajectory, providing a unified explanation of their failure modes. These findings open up new possibilities for early generalization-risk detection, failure-mode diagnosis, and channel-level defect localization.
format Preprint
id arxiv_https___arxiv_org_abs_2605_13148
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Understanding Generalization through Decision Pattern Shift
Deng, Huiqi
Li, Yibo
Zhang, Quanshi
Zhang, Peng
Pei, Hongbin
Hu, Xia
Machine Learning
Computer Vision and Pattern Recognition
Understanding why deep neural networks (DNNs) fail to generalize to unseen samples remains a long-standing challenge. Existing studies mainly examine changes in externally observable factors such as data, representations, or outputs, yet offer limited insight into how a model's internal decision mechanism evolves from training to test. To address this gap, we introduce Decision Pattern Shift (DPS), a new perspective that defines generalization through the stability of internal decision patterns and quantifies failure as their deviation from those learned during training. Specifically, we represent each sample's decision pattern as a GradCAM-based channel-contribution vector, which captures how feature channels collectively support a prediction, and we propose the DPS metric to measure its discrepancy from the class-average pattern. Empirical analyses across multiple datasets and architectures show that, (i) decision patterns form a highly structured, class-consistent space with strong intra-class cohesion and low inter-class confusion, enabling direct analysis of a model's decision logic; (ii) the DPS magnitude correlates linearly with the generalization gap (nearly all Pearson r > 0.8), revealing generalization as a systematic drift in the model's internal decision mechanism; (iii) the DPS spectrum organizes diverse generalization degradation scenarios (covering ideal generalization, in-distribution degradation, domain shift, out-of-distribution, and shortcut learning) into a continuous trajectory, providing a unified explanation of their failure modes. These findings open up new possibilities for early generalization-risk detection, failure-mode diagnosis, and channel-level defect localization.
title Understanding Generalization through Decision Pattern Shift
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2605.13148