potentialpaper

Anchor PCA

Benedikt Seiter, Anya Fries, Julius von Kügelgen, Jonas Peters

NeurIPS 2026

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.

TL;DR. Anchor PCA trades off overall explained variance against agreement with each dataset's principal subspace; it thereby yields representations that transfer better to unseen conditions.

Abstract. Principal component analysis (PCA) is one of the most widely used unsupervised dimension reduction techniques. We study PCA for data from multiple related domains. Since principal components generally differ across domains, one way to obtain a shared low-rank embedding is to perform PCA on the pooled data. However, this approach can focus on spurious directions that exhibit high variation in only a few domains. To find a robust embedding that still explains most variance in unseen but similar domains, we propose instead to focus on shared directions of variation. To this end, we introduce Anchor PCA which trades off overall explained variance with agreement between the shared and domain-specific low-rank embeddings. Anchor PCA amounts to PCA on a modified target matrix and thus can be solved efficiently. Moreover, we show that Anchor PCA recovers a maximal invariant subspace and admits a minimax reconstruction interpretation under bounded domain-specific covariance inflations. On simulated and real-world data with temporal distribution shift, we demonstrate, respectively, that Anchor PCA recovers the maximal invariant subspace and yields embeddings that explain more variance on unseen domains than the pooling baseline and a worst-case alternative. Taken together, these findings establish Anchor PCA as a promising approach to robust unsupervised dimension reduction from multi-domain data.

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
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This manuscript proposes a new technique for PCA of pooled data when the data itself comes from multiple domains (and, accordingly, some of the most important directions may differ). The manuscript provides an optimization formulation, discusses consistency, and provides a few numerical examples.

The reviews are reasonably positive but do bring up some minor shortcomings that should be addressed. In particular, the discussion of parameter choice would be good to elaborate on, and the numerical experiments could be strengthened. (See the individual reviews for other, minor, comments/questions that should be addressed.)

Final justification

The discussion phase resolved some of the minor points and opinions were already positive. There is a clear contribution and the strengths outweighs the weaknesses.

Area Chair WHh1 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This manuscript proposes a new technique for PCA of pooled data when the data itself comes from multiple domains (and, accordingly, some of the most important directions may differ). The manuscript provides an optimization formulation, discusses consistency, and provides a few numerical examples.

The reviews are reasonably positive but do bring up some minor shortcomings that should be addressed. In particular, the discussion of parameter choice would be good to elaborate on, and the numerical experiments could be strengthened. (See the individual reviews for other, minor, comments/questions that should be addressed.)

Final justification

The discussion phase resolved some of the minor points and opinions were already positive. There is a clear contribution and the strengths outweighs the weaknesses.

Reviewer FxtJOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper focuses on dimensionality reduction in the case of multiple sources of data, where the objective is to find a single subspace that contains information shared among all sources. The paper introduces a naive approach called poolPCA, which combines all sources into a single dataset then performs PCA on that dataset. The authors demonstrate with a concrete example a case in which this approach performs poorly. To remedy this, the authors propose a novel method called AnchorPCA, which balances the goal of retaining maximum variance in the combined dataset with the goal of ensuring agreement in the factor loading across all sources. Two theorems are presented, demonstrating desirable properties: (1) the subspace shared by all sources is recovered by AnchorPCA, and (2) a characterization of AnchorPCA’s robustness (in terms of reconstruction error) to perturbations. Practical finite-sample implementation details are provided, including a sequential testing procedure for estimating the dimension of the shared subspace.

In the experiments, a simulation and a real data experiment are provided. The simulation in the main text uses a Gaussian-mixture model to produce data from five sources with feature space {R}^{10}. Each data source has latent dimension k=5, and the shared subspace dimension is m=2. The appendix includes two other variations: one with shared dimension m=1 and another with only two data sources. All simulations demonstrate consistency with a sufficiently large sample size. The real data experiment is performed on the gas-sensor array drift dataset, which is naturally divided into ten temporal batches and therefore an appropriate application. Factor loadings using poolPCA and AnchorPCA are computed for the first six batches, and the final four batches are used to evaluate whether the factor loadings remain informative under future temporal shifts. While poolPCA retains a higher proportion of the variance in each of the first six batches, AnchorPCA outperforms poolPCA on the (unseen) final four, demonstrating the desired improved stability. The appendix contains additional results from other data splits.

Strengths and weaknesses

S1. The paper is extremely well written. The problem is described well, and the motivation with the concrete toy example in section 1.2 is clear, leading to very natural definitions of the problems in section 2.2.

S2. The theorems presented in sections 3 and 4 illustrate desirable results that are explained well.

