We lifted 3 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| RomainLaroche/SPIBB | canonical | 3 of 3 |
| Function | Status | Where it lives |
|---|---|---|
| compute_errors | Ran | RomainLaroche/SPIBB/spibb.py code served (permissive licence) · get_code("53b69da5f89a51b4") |
| compute_mask | Ran | RomainLaroche/SPIBB/spibb.py code served (permissive licence) · get_code("9371e935c052af57") |
| compute_mask_N_wedge | Ran | RomainLaroche/SPIBB/spibb.py code served (permissive licence) · get_code("cd235d7356348cc5") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
This paper considers Safe Policy Improvement (SPI) in Batch Reinforcement Learning (Batch RL): from a fixed dataset and without direct access to the true environment, train a policy that is guaranteed to perform at least as well as the baseline policy used to collect the data. Our approach, called SPI with Baseline Bootstrapping (SPIBB), is inspired by the knows-what-it-knows paradigm: it bootstraps the trained policy with the baseline when the uncertainty is high. Our first algorithm, $Π_b$-SPIBB, comes with SPI theoretical guarantees. We also implement a variant, $Π_{\leq b}$-SPIBB, that is even more efficient in practice. We apply our algorithms to a motivational stochastic gridworld domain and further demonstrate on randomly generated MDPs the superiority of SPIBB with respect to existing algorithms, not only in safety but also in mean performance. Finally, we implement a model-free version of SPIBB and show its benefits on a navigation task with deep RL implementation called SPIBB-DQN, which is, to the best of our knowledge, the first RL algorithm relying on a neural network representation able to train efficiently and reliably from batch data, without any interaction with the environment.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("1712.06924")
get_code_for_paper("1712.06924")
have("1712.06924")
Connect an agent — have() is free.