acceptodds
Published as a conference paper at NeurIPS 2026

A unified pairwise distribution matching framework for graph domain adaptation under structure shift

Huiyun Noh, Wooseok Ha

Abstract

Graph domain adaptation (GDA) has emerged as an important problem in graph machine learning when the distribution of the source graph used for training differs from that of the target graph used for testing. While much of the prior work on GDA has focused on aligning node representations across source and target domains, recent studies show that such approaches can be suboptimal in the presence of graph structure shift, where the underlying connection patterns between nodes change across domains. In this work, we develop a unified pairwise distribution matching framework for mitigating conditional structure shift (CSS), a specific form of graph structure shift in which conditional edge distributions vary across domains. The framework recovers existing GDA methods as instances of moment matching and motivates PLSA, a new likelihood-based method that uses calibrated probabilistic predictors on connected target node pairs. Theoretically, we establish finite-sample guarantees for both the likelihood-based and moment-matching estimators under the contextual stochastic block model. Our analysis uses Bernstein-type concentration bounds for edge-weighted U-statistics, leading to error bounds that reflect both the effective number of observed edges and the conditioning of the corresponding likelihood or moment-matching problem. We complement our theoretical results with empirical studies that demonstrate the effectiveness of the proposed framework.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_HWMrOpenReview ↗
Rating
4
Clarity
2
Confidence
3
Originality
3
Quality
2
Significance
3
Read review
Summary

This paper studies graph domain adaptation under conditional structure shift and proposes a unified pairwise distribution matching framework. The authors connect existing structure-shift correction methods, such as Pair-Align and StruRW, to a common moment-matching formulation, and further introduce PLSA, a likelihood-based estimator using calibrated probabilistic predictions on connected target node pairs. The paper also provides finite-sample theoretical guarantees under the contextual stochastic block model and reports experiments on synthetic CSBM data and several graph domain adaptation benchmarks.

Strengths and weaknesses

Strength: (1) The paper tackles a timely and meaningful graph-specific domain adaptation problem under conditional structure shift. (2) The paper provides useful finite-sample theory that explains key factors affecting estimation error.

Weaknesses: (1) Although the conditional structure shift setting is meaningful, the paper could better clarify how often this assumption holds in real-world graph domain adaptation scenarios and how it differs empirically from other types of distribution shift. (2) The main paper only highlights a small number of settings, especially CSBM and ACM/DBLP, and the number of trials is limited. (3) While the paper contains many theorems and proof statements, the theoretical exposition is not always easy to follow. (4) The baseline comparison is insufficient.

Questions
  1. How does PLSA compare with more recent graph OOD or graph domain adaptation methods beyond Pair-Align and StruRW?
Limitations

Yes

Paper formatting concerns

none

Final justification

Thanks for your detailed rebuttal. I decide to increase my score.

Reviewer_7JCrOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
2
Significance
2
Read review
Summary

The paper proposes a pairwise distribution matching for conditional structure shift (CSS) in graph domain adaptation (GDA), which is underexplored in GDA. To solve this problem, the paper formulates the CSS problem as an estimation of the importance weight rCSSr_{CSS} and estimates the weight with the edge-conditioned ratio W∗W^\ast, which is derived based on likelihood estimation under the canonical calibration assumption. The error bound of the estimation of the W∗W^\ast is given in the theoretical analysis. The experiments are conducted on two datasets.

Strengths and weaknesses

Quality: The high-level assumption from this paper is derived from the canonical calibration, which I think is reasonable. But for the mathematical rigor, one thing should be clarified: In line 116, the author states AA is symmetric. However, from my view, auv∣(yu,yv)∼Ber(q(yu,yv))a_{uv}|(y_u,y_v)\sim Ber(q(y_u,y_v)) means auv=0/1a_{uv}=0/1 follows the Bernoull distribution with probability q(yu,yv)q(y_u,y_v). So, even though q(yu,yv)=q(yv,yu)q(y_u,y_v)=q(y_v,y_u), it does not mean auv=avua_{uv}=a_{vu}. A very simple instance, every coin has the same probability to be heads or tails, but you can not get the same results every time you toss a coin. And I think this part affects the proof of the theories, such as Eq 14.