S3. The authors recognize the limitations of bootstrapping to test for the latent dimension of the shared subspace and propose a sequential hypothesis testing procedure for determining the dimension of the shared subspace m.

S4. The work appears to be genuinely novel, providing robustness guarantees which do not yet exist for other methods, as described in section A.1.

W1. Only one real dataset was used, potentially limiting the empirical validation of the method in this paper.

W2. AnchorPCA depends on a hyperparameter λ>0\lambda > 0, but no guidelines are provided for how a practitioner should select λ\lambda.

W3. The sequential hypothesis testing procedure for determining the dimension of the shared subspace m depends on the hyperparameter k, but no guidelines are provided for how a practitioner should select k.

W4. The way the authors evaluate the results on the synthetic and real datasets are quite different. This partially makes sense, as the analyses done on the synthetic dataset are available only because certain ground truth (such as the underlying shared subspace) is known. However, an analysis similar to the one performed on the real dataset is available for the synthetic dataset but appears to be missing.

W5. While the real data experiment generally appears to show AnchorPCA outperforming poolPCA, this potentially seems to break down when k=20 and k=30 in the last split (batch 8) in Figure 16 in the Appendix. This is possibly concerning given that this is the only real dataset used.

W6. While section A.1 very briefly outlines the related methods, this manuscript could be improved by expanding this section, especially expanding the section on invariance-based methods by describing the core mathematical components of those methods and highlighting why those methods don’t fill the gap that AnchorPCA fills. If space permits, this may be worth adding to the main text. While I was reading the main text, I was wondering what related work had already been done.

Questions

Q1. How should a practitioner select λ\lambda?

Q2. How should a practitioner select k?

Q3. Why do you think poolPCA appears to outperform AnchorPCA when k=20 and k=30 in the last split (batch 8) in Figure 16 in the Appendix?

Q4. What are the results of performing a similar analysis to the one displayed in Figure 4 on the Gaussian-mixture generated data?

Limitations

Yes, although I urge them to add a discussion of how to select k and λ\lambda.

Final justification

In my review, I raised concerns about (W1) limited empirical evaluation on only a single dataset, (W2) details of tuning hyperparameter λ\lambda, (W3) details of selecting the reduced dimension k, (W4) incomplete results on the synthetic data, (W5) examples in the appendix where the baseline outperforms the proposed method, and (W6) too brief exposition of related methods.

The rebuttal convincingly addresses, clarifies, and, in my view, resolves W1, W2, W4, and W5. I trust that the authors will elaborate on the baseline methods further to address W6. The only point that I believe is not resolved is W3, which is a tricky question in its own right and not the focus of the manuscript.

For these reasons, I raise my score from 4 to 5.

Formatting concerns

N/A

3 comments
Authors · CommentOpenReview ↗

General response to all reviewers and the AC

We thank the reviewers and the AC for their careful feedback. The reviews and meta-review converge on two main issues:

  1. practical selection of the subspace dimension kk and of the invariance level λ\lambda (KB42 Q4 and FxtJ Q1–Q2);
  2. stronger empirical validation (FT2G and FxtJ W1).

For 1., we now provide a leave-one-domain-out cross-validation procedure for selecting λ\lambda; for kk, we recommend domain knowledge or standard PCA diagnostics such as scree (eigenvalue) plots. For 2., on the submitted gas-sensor analysis, Anchor PCA with the proposed selection scheme for λ\lambda exhibits higher target-domain explained variance (target EV) than poolPCA in 14 of 18 configurations. In terms of new empirical results, we now also report:

  • a second real-world temporal study on the Fama–French 49 Industry Portfolios data [S1], where Anchor PCA improves target EV in all six future periods at k=2k=2;
  • a downstream gas-classification study, where Anchor PCA yields absolute improvements in target accuracy of 6% compared to poolPCA.

The individual responses provide further details and address the remaining questions about our theory and implementation.

[S1] E. F. Fama and K. R. French. 49 Industry Portfolios [Daily] [Data set]. Kenneth R. French Data Library, Tuck School of Business, Dartmouth College. Accessed July 26, 2026.

Individual response to FxtJ

Thank you for the careful reading and concrete questions. We address parameter choice first, followed by the requested empirical analyses and related-work clarification.

