Reproduce “RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yue Song, Nicu Sebe, Wei Wang
University of Trento researchers developed RankFeat, a post-hoc method for out-of-distribution (OOD) detection that removes the dominant rank-1 component from feature maps. This approach improved average FPR95 by 17.90% and AUROC by 5.44% on ImageNet-1k compared to prior state-of-the-art.
Key insights
- OOD features consistently exhibit a significantly larger dominant singular value compared to in-distribution features, which disproportionately drives over-confident OOD predictions.
- Removing this dominant rank-1 component effectively perturbs OOD predictions, making them less confident, while only moderately impacting in-distribution predictions.
- Through Random Matrix Theory, it is shown that OOD features become statistically closer to random matrices after rank-1 removal, implying they become less informative.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.