Clarity: The overall presentation is clear. The author aims to build a new edge indicator from rCSSr_{CSS}, To estimate rCSSr_{CSS}, the formula rCSSr_{CSS} is related to the edge-conditioned ratio Wy,y′∗W^\ast_{y,y'} in line 248-249. And Wy,y′∗W^\ast_{y,y'} is estimated by the likelihood maximization based on the canonical calibration in 4.2.

Significance: The paper proposes the first framework to formulate the CSS problem as an estimation of importance weight rCSSr_{CSS}. One limitation is that, according to the related work, the framework only solves CSS, which can not fully solve the GDA problem. If the authors can demonstrate that the framework can incorporate the method for solving LS, the significance can be improved.

Originality: From the related work in the paper, the paper is the first framework to formulate the CSS problem as an estimation of importance weight rCSSr_{CSS}. Statistical methods based on canonical calibration are used for the estimation. From my view, the method is unique in this area

Overall, my score is borderline reject. The main reason is that I am not convinced by the symmetric statement in the Formulation section. Since most contributions of this paper are via theoretical analyses, I think the mathematical rigor is important.

Questions
  1. The performance seems highly dependent on the sampling method used for buvb_{uv}. What is the sampling method for buvb_{uv}?
  2. Since label shift is not considered in this framework, it is better to see if the method can cooperate with methods working on label shift.
Limitations

yes

Paper formatting concerns
  1. In the Definition of P\mathcal{P}, the == for pWp_W should be :=:=, otherwise, there is not definition for pWp_W
  2. There should be an explanation for y^\hat{y}.
Final justification

My concern regarding the underlying assumption has been resolved. The main limitation is that the method cannot be extended to directed graphs. However, given the paper’s theoretical focus, I do not consider this limitation particularly significant.

1 comment

Dear Reviewer 7JCr, We thank the reviewer for their time commitment and valuable feedback.

Quality

In the standard stochastic block model (SBM) of Holland et al. [1], each node is first assigned a latent class label, and a single Bernoulli edge variable is then sampled independently for each pair of distinct nodes. Specifically, for each u<vu<v, one samples auv∼Ber(q(yu,yv))a_{uv}\sim\mathrm{Ber}(q(y_u,y_v)) and then defines avu:=auva_{vu}:=a_{uv} and auu:=0a_{uu}:=0. The contextual stochastic block model of Deshpande et al. [2], used in lines 113--119 of our paper, follows this graph generation mechanism and additionally augments each node with a class-conditional feature vector. In fact, line 116 states that the edge variable auva_{uv} is generated only for u<vu<v, before the adjacency matrix AA is defined by setting avu=auva_{vu}=a_{uv}.

Thus, auva_{uv} and avua_{vu} are not two separately sampled Bernoulli random variables, but two entries of AA representing the same undirected edge. The symmetry of AA therefore holds by construction, rather than being inferred from q(yu,yv)=q(yv,yu)q(y_u,y_v)=q(y_v,y_u). The symmetry of qq only ensures that the edge probability does not depend on the ordering of the two class labels. Moreover, all empirical sums and probabilistic arguments in the paper are over u<vu<v, so this clarification does not affect Eq. (14) or any of our theoretical results. We will revise lines 113--119 to make this standard construction more explicit.

Significance&Q2

As described in Assumption 3.1, our formulation allows label shift (LS) and conditional structure shift (CSS) to occur simultaneously. As noted in lines 146--154, our new theoretical analysis focuses explicitly on CSS because LS has already been extensively studied in domain adaptation and can be handled using established estimators such as BBSE~[3] and MLLS~[4]. In contrast, CSS is specific to graph-structured data and has received substantially less statistical and theoretical treatment. A CSS estimator can also be combined in a straightforward manner with an existing LS estimator. Liu et al. [5] follow precisely this approach, where they propose Pair-Align for CSS, adopt the widely used BBSE method for LS, and combine the two to address CSS and LS simultaneously.

However, the work of Liu et al. [5] is primarily methodological and does not provide finite-sample guarantees for the Pair-Align estimator. A main motivation of our work was therefore to develop a more unifying statistical framework that recovers Pair-Align as a special case and provides principled theoretical analysis. Within this framework, PLSA arises as a likelihood-based alternative to Pair-Align. Because both methods are derived from the same pairwise distribution-matching framework, their theoretical analyses share a common structure, allowing us to provide finite-sample guarantees for both estimators. Accordingly, we do not claim that CSS correction alone resolves all possible shifts in GDA; rather, our contribution is a principled CSS correction method that can be combined with established methods for LS and other shifts.

In particular, incorporating LS correction into our framework is straightforward. As we mentioned above, the original work of Pair-Align [5] already combines BBSE with its CSS estimator, and PLSA can similarly be combined with any standard LS method. Indeed, as described in lines 245--253, estimation of rCSSr_{\mathrm{CSS}} also requires the label-shift ratio βy=p(1)(y)/p(0)(y)\beta_y=p^{(1)}(y)/p^{(0)}(y), which we estimate using MLLS in our implementation. We then combine β^y\widehat\beta_y with the PLSA estimate and other finite-sample quantities to estimate rCSSr_{\mathrm{CSS}}, which is then used to adjust the source graph.

We also implemented this combined procedure in additional real-data experiments where LS and CSS may coexist. On the ACM-DBLP datasets, we first estimate the label-shift ratios using MLLS and incorporate them into the feature-alignment step so that representation alignment accounts for LS. We then combine the estimated label-shift ratios with the pairwise ratio estimated by PLSA/Pair-Align to estimate rCSSr_{\mathrm{CSS}} and adjust the source graph to correct CSS. Finally, using the adjusted source graph, we train the GNN with importance-weighted ERM based on the estimated label-shift ratios. The results are shown in the table below. Compared with the results in Table 1 of the main paper, this combined procedure improves the performance across all GNN backbones. These results demonstrate that our framework is not restricted to the no-label-shift setting and can be effectively combined with an LS estimator that simultaneously addresses LS and CSS. We will clarify this point in the revision and include the additional experimental results.

