potentialpaper

Unsupervised Domain Shift Detection with Interpretable Subspace Attribution

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. We developed a tool for detecting domain shifts, namely subtle differences in the probability distributions of datasets. We identify these shifts using an algorithm designed to detect localised density differences in high-dimensional feature spaces. If an anomaly is present, we then identify the subset of features in which the anomaly is most pronounced. This allows to trace the domain shift to a small set of features, making the shift interpretable. Moreover, we provide a protocol for compensating domain shifts by extracting, from two unlabelled datasets, subsets of samples in which the anomaly is not present. We validate the framework on controlled 20-dimensional benchmarks with known ground truth, recovering both broad and localized shifts together with their supporting feature subspaces. We then apply it to healthy electrocardiogram (ECG) recordings represented by 782 features. In age- and sex-matched cohort comparisons differing in measurement-device composition, the method detects device-induced shifts, extracts representative subsets enriched in the imbalanced device components, and identifies ECG features associated with the anomaly.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
17 Sep 2026ICLR 2027 (under review)submittedICLR 2027Under reviewreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Under review · 3 reviews · OpenReview

Updated 24 Nov 2026, 17:22 UTC.

Reviewer F9pfOpenReview ↗
Rating
2/4
Confidence
3/4
Soundness
2/3
Presentation
2/3
Informativeness
3/3
Read review
Summary

The manuscript introduces a three-stage unsupervised pipeline for detecting, localizing, and attributing domain shifts between unlabeled datasets. The backbone uses the EagleEye local two-sample score to assign anomaly scores. The second stage introduces a bidirectional tail-based equalization procedure to prune excess-mass samples. The third stage proposes Neighbor-Enriched Subspace Localization (NESL) to identify the feature subset driving the shift by learning feature weights via a differentiable soft-KNN objective. The authors validate the method on a controlled 20-dimensional synthetic benchmark and a real-world clinical dataset (PTB-XL+) with 782 ECG features.

Strengths
  1. The controlled synthetic experiments demonstrate NESL effectively recovers the localized shift coordinates with known ground truth.
  2. Feature supports extracted via controlled device-composition contrasts exhibit clinical relevance.
Weaknesses
  1. Equalization improves 1AVB but reduces ISC classification. This suggests that the clipping process may inadvertently delete samples with rare pathological signals. The author failed to deeply analyze the mechanism behind this degradation.
  2. This method relies heavily on Euclidean distance and KNN. However, real-world ECG features are highly collinear. The author only applied standardization without feature decoupling.
  3. The NESL stage uses 5-fold cross-validation to select the subset size m∗ based on pooled indices (including the unlabeled target set). Using the test set's distribution to guide feature selection raises severe data leakage concerns for a supposedly unsupervised method.
  4. The manuscript lacks comparisons against mainstream deep domain adaptation methods (e.g., DANN, CORAL) or deep feature extraction techniques. Moreover, it fails to report the actual runtime or computational overhead when scaling to 782-dimensional features and tens of thousands of samples.
Questions for the authors
  1. The manuscript lacks a comprehensive method overview figure. Can the authors provide a visual pipeline diagram to clarify the data flow?
  2. Why does equalization on healthy cohorts lead to worse predictions for ISC? Is it possible that the pruning step inadvertently removes samples with rare pathological features?
  3. Given the high collinearity of ECG features, how does the soft-KNN optimization avoid distance concentration issues in the 782-dimensional space? Can the authors provide results with whitened features?
  4. In Appendix A.2 (S5), the CV for selecting subset size m∗ is performed on the pooled dataset. How do the authors justify this as "unsupervised" without leaking target distribution information?
  5. Please supplement actual wall-clock runtimes and provide the code repository link.
Reviewer waChOpenReview ↗
Rating
2/4
Confidence
3/4
Soundness
1/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

The paper proposes a three-stage, label-free pipeline for detecting, localizing, and attributing covariate shift between two unlabelled datasets. It consists of a pointwise backbone (based on the EagleEye method), a tail-based equalization step, and a Neighbor-Enriched Subspace Localization method that learns non-negative per-feature attribution weights. Validation has two parts: a 20-dimensional Gaussian-mixture benchmark with known ground truth, run across multiple seeds with parameter-sensitivity grids, as well as an application to PTB-XL+ healthy ECG recordings (782 features), where age/sex-matched cohorts are constructed to differ in measurement-device composition. The method prunes 3–6% of each cohort, the pruned sets are enriched in the imbalanced device components, while selected supports span 120–140 of 782 features.

Strengths
  • The controlled benchmark demonstrates the capability of the model to detect localized shifts. The model is able to recover a large percentage of the injected samples in most experiments.

  • The ECG example is a well-designed real-world experiment for this problem.

Weaknesses
  • The pointwise anomaly scores are calibrated using B(i, K), which depends on a sample's neighbors, which is OK. But then, the tail scores are treated as an i.i.d. sample in a two-sample KS comparison, whereas the scores of nearby points are computed from largely the same pooled neighbours and are strongly dependent. Moreover, Algorithm 1 performs repeated tests without adjusting the significance level to control for the error introduced by multiple testing. As a result, the calibration of the stopping rule needs additional theoretical and empirical validation.

  • The comparative claims are not supported by the required experiments. The introduction motivates the work against MMD, energy distance, C2ST and nearest-neighbor two-sample tests, however none of them is evaluated quantitatively. Furthermore, there is no detection experiment (e.g., power/false-positive at matched level) for any method, including the proposed. And the attribution stage is never compared against any alternative, even though the true support is known exactly on the benchmark. Ablation studies measuring the contribution of each component (equalization alone vs plus NESL) are also not evaluated.

  • Positioning compared to the relevant literature is incomplete. There exist approaches in the literature that deal with the same problem. For example, Kulinski et al., "Feature Shift Detection: Localizing Which Features Have Shifted via Conditional Distribution Tests", NeurIPS 2020; Barrabés et al., "Adversarial Learning for Feature Shift Detection and Correction", NeurIPS 2023; and others. These methods are not discussed or compared in the paper.

Questions for the authors
  • How were baseline hyperparameters determined? And why does it make sense to keep them constant? For example, does the MLP training converge after only 300 training iterations?

  • How does the proposed method relate other methods in the literature?

Reviewer JiiVOpenReview ↗
Rating
1/4
Confidence
2/4
Soundness
1/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

The paper extends EagleEye with bidirectional sample removal and feature-subspace learning to localize and explain distribution shifts. Synthetic experiments demonstrate improved sample localization and recovery of designated feature subsets. On PTB-XL+, the method identifies discrepancies associated with ECG device composition, while downstream classification results show mixed effects of sample removal.

Strengths

The paper addresses the useful goal of identifying both samples and features associated with distribution shifts.

Weaknesses

NESL’s neighborhood-enrichment objective is closely related to Neighborhood Components Analysis, using dataset membership as labels and restricting learning to detected anomalous samples. The paper neither adequately positions this connection nor compares against an appropriately adapted NCA baseline. Existing comparisons primarily establish synthetic sample-localization gains, leaving the feature-attribution contribution insufficiently validated. The PTB-XL+ results demonstrate device-associated discrepancies, but mixed downstream outcomes on changing evaluation cohorts do not establish the practical benefit of equalization. The choice of PTB-XL+ is also questionable for the paper's purpose. Matching age and sex does not eliminate other sources of inter-subject variation, so the detected discrepancies may reflect physiological difference on the individual level.

Questions for the authors

See the weaknesses above. Please clarify:

  1. What distinguishes NESL from an NCA formulation adapted to dataset membership and anomalous queries?
  2. Can the contributions of NESL and bidirectional equalization be evaluated separately?
  3. How can device effects be distinguished from patient-composition differences in the PTB-XL+ experiments?

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…

This paper is under review