Don't Match the Noise: Distribution Matching under Unknown Measurement Error with an Audit Sample

Arya Farahi, Ritwik Vashistha

TL;DR

MEC-MMD (Measurement-Error-Corrected Maximum Mean Discrepancy) is a novel framework for comparing probability distributions when data is corrupted by unknown noise. By leveraging a small "audit sample" of ground-truth measurements, it debiases standard distribution-matching tools without requiring a specific noise model, enabling robust scientific inference in noisy, real-world settings.

What Problem Does This Paper Address?

In fields ranging from astronomy to economics, researchers rarely observe the "true" variables of interest. Instead, they deal with noisy proxies—sensor artifacts, non-expert annotations, or discretized data. Standard tools like Maximum Mean Discrepancy (MMD) are designed to measure the distance between two distributions, but when one of those distributions is noisy, MMD becomes biased. It ends up matching the noise artifacts rather than the underlying physical or social mechanism.

Existing solutions often fall short: deconvolution is notoriously ill-posed, and likelihood-based models require you to perfectly specify the noise mechanism—a tall order for complex, high-dimensional data. The authors identify a common practical regime: you have a massive amount of noisy data but can afford to "audit" (manually verify or precisely measure) only a tiny fraction of it.

Methods

The authors propose MEC-MMD, an audit-based estimator that corrects the empirical MMD loss.

The core idea is to use the small audit sample—where both the noisy proxy ($\tilde{Y}$) and the clean value ($Y$) are known—to calculate a correction term for the kernel evaluations used in MMD. Specifically:

  1. Kernel Correction: They derive exact algebraic identities to relate kernel evaluations of latent variables to those of noisy proxies.
  2. Design-Based Estimation: They use Horvitz-Thompson-style estimators to "reconstruct" what the MMD would have been if the entire dataset were clean.
  3. Distribution-Free: Crucially, MEC-MMD does not model the noise. It doesn't care if your noise is Gaussian, Laplace, or heteroscedastic (varying with the data). It simply uses the observed discrepancies in the audit sample to debias the global estimate.

The paper provides a rigorous theoretical foundation, proving that the estimator is exactly unbiased under simple random auditing and consistent with a standard $O_p(N^{-1/2})$ convergence rate.

Datasets

The method was evaluated across several synthetic and real-world-inspired benchmarks:

  • Synthetic Manifolds: 1D Gaussians, a 2D "Cat Paw" mixture model, and classic shapes like Moons, Circles, and Checkerboards.
  • High-Dimensional Data: A "tangled ribbon" (1D spiral) embedded in up to 30 dimensions to test scaling.
  • Image Data: The MNIST dataset was used to demonstrate robustness in unsupervised image denoising under spatially correlated noise.

Key Insights and Ideas

  • The Power of the Audit: You don't need a perfect noise model if you have a representative "gold standard" subset. The audit sample acts as a bridge, allowing the model to exploit the statistical power of the large noisy dataset while maintaining the accuracy of the clean subset.
  • Bias-Variance Trade-off: As shown in Figure 1, a "naive" estimator has low variance but high bias (it's precisely wrong). An "audit-only" estimator is unbiased but has massive variance because it ignores most of the data. MEC-MMD finds the sweet spot, removing bias while retaining much of the efficiency of the full sample.
Figure 1: Normalized error and variance vs. audit size. MEC-MMD removes bias while reducing variance compared to audit-only methods.
  • Robustness to Heteroscedasticity: Because it is distribution-free, MEC-MMD excels in settings where noise depends on the data values themselves—a scenario that often breaks traditional deconvolution methods.
  • Dimensionality Resilience: Unlike methods that try to model the $d \times d$ noise covariance matrix, MEC-MMD corrects scalar kernel expectations. This makes it significantly more stable as the number of dimensions increases.

Key Results

  • Density Estimation: In the "Cat Paw" experiment (Figure 2/5), MEC-MMD achieved an Integrated Square Error (ISE) of 0.0077, vastly outperforming the Naive MMD (0.0286) and the popular Extreme Deconvolution (XDGMM) method (0.0313).
Figure 2: Comparison of density estimation. MEC-MMD (bottom center) recovers the "Cat Paw" structure much more accurately than naive or alternative methods.
  • Denoising: On synthetic manifolds (Figure 3/6), MEC-MMD faithfully recovered the continuous geometry of the Moons and Checkerboard datasets, even in the presence of outliers, where other empirical Bayes baselines produced clustered or oversmoothed results.
Figure 3: Denoising results on synthetic data. MEC-MMD (second from right) closely matches the Oracle (far right) in recovering manifold geometry.
  • High-Dimensional Scaling: In 30-dimensional deconvolution tasks, MEC-MMD performed 1.8x to 2.6x better than competing noise-aware methods (convMMD and XDGMM), maintaining nearly flat performance as dimensions increased.

Limitations and Future Work

  • Audit Scaling: While the method scales well with data dimension $d$, the authors note that the required audit size $m$ to maintain a certain variance in high dimensions is still an open question.
  • Information Usage: Being distribution-free is a strength for robustness, but it means the method might be less statistically efficient than a parametric model if the noise distribution is actually known and simple.
  • Kernel Selection: The choice of kernel and bandwidth for the correction term is currently handled by heuristics (like the median trick). The authors suggest that optimizing these specifically for the audit correction could further improve performance.
  • Non-Uniform Audits: While they provide an extension for non-uniform (stratified) auditing using inverse-probability weighting, they highlight that estimating these weights in "opportunistic" data collection remains a challenge.

Summary updated

Abstract

Real-world machine learning systems often operate on imperfect measurements: sensors are noisy, annotations are produced by non-experts, and scientific observations are often indirect. In these settings, classic distribution comparison tools such as maximum mean discrepancy (MMD) can be systematically biased, matching artifacts of the measurement process rather than the underlying mechanisms of interest. We study a practical regime in which noisy observations are abundant, but only a small audited subset contains ground-truth measurements. We propose measurement-error-corrected MMD (MEC-MMD), an audit-based estimator that debiases kernel evaluations without requiring a noise model. MEC-MMD is exactly unbiased for the oracle MMD under simple random auditing, admits an explicit variance decomposition, and is consistent for the population MMD, achieving the standard $O_p(N^{-1/2})$ rate when the audit size scales with the dataset. We demonstrate the utility of distributional matching with MEC-MMD loss for both parameter estimation and unsupervised applications, showing that MEC-MMD consistently outperforms MMD and alternative methods. These results provide a principled foundation for robust distribution comparison, simulation-based inference, and learning in noisy real-world machine learning pipelines.
BibTeX
@inproceedings{farahi2026don,
  author = {Arya Farahi and Ritwik Vashistha},
  title = {{Don't Match the Noise: Distribution Matching under Unknown Measurement Error with an Audit Sample}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=MCFiU6DNGg},
}
Figure