Skip to content

Add CORE postprocessor code: Confidence + Orthogonal Residual Evidence#312

Open
JinMoYang wants to merge 1 commit into
Jingkang50:mainfrom
JinMoYang:feature/core-postprocessor
Open

Add CORE postprocessor code: Confidence + Orthogonal Residual Evidence#312
JinMoYang wants to merge 1 commit into
Jingkang50:mainfrom
JinMoYang:feature/core-postprocessor

Conversation

@JinMoYang
Copy link
Copy Markdown

Add CORE postprocessor

Adds CORE (Confidence + Orthogonal Residual Evidence), a post-hoc OOD detector that decomposes penultimate features into components parallel and orthogonal to classifier weight directions and combines a parallel (energy) and orthogonal
(class-mean cosine) score.

Paper: https://arxiv.org/abs/2603.18290
Leaderboard PR: zjysteven#6

Changes

  • openood/postprocessors/core_postprocessor.py

  • configs/postprocessors/core.yml

  • openood/postprocessors/__init__.py, openood/evaluation_api/postprocessor.py — registration + hookup under the 'core' key

  • openood/networks/regnet_y_16gf.py — adds get_fc() for run on RegNet

    Usage

    ```python
    from openood.evaluation_api import Evaluator
    evaluator = Evaluator(net, id_name='imagenet', postprocessor_name='core', ...)
    ```

Results

Leaderboard entries (CIFAR-100, ImageNet-200 ×2, ImageNet-1k ×5) submitted as a separate PR. Notable: ImageNet-1k OOD Far-OOD AUROC = 98.00, Near-OOD AUROC = 90/33 on RegNet_Y_16GF.

Post-hoc OOD detection method that decomposes penultimate features
into components parallel and orthogonal to classifier weight directions.
Combines energy score with residual direction consistency via z-score
normalization. Uses only ID training data (no OOD leakage).

- Add COREPostprocessor implementation
- Add core.yml config
- Register CORE in postprocessor registry and __init__
- Add get_fc() to RegNet_Y_16GF for classifier weight extraction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant