TL;DR
Imagine running a machine learning algorithm twice on two completely fresh batches of data from the same source, and getting the exact same model both times. That is replicability, and until now, every fast (polynomial-time) replicable algorithm was stuck solving relatively simple tasks or relying on idealized data distributions. This paper shatters that ceiling by giving us the first fast, replicable algorithm for learning parity functions over any distribution—proving that efficient replicable learning is fundamentally more powerful than previously thought.
What Problem Does This Paper Address?
In trustworthy machine learning, stability is a unifying superpower. Two major flavors of stability are Differential Privacy (DP) (the output doesn't change much if one person's data is swapped) and Replicability (if two researchers independently draw datasets from the same distribution and share a random seed, their algorithms output the exact same model with high probability). A classic, weaker framework is the Statistical Query (SQ) model, where an algorithm can only ask for aggregate statistics about data rather than inspecting individual data points.
If you have infinite computing power, DP and replicability are equivalent, and both are strictly stronger than SQ learning. Computationally, however, things get murky. We know how to efficiently learn parity functions (XORs of unknown subsets of bits—a famously hard benchmark that breaks SQ algorithms) under DP. Yet every known polynomial-time replicable algorithm was either confined to SQ-learnable tasks or required clean, restricted data (like uniform distributions). Does efficient replicability hit a wall at the SQ boundary, or can it conquer parities over arbitrary, messy distributions too?
Methods
Standard parity learning uses Gaussian elimination. If data is uniformly distributed, there's one unique solution, making it naturally replicable. Over arbitrary distributions, however, rare vectors might appear in one sample and vanish in the next, causing Gaussian elimination to output wildly different subspaces.
To tame this instability, the authors build two main algorithms:
RepLinearSpan(Replicable Linear Span): Given a set of vectors over any field, this algorithm finds a subspace covering at least a $1-\varepsilon$ fraction of them. It uses an existing Stable Partition subroutine (originally designed for DP) to greedily peel the data into linearly independent sets forming nested subspaces. What’s new: While DP only cares if one vector changes, replicability requires stability when the entire dataset is redrawn. The authors prove that subspace counts (multiplicities) remain tightly concentrated across completely independent datasets. By filtering out "light" subspaces using a shared random threshold and taking the largest remaining subspace, two independent runs lock onto the exact same span.- Replicable Parity Learner: They treat labeled parity examples $(x_i, y_i)$ as $(d+1)$-dimensional vectors and feed them into
RepLinearSpanto get a replicable subspace $U^*$. Because replicability must hold even if the data is noisy or non-realizable, they check if the pure noise vector $(0, \dots, 0, 1)$ is in $U^*$. If so, they replicably abort ($\perp$). Otherwise, they filter the dataset to vectors inside $U^*$ and use shared randomness to pick a uniform solution $w$ to the linear system. Because $U^*$ is identical across runs, the solution space is identical, guaranteeing the exact same $w$.
Datasets
Not discussed in the main text of the paper. (While Section 1.2 notes that an empirical evaluation appears in Appendix G, those pages are not included in the provided document, which is primarily a theoretical computer science paper.)
Key Insights and Ideas
- Subsampling won't save naive linear algebra: You might think randomly choosing dataset sizes could dodge "bad" distributions where rare vectors destabilize the span. The authors prove a striking negative result: there exists a single adversarial distribution that ruins naive span-finding across all sample sizes simultaneously.
- Bridging single-item swaps to full dataset redraws: Extending sensitivity guarantees from DP (one item changes) to replicability ($m$ items change) over infinitely many possible subspaces is non-trivial. The authors pull this off using a clever symmetrization argument combined with McDiarmid’s and Efron-Stein inequalities.
- A fundamental tax when converting Replicability to Pure DP: Because their parity learner achieves an optimal additive dependence on the failure probability $\delta$, comparing it against known Pure DP lower bounds reveals a surprise: assuming $RP \neq NP$, you cannot generically and efficiently convert a replicable learner into a Pure DP learner without suffering a strict loss in sample complexity.
Key Results
- Replicable Linear Span: Runs in $O(m^2 d^3)$ time over arbitrary fields, covering $1-\varepsilon$ of the input vectors with $\rho$-replicability using $m = O\left(\frac{d^6}{\rho^2 \varepsilon^2} \log(1/\rho)\right)$ samples.
- Replicable Parity Learning: Learns parities over $\mathbb{F}_2^d$ in $O(m^2 d^3)$ time with sample complexity $m = O\left(\frac{d^6}{\rho^2 \varepsilon^2} \log(1/\rho) + \frac{\log(1/\delta)}{\varepsilon}\right)$. This marks the first full computational separation between replicable PAC learning and SQ learning over general distributions.
- Direct Applications: Because replicability survives post-processing,
RepLinearSpanimmediately yields efficient replicable algorithms for synthetic linear equations, synthetic affine spans, and PAC learning of subspaces.
Limitations and Future Work
- Noise intolerance (by necessity): Accuracy is restricted to the realizable (noiseless) setting. Agnostic parity learning is NP-hard, and learning parities with random noise is widely conjectured to be cryptographically hard.
- Suboptimal sample complexity: The authors prioritize polynomial-time tractability over tight sample bounds. Whether the steep $d^6$ and $1/\rho^2$ dependencies can be shaved down remains an open problem.
- The grand cryptographic puzzle: Efficient DP does not always imply efficient replicability if public-key cryptography exists, yet they are equivalent if one-way functions don't exist. Pinpointing the exact cryptographic boundary separating private and replicable learning remains wide open.
Summary updated