Skip to main content
QUICK REVIEW

[Paper Review] A Geometric Perspective towards Neural Calibration via Sensitivity Decomposition

Junjiao Tian, Dylan Yung|arXiv (Cornell University)|Oct 27, 2021
Image Processing Techniques and ApplicationsEngineering27 references7 citations
TL;DR

This paper introduces Geometric Sensitivity Decomposition (GSD), a geometric method that disentangles feature embeddings into instance-dependent and instance-independent components to improve neural network calibration under distribution shift. By training a modified softmax-linear model to separate sensitive input variations from loss-minimizing invariants, the approach achieves state-of-the-art performance, reducing Expected Calibration Error by 30.8% on corrupted CIFAR100.

ABSTRACT

It is well known that vision classification models suffer from poor calibration in the face of data distribution shifts. In this paper, we take a geometric approach to this problem. We propose Geometric Sensitivity Decomposition (GSD) which decomposes the norm of a sample feature embedding and the angular similarity to a target classifier into an instance-dependent and an instance-independent component. The instance-dependent component captures the sensitive information about changes in the input while the instance-independent component represents the insensitive information serving solely to minimize the loss on the training dataset. Inspired by the decomposition, we analytically derive a simple extension to current softmax-linear models, which learns to disentangle the two components during training. On several common vision models, the disentangled model outperforms other calibration methods on standard calibration metrics in the face of out-of-distribution (OOD) data and corruption with significantly less complexity. Specifically, we surpass the current state of the art by 30.8% relative improvement on corrupted CIFAR100 in Expected Calibration Error. Code available at https://github.com/GT-RIPL/Geometric-Sensitivity-Decomposition.git.

Motivation & Objective

  • Address the persistent issue of poor calibration in vision models when faced with out-of-distribution (OOD) data and data corruption.
  • Understand the geometric structure of feature embeddings and classifier interactions under distribution shifts.
  • Decompose feature norm and angular similarity into instance-dependent and instance-independent components to isolate sensitivity to input changes.
  • Develop a training method that explicitly disentangles sensitive and insensitive components to improve generalization and calibration.
  • Achieve superior calibration performance with minimal architectural and computational overhead compared to existing methods.

Proposed method

  • Propose Geometric Sensitivity Decomposition (GSD), which decomposes the norm of a sample's feature embedding and its angular similarity to the classifier into two components: one sensitive to input changes and one invariant to them.
  • Formulate the decomposition using geometric principles, separating the feature vector into a direction (instance-independent) and magnitude (instance-dependent) component.
  • Design a modified softmax-linear model that learns the disentangled components jointly during training via a new loss objective.
  • Use the instance-independent component to minimize training loss while the instance-dependent component captures input-specific variations.
  • Train the model end-to-end with a regularized objective that encourages disentanglement of sensitivity and invariance in feature representations.
  • Apply the method to standard vision models without architectural overhaul, maintaining inference efficiency.

Experimental results

Research questions

  • RQ1How can the geometric structure of feature embeddings and classifier outputs be leveraged to improve model calibration under distribution shift?
  • RQ2To what extent can sensitivity to input variations be separated from invariance to training data distribution in neural feature representations?
  • RQ3Can a disentangled representation learning approach lead to better calibration on OOD and corrupted data with minimal complexity?
  • RQ4How does the proposed method compare to existing calibration techniques in terms of performance and efficiency on standard benchmarks?
  • RQ5What is the impact of separating instance-dependent and instance-independent components on Expected Calibration Error and other calibration metrics?

Key findings

  • The proposed method achieves a 30.8% relative improvement in Expected Calibration Error on corrupted CIFAR100 compared to the previous state of the art.
  • The disentangled model outperforms existing calibration methods across multiple standard metrics under OOD and corrupted data settings.
  • The method introduces minimal additional complexity, maintaining efficiency while significantly improving calibration performance.
  • The geometric decomposition successfully isolates input-sensitive variations from loss-minimizing invariants, leading to more robust predictions.
  • The approach generalizes well across different vision models without requiring architectural modifications.
  • The code and implementation are publicly available, enabling reproducibility and further research in geometric calibration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.