Q1/W2: How should a practitioner choose λ\lambda? (same answer as Q4/W3 to reviewer KB42.) For fixed kk, we propose leave-one-source-domain-out validation of the effective coefficient 2Eλ2E\lambda, i.e., the coefficient multiplying Πˉ\bar\Pi in Mλ=Σˉ+2EλΠˉM_\lambda=\bar\Sigma+2E\lambda\bar\Pi. In our updated experiments, we consider coefficients in 0,10−3,10−2,10−1,1,10,102,103,∞\\{0,10^{-3},10^{-2},10^{-1},1,10,10^2,10^3,\infty\\}. We select the candidate with the highest mean held-out percentage of total variance. Then, we refit on all source domains. Alternatively, if source labels and a downstream task are available, the held-out score can instead be a task metric. Across the 18 submitted gas-sensor configurations in Fig. 16, this rule yields higher target EV than poolPCA in 14/18 settings. It selects ∞\infty in 4 settings, a finite positive penalty in 12, and poolPCA in 2. We will add this source-only λ\lambda-selection rule to § 5.1 and report the complete grid, validation protocol, and gas-sensor results in Appendix E.5.

Q2/W3: How should a practitioner choose kk? We agree with the reviewer that m=dim⁡(S⋆)≤km=\dim(\mathcal S_\star)\leq k depends on kk: kk fixes the output dimension and the local top-kk subspaces whose intersection defines S⋆\mathcal S_\star; and mm is the dimension of S⋆\mathcal S_\star. We therefore choose kk first and then use FindS⋆\texttt{FindS}_\star or AnchorPCA∞\mathrm{AnchorPCA}_{\infty} to estimate mm. We recommend using domain knowledge or an application-specified representation budget if available; otherwise, we suggest using similar methods as for PCA: pooled and domainwise scree plots (for which the elbow or “scree” heuristic [S2] selects kk at the point where the eigenvalues flatten), or the smallest kk meeting a prespecified source-domain cumulative-EV requirement. For a downstream task with a specific score, source-domain validation can select the smallest kk within one standard error of the best score. We will add this practical guidance for choosing kk to § 5.1.

[S2] Cattell, R. B. (1966). The scree test for the number of factors. Multivariate Behavioral Research, 1(2), 245–276.

W1: Additional real-data evidence. (same answer as Q1 to reviewer FT2G.) We added a second real-world temporal study using financial-market data from the Fama–French 49 Industry Portfolios dataset, distributed through the Kenneth R. French Data Library. Each observation represents one trading day with p=49p=49 features corresponding to the value-weighted daily returns of different industry portfolios. We use non-overlapping 5-year periods as domains; we use data from 1970–1994 to create five source domains and data from 1995–2024 to create six target domains.

As two components capture roughly two-thirds of the variance in every source domain, we first present results for k=2k=2. At k=2k=2, leave-one-source-period-out EV validation selects AnchorPCA∞\mathrm{AnchorPCA}_{\infty} (the full selection procedure is detailed in our response to FxtJ Q1).

Relative to poolPCA, AnchorPCA∞\mathrm{AnchorPCA}_{\infty} improves absolute mean target EV by 3.87%, with absolute per-period gains of 1.94–5.55% across all six future periods; it also improves upon the norm-maxRegret baseline [12] across all six periods.

Method (k=2k=2) Mean target EV (%) Minimum target EV (%) Target periods above poolPCA
poolPCA 51.80 40.18 --
norm-maxRegret baseline [12] 52.79 41.44 6/6
Source-selected Anchor PCA (AnchorPCA∞\mathrm{AnchorPCA}_{\infty}) 55.67 44.44 6/6

Across the larger ranks k∈3,…,10k\in\\{3,\ldots,10\\}, source-selected Anchor PCA differs from poolPCA by at most 0.25% in absolute mean target EV. We will summarize this study in a new § 6.3 and add the source scree plots, complete protocol, and period-specific results in a new Appendix E.6.

Q3/W5: Why does poolPCA outperform Anchor PCA at s=8s=8, k=20,30k=20,30 in submitted Fig. 16? At s=8s=8, k=20,30k=20,30, the methods are fitted on B1–B8 and evaluated on B9 and B10. poolPCA outperforms Anchor PCA because of B9; specifically, the first principal component of the data of B9 already explains 92.43% of its variance, and its squared projection onto the solution subspace of AnchorPCA∞\mathrm{AnchorPCA}_{\infty} is 66.00% and 71.57% at k=20k=20 and k=30k=30, respectively. The first PC of B9 thus does not seem to be in the invariant subspace S⋆\mathcal S_\star. In contrast, the squared projection of this PC onto the poolPCA solution subspace is 95.51% at k=20k=20 and 99.59% at k=30k=30. This does not contradict Theorem 4.1, whose robustness result applies to a specified class of structured covariance perturbations, not to every unseen-domain shift. We will add this diagnostic alongside Fig. 16 in Appendix E.5 and clarify that Anchor PCA is not guaranteed to improve EV on every unseen domain, especially when important target directions lie outside the invariant subspace.

Q4/W4: What happens when the synthetic Gaussian-mixture experiment is evaluated like the real experiment? We added the requested unseen-domain EV analysis to the easy and hard Gaussian-mixture settings from Appendix E.3. For each setting, we generated 50 population configurations, each with six generated domains sharing the same m=2m=2-dimensional invariant subspace S⋆\mathcal S_\star but otherwise having different covariances; five were used as sources and the sixth was held out for target-population evaluation. We drew ne=500n_e=500 observations per source domain and repeated the source-sample fit five times per configuration.

After averaging over the five source-sample fits within each configuration and then over the 50 configurations, mean target EV is nearly identical for AnchorPCA∞\mathrm{AnchorPCA}_{\infty} and poolPCA: 57.75% vs. 57.81% in the easy setting and 49.33% vs. 49.44% in the hard setting. However, the mean projector error of each method's leading mm-dimensional subspace relative to the true shared subspace S⋆\mathcal S_\star (lower is better) is 0.078 vs. 0.226 in the easy setting and 0.133 vs. 0.999 in the hard setting (for AnchorPCA∞\mathrm{AnchorPCA}_{\infty} vs. poolPCA). Thus, in this synthetic design, the methods retain nearly identical target EV while AnchorPCA∞\mathrm{AnchorPCA}_{\infty} more accurately recovers the shared subspace that the experiment was designed to test. We will summarize this matched target-EV and subspace-recovery comparison and add it to Appendix E.3.

W6: How does Anchor PCA differ mathematically from related methods? Anchor PCA targets the intersection S⋆=⋂eIm⁡(Πk(e))\mathcal S_\star=\bigcap_e\operatorname{Im}(\Pi_k^{(e)}) and trades pooled EV against agreement of local principal projectors. This permits a shared direction to have different variances and PCA ranks across domains. PICA instead seeks components with equal projected distributions (and therefore equal projected variances in the centered Gaussian case). TCA aligns source and target distributions and therefore uses target samples, while DICA aligns domains while preserving predictive structure. FairPCA, wcPCA, and StablePCA optimize worst-group or robust reconstruction criteria. CPC assumes shared eigendirections, while JIVE/AJIVE decompose joint and individual variation. These methods do not target the intersection of local top-kk eigenspaces. We will add this objective-and-target comparison to the related-work discussion and move parts of that discussion to the main text if space permits.

Reviewer FxtJ · CommentOpenReview ↗

Thank you for providing a high-quality response that clearly addresses my concerns. In my opinion, your responses to W1, Q3/W5, Q4/W4, and W6 sufficiently address my concerns and strengthen the manuscript.

Regarding Q1/W2 (tuning λ\lambda), the leave-one-source-domain-out validation approach seems like a natural choice.

Regarding Q2/W3 (tuning kk), while the Scree test is very commonly used, in my opinion it is not a very principled approach. Perhaps an interesting future work could investigate this direction further.

Overall, your rebuttal addresses most of my concerns and moves me more favorably toward your paper. I will wait until the other reviewers have a chance to respond to adjust the score.

Authors · CommentOpenReview ↗

Thank you for your continued engagement with our paper.

Reviewer FT2GOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies PCA for multi-domain data, where pooled PCA may select high-variance directions that are specific to only a few domains and therefore may not generalize well to unseen domains. The authors propose Anchor PCA, which trades off overall explained variance with agreement between the shared subspace and domain-specific principal subspaces. The method can be solved efficiently as PCA on a modified matrix. The paper provides theoretical results on invariant subspace recovery and minimax reconstruction under bounded domain-specific covariance inflations, and evaluates the method on simulations and gas sensor drift data.

Strengths and weaknesses

Strengths: The paper studies an important problem in multi-domain unsupervised dimension reduction. Standard pooled PCA can be dominated by domain-specific high-variance directions, so it is useful to seek a shared subspace that is more robust across domains. The proposed Anchor PCA method is simple and elegant: it balances explained variance with agreement across domain-specific principal subspaces, and can be solved efficiently as PCA on a modified matrix. The theoretical results on invariant subspace recovery and minimax reconstruction also make the method more convincing.

Weaknesses: The main limitation is that the empirical evaluation is not sufficiently comprehensive. The experiments include simulations and one gas sensor drift dataset, but more real-world multi-domain datasets would be needed to demonstrate broader practical value. It would also be helpful to see downstream evaluations, such as whether the learned representations improve classification, regression, clustering, or transfer performance under domain shift.

Questions
  1. Can the authors provide experiments on more real-world multi-domain datasets to demonstrate that Anchor PCA generalizes beyond the gas sensor drift setting?

  2. Can the authors evaluate whether the learned embeddings improve downstream tasks such as classification, regression, clustering, or transfer under domain shift?

Limitations

Yes.

Final justification

I am positive about this paper and have decided to keep my score.