SettingBackbonePlainPLSAPair-AlignStruRW
ACM →\rightarrow DBLPA2GNN45.27±2.4845.27 \pm 2.4846.00±4.7146.00 \pm 4.7148.07±2.2648.07 \pm 2.2644.89±2.0244.89 \pm 2.02
ACM →\rightarrow DBLPSpecReg45.80±2.5245.80 \pm 2.5247.45±4.7447.45 \pm 4.7446.62±2.1646.62 \pm 2.1645.69±1.7945.69 \pm 1.79
ACM →\rightarrow DBLPDGSDA40.47±6.5340.47 \pm 6.5345.76±1.4945.76 \pm 1.4944.31±0.2644.31 \pm 0.2645.53±1.6045.53 \pm 1.60
ACM →\rightarrow DBLPSAGDA47.46±3.1047.46 \pm 3.1053.31±3.0353.31 \pm 3.0351.00±3.0051.00 \pm 3.0051.36±3.3351.36 \pm 3.33
DBLP →\rightarrow ACMA2GNN66.83±2.9766.83 \pm 2.9769.37±1.4569.37 \pm 1.4570.19±2.2570.19 \pm 2.2569.65±2.1669.65 \pm 2.16
DBLP →\rightarrow ACMSpecReg66.83±3.0966.83 \pm 3.0970.40±1.5570.40 \pm 1.5569.67±2.3369.67 \pm 2.3368.36±2.1768.36 \pm 2.17
DBLP →\rightarrow ACMDGSDA64.89±3.0664.89 \pm 3.0667.12±1.7267.12 \pm 1.7265.72±1.5965.72 \pm 1.5965.84±2.1465.84 \pm 2.14
DBLP →\rightarrow ACMSAGDA68.49±2.3568.49 \pm 2.3569.66±2.6969.66 \pm 2.6969.33±2.8069.33 \pm 2.8064.49±1.9164.49 \pm 1.91
SettingBackbonePlainPLSAPair-AlignStruRW
ACM →\rightarrow DBLPA2GNN43.50±2.843.50 \pm 2.845.04±5.145.04 \pm 5.145.22±2.5\boldsymbol{45.22 \pm 2.5}43.84±2.443.84 \pm 2.4
ACM →\rightarrow DBLPSpecReg43.48±2.843.48 \pm 2.844.95±5.044.95 \pm 5.045.05±2.5\boldsymbol{45.05 \pm 2.5}43.83±2.143.83 \pm 2.1
ACM →\rightarrow DBLPDGSDA38.07±6.838.07 \pm 6.843.78±1.8\boldsymbol{43.78 \pm 1.8}42.83±0.642.83 \pm 0.643.52±1.943.52 \pm 1.9
ACM →\rightarrow DBLPSAGDA45.41±3.445.41 \pm 3.450.86±3.3\boldsymbol{50.86 \pm 3.3}48.95±3.348.95 \pm 3.350.23±3.750.23 \pm 3.7
DBLP →\rightarrow ACMA2GNN65.20±3.365.20 \pm 3.367.96±1.8\boldsymbol{67.96 \pm 1.8}67.46±2.567.46 \pm 2.566.79±2.466.79 \pm 2.4
DBLP →\rightarrow ACMSpecReg64.93±3.464.93 \pm 3.467.79±1.8\boldsymbol{67.79 \pm 1.8}67.26±2.667.26 \pm 2.666.64±2.566.64 \pm 2.5
DBLP →\rightarrow ACMDGSDA62.04±3.362.04 \pm 3.364.84±2.0\boldsymbol{64.84 \pm 2.0}63.85±1.963.85 \pm 1.964.53±2.564.53 \pm 2.5
DBLP →\rightarrow ACMSAGDA67.12±2.767.12 \pm 2.767.78±3.0\boldsymbol{67.78 \pm 3.0}67.30±3.167.30 \pm 3.162.32±2.262.32 \pm 2.2

The first table presents the additional results obtained by incorporating label-shift correction into the adaptation procedure. For comparison, the second table reproduces the results originally reported in Table 1 of the submitted paper.

Q1

