Decodable but Not Detectable: A Leakage Fingerprint for Near-OOD Benchmarks

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Expert, extended

Summary

A benchmark leak in near-OOD evaluation, where a trained class is mistakenly designated as "OOD" but remains in the in-distribution (ID) fit set, can lead to severely misleading results, such as unsupervised detectors scoring well below chance (e.g., AUROC 0.326). Correcting this by removing the class from training (leave-class-out protocol) dramatically improves performance to 0.911. The paper introduces a "leak fingerprint" diagnostic, characterized by near-perfect supervised decodability (OracleLDA ≈ 1) coupled with unsupervised detection collapse (best-unsupervised AUROC < 0.65), validated with high sensitivity (18/20) and specificity (31/32) across diverse settings. An audit of 24 standard OOD benchmark pairs confirmed its specificity, firing only on one intrinsically-hard, non-leaked case. Furthermore, the study reveals that perturbation-response OOD detectors, even after protocol correction, offer no significant improvement over plain Mahalanobis-on-embeddings baselines, indicating signals are "decodable but not detectable."

Key takeaway

For AI Scientists and Machine Learning Engineers constructing or evaluating near-OOD benchmarks, you must rigorously verify that designated OOD classes are genuinely absent from the in-distribution fit set. Implement the proposed leak fingerprint, contrasting supervised decodability with unsupervised detection collapse, to cheaply audit splits without retraining. This prevents inverted results and ensures valid OOD detector performance assessments, particularly in embedding space where the diagnostic is most reliable.

Key insights

Benchmark leaks in near-OOD evaluation can invert detector scores, requiring a specific diagnostic to identify contamination.

Principles

Method

Detect benchmark leaks by contrasting near-perfect supervised decodability (OracleLDA ≈ 1) with unsupervised detection collapse (best-unsupervised AUROC < 0.65) in embedding space, without backbone retraining.

In practice

Topics

Best for: NLP Engineer, Computer Vision Engineer, AI Scientist, Machine Learning Engineer, Research Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.