Formatting concerns

No paper formatting concerns.

3 comments
Authors · CommentOpenReview ↗

General response to all reviewers and the AC

We thank the reviewers and the AC for their careful feedback. The reviews and meta-review converge on two main issues:

  1. practical selection of the subspace dimension kk and of the invariance level λ\lambda (KB42 Q4 and FxtJ Q1–Q2);
  2. stronger empirical validation (FT2G and FxtJ W1).

For 1., we now provide a leave-one-domain-out cross-validation procedure for selecting λ\lambda; for kk, we recommend domain knowledge or standard PCA diagnostics such as scree (eigenvalue) plots. For 2., on the submitted gas-sensor analysis, Anchor PCA with the proposed selection scheme for λ\lambda exhibits higher target-domain explained variance (target EV) than poolPCA in 14 of 18 configurations. In terms of new empirical results, we now also report:

  • a second real-world temporal study on the Fama–French 49 Industry Portfolios data [S1], where Anchor PCA improves target EV in all six future periods at k=2k=2;
  • a downstream gas-classification study, where Anchor PCA yields absolute improvements in target accuracy of 6% compared to poolPCA.

The individual responses provide further details and address the remaining questions about our theory and implementation.

[S1] E. F. Fama and K. R. French. 49 Industry Portfolios [Daily] [Data set]. Kenneth R. French Data Library, Tuck School of Business, Dartmouth College. Accessed July 26, 2026.

Individual response to FT2G

Thank you for inquiring about additional datasets and downstream tasks, which prompted us to add new results for each.

Q1: Additional real-world evaluation beyond gas-sensor drift. We added a second real-world temporal study using financial-market data from the Fama–French 49 Industry Portfolios dataset, distributed through the Kenneth R. French Data Library. Each observation represents one trading day with p=49p=49 features corresponding to the value-weighted daily returns of different industry portfolios. We use non-overlapping 5-year periods as domains; we use data from 1970–1994 to create five source domains and data from 1995–2024 to create six target domains.

As two components capture roughly two-thirds of the variance in every source domain, we first present results for k=2k=2. At k=2k=2, leave-one-source-period-out EV validation selects AnchorPCA∞\mathrm{AnchorPCA}_{\infty} (the full selection procedure is detailed in our response to FxtJ Q1).

Relative to poolPCA, AnchorPCA∞\mathrm{AnchorPCA}_{\infty} improves absolute mean target EV by 3.87%, with absolute per-period gains of 1.94–5.55% across all six future periods; it also improves upon the norm-maxRegret baseline [12] across all six periods.

Method (k=2k=2) Mean target EV (%) Minimum target EV (%) Target periods above poolPCA
poolPCA 51.80 40.18 --
norm-maxRegret baseline [12] 52.79 41.44 6/6
Source-selected Anchor PCA (AnchorPCA∞\mathrm{AnchorPCA}_{\infty}) 55.67 44.44 6/6

Across the larger ranks k∈3,…,10k\in\\{3,\ldots,10\\}, source-selected Anchor PCA differs from poolPCA by at most 0.25% in absolute mean target EV. We will summarize this study in a new § 6.3 and add the source scree plots, complete protocol, and period-specific results in a new Appendix E.6.

Q2: Do the learned embeddings improve a downstream task under domain shift? Anchor PCA is an unsupervised dimension-reduction method, so target EV is our primary out-of-domain metric. Thoroughly establishing whether its embeddings improve specific downstream tasks is beyond the paper's scope. However, for the reviewer's interest, we extend the submitted gas-sensor experiment with a six-class gas-type classification task. Using the split from submitted Fig. 4 (batches 1–6 as sources and 7–10 as targets), we fit linear classifiers on the learned 20-dimensional representations (k=20k=20). We compare poolPCA, source-selected Anchor PCA, and AnchorPCA∞\mathrm{AnchorPCA}_{\infty}, as well as linear classifiers using all 128 unreduced features.

poolPCA has a mean target accuracy of 68.55%, source-selected Anchor PCA improves, reaching 74.61% accuracy, and AnchorPCA∞\mathrm{AnchorPCA}_{\infty} reaches 75.56% accuracy.

Source-selected Anchor PCA has higher accuracy than poolPCA in all four target batches. AnchorPCA∞\mathrm{AnchorPCA}_{\infty} raises the lowest target-batch accuracy from 48.83% to 59.14%. The table reports accuracy and balanced accuracy each averaged equally over the four target batches. “Accuracy” is the fraction of all observations classified correctly; “balanced accuracy” averages the fraction correctly classified within each of the six gas classes, giving every class equal weight.