As described in Section 4.3 (lines 229--244), the variables buvb_{uv} are sampled independently across source node pairs u<vu<v, conditional on their labels. Consider two source nodes uu and vv with labels yu=yy_u=y and yv=y′y_v=y'. If r^CSS(y,y′)<1\widehat r _ {\mathrm{CSS}}(y,y')<1, we sample buvb_{uv} from a Bernoulli distribution whose success probability is r^CSS(y,y′)\widehat r _ {\mathrm{CSS}}(y,y'), i.e., buv∼Ber(r^CSS(y,y′)).b_{uv}\sim \mathrm{Ber}(\widehat r _ {\mathrm{CSS}}(y,y')). We then set a~uv=auv(0)buv\widetilde a _ {uv} = a^{(0)} _ {uv} b _ {uv}. Thus, when an edge exists between uu and vv in the source graph, it is retained with probability r^CSS(y,y′)\widehat r _ {\mathrm{CSS}}(y,y') and removed otherwise. If r^CSS(y,y′)>1\widehat r _ {\mathrm{CSS}}(y,y')>1, we instead sample buv∼Ber(α^yy′),α^yy′=q^(1)(y,y′)−q^(0)(y,y′)1−q^(0)(y,y′),b _ {uv}\sim\mathrm{Ber}(\widehat \alpha _ {yy'}), \qquad \widehat \alpha_{yy'} = \frac{\widehat q^{(1)}(y,y')-\widehat q^{(0)}(y,y')} {1-\widehat q^{(0)}(y,y')}, where α^yy′\widehat\alpha_{yy'} is the probability of adding an edge between a pair of nodes with labels (y,y′)(y,y'). We then set a~uv=max⁡auv(0),buv\widetilde a _ {uv} = \max\\{ a^{(0)} _ {uv}, b _ {uv}\\}. Hence, an existing source edge is retained, while a non-edge in the source is independently converted into an edge with probability α^yy′\widehat\alpha_{yy'}.

  • [1] Holland, et al. ''Stochastic block models: First steps." Social Networks 1983.

  • [2] Deshpande, et al. ''Contextual Stochastic Block Models." NeurIPS 2018.

  • [3] Lipton, et al. ''Detecting and correcting for label shift with black box predictors." ICML 2018.

  • [4] Garg, et al. ''A unified view of label shift estimation." NeurIPS 2020.

  • [5] Liu, et al. ''Pairwise alignment improves graph domain adaptation." ICML 2024.

Reviewer_5tfvOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies unsupervised graph domain adaptation under conditional structure shift within a contextual stochastic block model (CSBM). The source and target domains may differ in class proportions and class-pair connection probabilities, while the class-conditional feature distribution is assumed invariant. Writing αyy′(e)=p(e)(Yu=y,Yv=y′∣Auv=1)\alpha_{yy'}^{(e)} = p^{(e)}(Y_u=y,Y_v=y'\mid A_{uv}=1) for e∈{0,1}e\in\{0,1\}, the target reweighting parameter is Wyy′∗=αyy′(1)/αyy′(0)W_{yy'}^*=\alpha_{yy'}^{(1)}/\alpha_{yy'}^{(0)}. Under linear independence of the class-conditional representation laws, W∗W^* is identifiable from the target edge-conditioned pair distribution.

The framework recovers Pair-Align when hard class predictions are used and motivates PLSA when calibrated soft predictions are used. PLSA maximizes a concave pairwise likelihood over observed target edges. The paper establishes population identification, a calibration-bias bound for PLSA, and finite-sample guarantees for both PLSA and Pair-Align. Its main technical contribution is a Bernstein-type concentration inequality for edge-weighted U-statistics under the CSBM.

Strengths and weaknesses

S1. The edge-conditioned distribution-matching view is clean, and Proposition 4.1 provides a genuine identification result.

S2. The decomposition into shared-node U-statistic fluctuations and conditional Bernoulli edge noise is appropriate and gives an interpretable dependence on both the number of nodes and the effective number of edges.

S3. The PLSA analysis separates sampling error from calibration bias, while the Pair-Align result explicitly reveals the role of moment-system conditioning.

W1. The PLSA guarantee is not end-to-end

The PLSA score and feasible set use source quantities such as q(0)(y,y′)q^{(0)}(y,y') and p(0)(Yu=y,Yv=y′∣Auv=1)p^{(0)}(Y_u=y,Y_v=y'\mid A_{uv}=1), while the predictor ff is treated as fixed. Theorem 5.2 contains only target-sample error and no dependence on the source sample size. In practice, all of these quantities are estimated.

This also makes the comparison with Pair-Align asymmetric, since Theorem 5.4 includes source estimation error. I encourage the authors either to state Theorem 5.2 explicitly as a conditional result, or to add a plug-in perturbation analysis for the empirical feasible set, the fitted predictor, and the estimated source connection probabilities.

The real-data pipeline further learns a feature-alignment map from target data and then reuses the same target graph for PLSA. The current concentration argument appears to treat the pairwise kernel as fixed. Covering the data-dependent alignment pipeline may therefore require sample splitting or a suitable uniform concentration argument; clarification from the authors would be helpful.

W2. The assumptions are restrictive and need a clearer scope discussion

Exact conditional feature invariance,

p(0)(x∣y)=p(1)(x∣y),p^{(0)}(x\mid y)=p^{(1)}(x\mid y),

is central to identification: without it, changes in pair distributions cannot generally be attributed uniquely to structural shift. The assumption is therefore understandable, but exact equality is strong in applications, especially when it is expected to hold only after a learned alignment step. A useful robustness result would replace equality by an approximate-invariance condition and add a corresponding misspecification term.

Other assumptions are also nontrivial: overlap for every relevant class pair, a uniform likelihood lower bound in Assumption 5.1, and positive curvature. Calibration alone does not imply the likelihood lower bound. Moreover, the sufficient curvature condition in Proposition A.1 degenerates for accurate, nearly one-hot classifiers, even though the likelihood may remain identifiable. A condition stated directly in terms of the population Hessian or the span of pairwise score vectors would be more informative.

Finally, the simplified sparse-graph rate hides quantities such as Δ/π\Delta/\pi, qmax⁡/πq_{\max}/\pi, and inverse curvature. The paper should state the uniform boundedness conditions needed for the advertised O~(n−1/2)\widetilde{\mathcal O}(n^{-1/2}) rate.

W3. The guaranteed parameter is not the deployed quantity

The theory controls W⋆W^\star, whereas graph adjustment uses

\frac{ W^\star_{yy'}\pi^{(1)} }{ \beta_y\beta_{y'}\pi^{(0)} }.$$ No result propagates the errors from $\widehat W$, $\widehat\beta$, and the two estimated edge densities. Since $\beta_y\beta_{y'}$ appears in the denominator, a finite-sample result requires an explicit lower-bound assumption on the class-prior ratios. A corollary for $\widehat r_{\mathrm{CSS}}$, and ideally for $\widehat q^{(1)}$, would better align the theory with the implemented method and simulation metric. The statement that edge adjustment ensures that any GNN generalizes to the target is also stronger than what is shown. Exact edge correction matches the conditional edge mechanism under the CSBM, but label shift may remain and no downstream prediction theorem is proved. I suggest weakening this claim accordingly.
Questions
  1. Can Theorem 5.2 be extended to the fully plug-in estimator, or will it be presented explicitly as semi-oracle?
  2. Can the authors provide robustness to approximate conditional feature invariance and clarify when Assumption 5.1 is plausible?
  3. Can a finite-sample corollary be added for r^CSS\widehat r_{\mathrm{CSS}}, including the error from β^\widehat\beta?
Limitations

yes

Paper formatting concerns

NA

Final justification

The response satisfactorily clarifies several issues, including the plausible extensions for plug-in estimation, approximate conditional invariance, and the final CSS ratio. However, these stronger theoretical guarantees are not yet formally stated and proved, so I view the main theoretical concern as only partially resolved and maintain my original positive score.

Comments on the paper

1 comment
Meta-review

The paper develops an interesting framework for addressing conditional structure shift in graph settings and appears to contain novel and potentially valuable ideas. However, the reviewers raise several substantive concerns that currently weaken the case for acceptance. I therefore lean toward rejection, while remaining open to revising my assessment based on the authors’ response.

Some of the man concerns that need to be addressed include:

First, Theorem 5.2 should be extended to account for the estimation error in all quantities that must be learned from data. Second, the paper would benefit from a clearer discussion of its assumptions, including concrete mathematical examples and realistic applications in which they hold. Third, the symmetric statement introduced in the problem formulation requires a more convincing justification. Finally, the authors should describe practical settings in which conditional structure shift is likely to arise and explain why the proposed framework is well suited to those settings.

Overall, the paper has promise, but the theoretical guarantees, assumptions, and practical motivation require further clarification before the contribution can be fully assessed.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.