cs.CVOct 24, 2026

Rank-1 Weight-Corrected Trainable Weight Averaging for Out-of-Distribution Detection

Authors: Akito Shinohara, Hiroaki Aizawa

Organizations: Graduate School of Advanced Science and Engineering, Hiroshima University, Japan

Abstract

Out-of-distribution (OOD) detection identifies inputs outside the training distribution. Rank-based analyses such as RankFeat and RankWeight suggest that OOD overconfidence is closely related to dominant low-rank components in feature and weight spaces. Since weight averaging operates directly in parameter space and improves model generalization, we consider it for OOD detection from a dominant-component perspective. Trainable Weight Averaging (TWA) assigns a single coefficient to each checkpoint, limiting independent control of dominant weight components. We extend TWA with leading rank-one weight components extracted by Singular Value Decomposition as correction directions, whose contributions are learned through the in-distribution classification objective. On ResNet50, our method improves over fine-tuning and standard TWA across the evaluated datasets with MSP and RankWeight, both with and without Outlier Exposure. Mahalanobis-based evaluation yields mixed results, indicating that the benefit depends on the OOD scoring protocol. Target-layer analyses with MSP and Energy favor correction near the classifier.

Figures & tables

Explore similar work

CardsList
  1. CORE: Robust Out-of-Distribution Detection via Confidence and Orthogonal Residual Scoring

    Mar 18, 2026Jin Mo Yang, Hyung-Sin Kim, Saewoong BahkOOD Detection

  2. AOE: Exhaustive Out-of-Distribution Detection via Recalibrating Outlier Labels

    May 27, 2026Fengqiang Wan, Qing-Yuan Jiang, Yang YangOOD Detection

  3. MM++: Post-Hoc Scale-Invariant Multilayer OOD Detection via Top-K Gated Feature Fusion

    Jun 15, 2026Rahim Hossain, Md Tawheedul Islam Bhuian, Md Farhan Shadiq +1Diffusion-Based OOD DetectionOOD Detection