TL;DR
In many real-world settings—like merging two databases without a shared ID or logging events with unsynchronized clocks—you have inputs and labels, but you don't know which label belongs to which input. This paper introduces a general framework for learning with hidden correspondences, where a bipartite graph $G$ encodes the possible pairings. Remarkably, the authors show that your effective sample size isn't just $n$, nor is it simply the average number of candidates per input—it's governed by a single spectral quantity: the Laplacian energy $n_{\text{eff}}(G)$ of the graph, which has a direct interpretation as the energy of an electrical flow.
What Problem Does This Paper Address?
Standard supervised learning assumes every input $X_i$ arrives neatly paired with its true label $Y_i$. But in practice, that link is often lost or obscured:
- Database merging: You merge a table of user attributes with a table of outcomes using "blocking" criteria (like zip code and birth year), leaving multiple candidate matches.
- Privacy (Learning from Label Proportions): Labels are released only in aggregate over groups ("bags") of inputs.
- Asynchronous logging: Inputs and outcomes are recorded by systems with imprecise clocks, so an outcome could belong to any input within a time window.
The authors model this as learning with hidden correspondences: you observe $n$ inputs, $n$ labels, and a bipartite "candidate graph" $G$ whose edges represent plausible pairings. The true pairing is an unknown perfect matching $M$ of $G$.
As shown above, $G$ smoothly interpolates between standard supervised learning (a perfect matching), learning from label proportions (disjoint complete blocks), time windows, and completely unlinked samples (the complete bipartite graph $K_{n,n}$). The core question is: for an arbitrary graph $G$, how much does this ambiguity inflate the sample complexity of learning, and when is learning even possible?
Methods
Trying to guess or reconstruct the hidden matching $M$ is a trap—even in simple linear regression, exact recovery can be NP-hard or require unrealistically high signal-to-noise ratios. Instead, the authors never estimate the matching.
Their approach, pseudo-label Empirical Risk Minimization (ERM), works in three steps:
- Reduce learning to covariance estimation: For any loss that is affine in the label—which includes all binary and multiclass classification losses, square loss, and logistic loss—the population risk splits into marginal terms (which only depend on $X$ or $Y$ alone) plus a single covariance term coupling $X$ and $Y$.
- Compute optimal edge weights via electrical flows: To estimate this covariance without bias under every possible perfect matching of $G$, the authors solve a minimum-norm optimization problem over the edges of $G$. By the Birkhoff-von Neumann theorem, the optimal weights $w^\star$ are proportional to the electrical flow on $G$ (treating edges as unit resistors) when injecting 1 unit of current at each input and extracting 1 unit at each label.
- Form pseudo-labels and minimize: Using $w^\star$, the algorithm computes a single real-valued (or vector-valued, for multiclass) pseudo-label $\widetilde{Y}_i$ for each input $X_i$ and runs standard ERM (or projected SGD) on the pseudo-labeled dataset.
Because the pseudo-labels are all coupled through empirical centering, standard i.i.d. concentration bounds fail. To prove uniform convergence over a hypothesis class $\mathcal{H}$, the authors develop a new uniform Hanson-Wright inequality for bilinear forms in independent pairs of dependent variables, measured by a coefficient-normalized Rademacher complexity.
Datasets
Not discussed in the paper.
Key Insights and Ideas
- The effective sample size is electrical energy: The statistical cost of the hidden correspondence is captured by $n_{\text{eff}}(G) = u^\top L^\dagger u$, the Laplacian energy of the bipartite demand vector $u$ (+1 on inputs, -1 on labels).
- Local degrees aren't enough: A natural guess is that learning difficulty depends only on how many candidate labels each input has. The authors show this can be off by a factor of $\sqrt{n}/\log n$: global combinatorial constraints across the graph matter, and $n_{\text{eff}}(G)$ captures them.
- Sub-quadratic edges suffice: Since $n_{\text{eff}}(G) \ge n^2 / |E|$, non-trivial learning is possible for VC classes whenever $G$ has sub-quadratically many edges ($|E| = o(n^2)$), regardless of its other structure.
- Data-dependent graphs break learning: The guarantees require $G$ to be chosen independently of the sample. If an adversary can peek at the paired data before choosing $G$, learning becomes impossible even when $n_{\text{eff}}(G) = \Omega(n)$ and the graph is sparse.
Key Results
- Binary & Multiclass Classification: For a fixed matching-covered graph $G$, pseudo-label ERM achieves agnostic excess risk $O\left(\sqrt{d / n_{\text{eff}}(G)}\right)$ (up to $\log(1/\delta)$ factors) for binary classes of VC dimension $d$, and $O\left(\sqrt{d \log(nk) / n_{\text{eff}}(G)}\right)$ for $k$-class problems of Natarajan dimension $d$.
- Affine Losses & SGD: For bounded losses affine in the label, pseudo-label ERM achieves $O\left(\widehat{\mathfrak{R}}_X(\mathcal{H}) / \sqrt{n_{\text{eff}}(G)}\right)$. Projected SGD on the pseudo-labels matches this rate after $n$ steps.
- Computational Efficiency: Apart from the final ERM call, computing the pseudo-labels runs in almost-linear time in $|E|$ using fast Laplacian solvers.
- Optimality: Lower bounds (via Le Cam's two-point method and cycle-index identities for the symmetric group) show that the $n_{\text{eff}}(G)^{-1/2}$ dependence is optimal up to a $\sqrt{\log n}$ factor in general, already for a class of VC dimension 1.
Limitations and Future Work
- Instance-wise optimality: While the lower bounds match the upper bounds up to log factors on specific families of graphs (and whenever $n_{\text{eff}}(G) = \Theta(n)$), it remains open whether $n_{\text{eff}}(G)^{-1/2}$ is the minimax rate for every individual graph $G$.
- Non-affine losses: The reduction relies on the loss being affine in the label, leaving out losses like absolute ($\ell_1$) loss in regression.
- Fast rates & dimension: It is unclear whether realizable settings can achieve faster $d / n_{\text{eff}}(G)$ rates, since pseudo-labels can be noisy even when true labels are deterministic.
- Limited data-dependence: Since arbitrary data-dependent graphs are impossible to learn from, characterizing milder forms of data-dependence (like practical database blocking rules) is an open direction.
Summary updated