TULiP: Test-time Uncertainty Estimation via Linearization and Weight Perturbation

Yuhui Zhang, Dongshen Wu, Yuichiro Wada, Takafumi Kanamori
5/22/2025
stat.MLcs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

A reliable uncertainty estimation method is the foundation of many modern out-of-distribution (OOD) detectors, which are critical for safe deployments of deep learning models in the open world. In this work, we propose TULiP, a theoretically-driven post-hoc uncertainty estimator for OOD detection. Our approach considers a hypothetical perturbation applied to the network before convergence. Based on linearized training dynamics, we bound the effect of such perturbation, resulting in an uncertainty score computable by perturbing model parameters. Ultimately, our approach computes uncertainty from a set of sampled predictions. We visualize our bound on synthetic regression and classification datasets. Furthermore, we demonstrate the effectiveness of TULiP using large-scale OOD detection benchmarks for image classification. Our method exhibits state-of-the-art performance, particularly for near-distribution samples.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2025tulip,
  title  = {TULiP: Test-time Uncertainty Estimation via Linearization and Weight Perturbation},
  author = {Yuhui Zhang and Dongshen Wu and Yuichiro Wada and Takafumi Kanamori},
  year   = {2025},
  eprint = {2505.16923},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.16923v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.16923.svg)](https://codeofpaper.com/paper/2505.16923)

Discussion