Pipeline Dimension Accuracy (%) Balanced accuracy (%)
poolPCA + L2 logistic 20 68.55 67.27
Source-selected Anchor PCA + L2 logistic 20 74.61 75.64
AnchorPCA∞\mathrm{AnchorPCA}_{\infty} + L2 logistic 20 75.56 76.79
Unreduced + L2 logistic 128 75.05 75.08
Unreduced + L1 logistic 128 74.44 76.16
Unreduced + linear GroupDRO 128 74.98 75.34
Unreduced + linear V-REx 128 74.31 74.08

We also ran all pipelines without regularization; every unregularized variant performed worse than its penalized counterpart, so we omit them.

We select 2Eλ2E\lambda and the classifier regularization C∈10−3,10−2,10−1,1,10,102,103C\in\\{10^{-3},10^{-2},10^{-1},1,10,10^2,10^3\\} by leave-one-domain-out cross-validation, where the validation score is the balanced accuracy (as the classes are not equally frequent).

If the reviewers agree, we are happy to include these additional results.

Reviewer FT2G · CommentOpenReview ↗

I thank the authors for their responses, which have addressed my concerns. I would keep my rating. I think including these results will improve the paper a lot.

Authors · CommentOpenReview ↗

Thank you for your continued engagement with our paper.

Reviewer KB42OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a method for PCA with data from multiple domains, named anchor PCA. Standard pooled PCA can focus on directions with high variance in a few domains. Anchor PCA seeks directions of variation shared across domains, striking a balance between (1) total explained variance and (2) agreement between a shared subspace and domain-specific subspaces. Optimizing the objective function is equivalent to running PCA on a modified data matrix. The authors conducted a theoretical analysis of subspace recovery and presented a minimax interpretation for reconstruction. The method is tested on simulated and real data.

Strengths and weaknesses

Strengths:

  1. Anchor PCA is conceptually natural and has a minimax reconstruction interpretation.
  2. The reformulation in equation (3) shows that the original, penalized form of anchor PCA can be efficiently solved through singular value decomposition.
  3. Overall, the paper is well-written.

Weaknesses:

  1. The statistical analysis shows asymptotic consistency. There is no finite-sample error bound.
  2. The robust reconstruction result, Theorem 4.1, relies on a restrictive assumption on the perturbation, see Line 178 and the equation between Lines 182 and 183. Such range containment cannot be satisfied in general finite-sample scenario (the perturbation can be full rank).
  3. Anchor PCA has two hyperparameters, kk and λ\lambda. The paper does not provide a data-driven way for selecting them.
