NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Understanding Generalization through Decision Pattern Shift

Huiqi Deng, Yibo Li, Quanshi Zhang, Peng Zhang, Hongbin Pei, Xia Hu

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Interpretability & Model Adaptation › Predictive Coding and Representation Alignment · Type: new method · Keywords: generalization, decision pattern shift, deep neural networks, GradCAM, failure diagnosis

Areas: Continual Learning & Adaptation › Non-Stationarity Adaptation › Generalization and Memorization

Summary

The paper introduces Decision Pattern Shift (DPS), a metric that quantifies generalization by measuring the stability of internal decision patterns captured via GradCAM channel contributions.

Explained to a 5-year-old

We want to know why computer programs that learn from examples sometimes don't work on new things. The paper looks at how the program makes decisions inside, like which parts of its brain it uses. It measures if those parts stay the same when we give it new examples. If they change a lot, the program will likely fail. This helps us spot problems early.

Explained to a 5-year-old, longer

When we teach a computer to recognize cats, it learns patterns from many cat pictures. Sometimes the computer works well on new cat pictures, but sometimes it gets things wrong. The paper asks why the computer fails and looks inside its thinking process. Inside the computer, there are many little parts that help decide if something is a cat. These parts are like tiny helpers that light up when they see certain features. The researchers measure how these helpers behave for each picture during training. They also measure how the helpers behave for new pictures they haven't seen. If the helpers act the same way for new pictures as they did for old ones, the computer will probably work well. If the helpers act differently, the computer is likely to make mistakes. The paper creates a way to see how much the helpers change from training to testing. This change tells us how risky the computer is when it meets new situations. Knowing this early helps us fix problems before the computer is used in real life.

For a technical reader

The paper proposes Decision Pattern Shift (DPS) as a metric to assess how stable a model’s internal decision mechanisms are when moving from training to unseen data. By representing each sample’s decision pattern as a GradCAM-based channel-contribution vector, DPS quantifies the deviation of a sample’s pattern from the class-average pattern. Empirical results across multiple datasets and architectures show that DPS magnitude correlates strongly (Pearson r > 0.8) with the generalization gap, indicating that internal drift predicts failure. The DPS spectrum also unifies various failure scenarios-ideal generalization, in-distribution degradation, domain shift, OOD, and shortcut learning-into a single continuous trajectory. This enables early risk detection, failure-mode diagnosis, and channel-level defect localization without requiring new training or external benchmarks.

Problem

Deep neural networks often fail to generalize to unseen samples, and existing studies focus on external factors like data or representations, leaving the internal decision mechanism poorly understood.

Method

The approach represents each sample's decision pattern as a GradCAM-based channel-contribution vector and measures its deviation from the class-average pattern to compute a discrepancy metric.

Results

The approach shows that decision patterns form a structured class-consistent space, that DPS magnitude correlates linearly with the generalization gap (Pearson r > 0.8), and that the DPS spectrum unifies various failure modes into a continuous trajectory.

Contributions

The paper introduces a new perspective on generalization via internal decision pattern stability, proposes a metric to quantify this shift, and demonstrates its ability to diagnose generalization failures across diverse scenarios.

Practical relevance

These findings enable early detection of generalization risks, diagnosis of failure modes, and localization of defects at the channel level, aiding safer deployment of deep models.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction