pith. sign in

arxiv: 2508.19830 · v2 · pith:5ZCX3LS5new · submitted 2025-08-27 · 💻 cs.CV · cs.AI

Target-Agnostic Calibration under Distribution Shift with Frequency-Aware Gradient Rectification

classification 💻 cs.CV cs.AI
keywords calibrationdistributionfrequency-awaregradientmethodspost-hocreal-worldrectification
0
0 comments X
read the original abstract

Real-world model deployments inevitably encounter distribution shifts, rendering the confidence estimates of deep neural networks highly unreliable, posing severe risks in safety-critical applications. Existing methods improve calibration via training-time regularization or post-hoc adjustment, but often rely on access to (or simulation of) target domains, limiting practicality. We propose Frequency-aware Gradient Rectification (FGR), a target-agnostic training framework for robust calibration. From a frequency perspective, FGR applies low-pass filtering to a subset of training images to diminish spurious high-frequency cues and encourage the learning of domain-invariant features. However, the associated information loss can degrade In-Distribution (ID) calibration. To resolve this trade-off, FGR treats ID calibration as a hard constraint and rectifies conflicting parameter updates via geometric projection. This ensures a first-order non-increase in the ID calibration objective without introducing an additional loss-balancing coefficient. Extensive experiments on synthetic, real-world, and semantic shift datasets demonstrate that FGR significantly improves calibration under diverse shifts while preserving ID performance, and it remains compatible with post-hoc calibration methods. Our code is available at https://github.com/YilinZhang107/FGR-Calib.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Forecasting the Past: Gradient-Based Distribution Shift Detection in Trajectory Prediction

    cs.LG 2026-04 unverdicted novelty 7.0

    A gradient norm from a post-hoc self-supervised trajectory forecasting decoder detects distribution shifts in prediction models, with reported improvements on Shifts and Argoverse datasets.