Questions
  1. Could you strengthen the robust construction result by relaxing the range containment assumption? This would pave the path toward finite-sample restruction error analysis.

  2. At the beginning of Section 5, in Lines 198-201, Σ^\hat\Sigma is an average of environment-specific empirical covariance matrices. If the sample sizes (nen_e's) are different, should one replace Σ^\hat{\Sigma} by a weighted version ∑e=1EneΣ^e/∑e=1Ene\sum_{e=1}^{E} n_e \hat\Sigma_e / \sum_{e=1}^{E} n_e? If an environment only has much fewer samples compared to others, it should receive a smaller weight.

  3. The finite-sample implementation (Section 5.1) has lots of technical details. Could you provide more intuitions, maybe using a figure or flow chart?

  4. In practice, how should one choose kk or λ\lambda? It seems that kk depends on prior knowledge about the invariant space, and λ\lambda depends on the level of domain heterogeneity.

Limitations

Please refer to the weaknesses and questions.

Final justification

I thank the authors for their responses, which have addressed my concerns. I would keep my rating.

Formatting concerns

None

3 comments
Authors · CommentOpenReview ↗

General response to all reviewers and the AC

We thank the reviewers and the AC for their careful feedback. The reviews and meta-review converge on two main issues:

  1. practical selection of the subspace dimension kk and of the invariance level λ\lambda (KB42 Q4 and FxtJ Q1–Q2);
  2. stronger empirical validation (FT2G and FxtJ W1).

For 1., we now provide a leave-one-domain-out cross-validation procedure for selecting λ\lambda; for kk, we recommend domain knowledge or standard PCA diagnostics such as scree (eigenvalue) plots. For 2., on the submitted gas-sensor analysis, Anchor PCA with the proposed selection scheme for λ\lambda exhibits higher target-domain explained variance (target EV) than poolPCA in 14 of 18 configurations. In terms of new empirical results, we now also report:

  • a second real-world temporal study on the Fama–French 49 Industry Portfolios data [S1], where Anchor PCA improves target EV in all six future periods at k=2k=2;
  • a downstream gas-classification study, where Anchor PCA yields absolute improvements in target accuracy of 6% compared to poolPCA.

The individual responses provide further details and address the remaining questions about our theory and implementation.

[S1] E. F. Fama and K. R. French. 49 Industry Portfolios [Daily] [Data set]. Kenneth R. French Data Library, Tuck School of Business, Dartmouth College. Accessed July 26, 2026.

Individual response to KB42

Thank you for the positive assessment and precise questions. We address the robustness and finite-sample concerns first, followed by the remaining questions.

Q1/W2: Can the range-containment assumption be relaxed? We agree with the reviewer that the assumptions on l. 178 and between l. 182 and 183 (the "range containment" assumption, as the reviewer has termed it) will not hold in a finite-sample scenario. We can, however, allow full-rank perturbations by replacing the submitted restriction with 0⪯Σe′⪯Σe+2EλΠk(e)+εeIp0\preceq\Sigma'_e\preceq\Sigma_e+2E\lambda\Pi_k^{(e)}+\varepsilon_e I_p, where εe≥0\varepsilon_e\ge0. Now the total deviation Σe′−Σe\Sigma'_e-\Sigma_e need not be positive semidefinite or confined to Im⁡(Πk(e))\operatorname{Im}(\Pi_k^{(e)}): it may be full rank and have both positive and negative eigenvalues. This also covers bounded finite-sample covariance error on top of the perturbations in Theorem 4.1. Specifically, a covariance Σe+Δe\Sigma_e+\Delta_e satisfying 0⪯Δe⪯2EλΠk(e)0\preceq\Delta_e\preceq2E\lambda\Pi_k^{(e)} may be further perturbed by any symmetric estimation error with operator norm at most εe\varepsilon_e. Because this error is bounded above by εeIp\varepsilon_e I_p, the resulting covariance satisfies the displayed condition, provided it remains positive semidefinite.

For any rank-kk projector ΠW\Pi_W, the worst-case reconstruction error over this broader class is 1E∑eTr(Σe(Ip−ΠW))+λ∑e∣ΠW−Πk(e)∣F2+p−kE∑eεe\frac{1}{E}\sum_e\mathrm{Tr}\bigl(\Sigma_e(I_p-\Pi_W)\bigr)+\lambda \sum_e \\| \Pi_W-\Pi_k^{(e)}\\|_{\mathrm{F}}^2+\frac{p-k}{E}\sum_e\varepsilon_e. Indeed, since Ip−ΠW⪰0I_p-\Pi_W\succeq0, the same trace-monotonicity argument as in Theorem 4.1 places the maximum at the upper covariance bound. The isotropic slack εeIp\varepsilon_e I_p contributes εeTr⁡(Ip−ΠW)=εe(p−k)\varepsilon_e\operatorname{Tr}(I_p-\Pi_W)=\varepsilon_e(p-k), which is constant over rank-kk projectors. Hence finite AnchorPCAλ\mathrm{AnchorPCA}_{\lambda} minimizes the worst-case reconstruction error over this broader covariance class. While the optimizer is unchanged, note that the guaranteed worst-case error increases with the domain noise levels through the additive term p−kE∑eεe\frac{p-k}{E}\sum_e\varepsilon_e.

Complementing the theory, we estimated covariances and local projectors from samples in the Gaussian/Gaussian-mixture simulations, submitted gas-sensor analysis, and new Fama–French study (see reply for Q1, reviewer FT2G), providing empirical evidence that the robustness behavior characterized by Theorem 4.1 can persist under finite-sample estimation error.

We will state this full-rank extension of the theory and its dependence on εe\varepsilon_e after Theorem 4.1 in § 4, with the proof in the appendix.

W1: Can one give an explicit finite-sample bound? As noted by the reviewer, we already show asymptotic consistency for both AnchorPCAλ\mathrm{AnchorPCA}_{\lambda} and AnchorPCA∞\mathrm{AnchorPCA}_{\infty} (§ 5.3). The main results of the paper are the S⋆\mathcal S_\star-recovery (§ 3) and optimal reconstruction robustness guarantees (§ 4); already the consistency result only fits in the Appendix. We therefore consider a finite-sample error bound outside the scope of the paper. However, we believe that a finite-sample error bound for AnchorPCAλ\mathrm{AnchorPCA}_{\lambda} is feasible (the bound for AnchorPCA∞\mathrm{AnchorPCA}_{\infty} may be more involved). If the reviewer deems this necessary, we are happy to further engage on this matter and present a proof outline in the following discussion. (OpenReview space and LaTeX formatting limitations render the inclusion of a full formal statement and proof difficult at this stage.)

Q2: Should domains be weighted by sample size? We think it is not necessary to weight domains by sample size; the two choices simply estimate different targets. Equal weights, as used in the submission, correspond to the average performance of a uniformly drawn domain. Sample-size weights we=ne/∑jnjw_e=n_e/\sum_j n_j correspond to a uniformly drawn observation from the pooled sample and would require reweighting the covariances ∑eweΣ^e\sum_e w_e\widehat\Sigma_e and the projectors ∑eweΠ^k(e)\sum_e w_e\widehat\Pi_k^{(e)}. The robustness result (Theorem 4.1) extends directly to sample weighting by replacing the uniform average reconstruction error in line 185 by the sample-weighted average.

We tested the difference in performance on the gas-sensor data. For both weighting schemes (uniform and by sample size), AnchorPCA∞\mathrm{AnchorPCA}_{\infty} has higher mean target EV (averaged over the rolling splits) than poolPCA at all three ranks displayed in submitted Fig. 16 (k=10,20,30k=10,20,30). We will state the target and weighting choice explicitly next to the averages in § 5 (submitted lines 198–201).

Q3: Intuition of the finite-sample implementation. Thank you for pointing out that § 5.1 was hard to follow. Finite AnchorPCAλ\mathrm{AnchorPCA}_{\lambda} is simply rank-kk PCA of M^λ=Σ^+2EλΠ^\widehat M_\lambda=\widehat\Sigma+2E\lambda\widehat\Pi (submitted Eq. (3) and lines 206–207). We therefore understand the main difficulty to be AnchorPCA∞\mathrm{AnchorPCA}_{\infty}; if not, we would be glad to clarify further. In § 5.1, we will include clearer pseudocode for AnchorPCA∞\mathrm{AnchorPCA}_{\infty} based on the following steps:

  • For each domain, compute the empirical covariance Σ^e\widehat\Sigma_e and the top-kk principal projector Π^k(e)\widehat\Pi_k^{(e)}. Average the covariances and the projectors across domains to obtain Σ^\widehat\Sigma and Π^\widehat\Pi.

  • Eigendecompose Π^\widehat\Pi (its eigenvalues measure cross-domain agreement among the top-kk principal subspaces; at the population level, eigenvalue 11 corresponds to the invariant subspace S⋆\mathcal S_\star).

  • Starting from the largest eigenvalue, group together eigenvalues within toln\mathrm{tol}_n. This treats small sample differences as ties, essentially grouping together eigenvalues that would be equal at the population level.

  • Starting with the first group, rank its directions by explained variance using Σ^\widehat\Sigma. Continue group by group until kk directions are selected.

Q4/W3: How should kk and λ\lambda be chosen? For fixed kk, we propose leave-one-source-domain-out validation of the effective coefficient 2Eλ2E\lambda, i.e., the coefficient multiplying Πˉ\bar\Pi in Mλ=Σˉ+2EλΠˉM_\lambda=\bar\Sigma+2E\lambda\bar\Pi. In our updated experiments, we consider coefficients in 0,10−3,10−2,10−1,1,10,102,103,∞\\{0,10^{-3},10^{-2},10^{-1},1,10,10^2,10^3,\infty\\}. We select the candidate with the highest mean held-out percentage of total variance. Then, we refit on all source domains. Alternatively, if source labels and a downstream task are available, the held-out score can instead be a task metric. Across the 18 submitted gas-sensor configurations in Fig. 16, this rule yields higher target EV than poolPCA in 14/18 settings. It selects ∞\infty in 4 settings, a finite positive penalty in 12, and poolPCA in 2.

The role of kk differs from that of λ\lambda: kk fixes the output dimension and the local top-kk subspaces whose intersection defines S⋆\mathcal S_\star; and mm is the dimension of S⋆\mathcal S_\star. We therefore choose kk first and then use FindS⋆\texttt{FindS}_\star or AnchorPCA∞\mathrm{AnchorPCA}_{\infty} to estimate mm. We recommend using domain knowledge or an application-specified representation budget if available; otherwise, we suggest using similar methods as for PCA: pooled and domainwise scree plots (for which the elbow or “scree” heuristic [S2] selects kk at the point where the eigenvalues flatten), or the smallest kk meeting a prespecified source-domain cumulative-EV requirement. For a downstream task with a specific score, source-domain validation can select the smallest kk within one standard error of the best score.

We will add this source-only λ\lambda-selection rule and the separate guidance for choosing kk to § 5.1, with the complete validation protocol and gas-sensor results in Appendix E.5.

[S2] Cattell, R. B. (1966). The scree test for the number of factors. Multivariate Behavioral Research, 1(2), 245–276.

Reviewer KB42 · CommentOpenReview ↗

I thank the authors for their responses, which have addressed my concerns. I would keep my rating.

Authors · CommentOpenReview ↗

Thank you for your continued engagement with our paper.

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

Missing a submission?

Loading the discussion…