Skip to main content
QUICK REVIEW

[Paper Review] Between Resolution Collapse and Variance Inflation: Weighted Conformal Anomaly Detection in Low-Data Regimes

Oliver Hennhöfer, Christine Preisach|arXiv (Cornell University)|Mar 24, 2026
Anomaly Detection Techniques and ApplicationsComputer Science0 citations
TL;DR

This paper exposes a fundamental trade-off in weighted conformal anomaly detection under covariate shift: increasing local adaptation tightens p-value resolution but inflates variance, and proposes a continuous KDE-based inference to decouple adaptation from tail resolution.

ABSTRACT

Standard conformal anomaly detection provides marginal finite-sample guarantees under the assumption of exchangeability . However, real-world data often exhibit distribution shifts, necessitating a weighted conformal approach to adapt to local non-stationarity. We show that this adaptation induces a critical trade-off between the minimum attainable p-value and its stability. As importance weights localize to relevant calibration instances, the effective sample size decreases. This can render standard conformal p-values overly conservative for effective error control, while the smoothing technique used to mitigate this issue introduces conditional variance, potentially masking anomalies. We propose a continuous inference relaxation that resolves this dilemma by decoupling local adaptation from tail resolution via continuous weighted kernel density estimation. While relaxing finite-sample exactness to asymptotic validity, our method eliminates Monte Carlo variability and recovers the statistical power lost to discretization. Empirical evaluations confirm that our approach not only restores detection capabilities where discrete baselines yield zero discoveries, but outperforms standard methods in statistical power while maintaining valid marginal error control in practice.

Motivation & Objective

  • Motivate and formalize the Resolution–Variance Dilemma in weighted conformal anomaly detection under covariate shift.
  • Characterize how weight localization affects effective sample size and p-value stability.
  • Propose a continuous weighted inference approach using weighted kernel density estimation to decouple local adaptation from tail resolution.
  • Provide theoretical insights on asymptotic validity and practical evaluation under low-data regimes.

Proposed method

  • Formulate the two failure modes of weighted CAD: resolution collapse for the deterministic p-value and variance inflation for the randomized p-value.
  • Introduce a continuous inference relaxation by estimating a weighted score density via weighted KDE and constructing a continuous right-tail p-value.
  • Estimate covariate-shift weights by a density-ratio trick through a classifier, with winsorization to mitigate extreme weights.
  • Use weighted KDE to approximate the calibrated score distribution, yielding deterministic, continuous p-values without Monte Carlo noise.
  • Integrate the continuous p-values with multiple testing frameworks, discussing restrictions of finite-sample conformal guarantees and practical performance with WCS pruning.
  • Provide asymptotic consistency results (Theorem 1) for the KDE-based p-values under standard regularity conditions.

Experimental results

Research questions

  • RQ1How does localization through importance weights under covariate shift affect the minimum attainable p-value and the stability of conformal p-values?
  • RQ2Can continuous weighted KDE-based inference decouple local adaptation from tail resolution to improve power in low-data regimes without sacrificing marginal error control?
  • RQ3What is the trade-off between finite-sample validity, stability, and resolution in weighted conformal anomaly detection under distribution shift?
  • RQ4How does the proposed KDE-based method compare to deterministic and randomized baselines in terms of false discovery rate control and statistical power across benchmarks?

Key findings

  • Weighted conformal anomaly detection exhibits a Resolution–Variance Dilemma: discretization causes a resolution floor that hinders discoveries, while randomization removes the floor but injects variance that can mask anomalies.
  • A continuous weighted KDE-based p-value avoids the discretization floor and eliminates Monte Carlo noise, improving power in low-data regimes.
  • Covariate-shift adaptation reduces effective sample size, which can severely reduce power for EDF-based methods, whereas KDE-based p-values maintain power by decoupling rejection from calibration size.
  • Asymptotically, KDE-based p-values achieve marginal validity under the proposed framework, though not guaranteed to inherit finite-sample conformal guarantees when used as surrogates in WCS.
  • Empirical evaluations on anomaly detection benchmarks show KDE-based methods recover Discoveries where discrete baselines yield zero and outperform randomized baselines in power while maintaining practical error control.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.