Leveraging Correlation Across Test Platforms for Variance-Reduced Metric Estimation

Rachel Luo, Heng Yang, Michael Watson, Apoorva Sharma, Sushant Veer, Edward Schmerling, Marco Pavone

TL;DR

Validating robotics stacks in the real world is expensive, dangerous, and time-consuming, while simulators are cheap but suffer from the sim-to-real gap. Sim2Val bridges this gap using classical control variates, leveraging paired simulation and real-world observations to produce provably unbiased, variance-reduced estimates of real-world performance metrics. By mapping surrogate metrics to real-world outcomes via a learned neural correlator, Sim2Val cuts real-world testing sample requirements by up to 6× across autonomous driving and quadruped locomotion tasks.

What Problem Does This Paper Address?

Before deploying autonomous vehicles (AVs) or legged robots, engineers must validate safety and performance to high statistical confidence. However, collecting enough real-world test miles is economically and logistically prohibitive.

While physics simulators and log-replay tools allow massive test scaling, their metrics do not match real-world outcomes one-to-one due to the sim-to-real gap. Simply trusting simulator metrics can yield misleading safety claims. The central question is: How can we mathematically leverage vast, cheap simulation data to dramatically reduce the amount of expensive real-world testing needed, without introducing bias?

Methods

Sim2Val adapts the classical statistical technique of control variates to robotics validation:

  1. Surrogate-Powered Control Variates: Suppose we wish to estimate the mean of a real-world metric $F$ over deployment scenarios $X$. We collect a small set of $n$ paired samples where both the real metric $F$ and a cheap surrogate metric $G$ (e.g., open-loop simulation replay) are evaluated, alongside $k$ inexpensive surrogate-only samples. The estimator: $$\hat{\mu}_{\text{CV}} = \frac{1}{n}\sum_{i=1}^n (F_i - \beta^T G_i) + \frac{1}{k}\sum_{j=1}^k \beta^T G'_j$$ By solving for the optimal coefficient $\beta_{\text{opt}}$, the estimator variance shrinks by a factor proportional to $\frac{k}{k+n} \rho^2(G, F)$, where $\rho$ is the correlation between real and simulated metrics.

  2. Metric Correlator Function (MCF): If raw simulation metrics correlate poorly with the real world, the variance reduction is minimal. To fix this, Sim2Val partitions a subset of paired data (or uses out-of-domain data) to train a lightweight neural network $\hat{f}(G, \phi(X))$ predicting $F$. Replacing $G$ with $\hat{f}$ boosts correlation, yielding tighter bounds.

  3. Budget-Optimal Sample Allocation: The authors derive closed-form solutions for how to split a fixed budget $C$ between expensive real tests ($c_f$) and cheap simulation runs ($c_g$) to minimize estimator variance.

Datasets

The authors evaluated Sim2Val across three distinct platforms:

  • nuPlan Benchmark: Open-loop (non-reactive agents, computationally cheap) paired with closed-loop (reactive agents, expensive) simulation trajectories on scenario classes like on_intersection and near_multiple_vehicles.
  • Real-World Autonomous Driving: Real road tests of an end-to-end driving stack paired with neural reconstruction simulator rollouts (reconstructing sensor logs into closed-loop simulations) across intersections and curved roads.
  • Quadruped Locomotion: Real-world hardware evaluations of a 12-DoF quadruped tracking 3D velocity commands, paired with rollouts from a rigid-body physics simulator.

Key Insights and Ideas

  • Replay Pipelines Give "Paired" Data for Free: Modern robotics stacks already record real-world logs. Replaying the latest policy in simulation on these identical scenarios creates natural pairs $(F_i, G_i)$ at marginal computational cost.
  • Guaranteed Unbiasedness: Unlike domain adaptation or pure surrogate modeling, control variates remain mathematically unbiased regardless of sim fidelity. Poor simulation simply yields zero variance reduction—it never corrupts the estimated real-world mean.
  • Out-of-Domain Training of the MCF: The Metric Correlator Function can be trained on external, auxiliary domains (e.g., past policy versions or different driving scenarios). This improves correlation on the target task without consuming any precious target-domain paired samples.

Key Results

  • Real-World Autonomous Driving: On intersection scenarios, Sim2Val reduced metric variance by 82.9% for vehicle-distance metrics and 81.7% for lane-centering errors. Matching this confidence interval using naive Monte Carlo would have required $5.8\times$ more real-world test miles (807 samples vs. 138 paired samples).
  • nuPlan Simulation: Evaluating closed-loop average displacement error (ADE) using open-loop surrogates reduced variance by 35%, cutting the required closed-loop evaluations by 51% (direct CV) and 58% (with learned MCF).
  • Quadruped Velocity Tracking: Baseline sim-to-real correlation was near zero ($\rho \approx 0.07$). Training an MCF boosted correlation to $\rho = 0.62$, translating to a sample-efficiency gain equivalent to avoiding 38% additional physical robot trials.

Limitations and Future Work

  • Mean vs. Tail Risk: The current formulation reduces variance when estimating the population mean. Autonomous systems often require guarantees on rare catastrophic events (worst-case quantiles or Conditional Value at Risk), which standard control variates do not directly address.
  • I.I.D. Scenario Assumption: The theory assumes scenarios are drawn i.i.d. from deployment distributions. In practice, real-world data collection is heavily biased toward "interesting" or near-collision events, requiring integration with importance sampling.
  • Deterministic Sim Allocations: The work assumes a single surrogate measurement per scenario, whereas simulators can generate multiple stochastic rollouts for the same initial state. Allocating repeated simulation runs across scenarios remains open.

Summary updated

BibTeX
@inproceedings{luo2025leveraging,
  author = {Rachel Luo and Heng Yang and Michael Watson and Apoorva Sharma and Sushant Veer and Edward Schmerling and Marco Pavone},
  title = {{Leveraging Correlation Across Test Platforms for Variance-Reduced Metric Estimation}},
  booktitle = {Conference on Robot Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=ejV8YHTpHR},
}

Loading related content...

Figure