Component-Based Out-of-Distribution Detection
Wenrui Liu, Hong Chang, RuiBing Hou, Shiguang Shan
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Out-Distribution Detection Methods · Type: new method · Keywords: out-of-distribution detection, component-based decomposition, local shift detection, compositional consistency, machine learning
Areas: Safety & Security › Adversarial Security › Out-of-Distribution Detection
Summary
CoOD is a post-hoc component-based framework that decomposes inputs into functional components and uses local shift and compositional consistency scores to improve OOD detection.
Explained to a 5-year-old
Sometimes a computer program sees things that are not like what it has learned before, and it needs to know when that happens. The program breaks the picture into small pieces and looks at each piece to see if something looks different. It also checks if the pieces fit together the way they should. If a piece looks odd or the pieces don't match, the program says it’s something new. This helps the program be smarter about noticing new things without getting confused by normal changes.
Explained to a 5-year-old, longer
Imagine a computer that has learned what cats, dogs, and cars look like. When it sees something new, it should know that the new thing is not one of the things it knows. Sometimes the new thing is just a different color cat, which is still a cat. Other times the new thing is a weird mix of parts that never belong together. The old way of checking only looks at the whole picture, which can miss tiny differences. Another old way looks at tiny patches, but those patches can be noisy and confusing. The new idea is to split the picture into useful parts, like eyes, ears, and body. Each part is checked to see if it looks like something the computer has seen before. The computer also checks if the parts match up the way they normally do. If a part looks strange or the parts don't fit, the computer says it’s something out of its usual knowledge. This method works well for both big, obvious differences and small, subtle ones. As a result, the computer becomes better at spotting truly new things without getting fooled by normal variations.
For a technical reader
The paper tackles the problem of detecting inputs that differ from the training data, which is essential for reliable AI systems. Current approaches either analyze the entire input globally, missing fine-grained shifts, or examine small patches, which can be unstable. The proposed solution decomposes the input into meaningful components and evaluates two scores: one for local appearance changes and another for consistency across components. By combining these scores, the system can identify out-of-distribution samples even when they consist of familiar parts. This leads to more robust detection across both coarse and fine-grained scenarios.
Problem
Detecting Out-of-Distribution samples is challenging because global representations suppress local cues and patch-based methods are unstable, and existing methods fail to detect OODs composed of valid in-distribution components.
Method
The approach decomposes inputs into functional components and computes a Component Shift Score to capture local appearance changes and a Compositional Consistency Score to detect inconsistencies across components.
Results
The approach shows consistent improvements on both coarse- and fine-grained OOD detection benchmarks.
Contributions
It introduces a post-hoc decomposition-based detection framework that captures local shifts and compositional inconsistencies, addressing limitations of global and patch-based methods.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction