paper-with-me

홈 › Papers

Prototype Fusion: A Training-Free Multi-Layer Approach to OOD Detection

2026-03-24 · Shreen Gul, Mohamed Elmahallawy, Ardhendu Tripathy, Sanjay Madria arxiv

Deep learning models are increasingly deployed in safety-critical applications, where reliable out-of-distribution (OOD) detection is essential to ensure robustness. Existing methods predominantly rely on the penultimate-layer activations of neural networks, assuming they encapsulate the most informative in-distribution (ID) representations. In this work, we revisit this assumption to show that intermediate layers encode equally rich and discriminative information for OOD detection. Based on this observation, we propose a simple yet effective model-agnostic approach that leverages internal representations across multiple layers. Our scheme aggregates features from successive convolutional blocks, computes class-wise mean embeddings, and applies L_2 normalization to form compact ID prototypes capturing class semantics. During inference, cosine similarity between test features and these prototypes serves as an OOD score--ID samples exhibit strong affinity to at least one prototype, whereas OOD samples remain uniformly distant. Extensive experiments on state-of-the-art OOD benchmarks across diverse architectures demonstrate that our approach delivers robust, architecture-agnostic performance and strong generalization for image classification. Notably, it improves AUROC by up to 4.41% and reduces FPR by 13.58%, highlighting multi-layer feature aggregation as a powerful yet underexplored signal for OOD detection, challenging the dominance of penultimate-layer-based methods. Our code is available at: https://github.com/sgchr273/cosine-layers.git.

📄 PDF Abstract BibTeX arXiv:2603.23677

Code (0)

등록된 구현이 없습니다.

Tasks

Image Classification

Similar Papers 제목 키워드 기반

ProtoDiffusion: Classifier-Free Diffusion Guidance with Prototype Learning

2023-07-04 · Gulcin Baykal, Halil Faruk Karagoz, Taha Binhuraib, Gozde Unal

Diffusion models are generative models that have shown significant advantages compared to other generative models in terms of higher generation quality and more stable training. However, the computational need for traini…

ConMoE: Expert-Pool Consolidation via Prototype Reassignment for MoE Compression

2026-05-28 · Yilun Yao, Jiaming Pan, Elsie Dai, Peizhuang Cong 외 arxiv

Mixture-of-Experts (MoE) language models reduce per-token computation but still require storing and serving all experts, making deployment memory-intensive. Existing post-training compression methods mainly shrink this c…

Rethinking Prototype-based Similarity Learning for Few-Shot Object Detection

2026-06-22 · KunHo Heo, Seungjae Kim, Wongyu Lee, SuYeon Kim 외 arxiv

Few-shot object detection aims to detect novel object categories from only a few labeled examples, avoiding costly large-scale annotation. Recent prototype-based similarity learning approaches enable training-free adapta…

Few-Shot Object Detection

Tackling Device Data Distribution Real-time Shift via Prototype-based Parameter Editing

2025-09-08 · Zheqi Lv, Wenqiao Zhang, Kairui Fu, Qi Tian 외 arxiv

The on-device real-time data distribution shift on devices challenges the generalization of lightweight on-device models. This critical issue is often overlooked in current research, which predominantly relies on data-in…

MAVISEG: Manifold Propagation and Visual Prototypes for Zero-Shot Open-Vocabulary Segmentation in Diffusion Transformers

2026-08-06 · Rajatsubhra Chakraborty, Xujun Che, Ritabrata Chakraborty, Xi Niu 외 arxiv

Text-to-image diffusion transformers learn about objects and scenes by learning to generate them, making them strong candidates for training-free zero-shot open-vocabulary semantic segmentation. State-of-the-art attribut…

Semantic Segmentation