arXiv:2611.12643cs.LGNov 2026

Manuscript Offprint

arXiv:2611.12643

Simulation-aided Reinforcement Learning with Control Variates

Omer Hemo, Ido Sefi, Mirco Mutti, Aviv Tamar, Kfir Y. Levy

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reinforcement Learning (RL) algorithms often rely on data collected from a target environment, which can be expensive and noisy. Although simulators can generate large amounts of additional data, standard simulation mixing approaches—which directly combine simulated and real experience—can degrade performance due to simulator inaccuracies, especially when they bias the solution away from the optimal policy. We propose a conservative simulation-aided learning method based on control variates, where simulated data is used solely to reduce variance in the learning process rather than directly shaping the learning target. We develop our approach for Policy-Evaluation, which is a fundamental building block of RL algorithms. Then we combine it within the actor-critic framework towards policy improvement, as well as extend it towards offline RL scenarios. Experiments on multiple MuJoCo benchmark tasks demonstrate improvements over standard simulation mixing approaches, highlighting control variates as an effective tool for simulation-aided reinforcement learning. Code is available at https://github.com/OmerHemo/Simulation-Aided-Reinforcement-Learning-with-Control-Variates.

1 Introduction

Reinforcement Learning [RL, 28] has had remarkable success on a variety of complex sequential decision problems. Nonetheless, those successes are mostly confined to settings in which almost unlimited data are available, oftentimes coming from “perfect” simulators of the decision process of interest, such as in videogames [33] or reasoning tasks [14]. In many practical scenarios instead, simulators are available, or they can be developed, but they are not “perfect”. They typically cannot match the complexity of the real environment, for which they only provide a biased, approximate surrogate. This bias generates a gap between what we can learn in simulation and what we would like to achieve in the real world. Mitigating this gap is the focus of a large body of work on sim-to-real adaptation [43, 51, 29, 4, 1, 30, 9, 36, 5, 49, 50, 54, 53].

Differently from previous works, here we are not interested in training robust policies in simulation for zero-shot transfer to the real world [4], nor into exploiting real world data to improve the simulator and reduce its inherent bias [49]. Instead, we embrace the simulator bias to tackle an orthogonal research question: Can we exploit biased but abundant data coming from an “imperfect” simulator in combination with real-world experience to improve the real-world performance?

A representative domain to reason about the setting is as follows. We may want to train a navigation policy for a quadruped robot while interacting online with the physical world. While processing the real-world experience on our computing infrastructure, we can draw additional data from a simulator of the robot, which runs at a substantially higher frequency. While the simulator differs from the physical environment in some key parameters, such as friction, gravity, contact forces, the effect of

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

simulated actions may be correlated with the effect of the same action in the real world, meaning that the biased simulated data may carry some useful information to improve the real-world policy.

We formalize this setting as simulation-aided reinforcement learning, in which the real environment and the simulator are represented by Markov decision processes (MDPs) with identical specifications except for their transition model. A naïve approach [8, 25] to this setting, which we refer to as sim-mixing, is to just feed our RL base algorithm with a mixture of the simulated and real data and to forget about the bias. This has been proved to work surprisingly well in practice, especially when the mixing parameter is carefully tuned [8], often improving the variance relative to training on real only. However, sim-mixing is bound to fail when the bias in simulated transitions is severe. An approach to tackle the bias is to use importance sampling (IS) [38], in which the probability of the simulated transitions is reweighted to match the distribution of samples from the real environment. While this results in unbiased estimates, the additional variance introduced by the weighting can grow large [16, 32], possibly erasing all the benefits from exploiting the simulated data.

In this paper, we consider a control variates approach to simulation-aided RL. In a plain statistical setting, let XX a quantity of interest we aim to estimate. A control variate [CV, 38] is a random variable YY, with known expectation E[Y]\mathbb{E}[Y], that is correlated to XX. The CV allows us to rephrase the initial estimation problem on the random variable Z=X−(Y−E[Y])Z = X - (Y - \mathbb{E}[Y]), which is unbiased, with provable statistical benefits [2]. In our setting, XX stands for the quantity of interest in the real environment, YY is the same quantity in simulation, for which the expectation can be obtained by drawing large number of simulated samples. With this interpretation, we develop a family of CV solutions to various simulation-aided RL settings. We corroborate the proposed CV approach both theoretically and empirically, showing that it often combines the unbiasedness of IS with the low variance of sim-mixing, while consistently outperforming or matching training on real data only, even when the bias of the simulator is severe. Specifically, our contributions are:

  • We formally define the simulation-aided RL problem.
  • We propose a control variates approach to policy evaluation in the introduced setting, for which we analyze theoretical and practical benefits.
  • We show how improved policy evaluation can be integrated in online and offline RL algorithms, such as Soft Actor Critic [15] and Conservative Q-Learning [20].
  • We conduct an experimental campaign on several tasks from the MuJoCo suite, where we show that our CV approach matches or outperforms alternative methods for the simulation-aided RL setting, including standard sim and real mixing schemes [8], PAR [26], and VGDF [55].

References (49)